Intermittent PID 4378 | Assertion failure: ((bool)(__builtin_expect(!!(!NS_FAILED_impl(rv)), 1))), at /builds/worker/workspace/build/src/dom/base/EventSource.cpp:1334

RESOLVED FIXED in Firefox 61

Status

()

defect
P2
normal
RESOLVED FIXED
Last year
Last year

People

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

Tracking

({assertion, intermittent-failure})

unspecified
mozilla61
Points:
---

Firefox Tracking Flags

(firefox-esr52 unaffected, firefox59 wontfix, firefox60 wontfix, firefox61 fixed)

Details

(Whiteboard: [stockwell fixed:product])

Attachments

(1 attachment)

Filed by: archaeopteryx [at] coole-files.de

https://treeherder.mozilla.org/logviewer.html#?job_id=174331545&repo=autoland

https://queue.taskcluster.net/v1/task/XJimKv3gQju9NUKoEuykbA/runs/0/artifacts/public/logs/live_backing.log

task 2018-04-18T14:57:18.887Z] 14:57:18     INFO - TEST-START | /eventsource/dedicated-worker/eventsource-constructor-non-same-origin.htm
[task 2018-04-18T14:57:18.904Z] 14:57:18     INFO - PID 4378 | [4378, 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-18T14:57:18.904Z] 14:57:18     INFO - PID 4378 | [4378, 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-18T14:57:18.904Z] 14:57:18     INFO - PID 4378 | [4378, 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-18T14:57:18.905Z] 14:57:18     INFO - PID 4378 | Assertion failure: ((bool)(__builtin_expect(!!(!NS_FAILED_impl(rv)), 1))), at /builds/worker/workspace/build/src/dom/base/EventSource.cpp:1334
[task 2018-04-18T14:57:18.908Z] 14:57:18     INFO - PID 4378 | #01: mozilla::dom::EventSourceImpl::DispatchFailConnection() (/builds/worker/workspace/build/application/firefox/libxul.so)
[task 2018-04-18T14:57:18.912Z] 14:57:18     INFO - PID 4378 | #02: mozilla::dom::EventSourceImpl::OnStopRequest(nsIRequest*, nsISupports*, nsresult) (/builds/worker/workspace/build/application/firefox/libxul.so)
[task 2018-04-18T14:57:18.917Z] 14:57:18     INFO - PID 4378 | #03: nsCORSListenerProxy::OnStopRequest(nsIRequest*, nsISupports*, nsresult) (/builds/worker/workspace/build/application/firefox/libxul.so)
[task 2018-04-18T14:57:18.925Z] 14:57:18     INFO - PID 4378 | #04: mozilla::net::nsHttpChannel::OnStopRequest(nsIRequest*, nsISupports*, nsresult) (/builds/worker/workspace/build/application/firefox/libxul.so)
[task 2018-04-18T14:57:18.927Z] 14:57:18     INFO - PID 4378 | #05: nsInputStreamPump::OnStateStop() (/builds/worker/workspace/build/application/firefox/libxul.so)
[task 2018-04-18T14:57:18.931Z] 14:57:18     INFO - PID 4378 | #06: nsInputStreamPump::OnInputStreamReady(nsIAsyncInputStream*) (/builds/worker/workspace/build/application/firefox/libxul.so)
[task 2018-04-18T14:57:18.935Z] 14:57:18     INFO - PID 4378 | #07: nsInputStreamReadyEvent::Run() (/builds/worker/workspace/build/application/firefox/libxul.so)
[task 2018-04-18T14:57:18.937Z] 14:57:18     INFO - PID 4378 | #08: nsThread::ProcessNextEvent(bool, bool*) [clone .part.291] (/builds/worker/workspace/build/application/firefox/libxul.so)
[task 2018-04-18T14:57:18.937Z] 14:57:18     INFO - PID 4378 | #09: NS_ProcessNextEvent(nsIThread*, bool) (/builds/worker/workspace/build/application/firefox/libxul.so)
[task 2018-04-18T14:57:18.939Z] 14:57:18     INFO - PID 4378 | #10: mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) (/builds/worker/workspace/build/application/firefox/libxul.so)
[task 2018-04-18T14:57:18.939Z] 14:57:18     INFO - PID 4378 | #11: MessageLoop::RunInternal() (/builds/worker/workspace/build/application/firefox/libxul.so)
[task 2018-04-18T14:57:18.941Z] 14:57:18     INFO - PID 4378 | #12: MessageLoop::Run() (/builds/worker/workspace/build/application/firefox/libxul.so)
[task 2018-04-18T14:57:18.941Z] 14:57:18     INFO - PID 4378 | #13: nsBaseAppShell::Run() (/builds/worker/workspace/build/application/firefox/libxul.so)
[task 2018-04-18T14:57:18.942Z] 14:57:18     INFO - PID 4378 | #14: nsAppStartup::Run() (/builds/worker/workspace/build/application/firefox/libxul.so)
[task 2018-04-18T14:57:18.942Z] 14:57:18     INFO - PID 4378 | #15: XREMain::XRE_mainRun() (/builds/worker/workspace/build/application/firefox/libxul.so)
[task 2018-04-18T14:57:18.943Z] 14:57:18     INFO - PID 4378 | #16: XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) (/builds/worker/workspace/build/application/firefox/libxul.so)
[task 2018-04-18T14:57:18.944Z] 14:57:18     INFO - PID 4378 | #17: XRE_main(int, char**, mozilla::BootstrapConfig const&) (/builds/worker/workspace/build/application/firefox/libxul.so)
[task 2018-04-18T14:57:18.944Z] 14:57:18     INFO - PID 4378 | #18: do_main(int, char**, char**) (/builds/worker/workspace/build/application/firefox/firefox)
[task 2018-04-18T14:57:18.944Z] 14:57:18     INFO - PID 4378 | #19: main (/builds/worker/workspace/build/application/firefox/firefox)
[task 2018-04-18T14:57:18.944Z] 14:57:18     INFO - PID 4378 | ExceptionHandler::GenerateDump cloned child 4470
[task 2018-04-18T14:57:18.944Z] 14:57:18     INFO - PID 4378 | ExceptionHandler::SendContinueSignalToChild sent continue signal to child
[task 2018-04-18T14:57:18.944Z] 14:57:18     INFO - PID 4378 | ExceptionHandler::WaitForContinueSignal waiting for continue signal...
[task 2018-04-18T14:57:19.214Z] 14:57:19     INFO - mozcrash Downloading symbols from: https://queue.taskcluster.net/v1/task/KSp6vhcIRe-_AuGaaOZRDw/artifacts/public/build/target.crashreporter-symbols.zip
[task 2018-04-18T14:57:24.772Z] 14:57:24     INFO - mozcrash Copy/paste: /usr/local/bin/linux64-minidump_stackwalk /tmp/tmpQTC2gL.mozrunner/minidumps/62a55b5c-9eb8-f229-dc9d-89430446ec3d.dmp /tmp/tmpDJGfuB
[task 2018-04-18T14:57:29.776Z] 14:57:29     INFO - mozcrash Saved minidump as /builds/worker/workspace/build/blobber_upload_dir/62a55b5c-9eb8-f229-dc9d-89430446ec3d.dmp
[task 2018-04-18T14:57:29.780Z] 14:57:29     INFO - mozcrash Saved app info as /builds/worker/workspace/build/blobber_upload_dir/62a55b5c-9eb8-f229-dc9d-89430446ec3d.extra
[task 2018-04-18T14:57:29.891Z] 14:57:29     INFO - PROCESS-CRASH | /eventsource/dedicated-worker/eventsource-constructor-non-same-origin.htm | application crashed [@ mozilla::dom::EventSourceImpl::DispatchFailConnection]
[task 2018-04-18T14:57:29.892Z] 14:57:29     INFO - Crash dump filename: /tmp/tmpQTC2gL.mozrunner/minidumps/62a55b5c-9eb8-f229-dc9d-89430446ec3d.dmp
[task 2018-04-18T14:57:29.892Z] 14:57:29     INFO - Operating system: Linux
[task 2018-04-18T14:57:29.893Z] 14:57:29     INFO -                   0.0.0 Linux 4.4.0-1014-aws #14taskcluster1-Ubuntu SMP Tue Apr 3 10:27:00 UTC 2018 x86_64
[task 2018-04-18T14:57:29.893Z] 14:57:29     INFO - CPU: x86
[task 2018-04-18T14:57:29.894Z] 14:57:29     INFO -      GenuineIntel family 6 model 62 stepping 4
[task 2018-04-18T14:57:29.894Z] 14:57:29     INFO -      4 CPUs
[task 2018-04-18T14:57:29.894Z] 14:57:29     INFO - 
[task 2018-04-18T14:57:29.895Z] 14:57:29     INFO - GPU: UNKNOWN
[task 2018-04-18T14:57:29.895Z] 14:57:29     INFO - 
[task 2018-04-18T14:57:29.895Z] 14:57:29     INFO - Crash reason:  SIGSEGV
[task 2018-04-18T14:57:29.896Z] 14:57:29     INFO - Crash address: 0x0
[task 2018-04-18T14:57:29.896Z] 14:57:29     INFO - Process uptime: not available
[task 2018-04-18T14:57:29.897Z] 14:57:29     INFO - 
[task 2018-04-18T14:57:29.897Z] 14:57:29     INFO - Thread 0 (crashed)
[task 2018-04-18T14:57:29.897Z] 14:57:29     INFO -  0  libxul.so!mozilla::dom::EventSourceImpl::DispatchFailConnection [EventSource.cpp:f206acff283f2e89fa67fca6e1a24a55bdb50a0b : 1334 + 0x1d]
[task 2018-04-18T14:57:29.898Z] 14:57:29     INFO -     eip = 0xefd2af9f   esp = 0xffeb3b20   ebp = 0xffeb3b58   ebx = 0xf5524000
[task 2018-04-18T14:57:29.898Z] 14:57:29     INFO -     esi = 0x80004005   edi = 0xffeb3b38   eax = 0x00000000   ecx = 0xf7599864
[task 2018-04-18T14:57:29.899Z] 14:57:29     INFO -     edx = 0x00000000   efl = 0x00010282
[task 2018-04-18T14:57:29.899Z] 14:57:29     INFO -     Found by: given as instruction pointer in context
[task 2018-04-18T14:57:29.899Z] 14:57:29     INFO -  1  libxul.so!mozilla::dom::EventSourceImpl::OnStopRequest [EventSource.cpp:f206acff283f2e89fa67fca6e1a24a55bdb50a0b : 807 + 0x9]
[task 2018-04-18T14:57:29.900Z] 14:57:29     INFO -     eip = 0xefd2b4c9   esp = 0xffeb3b60   ebp = 0xffeb3ba8
[task 2018-04-18T14:57:29.900Z] 14:57:29     INFO -     Found by: previous frame's frame pointer
[task 2018-04-18T14:57:29.900Z] 14:57:29     INFO -  2  libxul.so!nsCORSListenerProxy::OnStopRequest [nsCORSListenerProxy.cpp:f206acff283f2e89fa67fca6e1a24a55bdb50a0b : 651 + 0x17]
[task 2018-04-18T14:57:29.901Z] 14:57:29     INFO -     eip = 0xef3e607f   esp = 0xffeb3bb0   ebp = 0xffeb3c08
[task 2018-04-18T14:57:29.901Z] 14:57:29     INFO -     Found by: previous frame's frame pointer
[task 2018-04-18T14:57:29.901Z] 14:57:29     INFO -  3  libxul.so!mozilla::net::nsHttpChannel::OnStopRequest [nsHttpChannel.cpp:f206acff283f2e89fa67fca6e1a24a55bdb50a0b : 7419 + 0x22]
[task 2018-04-18T14:57:29.902Z] 14:57:29     INFO -     eip = 0xef410c39   esp = 0xffeb3c10   ebp = 0xffeb3d48
[task 2018-04-18T14:57:29.902Z] 14:57:29     INFO -     Found by: previous frame's frame pointer
[task 2018-04-18T14:57:29.902Z] 14:57:29     INFO -  4  libxul.so!nsInputStreamPump::OnStateStop [nsInputStreamPump.cpp:f206acff283f2e89fa67fca6e1a24a55bdb50a0b : 708 + 0x15]
[task 2018-04-18T14:57:29.903Z] 14:57:29     INFO -     eip = 0xef194568   esp = 0xffeb3d50   ebp = 0xffeb3db8
[task 2018-04-18T14:57:29.903Z] 14:57:29     INFO -     Found by: previous frame's frame pointer
[task 2018-04-18T14:57:29.903Z] 14:57:29     INFO -  5  libxul.so!nsInputStreamPump::OnInputStreamReady [nsInputStreamPump.cpp:f206acff283f2e89fa67fca6e1a24a55bdb50a0b : 436 + 0x6]
[task 2018-04-18T14:57:29.904Z] 14:57:29     INFO -     eip = 0xef19f1c5   esp = 0xffeb3dc0   ebp = 0xffeb3e18
[task 2018-04-18T14:57:29.904Z] 14:57:29     INFO -     Found by: previous frame's frame pointer
[task 2018-04-18T14:57:29.905Z] 14:57:29     INFO -  6  libxul.so!nsInputStreamReadyEvent::Run [nsStreamUtils.cpp:f206acff283f2e89fa67fca6e1a24a55bdb50a0b : 102 + 0x14]
[task 2018-04-18T14:57:29.905Z] 14:57:29     INFO -     eip = 0xef0deca9   esp = 0xffeb3e20   ebp = 0xffeb3e38
[task 2018-04-18T14:57:29.905Z] 14:57:29     INFO -     Found by: previous frame's frame pointer
[task 2018-04-18T14:57:29.906Z] 14:57:29     INFO -  7  libxul.so!nsThread::ProcessNextEvent [nsThread.cpp:f206acff283f2e89fa67fca6e1a24a55bdb50a0b : 1096 + 0x17]
[task 2018-04-18T14:57:29.906Z] 14:57:29     INFO -     eip = 0xef10dc79   esp = 0xffeb3e40   ebp = 0xffeb4398
[task 2018-04-18T14:57:29.906Z] 14:57:29     INFO -     Found by: previous frame's frame pointer
[task 2018-04-18T14:57:29.906Z] 14:57:29     INFO -  8  libxul.so!NS_ProcessNextEvent [nsThreadUtils.cpp:f206acff283f2e89fa67fca6e1a24a55bdb50a0b : 519 + 0xc]
[task 2018-04-18T14:57:29.907Z] 14:57:29     INFO -     eip = 0xef10fc12   esp = 0xffeb43a0   ebp = 0xffeb43d8
[task 2018-04-18T14:57:29.907Z] 14:57:29     INFO -     Found by: previous frame's frame pointer
[task 2018-04-18T14:57:29.908Z] 14:57:29     INFO -  9  libxul.so!mozilla::ipc::MessagePump::Run [MessagePump.cpp:f206acff283f2e89fa67fca6e1a24a55bdb50a0b : 97 + 0xc]
[task 2018-04-18T14:57:29.908Z] 14:57:29     INFO -     eip = 0xef50107d   esp = 0xffeb43e0   ebp = 0xffeb4428
[task 2018-04-18T14:57:29.908Z] 14:57:29     INFO -     Found by: previous frame's frame pointer
[task 2018-04-18T14:57:29.909Z] 14:57:29     INFO - 10  libxul.so!MessageLoop::RunInternal [message_loop.cc:f206acff283f2e89fa67fca6e1a24a55bdb50a0b : 326 + 0x14]
[task 2018-04-18T14:57:29.909Z] 14:57:29     INFO -     eip = 0xef4d4662   esp = 0xffeb4430   ebp = 0xffeb4458
[task 2018-04-18T14:57:29.909Z] 14:57:29     INFO -     Found by: previous frame's frame pointer
[task 2018-04-18T14:57:29.910Z] 14:57:29     INFO - 11  libxul.so!MessageLoop::Run [message_loop.cc:f206acff283f2e89fa67fca6e1a24a55bdb50a0b : 319 + 0x8]
[task 2018-04-18T14:57:29.910Z] 14:57:29     INFO -     eip = 0xef4d4689   esp = 0xffeb4460   ebp = 0xffeb4488
[task 2018-04-18T14:57:29.910Z] 14:57:29     INFO -     Found by: previous frame's frame pointer
[task 2018-04-18T14:57:29.911Z] 14:57:29     INFO - 12  libxul.so!nsBaseAppShell::Run [nsBaseAppShell.cpp:f206acff283f2e89fa67fca6e1a24a55bdb50a0b : 157 + 0xe]
[task 2018-04-18T14:57:29.911Z] 14:57:29     INFO -     eip = 0xf0de3686   esp = 0xffeb4490   ebp = 0xffeb44a8
[task 2018-04-18T14:57:29.911Z] 14:57:29     INFO -     Found by: previous frame's frame pointer
[task 2018-04-18T14:57:29.912Z] 14:57:29     INFO - 13  libxul.so!nsAppStartup::Run [nsAppStartup.cpp:f206acff283f2e89fa67fca6e1a24a55bdb50a0b : 290 + 0xe]
[task 2018-04-18T14:57:29.912Z] 14:57:29     INFO -     eip = 0xf1c443c3   esp = 0xffeb44b0   ebp = 0xffeb44c8
[task 2018-04-18T14:57:29.912Z] 14:57:29     INFO -     Found by: previous frame's frame pointer
[task 2018-04-18T14:57:29.913Z] 14:57:29     INFO - 14  libxul.so!XREMain::XRE_mainRun [nsAppRunner.cpp:f206acff283f2e89fa67fca6e1a24a55bdb50a0b : 4834 + 0x14]
[task 2018-04-18T14:57:29.913Z] 14:57:29     INFO -     eip = 0xf1cdbb8b   esp = 0xffeb44d0   ebp = 0xffeb45f8
[task 2018-04-18T14:57:29.913Z] 14:57:29     INFO -     Found by: previous frame's frame pointer
[task 2018-04-18T14:57:29.914Z] 14:57:29     INFO - 15  libxul.so!XREMain::XRE_main [nsAppRunner.cpp:f206acff283f2e89fa67fca6e1a24a55bdb50a0b : 4979 + 0xb]
[task 2018-04-18T14:57:29.914Z] 14:57:29     INFO -     eip = 0xf1cdc3b2   esp = 0xffeb4600   ebp = 0xffeb4678
[task 2018-04-18T14:57:29.914Z] 14:57:29     INFO -     Found by: previous frame's frame pointer
[task 2018-04-18T14:57:29.915Z] 14:57:29     INFO - 16  libxul.so!XRE_main [nsAppRunner.cpp:f206acff283f2e89fa67fca6e1a24a55bdb50a0b : 5071 + 0x6]
[task 2018-04-18T14:57:29.915Z] 14:57:29     INFO -     eip = 0xf1cdc70a   esp = 0xffeb4680   ebp = 0xffeb47d8
[task 2018-04-18T14:57:29.915Z] 14:57:29     INFO -     Found by: previous frame's frame pointer
[task 2018-04-18T14:57:29.916Z] 14:57:29     INFO - 17  firefox!do_main [nsBrowserApp.cpp:f206acff283f2e89fa67fca6e1a24a55bdb50a0b : 231 + 0x1e]
[task 2018-04-18T14:57:29.916Z] 14:57:29     INFO -     eip = 0x0804db4d   esp = 0xffeb47e0   ebp = 0xffeb5828
[task 2018-04-18T14:57:29.916Z] 14:57:29     INFO -     Found by: previous frame's frame pointer
[task 2018-04-18T14:57:29.917Z] 14:57:29     INFO - 18  firefox!main [nsBrowserApp.cpp:f206acff283f2e89fa67fca6e1a24a55bdb50a0b : 304 + 0xd]
[task 2018-04-18T14:57:29.917Z] 14:57:29     INFO -     eip = 0x0804d4c9   esp = 0xffeb5830   ebp = 0xffeb5878   ebx = 0x0808a000
[task 2018-04-18T14:57:29.917Z] 14:57:29     INFO -     esi = 0xffeb5924   edi = 0x0808a2a4
[task 2018-04-18T14:57:29.918Z] 14:57:29     INFO -     Found by: call frame info
[task 2018-04-18T14:57:29.918Z] 14:57:29     INFO - 19  libc-2.23.so + 0x18637
[task 2018-04-18T14:57:29.918Z] 14:57:29     INFO -     eip = 0xf73fe637   esp = 0xffeb5880   ebp = 0x00000000
[task 2018-04-18T14:57:29.919Z] 14:57:29     INFO -     Found by: previous frame's frame pointer
[task 2018-04-18T14:57:29.919Z] 14:57:29     INFO - 20  libc-2.23.so + 0x1b2000
[task 2018-04-18T14:57:29.919Z] 14:57:29     INFO -     eip = 0xf7598000   esp = 0xffeb5884   ebp = 0x00000000
[task 2018-04-18T14:57:29.920Z] 14:57:29     INFO -     Found by: stack scanning
[task 2018-04-18T14:57:29.920Z] 14:57:29     INFO - 21  libc-2.23.so + 0x1b2000
[task 2018-04-18T14:57:29.920Z] 14:57:29     INFO -     eip = 0xf7598000   esp = 0xffeb5888   ebp = 0x00000000
[task 2018-04-18T14:57:29.921Z] 14:57:29     INFO -     Found by: stack scanning
[task 2018-04-18T14:57:29.921Z] 14:57:29     INFO - 22  libc-2.23.so + 0x18637
[task 2018-04-18T14:57:29.921Z] 14:57:29     INFO -     eip = 0xf73fe637   esp = 0xffeb5890   ebp = 0x00000000
[task 2018-04-18T14:57:29.921Z] 14:57:29     INFO -     Found by: stack scanning
[task 2018-04-18T14:57:29.922Z] 14:57:29     INFO - 23  libc-2.23.so + 0x1b2000
[task 2018-04-18T14:57:29.922Z] 14:57:29     INFO -     eip = 0xf7598000   esp = 0xffeb58ac   ebp = 0x00000000
[task 2018-04-18T14:57:29.922Z] 14:57:29     INFO -     Found by: stack scanning
[task 2018-04-18T14:57:29.923Z] 14:57:29     INFO - 24  ld-2.23.so + 0x24c04
[task 2018-04-18T14:57:29.923Z] 14:57:29     INFO -     eip = 0xf77fec04   esp = 0xffeb58b0   ebp = 0x00000000
[task 2018-04-18T14:57:29.923Z] 14:57:29     INFO -     Found by: stack scanning
[task 2018-04-18T14:57:29.924Z] 14:57:29     INFO - 25  ld-2.23.so + 0x24000
[task 2018-04-18T14:57:29.924Z] 14:57:29     INFO -     eip = 0xf77fe000   esp = 0xffeb58b4   ebp = 0x00000000
[task 2018-04-18T14:57:29.924Z] 14:57:29     INFO -     Found by: stack scanning
[task 2018-04-18T14:57:29.925Z] 14:57:29     INFO - 26  libc-2.23.so + 0x1b2000
[task 2018-04-18T14:57:29.925Z] 14:57:29     INFO -     eip = 0xf7598000   esp = 0xffeb58bc   ebp = 0x00000000
[task 2018-04-18T14:57:29.925Z] 14:57:29     INFO -     Found by: stack scanning
[task 2018-04-18T14:57:29.925Z] 14:57:29     INFO - 27  libc-2.23.so + 0x1b2000
[task 2018-04-18T14:57:29.926Z] 14:57:29     INFO -     eip = 0xf7598000   esp = 0xffeb58c0   ebp = 0x00000000
[task 2018-04-18T14:57:29.926Z] 14:57:29     INFO -     Found by: stack scanning
[task 2018-04-18T14:57:29.926Z] 14:57:29     INFO - 28  libfreeblpriv3.so!_fini + 0x12899
[task 2018-04-18T14:57:29.927Z] 14:57:29     INFO -     eip = 0xdd3b990d   esp = 0xffeb58c8   ebp = 0x00000000
[task 2018-04-18T14:57:29.927Z] 14:57:29     INFO -     Found by: stack scanning
[task 2018-04-18T14:57:29.927Z] 14:57:29     INFO - 29  firefox + 0x5774
[task 2018-04-18T14:57:29.928Z] 14:57:29     INFO -     eip = 0x0804d774   esp = 0xffeb58e0   ebp = 0x00000000
[task 2018-04-18T14:57:29.928Z] 14:57:29     INFO -     Found by: stack scanning
[task 2018-04-18T14:57:29.928Z] 14:57:29     INFO - 30  ld-2.23.so + 0x15010
[task 2018-04-18T14:57:29.929Z] 14:57:29     INFO -     eip = 0xf77ef010   esp = 0xffeb58e8   ebp = 0x00000000
[task 2018-04-18T14:57:29.929Z] 14:57:29     INFO -     Found by: stack scanning
[task 2018-04-18T14:57:29.929Z] 14:57:29     INFO - 31  ld-2.23.so + 0xf880
[task 2018-04-18T14:57:29.930Z] 14:57:29     INFO -     eip = 0xf77e9880   esp = 0xffeb58ec   ebp = 0x00000000
[task 2018-04-18T14:57:29.930Z] 14:57:29     INFO -     Found by: stack scanning
[task 2018-04-18T14:57:29.930Z] 14:57:29     INFO - 32  ld-2.23.so + 0x24000
[task 2018-04-18T14:57:29.931Z] 14:57:29     INFO -     eip = 0xf77fe000   esp = 0xffeb58f0   ebp = 0x00000000
[task 2018-04-18T14:57:29.931Z] 14:57:29     INFO -     Found by: stack scanning
[task 2018-04-18T14:57:29.931Z] 14:57:29     INFO - 33  firefox + 0x5774
[task 2018-04-18T14:57:29.931Z] 14:57:29     INFO -     eip = 0x0804d774   esp = 0xffeb58f8   ebp = 0x00000000
[task 2018-04-18T14:57:29.932Z] 14:57:29     INFO -     Found by: stack scanning
[task 2018-04-18T14:57:29.932Z] 14:57:29     INFO - 34  firefox!_start + 0x21
[task 2018-04-18T14:57:29.932Z] 14:57:29     INFO -     eip = 0x0804d795   esp = 0xffeb5900   ebp = 0x00000000
[task 2018-04-18T14:57:29.933Z] 14:57:29     INFO -     Found by: stack scanning
[task 2018-04-18T14:57:29.933Z] 14:57:29     INFO - 35  firefox!SSE2Check [nsBrowserApp.cpp:f206acff283f2e89fa67fca6e1a24a55bdb50a0b : 87 + 0x8]
[task 2018-04-18T14:57:29.933Z] 14:57:29     INFO -     eip = 0x0804d426   esp = 0xffeb5904   ebp = 0x00000000
[task 2018-04-18T14:57:29.934Z] 14:57:29     INFO -     Found by: stack scanning
[task 2018-04-18T14:57:29.934Z] 14:57:29     INFO - 36  firefox!__libc_csu_fini + 0x10
[task 2018-04-18T14:57:29.934Z] 14:57:29     INFO -     eip = 0x080798d0   esp = 0xffeb5910   ebp = 0xffeb5924
[task 2018-04-18T14:57:29.935Z] 14:57:29     INFO -     Found by: stack scanning
[task 2018-04-18T14:57:29.935Z] 14:57:29     INFO - 37  0xffeb6781
[task 2018-04-18T14:57:29.935Z] 14:57:29     INFO -     eip = 0xffeb6781   esp = 0xffeb592c   ebp = 0xffeb6746
[task 2018-04-18T14:57:29.936Z] 14:57:29     INFO -     Found by: previous frame's frame pointer
[task 2018-04-18T14:57:29.936Z] 14:57:29     INFO - 38  0x2f73646c
[task 2018-04-18T14:57:29.936Z] 14:57:29     INFO -     eip = 0x2f73646c   esp = 0xffeb674e   ebp = 0x6975622f
[task 2018-04-18T14:57:29.937Z] 14:57:29     INFO -     Found by: previous frame's frame pointer
Since this bug was created, we reached 39 failures.
Platforms: Linux, Linux x64, linux64-qr and windows10-64 all debug.
Recent log failure: https://treeherder.mozilla.org/logviewer.html#?repo=autoland&job_id=174458910&lineNumber=1429

Relevant part of the log:
[task 2018-04-19T03:18:50.981Z] 03:18:50     INFO - PID 989 | Assertion failure: aPrincipal, at /builds/worker/workspace/build/src/dom/canvas/ImageBitmap.cpp:439
[task 2018-04-19T03:18:51.092Z] 03:18:51     INFO - PID 989 | #01: mozilla::dom::CheckSecurityForHTMLElements(bool, bool, nsIPrincipal*) (/builds/worker/workspace/build/application/firefox/libxul.so)
[task 2018-04-19T03:18:51.100Z] 03:18:51     INFO - PID 989 | #02: mozilla::dom::ImageBitmap::CreateInternal(nsIGlobalObject*, mozilla::dom::HTMLImageElement&, mozilla::Maybe<mozilla::gfx::IntRectTyped<mozilla::gfx::UnknownUnits> > const&, mozilla::ErrorResult&) (/builds/worker/workspace/build/application/firefox/libxul.so)
[task 2018-04-19T03:18:51.104Z] 03:18:51     INFO - PID 989 | #03: mozilla::dom::ImageBitmap::Create(nsIGlobalObject*, mozilla::dom::HTMLImageElementOrHTMLVideoElementOrHTMLCanvasElementOrBlobOrImageDataOrCanvasRenderingContext2DOrImageBitmapOrArrayBufferViewOrArrayBuffer const&, mozilla::Maybe<mozilla::gfx::IntRectTyped<mozilla::gfx::UnknownUnits> > const&, mozilla::ErrorResult&) (/builds/worker/workspace/build/application/firefox/libxul.so)
[task 2018-04-19T03:18:51.113Z] 03:18:51     INFO - PID 989 | #04: nsGlobalWindowInner::CreateImageBitmap(JSContext*, mozilla::dom::HTMLImageElementOrHTMLVideoElementOrHTMLCanvasElementOrBlobOrImageDataOrCanvasRenderingContext2DOrImageBitmapOrArrayBufferViewOrArrayBuffer const&, mozilla::ErrorResult&) (/builds/worker/workspace/build/application/firefox/libxul.so)
[task 2018-04-19T03:18:51.117Z] 03:18:51     INFO - PID 989 | #05: mozilla::dom::WindowBinding::createImageBitmap(JSContext*, JS::Handle<JSObject*>, nsGlobalWindowInner*, JSJitMethodCallArgs const&) [clone .isra.1074] (/builds/worker/workspace/build/application/firefox/libxul.so)
[task 2018-04-19T03:18:51.126Z] 03:18:51     INFO - PID 989 | #06: mozilla::dom::WindowBinding::createImageBitmap_promiseWrapper(JSContext*, JS::Handle<JSObject*>, nsGlobalWindowInner*, JSJitMethodCallArgs const&) (/builds/worker/workspace/build/application/firefox/libxul.so)
[task 2018-04-19T03:18:51.130Z] 03:18:51     INFO - PID 989 | #07: bool mozilla::dom::binding_detail::GenericMethod<mozilla::dom::binding_detail::MaybeGlobalThisPolicy, mozilla::dom::binding_detail::ConvertExceptionsToPromises>(JSContext*, unsigned int, JS::Value*) (/builds/worker/workspace/build/application/firefox/libxul.so)
[task 2018-04-19T03:18:51.134Z] 03:18:51     INFO - PID 989 | #08: js::CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), JS::CallArgs const&) (/builds/worker/workspace/build/application/firefox/libxul.so)
[task 2018-04-19T03:18:51.143Z] 03:18:51     INFO - PID 989 | #09: js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct) (/builds/worker/workspace/build/application/firefox/libxul.so)
[task 2018-04-19T03:18:51.145Z] 03:18:51     INFO - PID 989 | #10: InternalCall(JSContext*, js::AnyInvokeArgs const&) (/builds/worker/workspace/build/application/firefox/libxul.so)
[task 2018-04-19T03:18:51.153Z] 03:18:51     INFO - PID 989 | #11: Interpret(JSContext*, js::RunState&) (/builds/worker/workspace/build/application/firefox/libxul.so)

:overholt Can you please take a look?
Flags: needinfo?(overholt)
Hmm, I'm not sure what's recently changed in this area. Maybe Andrew Osmond or Nika have thoughts?
Flags: needinfo?(overholt)
Flags: needinfo?(nika)
Flags: needinfo?(aosmond)
I know what is going on. I take this bug.
Flags: needinfo?(nika)
Flags: needinfo?(aosmond)
What happens here is that, if the worker is shutting down, the dispatching of normal WorkerRunnables fails. The assertion is just wrong.

Note that FailConnection() calls CloseInternal(). But the same method is going to be called by StrongWorkerRef() when the shutdown starts.
Assignee: nobody → amarchesini
Attachment #8969273 - Flags: review?(bugmail)
Priority: -- → P2
Duplicate of this bug: 1454799
Duplicate of this bug: 1454800
Comment on attachment 8969273 [details] [diff] [review]
eventSource.patch

Review of attachment 8969273 [details] [diff] [review]:
-----------------------------------------------------------------

Please add a code comment along the lines of your comment 5 "if the worker is shutting down, the dispatching of normal WorkerRunnables fails."
Attachment #8969273 - Flags: review?(bugmail) → review+
Duplicate of this bug: 1454798
Pushed by amarchesini@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/087038ccc3e3
EventSource::Dispatch can fail if the worker is shutting down, r=asuth
See Also: → 1455820
https://hg.mozilla.org/mozilla-central/rev/087038ccc3e3
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Whiteboard: [stockwell needswork:owner] → [stockwell fixed:product]
You need to log in before you can comment on or make changes to this bug.