Closed Bug 1760498 Opened 3 years ago Closed 3 years ago

Intermittent /service-workers/service-worker/<test-name> | application crashed [@ mozilla::dom::FetchStreamReader::CloseAndRelease(JSContext*, nsresult)]

Categories

(Core :: DOM: Networking, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1760419

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: crash, intermittent-failure)

Crash Data

Filed by: csabou [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=371687768&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/JFLYMooKQIWIB1c5SU0dJQ/runs/0/artifacts/public/logs/live_backing.log


[task 2022-03-20T12:25:37.844Z] 12:25:37     INFO - TEST-START | /service-workers/service-worker/import-scripts-redirect.https.html
[task 2022-03-20T12:25:37.845Z] 12:25:37     INFO - Closing window 7a4f26b7-b58c-4417-acb3-b85d571d7bff
[task 2022-03-20T12:25:39.334Z] 12:25:39     INFO - PID 2544 | A content process crashed and MOZ_CRASHREPORTER_SHUTDOWN is set, shutting down
[task 2022-03-20T12:25:39.361Z] 12:25:39     INFO - PID 2544 | 1647779139360	Marionette	INFO	Stopped listening on port 62044
[task 2022-03-20T12:25:39.392Z] 12:25:39  WARNING - Traceback (most recent call last):
[task 2022-03-20T12:25:39.392Z] 12:25:39  WARNING -   File "/opt/worker/tasks/task_164777795059331/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 809, in run_func
[task 2022-03-20T12:25:39.392Z] 12:25:39  WARNING -     self.result = True, self.func(self.protocol, self.url, self.timeout)
[task 2022-03-20T12:25:39.392Z] 12:25:39  WARNING -   File "/opt/worker/tasks/task_164777795059331/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 933, in do_testharness
[task 2022-03-20T12:25:39.392Z] 12:25:39  WARNING -     self.script_resume % format_map, asynchronous=True)
[task 2022-03-20T12:25:39.392Z] 12:25:39  WARNING -   File "/opt/worker/tasks/task_164777795059331/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 84, in execute_script
[task 2022-03-20T12:25:39.392Z] 12:25:39  WARNING -     return method(script, new_sandbox=False, sandbox=None)
[task 2022-03-20T12:25:39.392Z] 12:25:39  WARNING -   File "/opt/worker/tasks/task_164777795059331/build/venv/lib/python3.7/site-packages/marionette_driver/marionette.py", line 1763, in execute_async_script
[task 2022-03-20T12:25:39.392Z] 12:25:39  WARNING -     rv = self._send_message("WebDriver:ExecuteAsyncScript", body, key="value")
[task 2022-03-20T12:25:39.393Z] 12:25:39  WARNING -   File "/opt/worker/tasks/task_164777795059331/build/venv/lib/python3.7/site-packages/marionette_driver/decorators.py", line 27, in _
[task 2022-03-20T12:25:39.393Z] 12:25:39  WARNING -     return func(*args, **kwargs)
[task 2022-03-20T12:25:39.393Z] 12:25:39  WARNING -   File "/opt/worker/tasks/task_164777795059331/build/venv/lib/python3.7/site-packages/marionette_driver/marionette.py", line 668, in _send_message
[task 2022-03-20T12:25:39.393Z] 12:25:39  WARNING -     self._handle_error(err)
[task 2022-03-20T12:25:39.393Z] 12:25:39  WARNING -   File "/opt/worker/tasks/task_164777795059331/build/venv/lib/python3.7/site-packages/marionette_driver/marionette.py", line 680, in _handle_error
[task 2022-03-20T12:25:39.393Z] 12:25:39  WARNING -     raise errors.lookup(error)(message, stacktrace=stacktrace)
[task 2022-03-20T12:25:39.393Z] 12:25:39  WARNING - marionette_driver.errors.JavascriptException: JavaScriptError: Document was unloaded
[task 2022-03-20T12:25:39.393Z] 12:25:39  WARNING - stacktrace:
[task 2022-03-20T12:25:39.393Z] 12:25:39  WARNING - 	WebDriverError@chrome://remote/content/shared/webdriver/Errors.jsm:183:5
[task 2022-03-20T12:25:39.393Z] 12:25:39  WARNING - 	JavaScriptError@chrome://remote/content/shared/webdriver/Errors.jsm:362:5
[task 2022-03-20T12:25:39.393Z] 12:25:39  WARNING - 	evaluate.sandbox/promise</unloadHandler<@chrome://remote/content/marionette/evaluate.js:151:20
[task 2022-03-20T12:25:39.394Z] 12:25:39  WARNING - 
[task 2022-03-20T12:25:39.394Z] 12:25:39  WARNING - 
[task 2022-03-20T12:25:39.395Z] 12:25:39     INFO - mozcrash Downloading symbols from: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/JLNkCZbxQ9ake0mCllmRTA/artifacts/public/build/target.crashreporter-symbols.zip
[task 2022-03-20T12:25:39.412Z] 12:25:39     INFO - PID 2544 | JavaScript error: chrome://remote/content/marionette/cert.js, line 55: NS_ERROR_NOT_AVAILABLE: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsICertOverrideService.setDisableAllSecurityChecksAndLetAttackersInterceptMyData]
[task 2022-03-20T12:25:39.649Z] 12:25:39     INFO - PID 2544 | ###!!! [Parent][PImageBridgeParent] Error: RunMessage(msgname=PImageBridge::Msg_WillClose) Channel closing: too late to send/recv, messages will be lost
[task 2022-03-20T12:25:43.647Z] 12:25:43     INFO - mozcrash Copy/paste: /opt/worker/tasks/task_164777795059331/fetches/minidump-stackwalk/minidump-stackwalk --symbols-url=https://symbols.mozilla.org/ --human /var/folders/34/1vxfw37s1k7gprg3k9s7j33w000014/T/tmpag3wfk4l/minidumps/E1F4FDE1-9BD7-425E-9FD2-453C845F1012.dmp /var/folders/34/1vxfw37s1k7gprg3k9s7j33w000014/T/tmp85gum8_0
[task 2022-03-20T12:25:45.621Z] 12:25:45     INFO - mozcrash Saved minidump as /opt/worker/tasks/task_164777795059331/build/blobber_upload_dir/E1F4FDE1-9BD7-425E-9FD2-453C845F1012.dmp
[task 2022-03-20T12:25:45.621Z] 12:25:45     INFO - mozcrash Saved app info as /opt/worker/tasks/task_164777795059331/build/blobber_upload_dir/E1F4FDE1-9BD7-425E-9FD2-453C845F1012.extra
[task 2022-03-20T12:25:45.743Z] 12:25:45     INFO - PROCESS-CRASH | /service-workers/service-worker/import-scripts-redirect.https.html | application crashed [@ mozilla::dom::FetchStreamReader::CloseAndRelease(JSContext*, nsresult)]
[task 2022-03-20T12:25:45.743Z] 12:25:45     INFO - Crash dump filename: /var/folders/34/1vxfw37s1k7gprg3k9s7j33w000014/T/tmpag3wfk4l/minidumps/E1F4FDE1-9BD7-425E-9FD2-453C845F1012.dmp
[task 2022-03-20T12:25:45.743Z] 12:25:45     INFO - Operating system: Mac OS X
[task 2022-03-20T12:25:45.743Z] 12:25:45     INFO -                   10.15.7 19H524[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO - CPU: amd64
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO -      family 6 model 158 stepping 10
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO -      12 CPUs
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO - 
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO - Crash reason:  EXC_BAD_ACCESS / KERN_INVALID_ADDRESS
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO - Crash address: 0x0
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO - Mac Crash Info:
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO - 
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO - Process uptime: 102 seconds
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO - 
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO - Thread 26 DOM Worker (crashed)
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO -  0  XUL!mozilla::dom::FetchStreamReader::CloseAndRelease(JSContext*, nsresult) [FetchStreamReader.cpp:7ce940aa322000973c9c687156f577e49595c850 : 184 + 0x4]
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO -     rax = 0x0000000000000001   rdx = 0x000000011e315620
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO -     rcx = 0x0000000000000000   rbx = 0x0000000118ab5ce0
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO -     rsi = 0x0000000000002000   rdi = 0x0000000000000000
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO -     rbp = 0x0000700009b92550   rsp = 0x0000700009b924f0
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO -      r8 = 0x0000000118aab000    r9 = 0x0000000118ab1258
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO -     r10 = 0x0000000113a00110   r11 = 0x0000000113a00000
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO -     r12 = 0x000000011e315600   r13 = 0x0000700009b924f8
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO -     r14 = 0x000000008053000b   r15 = 0x000000011865c000
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO -     rip = 0x000000010c9e9f84
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO -     Found by: given as instruction pointer in context
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO -  1  XUL!mozilla::dom::WeakWorkerRef::Notify() [WorkerRef.cpp:7ce940aa322000973c9c687156f577e49595c850 : 133 + 0x27]
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO -     rbx = 0x000000011d4fea00   rbp = 0x0000700009b925b0
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO -     rsp = 0x0000700009b92560   r12 = 0x0000000113b3f000
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO -     r13 = 0x0000000000000001   r14 = 0x0000000000000003
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO -     r15 = 0x0000000113b3f000   rip = 0x000000010a271f58
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO -     Found by: call frame info[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO -  2  XUL!mozilla::dom::WorkerPrivate::NotifyWorkerRefs(mozilla::dom::WorkerStatus) [WorkerPrivate.cpp:7ce940aa322000973c9c687156f577e49595c850 : 3954 + 0x5]
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO -     rbx = 0x0000000118ac5540   rbp = 0x0000700009b926d0
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO -     rsp = 0x0000700009b925c0   r12 = 0x0000000113b3f000
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO -     r13 = 0x0000000000000001   r14 = 0x0000000000000003
[task 2022-03-20T12:25:45.744Z] 12:25:45     INFO -     r15 = 0x0000000113b3f000   rip = 0x000000010a26d64b
[task 2022-03-20T12:25:45.745Z] 12:25:45     INFO -     Found by: call frame info
[task 2022-03-20T12:25:45.745Z] 12:25:45     INFO -  3  XUL!mozilla::dom::WorkerPrivate::NotifyInternal(mozilla::dom::WorkerStatus) [WorkerPrivate.cpp:7ce940aa322000973c9c687156f577e49595c850 : 4570 + 0xa]
[task 2022-03-20T12:25:45.745Z] 12:25:45     INFO -     rbx = 0x0000000118ac5540   rbp = 0x0000700009b92720
[task 2022-03-20T12:25:45.745Z] 12:25:45     INFO -     rsp = 0x0000700009b926e0   r12 = 0x0000000113b3f000
[task 2022-03-20T12:25:45.745Z] 12:25:45     INFO -     r13 = 0x0000000000000001   r14 = 0x0000000000000003
[task 2022-03-20T12:25:45.745Z] 12:25:45     INFO -     r15 = 0x0000000113bed100   rip = 0x000000010a26ec1d
[task 2022-03-20T12:25:45.745Z] 12:25:45     INFO -     Found by: call frame info
[task 2022-03-20T12:25:45.745Z] 12:25:45     INFO -  4  XUL!mozilla::dom::WorkerRunnable::Run() [WorkerRunnable.cpp:7ce940aa322000973c9c687156f577e49595c850 : 377 + 0x10]
[task 2022-03-20T12:25:45.745Z] 12:25:45     INFO -     rbx = 0x0000000000000001   rbp = 0x0000700009b928a0
[task 2022-03-20T12:25:45.745Z] 12:25:45     INFO -     rsp = 0x0000700009b92730   r12 = 0x000000011865c000
[task 2022-03-20T12:25:45.745Z] 12:25:45     INFO -     r13 = 0x000000011df82740   r14 = 0x0000000000000000
[task 2022-03-20T12:25:45.745Z] 12:25:45     INFO -     r15 = 0x0000700009b92760   rip = 0x000000010a272892
[task 2022-03-20T12:25:45.745Z] 12:25:45     INFO -     Found by: call frame info
[task 2022-03-20T12:25:45.745Z] 12:25:45     INFO -  5  XUL!mozilla::dom::WorkerPrivate::DoRunLoop(JSContext*) [WorkerPrivate.cpp:7ce940aa322000973c9c687156f577e49595c850 : 3017 + 0x1f]
[task 2022-03-20T12:25:45.745Z] 12:25:45     INFO -     rbx = 0x0000000113bed100   rbp = 0x0000700009b92990
[task 2022-03-20T12:25:45.745Z] 12:25:45     INFO -     rsp = 0x0000700009b928b0   r12 = 0x0000000000000001
[task 2022-03-20T12:25:45.745Z] 12:25:45     INFO -     r13 = 0x000000011df82740   r14 = 0x0000000113b3f000
[task 2022-03-20T12:25:45.745Z] 12:25:45     INFO -     r15 = 0x0000000000000000   rip = 0x000000010a26de43
[task 2022-03-20T12:25:45.745Z] 12:25:45     INFO -     Found by: call frame info
[task 2022-03-20T12:25:45.745Z] 12:25:45     INFO -  6  XUL!mozilla::dom::workerinternals::(anonymous namespace)::WorkerThreadPrimaryRunnable::Run() [RuntimeService.cpp:7ce940aa322000973c9c687156f577e49595c850 : 2165 + 0xb]
[task 2022-03-20T12:25:45.745Z] 12:25:45     INFO -     rbx = 0x0000700009b92a50   rbp = 0x0000700009b92af0
[task 2022-03-20T12:25:45.745Z] 12:25:45     INFO -     rsp = 0x0000700009b929a0   r12 = 0x0000000000000550
[task 2022-03-20T12:25:45.745Z] 12:25:45     INFO -     r13 = 0x000000011865c000   r14 = 0x0000000118aab000
[task 2022-03-20T12:25:45.745Z] 12:25:45     INFO -     r15 = 0x0000000113bc1340   rip = 0x000000010a263f39
[task 2022-03-20T12:25:45.745Z] 12:25:45     INFO -     Found by: call frame info[task 2022-03-20T12:25:45.746Z] 12:25:45     INFO -  7  XUL!nsThread::ProcessNextEvent(bool, bool*) [nsThread.cpp:7ce940aa322000973c9c687156f577e49595c850 : 1167 + 0x5]
[task 2022-03-20T12:25:45.746Z] 12:25:45     INFO -     rbx = 0x0000000000000000   rbp = 0x0000700009b92cc0
[task 2022-03-20T12:25:45.746Z] 12:25:45     INFO -     rsp = 0x0000700009b92b00   r12 = 0x0000700009b92c28
[task 2022-03-20T12:25:45.746Z] 12:25:45     INFO -     r13 = 0x00000000ffffffff   r14 = 0x0000000118add800
[task 2022-03-20T12:25:45.746Z] 12:25:45     INFO -     r15 = 0x0000010bb53bc8f0   rip = 0x00000001096df12e
[task 2022-03-20T12:25:45.746Z] 12:25:45     INFO -     Found by: call frame info
[task 2022-03-20T12:25:45.746Z] 12:25:45     INFO -  8  XUL!mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) [MessagePump.cpp:7ce940aa322000973c9c687156f577e49595c850 : 330 + 0x2a]
[task 2022-03-20T12:25:45.746Z] 12:25:45     INFO -     rbx = 0x0000000118569540   rbp = 0x0000700009b92d70
[task 2022-03-20T12:25:45.746Z] 12:25:45     INFO -     rsp = 0x0000700009b92cd0   r12 = 0x0000000000000000
[task 2022-03-20T12:25:45.746Z] 12:25:45     INFO -     r13 = 0x0000000118ac5500   r14 = 0x0000700009b92dc0
[task 2022-03-20T12:25:45.746Z] 12:25:45     INFO -     r15 = 0x0000000118add800   rip = 0x00000001099548f9
[task 2022-03-20T12:25:45.746Z] 12:25:45     INFO -     Found by: call frame info
[task 2022-03-20T12:25:45.746Z] 12:25:45     INFO -  9  XUL!MessageLoop::Run() [message_loop.cc:7ce940aa322000973c9c687156f577e49595c850 : 306 + 0xb]
[task 2022-03-20T12:25:45.746Z] 12:25:45     INFO -     rbx = 0x0000700009b92d88   rbp = 0x0000700009b92db0
[task 2022-03-20T12:25:45.746Z] 12:25:45     INFO -     rsp = 0x0000700009b92d80   r12 = 0x0000000118add800
[task 2022-03-20T12:25:45.746Z] 12:25:45     INFO -     r13 = 0x0000000118ac5540   r14 = 0x000000011850f580
[task 2022-03-20T12:25:45.746Z] 12:25:45     INFO -     r15 = 0x000000000000000a   rip = 0x0000000109911830
[task 2022-03-20T12:25:45.746Z] 12:25:45     INFO -     Found by: call frame info
[task 2022-03-20T12:25:45.746Z] 12:25:45     INFO - 10  XUL!nsThread::ThreadFunc(void*) [nsThread.cpp:7ce940aa322000973c9c687156f577e49595c850 : 389 + 0x7]
[task 2022-03-20T12:25:45.746Z] 12:25:45     INFO -     rbx = 0x0000700009b92dc0   rbp = 0x0000700009b92f60
[task 2022-03-20T12:25:45.746Z] 12:25:45     INFO -     rsp = 0x0000700009b92dc0   r12 = 0x0000000118add800
[task 2022-03-20T12:25:45.746Z] 12:25:45     INFO -     r13 = 0x0000000118ac5540   r14 = 0x000000011850f580
[task 2022-03-20T12:25:45.746Z] 12:25:45     INFO -     r15 = 0x000000000000000a   rip = 0x00000001096d57f9
[task 2022-03-20T12:25:45.747Z] 12:25:45     INFO -     Found by: call frame info
[task 2022-03-20T12:25:45.747Z] 12:25:45     INFO - 11  libnss3.dylib!_pt_root [ptthread.c:7ce940aa322000973c9c687156f577e49595c850 : 201 + 0x7]
[task 2022-03-20T12:25:45.747Z] 12:25:45     INFO -     rbx = 0x0000700009b93000   rbp = 0x0000700009b92fb0
[task 2022-03-20T12:25:45.747Z] 12:25:45     INFO -     rsp = 0x0000700009b92f70   r12 = 0x0000000000000002
[task 2022-03-20T12:25:45.747Z] 12:25:45     INFO -     r13 = 0x0000000118ac5540   r14 = 0x0000000113b34400
[task 2022-03-20T12:25:45.747Z] 12:25:45     INFO -     r15 = 0x0000000113b34400   rip = 0x0000000108f85506[task 2022-03-20T12:25:45.747Z] 12:25:45     INFO -     Found by: call frame info
[task 2022-03-20T12:25:45.747Z] 12:25:45     INFO - 12  libsystem_pthread.dylib!_pthread_start + 0x93
[task 2022-03-20T12:25:45.747Z] 12:25:45     INFO -     rbx = 0x0000700009b93000   rbp = 0x0000700009b92fd0
[task 2022-03-20T12:25:45.747Z] 12:25:45     INFO -     rsp = 0x0000700009b92fc0   r12 = 0x0000000000000000
[task 2022-03-20T12:25:45.747Z] 12:25:45     INFO -     r13 = 0x0000000000000000   r14 = 0x0000000000000000
[task 2022-03-20T12:25:45.747Z] 12:25:45     INFO -     r15 = 0x0000000000000000   rip = 0x00007fff710e8109
[task 2022-03-20T12:25:45.747Z] 12:25:45     INFO -     Found by: call frame info
[task 2022-03-20T12:25:45.747Z] 12:25:45     INFO - 13  libsystem_pthread.dylib!thread_start + 0xe
[task 2022-03-20T12:25:45.747Z] 12:25:45     INFO -     rbx = 0x0000000000000000   rbp = 0x0000700009b92ff0
[task 2022-03-20T12:25:45.747Z] 12:25:45     INFO -     rsp = 0x0000700009b92fe0   r12 = 0x0000000000000000
[task 2022-03-20T12:25:45.747Z] 12:25:45     INFO -     r13 = 0x0000000000000000   r14 = 0x0000000000000000
[task 2022-03-20T12:25:45.747Z] 12:25:45     INFO -     r15 = 0x0000000000000000   rip = 0x00007fff710e3b8b
[task 2022-03-20T12:25:45.747Z] 12:25:45     INFO -     Found by: call frame info
Summary: Intermittent /service-workers/service-worker/import-scripts-redirect.https.html | application crashed [@ mozilla::dom::FetchStreamReader::CloseAndRelease(JSContext*, nsresult)] → Intermittent /service-workers/service-worker/<test-name> | application crashed [@ mozilla::dom::FetchStreamReader::CloseAndRelease(JSContext*, nsresult)]
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.