Closed Bug 1455820 Opened 7 years ago Closed 7 years ago

Intermittent TEST-UNEXPECTED-OK | /eventsource/dedicated-worker/eventsource-close2.htm | expected CRASH

Categories

(Core :: DOM: Workers, defect, P2)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1455929

People

(Reporter: intermittent-bug-filer, Assigned: baku)

References

Details

(Keywords: intermittent-failure, Whiteboard: [retriggered][stockwell fixed:other])

Attachments

(1 file)

Filed by: aciure [at] mozilla.com https://treeherder.mozilla.org/logviewer.html#?job_id=174903994&repo=mozilla-inbound https://queue.taskcluster.net/v1/task/bHKCa4gdT2GEyU-MSNKalQ/runs/0/artifacts/public/logs/live_backing.log [task 2018-04-21T03:44:05.870Z] 03:44:05 INFO - TEST-START | /eventsource/dedicated-worker/eventsource-close2.htm [task 2018-04-21T03:44:05.968Z] 03:44:05 INFO - PID 4254 | ++DOCSHELL 0xcffba400 == 5 [pid = 4254] [id = {7c4c5f8c-8856-468c-b6d4-d862c1cc8f6b}] [task 2018-04-21T03:44:05.969Z] 03:44:05 INFO - PID 4254 | ++DOMWINDOW == 13 (0xdc2ce0c0) [pid = 4254] [serial = 13] [outer = (nil)] [task 2018-04-21T03:44:05.993Z] 03:44:05 INFO - PID 4254 | ++DOMWINDOW == 14 (0xcffbc000) [pid = 4254] [serial = 14] [outer = 0xdc2ce0c0] [task 2018-04-21T03:44:06.110Z] 03:44:06 INFO - PID 4254 | ++DOMWINDOW == 15 (0xcffbe000) [pid = 4254] [serial = 15] [outer = 0xdc2ce0c0] [task 2018-04-21T03:44:06.308Z] 03:44:06 INFO - PID 4254 | ++DOCSHELL 0xcffb9000 == 6 [pid = 4254] [id = {c88ce24b-300c-41e4-ac7a-edf189e18f5c}] [task 2018-04-21T03:44:06.308Z] 03:44:06 INFO - PID 4254 | ++DOMWINDOW == 16 (0xdc065440) [pid = 4254] [serial = 16] [outer = (nil)] [task 2018-04-21T03:44:06.337Z] 03:44:06 INFO - PID 4254 | ++DOMWINDOW == 17 (0xdbe90400) [pid = 4254] [serial = 17] [outer = 0xdc065440] [task 2018-04-21T03:44:06.479Z] 03:44:06 INFO - PID 4254 | ++DOMWINDOW == 18 (0xcf8b2000) [pid = 4254] [serial = 18] [outer = 0xdc065440] [task 2018-04-21T03:44:06.596Z] 03:44:06 INFO - PID 4254 | [4254, Main Thread] WARNING: NS_ENSURE_TRUE(aSecondURI) failed: file /builds/worker/workspace/build/src/dom/base/ThirdPartyUtil.cpp, line 98 [task 2018-04-21T03:44:06.710Z] 03:44:06 INFO - TEST-UNEXPECTED-OK | /eventsource/dedicated-worker/eventsource-close2.htm | expected CRASH [task 2018-04-21T03:44:06.710Z] 03:44:06 INFO - TEST-INFO expected CRASH | took 837ms [task 2018-04-21T03:44:06.713Z] 03:44:06 INFO - PID 4254 | [4254, Main Thread] WARNING: A runnable was posted to a worker that is already shutting down!: file /builds/worker/workspace/build/src/dom/workers/WorkerPrivate.cpp, line 1641 [task 2018-04-21T03:44:06.713Z] 03:44:06 INFO - PID 4254 | [4254, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005: file /builds/worker/workspace/build/src/dom/base/EventSource.cpp, line 703 [task 2018-04-21T03:44:06.717Z] 03:44:06 INFO - PID 4254 | [4254, Main Thread] WARNING: A runnable was posted to a worker that is already shutting down!: file /builds/worker/workspace/build/src/dom/workers/WorkerPrivate.cpp, line 1641 [task 2018-04-21T03:44:06.717Z] 03:44:06 INFO - PID 4254 | Assertion failure: ((bool)(__builtin_expect(!!(!NS_FAILED_impl(rv)), 1))), at /builds/worker/workspace/build/src/dom/base/EventSource.cpp:1334 [task 2018-04-21T03:44:06.835Z] 03:44:06 INFO - PID 4254 | #01: mozilla::dom::EventSourceImpl::DispatchFailConnection() (/builds/worker/workspace/build/application/firefox/libxul.so) [task 2018-04-21T03:44:06.843Z] 03:44:06 INFO - PID 4254 | #02: mozilla::dom::EventSourceImpl::OnStopRequest(nsIRequest*, nsISupports*, nsresult) (/builds/worker/workspace/build/application/firefox/libxul.so) [task 2018-04-21T03:44:06.845Z] 03:44:06 INFO - PID 4254 | #03: nsCORSListenerProxy::OnStopRequest(nsIRequest*, nsISupports*, nsresult) (/builds/worker/workspace/build/application/firefox/libxul.so) [task 2018-04-21T03:44:06.854Z] 03:44:06 INFO - PID 4254 | #04: mozilla::net::nsHttpChannel::OnStopRequest(nsIRequest*, nsISupports*, nsresult) (/builds/worker/workspace/build/application/firefox/libxul.so) [task 2018-04-21T03:44:06.857Z] 03:44:06 INFO - PID 4254 | #05: nsInputStreamPump::OnStateStop() (/builds/worker/workspace/build/application/firefox/libxul.so) [task 2018-04-21T03:44:06.865Z] 03:44:06 INFO - PID 4254 | #06: nsInputStreamPump::OnInputStreamReady(nsIAsyncInputStream*) (/builds/worker/workspace/build/application/firefox/libxul.so) [task 2018-04-21T03:44:06.867Z] 03:44:06 INFO - PID 4254 | #07: nsInputStreamReadyEvent::Run() (/builds/worker/workspace/build/application/firefox/libxul.so) [task 2018-04-21T03:44:06.877Z] 03:44:06 INFO - PID 4254 | #08: nsThread::ProcessNextEvent(bool, bool*) [clone .part.291] (/builds/worker/workspace/build/application/firefox/libxul.so) [task 2018-04-21T03:44:06.878Z] 03:44:06 INFO - PID 4254 | #09: NS_ProcessNextEvent(nsIThread*, bool) (/builds/worker/workspace/build/application/firefox/libxul.so) [task 2018-04-21T03:44:06.887Z] 03:44:06 INFO - PID 4254 | #10: mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) (/builds/worker/workspace/build/application/firefox/libxul.so) [task 2018-04-21T03:44:06.889Z] 03:44:06 INFO - PID 4254 | #11: MessageLoop::RunInternal() (/builds/worker/workspace/build/application/firefox/libxul.so) [task 2018-04-21T03:44:06.897Z] 03:44:06 INFO - PID 4254 | #12: MessageLoop::Run() (/builds/worker/workspace/build/application/firefox/libxul.so) [task 2018-04-21T03:44:06.901Z] 03:44:06 INFO - PID 4254 | #13: nsBaseAppShell::Run() (/builds/worker/workspace/build/application/firefox/libxul.so) [task 2018-04-21T03:44:06.905Z] 03:44:06 INFO - PID 4254 | #14: nsAppStartup::Run() (/builds/worker/workspace/build/application/firefox/libxul.so) [task 2018-04-21T03:44:06.913Z] 03:44:06 INFO - PID 4254 | #15: XREMain::XRE_mainRun() (/builds/worker/workspace/build/application/firefox/libxul.so) [task 2018-04-21T03:44:06.918Z] 03:44:06 INFO - PID 4254 | #16: XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) (/builds/worker/workspace/build/application/firefox/libxul.so) [task 2018-04-21T03:44:06.923Z] 03:44:06 INFO - PID 4254 | #17: XRE_main(int, char**, mozilla::BootstrapConfig const&) (/builds/worker/workspace/build/application/firefox/libxul.so) [task 2018-04-21T03:44:06.993Z] 03:44:06 INFO - PID 4254 | #18: do_main(int, char**, char**) (/builds/worker/workspace/build/application/firefox/firefox) [task 2018-04-21T03:44:06.993Z] 03:44:06 INFO - PID 4254 | #19: main (/builds/worker/workspace/build/application/firefox/firefox) [task 2018-04-21T03:44:06.994Z] 03:44:06 INFO - PID 4254 | ExceptionHandler::GenerateDump cloned child 4342 [task 2018-04-21T03:44:06.995Z] 03:44:06 INFO - PID 4254 | ExceptionHandler::SendContinueSignalToChild sent continue signal to child [task 2018-04-21T03:44:06.995Z] 03:44:06 INFO - PID 4254 | ExceptionHandler::WaitForContinueSignal waiting for continue signal... [task 2018-04-21T03:44:07.035Z] 03:44:07 INFO - Browser exited with return code 11 [task 2018-04-21T03:44:07.037Z] 03:44:07 WARNING - u'runner_teardown': ()
See Also: → 1455057
About this fail I did some retriggers to find where it originated and this is what I've found http://tinyurl.com/ydxrzvhp Until the push from James this test failed as TEST-UNEXPECTED-CRASH | /eventsource/dedicated-worker/eventsource-close2.htm | expected OK - failure log http://tinyurl.com/y962gxld After this push http://tinyurl.com/ycbfv24o the failures turned into TEST-UNEXPECTED-OK | /eventsource/dedicated-worker/eventsource-close2.htm | expected CRASH - failure log http://tinyurl.com/y77gcark and continues like this until now. Meanwhile the assertion was fixed by this http://tinyurl.com/ycsjuu93 but this keeps on failing a lot (21 times from 30 on the push that started this). This is the merge that fixed the assertion http://tinyurl.com/y8z2cwah. James, could you please take a look at this and see if you have the time to fix it? Thank you.
Flags: needinfo?(james)
Whiteboard: [retriggered]
Flags: needinfo?(james) → needinfo?(amarchesini)
Attached patch fix.patchSplinter Review
We should not need this file. I have pushed this patch to see the result, but, in general, we should not crash and this should not be a intermittent failure.
Assignee: nobody → amarchesini
Flags: needinfo?(amarchesini)
Attachment #8970080 - Flags: review?(aryx.bugmail)
Priority: -- → P2
The same patch has been pushed as part of bug 1455929.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Attachment #8970080 - Flags: review?(aryx.bugmail)
Whiteboard: [retriggered][stockwell needswork:owner] → [retriggered][stockwell fixed:other]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: