Intermittent PROCESS-CRASH | Main app process exited normally | application crashed [@ mozilla::dom::WorkerPrivate::RemoveWorkerRef(mozilla::dom::WorkerRef*)]
Categories
(Core :: DOM: Workers, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox76 | --- | unaffected |
firefox77 | --- | unaffected |
firefox78 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: ytausky)
References
(Regression)
Details
(Keywords: crash, intermittent-failure, regression, Whiteboard: [retriggered][stockwell unknown])
Crash Data
Attachments
(1 file)
Filed by: ccoroiu [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=302348230&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/WdAbm6jbSpiHNOo_r6KHKA/runs/1/artifacts/public/logs/live_backing.log
[task 2020-05-14T22:24:35.114Z] 22:24:35 INFO - GECKO(6656) | JavaScript error: resource://gre/modules/URIFixup.jsm, line 265: NS_ERROR_FAILURE: Should pass a non-null uri
[task 2020-05-14T22:24:35.601Z] 22:24:35 INFO - GECKO(6656) | MEMORY STAT | vsize 2105285MB | vsizeMaxContiguous 65287699MB | residentFast 909MB | heapAllocated 538MB
[task 2020-05-14T22:24:35.601Z] 22:24:35 INFO - TEST-OK | browser/components/extensions/test/browser/browser_ext_windows_update.js | took 1581ms
[task 2020-05-14T22:24:35.620Z] 22:24:35 INFO - checking window state
[task 2020-05-14T22:24:35.639Z] 22:24:35 INFO - GECKO(6656) | Completed ShutdownLeaks collections in process 6680
[task 2020-05-14T22:24:35.639Z] 22:24:35 INFO - TEST-START | Shutdown
[task 2020-05-14T22:24:35.639Z] 22:24:35 INFO - Browser Chrome Test Summary
[task 2020-05-14T22:24:35.639Z] 22:24:35 INFO - Passed: 8395
[task 2020-05-14T22:24:35.639Z] 22:24:35 INFO - Failed: 0
[task 2020-05-14T22:24:35.639Z] 22:24:35 INFO - Todo: 0
[task 2020-05-14T22:24:35.639Z] 22:24:35 INFO - Mode: e10s
[task 2020-05-14T22:24:35.639Z] 22:24:35 INFO - *** End BrowserChrome Test Results ***
[task 2020-05-14T22:24:35.649Z] 22:24:35 INFO - GECKO(6656) | Exiting due to channel error.
[task 2020-05-14T22:24:35.656Z] 22:24:35 INFO - GECKO(6656) | Exiting due to channel error.
[task 2020-05-14T22:24:35.656Z] 22:24:35 INFO - GECKO(6656) | Exiting due to channel error.
[task 2020-05-14T22:24:35.657Z] 22:24:35 INFO - GECKO(6656) | Exiting due to channel error.
[task 2020-05-14T22:24:35.657Z] 22:24:35 INFO - GECKO(6656) | [GFX1-]: Receive IPC close with reason=AbnormalShutdown
[task 2020-05-14T22:24:35.858Z] 22:24:35 INFO - TEST-INFO | Main app process: exit 0
[task 2020-05-14T22:24:35.859Z] 22:24:35 INFO - runtests.py | Application ran for: 0:10:51.973000
[task 2020-05-14T22:24:36.045Z] 22:24:36 INFO - mozcrash Downloading symbols from: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Ha4hDqXWQzO8yfJzVrx5LQ/artifacts/public/build/target.crashreporter-symbols.zip
[task 2020-05-14T22:24:40.270Z] 22:24:40 INFO - mozcrash Copy/paste: Z:/task_1589493961/fetches\minidump_stackwalk\minidump_stackwalk.exe c:\users\task_1589493961\appdata\local\temp\tmprjajpt.mozrunner\minidumps\d7af8107-f149-4a5f-a2ca-9137535fd006.dmp c:\users\task_1589493961\appdata\local\temp\tmpb8704t
[task 2020-05-14T22:24:44.049Z] 22:24:44 INFO - mozcrash Saved minidump as Z:\task_1589493961\build\blobber_upload_dir\d7af8107-f149-4a5f-a2ca-9137535fd006.dmp
[task 2020-05-14T22:24:44.074Z] 22:24:44 INFO - PROCESS-CRASH | Main app process exited normally | application crashed [@ mozilla::dom::WorkerPrivate::RemoveWorkerRef(mozilla::dom::WorkerRef*)]
[task 2020-05-14T22:24:44.074Z] 22:24:44 INFO - Crash dump filename: c:\users\task_1589493961\appdata\local\temp\tmprjajpt.mozrunner\minidumps\d7af8107-f149-4a5f-a2ca-9137535fd006.dmp
[task 2020-05-14T22:24:44.074Z] 22:24:44 INFO - Operating system: Windows NT
[task 2020-05-14T22:24:44.074Z] 22:24:44 INFO - 10.0.17134
[task 2020-05-14T22:24:44.074Z] 22:24:44 INFO - CPU: amd64
[task 2020-05-14T22:24:44.074Z] 22:24:44 INFO - family 6 model 85 stepping 4
[task 2020-05-14T22:24:44.074Z] 22:24:44 INFO - 8 CPUs
[task 2020-05-14T22:24:44.074Z] 22:24:44 INFO -
[task 2020-05-14T22:24:44.074Z] 22:24:44 INFO - GPU: UNKNOWN
[task 2020-05-14T22:24:44.074Z] 22:24:44 INFO -
[task 2020-05-14T22:24:44.074Z] 22:24:44 INFO - Crash reason: EXCEPTION_BREAKPOINT
[task 2020-05-14T22:24:44.074Z] 22:24:44 INFO - Crash address: 0x4b62938d
[task 2020-05-14T22:24:44.075Z] 22:24:44 INFO - Assertion: Unknown assertion type 0x00000000
[task 2020-05-14T22:24:44.075Z] 22:24:44 INFO - Process uptime: 1 seconds
[task 2020-05-14T22:24:44.075Z] 22:24:44 INFO -
[task 2020-05-14T22:24:44.075Z] 22:24:44 INFO - Thread 0 (crashed)
[task 2020-05-14T22:24:44.075Z] 22:24:44 INFO - 0 xul.dll!mozilla::dom::WorkerPrivate::RemoveWorkerRef(mozilla::dom::WorkerRef*) [WorkerPrivate.cpp:a77ca5bd6b7c49099c672e103771ca2bf077cc40 : 3747 + 0x19]
[task 2020-05-14T22:24:44.075Z] 22:24:44 INFO - rax = 0x00007ff94ee1ad54 rdx = 0x000001d957f82dd0
[task 2020-05-14T22:24:44.075Z] 22:24:44 INFO - rcx = 0x00007ff97bb13fc0 rbx = 0x000001d956a3a000
[task 2020-05-14T22:24:44.075Z] 22:24:44 INFO - rsi = 0x000001d94fe6b800 rdi = 0x000001d957f82dd0
[task 2020-05-14T22:24:44.075Z] 22:24:44 INFO - rbp = 0x0000000000000000 rsp = 0x00000091e0bfee70
[task 2020-05-14T22:24:44.075Z] 22:24:44 INFO - r8 = 0x000000004fe6b800 r9 = 0x0000000000000001
[task 2020-05-14T22:24:44.075Z] 22:24:44 INFO - r10 = 0x00000fff296c68fe r11 = 0x4104104104001041
[task 2020-05-14T22:24:44.075Z] 22:24:44 INFO - r12 = 0x0000000000000000 r13 = 0x0000000000000000
[task 2020-05-14T22:24:44.075Z] 22:24:44 INFO - r14 = 0x000001d956aaee40 r15 = 0x00000091e0bff66f
[task 2020-05-14T22:24:44.075Z] 22:24:44 INFO - rip = 0x00007ff94b62938d
[task 2020-05-14T22:24:44.075Z] 22:24:44 INFO - Found by: given as instruction pointer in context
[task 2020-05-14T22:24:44.075Z] 22:24:44 INFO - 1 xul.dll!mozilla::dom::IPCWorkerRef::~IPCWorkerRef() [WorkerRef.cpp:a77ca5bd6b7c49099c672e103771ca2bf077cc40 : 239 + 0x1c]
[task 2020-05-14T22:24:44.075Z] 22:24:44 INFO - rbx = 0x000001d956a3a000 rbp = 0x0000000000000000
[task 2020-05-14T22:24:44.075Z] 22:24:44 INFO - rsp = 0x00000091e0bfeeb0 r12 = 0x0000000000000000
[task 2020-05-14T22:24:44.075Z] 22:24:44 INFO - r13 = 0x0000000000000000 r14 = 0x000001d956aaee40
[task 2020-05-14T22:24:44.075Z] 22:24:44 INFO - r15 = 0x00000091e0bff66f rip = 0x00007ff94b634817
[task 2020-05-14T22:24:44.076Z] 22:24:44 INFO - Found by: call frame info
[task 2020-05-14T22:24:44.076Z] 22:24:44 INFO - 2 xul.dll + 0x23f66d9
[task 2020-05-14T22:24:44.076Z] 22:24:44 INFO - rbx = 0x000001d956a3a000 rbp = 0x0000000000000000
[task 2020-05-14T22:24:44.076Z] 22:24:44 INFO - rsp = 0x00000091e0bfeef0 r12 = 0x0000000000000000
[task 2020-05-14T22:24:44.076Z] 22:24:44 INFO - r13 = 0x0000000000000000 r14 = 0x000001d956aaee40
[task 2020-05-14T22:24:44.076Z] 22:24:44 INFO - r15 = 0x00000091e0bff66f rip = 0x00007ff94b6366d9
[task 2020-05-14T22:24:44.076Z] 22:24:44 INFO - Found by: call frame info
[task 2020-05-14T22:24:44.076Z] 22:24:44 INFO - 3 xul.dll!mozilla::dom::ThreadSafeWorkerRef::~ThreadSafeWorkerRef() [WorkerRef.cpp:a77ca5bd6b7c49099c672e103771ca2bf077cc40 : 209 + 0x2a]
[task 2020-05-14T22:24:44.076Z] 22:24:44 INFO - rbx = 0x000001d956a3a000 rbp = 0x0000000000000000
[task 2020-05-14T22:24:44.076Z] 22:24:44 INFO - rsp = 0x00000091e0bfef30 r12 = 0x0000000000000000
[task 2020-05-14T22:24:44.076Z] 22:24:44 INFO - r13 = 0x0000000000000000 r14 = 0x000001d956aaee40
[task 2020-05-14T22:24:44.076Z] 22:24:44 INFO - r15 = 0x00000091e0bff66f rip = 0x00007ff94b62f39f
[task 2020-05-14T22:24:44.076Z] 22:24:44 INFO - Found by: call frame info
[task 2020-05-14T22:24:44.076Z] 22:24:44 INFO - 4 xul.dll + 0x23df309
[task 2020-05-14T22:24:44.076Z] 22:24:44 INFO - rbx = 0x000001d956a3a000 rbp = 0x0000000000000000
[task 2020-05-14T22:24:44.076Z] 22:24:44 INFO - rsp = 0x00000091e0bfef70 r12 = 0x0000000000000000
[task 2020-05-14T22:24:44.076Z] 22:24:44 INFO - r13 = 0x0000000000000000 r14 = 0x000001d956aaee40
[task 2020-05-14T22:24:44.076Z] 22:24:44 INFO - r15 = 0x00000091e0bff66f rip = 0x00007ff94b61f309
[task 2020-05-14T22:24:44.076Z] 22:24:44 INFO - Found by: call frame info
[task 2020-05-14T22:24:44.076Z] 22:24:44 INFO - 5 xul.dll!mozilla::dom::WorkerRunnable::Release() [WorkerRunnable.cpp:a77ca5bd6b7c49099c672e103771ca2bf077cc40 : 202 + 0x1c]
[task 2020-05-14T22:24:44.077Z] 22:24:44 INFO - rbx = 0x000001d956a3a000 rbp = 0x0000000000000000
[task 2020-05-14T22:24:44.077Z] 22:24:44 INFO - rsp = 0x00000091e0bfefb0 r12 = 0x0000000000000000
[task 2020-05-14T22:24:44.077Z] 22:24:44 INFO - r13 = 0x0000000000000000 r14 = 0x000001d956aaee40
[task 2020-05-14T22:24:44.077Z] 22:24:44 INFO - r15 = 0x00000091e0bff66f rip = 0x00007ff94b62f70e
[task 2020-05-14T22:24:44.077Z] 22:24:44 INFO - Found by: call frame info
[task 2020-05-14T22:24:44.077Z] 22:24:44 INFO - 6 xul.dll!mozilla::ThrottledEventQueue::Inner::ExecuteRunnable() [ThrottledEventQueue.cpp:a77ca5bd6b7c49099c672e103771ca2bf077cc40 : 257 + 0x15]
[task 2020-05-14T22:24:44.077Z] 22:24:44 INFO - rbx = 0x000001d956a3a000 rbp = 0x0000000000000000
[task 2020-05-14T22:24:44.077Z] 22:24:44 INFO - rsp = 0x00000091e0bfefe0 r12 = 0x0000000000000000
[task 2020-05-14T22:24:44.077Z] 22:24:44 INFO - r13 = 0x0000000000000000 r14 = 0x000001d956aaee40
[task 2020-05-14T22:24:44.077Z] 22:24:44 INFO - r15 = 0x00000091e0bff66f rip = 0x00007ff949328fae
[task 2020-05-14T22:24:44.077Z] 22:24:44 INFO - Found by: call frame info
[task 2020-05-14T22:24:44.077Z] 22:24:44 INFO - 7 xul.dll!mozilla::ThrottledEventQueue::Inner::Executor::Run() [ThrottledEventQueue.cpp:a77ca5bd6b7c49099c672e103771ca2bf077cc40 : 81 + 0x5]
[task 2020-05-14T22:24:44.077Z] 22:24:44 INFO - rbx = 0x000001d956a3a000 rbp = 0x0000000000000000
[task 2020-05-14T22:24:44.077Z] 22:24:44 INFO - rsp = 0x00000091e0bff050 r12 = 0x0000000000000000
[task 2020-05-14T22:24:44.077Z] 22:24:44 INFO - r13 = 0x0000000000000000 r14 = 0x000001d956aaee40
[task 2020-05-14T22:24:44.077Z] 22:24:44 INFO - r15 = 0x00000091e0bff66f rip = 0x00007ff949328d5d
[task 2020-05-14T22:24:44.077Z] 22:24:44 INFO - Found by: call frame info
[task 2020-05-14T22:24:44.077Z] 22:24:44 INFO - 8 xul.dll!nsThread::ProcessNextEvent(bool, bool*) [nsThread.cpp:a77ca5bd6b7c49099c672e103771ca2bf077cc40 : 1211 + 0x10]
[task 2020-05-14T22:24:44.077Z] 22:24:44 INFO - rbx = 0x000001d956a3a000 rbp = 0x0000000000000000
[task 2020-05-14T22:24:44.077Z] 22:24:44 INFO - rsp = 0x00000091e0bff080 r12 = 0x0000000000000000
[task 2020-05-14T22:24:44.077Z] 22:24:44 INFO - r13 = 0x0000000000000000 r14 = 0x000001d956aaee40
[task 2020-05-14T22:24:44.077Z] 22:24:44 INFO - r15 = 0x00000091e0bff66f rip = 0x00007ff94931dfd3
[task 2020-05-14T22:24:44.077Z] 22:24:44 INFO - Found by: call frame info
[task 2020-05-14T22:24:44.077Z] 22:24:44 INFO - 9 xul.dll!NS_ProcessNextEvent(nsIThread*, bool) [nsThreadUtils.cpp:a77ca5bd6b7c49099c672e103771ca2bf077cc40 : 501 + 0x14]
[task 2020-05-14T22:24:44.077Z] 22:24:44 INFO - rbx = 0x000001d956a3a000 rbp = 0x0000000000000000
[task 2020-05-14T22:24:44.077Z] 22:24:44 INFO - rsp = 0x00000091e0bff640 r12 = 0x0000000000000000
[task 2020-05-14T22:24:44.077Z] 22:24:44 INFO - r13 = 0x0000000000000000 r14 = 0x000001d956aaee40
[task 2020-05-14T22:24:44.078Z] 22:24:44 INFO - r15 = 0x00000091e0bff66f rip = 0x00007ff949321385
[task 2020-05-14T22:24:44.078Z] 22:24:44 INFO - Found by: call frame info
[task 2020-05-14T22:24:44.078Z] 22:24:44 INFO - 10 xul.dll!mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) [MessagePump.cpp:a77ca5bd6b7c49099c672e103771ca2bf077cc40 : 87 + 0xa]
[task 2020-05-14T22:24:44.078Z] 22:24:44 INFO - rbx = 0x000001d956a3a000 rbp = 0x0000000000000000
[task 2020-05-14T22:24:44.078Z] 22:24:44 INFO - rsp = 0x00000091e0bff690 r12 = 0x0000000000000000
[task 2020-05-14T22:24:44.078Z] 22:24:44 INFO - r13 = 0x0000000000000000 r14 = 0x000001d956aaee40
[task 2020-05-14T22:24:44.078Z] 22:24:44 INFO - r15 = 0x00000091e0bff66f rip = 0x00007ff9498634ea
[task 2020-05-14T22:24:44.078Z] 22:24:44 INFO - Found by: call frame info
[task 2020-05-14T22:24:44.078Z] 22:24:44 INFO - 11 xul.dll!MessageLoop::RunHandler() [message_loop.cc:a77ca5bd6b7c49099c672e103771ca2bf077cc40 : 308 + 0x16]
[task 2020-05-14T22:24:44.078Z] 22:24:44 INFO - rbx = 0x000001d956a3a000 rbp = 0x0000000000000000
[task 2020-05-14T22:24:44.078Z] 22:24:44 INFO - rsp = 0x00000091e0bff700 r12 = 0x0000000000000000
[task 2020-05-14T22:24:44.078Z] 22:24:44 INFO - r13 = 0x0000000000000000 r14 = 0x000001d956aaee40
[task 2020-05-14T22:24:44.078Z] 22:24:44 INFO - r15 = 0x00000091e0bff66f rip = 0x00007ff94982f120
[task 2020-05-14T22:24:44.078Z] 22:24:44 INFO - Found by: call frame info
[task 2020-05-14T22:24:44.078Z] 22:24:44 INFO - 12 xul.dll!MessageLoop::Run() [message_loop.cc:a77ca5bd6b7c49099c672e103771ca2bf077cc40 : 290 + 0x5]
[task 2020-05-14T22:24:44.078Z] 22:24:44 INFO - rbx = 0x000001d956a3a000 rbp = 0x0000000000000000
[task 2020-05-14T22:24:44.078Z] 22:24:44 INFO - rsp = 0x00000091e0bff750 r12 = 0x0000000000000000
[task 2020-05-14T22:24:44.078Z] 22:24:44 INFO - r13 = 0x0000000000000000 r14 = 0x000001d956aaee40
[task 2020-05-14T22:24:44.078Z] 22:24:44 INFO - r15 = 0x00000091e0bff66f rip = 0x00007ff94982f098
[task 2020-05-14T22:24:44.078Z] 22:24:44 INFO - Found by: call frame info
[task 2020-05-14T22:24:44.078Z] 22:24:44 INFO - 13 xul.dll!nsBaseAppShell::Run() [nsBaseAppShell.cpp:a77ca5bd6b7c49099c672e103771ca2bf077cc40 : 137 + 0xd]
[task 2020-05-14T22:24:44.078Z] 22:24:44 INFO - rbx = 0x000001d956a3a000 rbp = 0x0000000000000000
[task 2020-05-14T22:24:44.078Z] 22:24:44 INFO - rsp = 0x00000091e0bff7a0 r12 = 0x0000000000000000
[task 2020-05-14T22:24:44.078Z] 22:24:44 INFO - r13 = 0x0000000000000000 r14 = 0x000001d956aaee40
[task 2020-05-14T22:24:44.078Z] 22:24:44 INFO - r15 = 0x00000091e0bff66f rip = 0x00007ff94b85aa38
[task 2020-05-14T22:24:44.078Z] 22:24:44 INFO - Found by: call frame info
[task 2020-05-14T22:24:44.078Z] 22:24:44 INFO - 14 xul.dll!nsAppShell::Run() [nsAppShell.cpp:a77ca5bd6b7c49099c672e103771ca2bf077cc40 : 406 + 0x8]
[task 2020-05-14T22:24:44.078Z] 22:24:44 INFO - rbx = 0x000001d956a3a000 rbp = 0x0000000000000000
[task 2020-05-14T22:24:44.078Z] 22:24:44 INFO - rsp = 0x00000091e0bff7e0 r12 = 0x0000000000000000
[task 2020-05-14T22:24:44.079Z] 22:24:44 INFO - r13 = 0x0000000000000000 r14 = 0x000001d956aaee40
[task 2020-05-14T22:24:44.079Z] 22:24:44 INFO - r15 = 0x00000091e0bff66f rip = 0x00007ff94b8d0522
[task 2020-05-14T22:24:44.079Z] 22:24:44 INFO - Found by: call frame info
[task 2020-05-14T22:24:44.079Z] 22:24:44 INFO - 15 xul.dll!XRE_RunAppShell() [nsEmbedFunctions.cpp:a77ca5bd6b7c49099c672e103771ca2bf077cc40 : 909 + 0xd]
[task 2020-05-14T22:24:44.079Z] 22:24:44 INFO - rbx = 0x000001d956a3a000 rbp = 0x0000000000000000
[task 2020-05-14T22:24:44.079Z] 22:24:44 INFO - rsp = 0x00000091e0bff830 r12 = 0x0000000000000000
[task 2020-05-14T22:24:44.079Z] 22:24:44 INFO - r13 = 0x0000000000000000 r14 = 0x000001d956aaee40
[task 2020-05-14T22:24:44.079Z] 22:24:44 INFO - r15 = 0x00000091e0bff66f rip = 0x00007ff94cab7fac
[task 2020-05-14T22:24:44.079Z] 22:24:44 INFO - Found by: call frame info
[task 2020-05-14T22:24:44.079Z] 22:24:44 INFO - 16 xul.dll!MessageLoop::RunHandler() [message_loop.cc:a77ca5bd6b7c49099c672e103771ca2bf077cc40 : 308 + 0x16]
[task 2020-05-14T22:24:44.079Z] 22:24:44 INFO - rbx = 0x000001d956a3a000 rbp = 0x0000000000000000
[task 2020-05-14T22:24:44.079Z] 22:24:44 INFO - rsp = 0x00000091e0bff870 r12 = 0x0000000000000000
[task 2020-05-14T22:24:44.079Z] 22:24:44 INFO - r13 = 0x0000000000000000 r14 = 0x000001d956aaee40
[task 2020-05-14T22:24:44.079Z] 22:24:44 INFO - r15 = 0x00000091e0bff66f rip = 0x00007ff94982f120
[task 2020-05-14T22:24:44.079Z] 22:24:44 INFO - Found by: call frame info
[task 2020-05-14T22:24:44.079Z] 22:24:44 INFO - 17 xul.dll!MessageLoop::Run() [message_loop.cc:a77ca5bd6b7c49099c672e103771ca2bf077cc40 : 290 + 0x5]
[task 2020-05-14T22:24:44.079Z] 22:24:44 INFO - rbx = 0x000001d956a3a000 rbp = 0x0000000000000000
[task 2020-05-14T22:24:44.079Z] 22:24:44 INFO - rsp = 0x00000091e0bff8c0 r12 = 0x0000000000000000
[task 2020-05-14T22:24:44.079Z] 22:24:44 INFO - r13 = 0x0000000000000000 r14 = 0x000001d956aaee40
[task 2020-05-14T22:24:44.079Z] 22:24:44 INFO - r15 = 0x00000091e0bff66f rip = 0x00007ff94982f098
[task 2020-05-14T22:24:44.079Z] 22:24:44 INFO - Found by: call frame info
[task 2020-05-14T22:24:44.079Z] 22:24:44 INFO - 18 xul.dll!XRE_InitChildProcess(int, char**, XREChildData const*) [nsEmbedFunctions.cpp:a77ca5bd6b7c49099c672e103771ca2bf077cc40 : 740 + 0xa]
[task 2020-05-14T22:24:44.079Z] 22:24:44 INFO - rbx = 0x000001d956a3a000 rbp = 0x0000000000000000
[task 2020-05-14T22:24:44.079Z] 22:24:44 INFO - rsp = 0x00000091e0bff910 r12 = 0x0000000000000000
[task 2020-05-14T22:24:44.080Z] 22:24:44 INFO - r13 = 0x0000000000000000 r14 = 0x000001d956aaee40
[task 2020-05-14T22:24:44.080Z] 22:24:44 INFO - r15 = 0x00000091e0bff66f rip = 0x00007ff94cab7d38
[task 2020-05-14T22:24:44.080Z] 22:24:44 INFO - Found by: call frame info
[task 2020-05-14T22:24:44.080Z] 22:24:44 INFO - 19 firefox.exe!NS_internal_main(int, char**, char**) [nsBrowserApp.cpp:a77ca5bd6b7c49099c672e103771ca2bf077cc40 : 303 + 0xa6]
[task 2020-05-14T22:24:44.080Z] 22:24:44 INFO - rbx = 0x000001d956a3a000 rbp = 0x0000000000000000
[task 2020-05-14T22:24:44.080Z] 22:24:44 INFO - rsp = 0x00000091e0bffb70 r12 = 0x0000000000000000
[task 2020-05-14T22:24:44.080Z] 22:24:44 INFO - r13 = 0x0000000000000000 r14 = 0x000001d956aaee40
[task 2020-05-14T22:24:44.080Z] 22:24:44 INFO - r15 = 0x00000091e0bff66f rip = 0x00007ff71ecb156e
[task 2020-05-14T22:24:44.080Z] 22:24:44 INFO - Found by: call frame info
[task 2020-05-14T22:24:44.080Z] 22:24:44 INFO - 20 firefox.exe!wmain(int, wchar_t**) [nsWindowsWMain.cpp:a77ca5bd6b7c49099c672e103771ca2bf077cc40 : 131 + 0x15]
[task 2020-05-14T22:24:44.080Z] 22:24:44 INFO - rbx = 0x000001d956a3a000 rbp = 0x0000000000000000
[task 2020-05-14T22:24:44.080Z] 22:24:44 INFO - rsp = 0x00000091e0bffd40 r12 = 0x0000000000000000
[task 2020-05-14T22:24:44.080Z] 22:24:44 INFO - r13 = 0x0000000000000000 r14 = 0x000001d956aaee40
[task 2020-05-14T22:24:44.080Z] 22:24:44 INFO - r15 = 0x00000091e0bff66f rip = 0x00007ff71ecb11fe
[task 2020-05-14T22:24:44.080Z] 22:24:44 INFO - Found by: call frame info
[task 2020-05-14T22:24:44.080Z] 22:24:44 INFO - 21 firefox.exe!__scrt_common_main_seh() [exe_common.inl : 288 + 0x22]
[task 2020-05-14T22:24:44.080Z] 22:24:44 INFO - rbx = 0x000001d956a3a000 rbp = 0x0000000000000000
[task 2020-05-14T22:24:44.080Z] 22:24:44 INFO - rsp = 0x00000091e0bffe00 r12 = 0x0000000000000000
[task 2020-05-14T22:24:44.080Z] 22:24:44 INFO - r13 = 0x0000000000000000 r14 = 0x000001d956aaee40
[task 2020-05-14T22:24:44.080Z] 22:24:44 INFO - r15 = 0x00000091e0bff66f rip = 0x00007ff71ed059b8
[task 2020-05-14T22:24:44.080Z] 22:24:44 INFO - Found by: call frame info
[task 2020-05-14T22:24:44.080Z] 22:24:44 INFO - 22 kernel32.dll!BaseThreadInitThunk + 0x14
[task 2020-05-14T22:24:44.080Z] 22:24:44 INFO - rbx = 0x000001d956a3a000 rbp = 0x0000000000000000
[task 2020-05-14T22:24:44.080Z] 22:24:44 INFO - rsp = 0x00000091e0bffe40 r12 = 0x0000000000000000
[task 2020-05-14T22:24:44.080Z] 22:24:44 INFO - r13 = 0x0000000000000000 r14 = 0x000001d956aaee40
[task 2020-05-14T22:24:44.081Z] 22:24:44 INFO - r15 = 0x00000091e0bff66f rip = 0x00007ff988fa3034
[task 2020-05-14T22:24:44.081Z] 22:24:44 INFO - Found by: call frame info
[task 2020-05-14T22:24:44.081Z] 22:24:44 INFO - 23 ntdll.dll!SdbpCheckMatchingFiles + 0x81
[task 2020-05-14T22:24:44.081Z] 22:24:44 INFO - rbx = 0x000001d956a3a000 rbp = 0x0000000000000000
[task 2020-05-14T22:24:44.081Z] 22:24:44 INFO - rsp = 0x00000091e0bffe70 r12 = 0x0000000000000000
[task 2020-05-14T22:24:44.081Z] 22:24:44 INFO - r13 = 0x0000000000000000 r14 = 0x000001d956aaee40
[task 2020-05-14T22:24:44.081Z] 22:24:44 INFO - r15 = 0x00000091e0bff66f rip = 0x00007ff9893a1461
[task 2020-05-14T22:24:44.081Z] 22:24:44 INFO - Found by: call frame info
Comment 1•4 years ago
|
||
Also observed during /streams/writable-streams/error.any.serviceworker.html
https://treeherder.mozilla.org/logviewer.html#?job_id=302450302&repo=try
Comment 2•4 years ago
•
|
||
Hi Yaron, last crash indicates this line, it seems, as author of bug 1504638, does this let ring something in your head?
Comment 3•4 years ago
|
||
Comment 4•4 years ago
|
||
Retriggers show that this bug was introduced when Bug 1634259 landed here:
https://treeherder.mozilla.org/#/jobs?repo=autoland&group_state=expanded&searchStr=windows%2C10%2Cx64%2Copt%2Cmochitests%2Cwith%2Cfission%2Cenabled%2Ctest-windows10-64%2Fopt-mochitest-browser-chrome-fis-e10s-1%2Cm-fis%28bc1%29&revision=bd7c4e7e59946c7503a98d067ef001a8f5dfc548
https://hg.mozilla.org/integration/autoland/rev/bd7c4e7e59946c7503a98d067ef001a8f5dfc548
Andrew: Could you please take a look at this bug?
Updated•4 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment 6•4 years ago
•
|
||
I suspect this to have the same underlying problem as here.
No, here we already use a ThreadSafe variant.
Updated•4 years ago
|
Comment 7•4 years ago
|
||
Set release status flags based on info from the regressing bug 1634259
Assignee | ||
Comment 8•4 years ago
|
||
Here's what I think happens here:
- Starting a worker fails before
DoRunLoop
gets called, e.g. here. WorkerErrorReport::CreateAndDispatchGenericErrorRunnableToParent
callsReportGenericErrorRunnable::CreateAndDispatch
.ReportGenericErrorRunnable::CreateAndDispatch
dispatches a newReportGenericErrorRunnable
to the parent thread, which in this case is the main thread.- Back in
WorkerThreadPrimaryRunnable::Run
,WorkerPrivate::RunLoopNeverRan
gets called (this was added in bug 1634259). WorkerPrivate::RunLoopNeverRan
sets the worker's status toDead
, preventing dispatch of newRunnable
s.- On the main thread, we get into the crashing stack state after running the
ReportGenericErrorRunnable
and calling its destructor (frame 4 of the stack trace). This causesWorkerDebuggeeRunnable
's destructor to run, which in turn causesThreadSafeWorkerRef
's destructor to run. - This destructor tries to dispatch a
ReleaseRefControlRunnable
to the worker, which no longer accepts anyRunnable
s. - When leaving the scope of the
if
statement (frame 3), theRunnable
gets destructed, taking with it theStrongWorkerRef
, which callsWorkerPrivate::RemoveWorkerRef
on the wrong thread, causing the assertion failure.
Comment hidden (Intermittent Failures Robot) |
Updated•4 years ago
|
Comment 10•4 years ago
|
||
Thanks Yaron for this analysis! Now that I understood better that ThreadSafeWorkerRef
actually relies in its internal implementation on a non-thread safe counted WorkerRef, this brings me back to comment 18 of bug 1611094 and makes me think if we should promote WorkerRef
to use NS_INLINE_DECL_THREADSAFE_REFCOUNTING ? We might be able to find a work around for this specific edge case, but are we sure, it is the only one?
Assignee | ||
Comment 11•4 years ago
|
||
This is not necessarily the same thing. In this case there's a broken invariant: the worker reaches a Dead
status while there are still strong references to it. We can either fix this (which I think is preferable), or relax the invariant by making it possible to release strong references to a worker on any thread. I'm not sure what design considerations resulted in the current state of the code, so I wouldn't change that for now. Maybe :asuth knows why it's this way?
Assignee | ||
Updated•4 years ago
|
Comment 12•4 years ago
|
||
I think the right solution for this situation is to not report error runnables in either of the error cases in WorkerThreadPrimaryRunnable::Run since they won't be reported anyways
I'd missed the nuance that these calls were creating strong worker refs under the hood.
Comment 13•4 years ago
|
||
Keeping in mind that this is a very short-lived edge-case, one thing we could do to avoid re-introducing this problem is to forbid the creation of strong worker references prior to DoRunLoop
setting mStatus to Running.
Comment 14•4 years ago
•
|
||
Actually, I think I really endorse adding that constraint. (edit: and probably enforcing that constraint with a diagnostic assert.)
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 17•4 years ago
|
||
This patch removes the dispatch of ReportGenericErrorRunnables when
a worker fails to start, since they were causing crashes and
weren't getting run anyway. It also adds an assertion that prevents
the creation of strong references to workers before they begin
their main loop.
Assignee | ||
Comment 18•4 years ago
|
||
This patch is supposed to solve the problem.
Comment 19•4 years ago
|
||
Comment 20•4 years ago
|
||
bugherder |
Updated•4 years ago
|
Comment hidden (Intermittent Failures Robot) |
Description
•