Closed Bug 1754913 Opened 2 years ago Closed 2 years ago

Intermittent Assertion failure: !Failed(), at /builds/worker/workspace/obj-build/dist/include/mozilla/ErrorResult.h:582 while dom/workers/test/test_readableStream_when_closing.html runs

Categories

(Core :: DOM: Streams, defect, P5)

defect

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox97 --- unaffected
firefox98 --- unaffected
firefox99 --- fixed

People

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

References

(Regression)

Details

(Keywords: assertion, intermittent-failure, regression)

Attachments

(1 file)

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


[task 2022-02-11T00:07:47.982Z] 00:07:47     INFO - TEST-START | dom/workers/test/test_readableStream_when_closing.html
[task 2022-02-11T00:07:47.988Z] 00:07:47     INFO - GECKO(5570) | [Parent 5570, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/chrome/nsChromeRegistry.cpp:180
[task 2022-02-11T00:07:47.988Z] 00:07:47     INFO - GECKO(5570) | [Parent 5570, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/dom/security/nsCSPService.cpp:191
[task 2022-02-11T00:07:48.001Z] 00:07:48     INFO - GECKO(5570) | [Parent 5570, Main Thread] WARNING: early callback, or time went backwards: '!aAllowIdleDispatch', file /builds/worker/checkouts/gecko/xpcom/threads/IdleTaskRunner.cpp:194
[task 2022-02-11T00:07:48.062Z] 00:07:48     INFO - GECKO(5570) | [Parent 5570, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1180
[task 2022-02-11T00:07:48.135Z] 00:07:48     INFO - GECKO(5570) | [Parent 5570, Main Thread] WARNING: early callback, or time went backwards: '!aAllowIdleDispatch', file /builds/worker/checkouts/gecko/xpcom/threads/IdleTaskRunner.cpp:194
[task 2022-02-11T00:07:48.189Z] 00:07:48     INFO - GECKO(5570) | [Parent 5570, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, nullptr) failed with result 0x804B000A (NS_ERROR_MALFORMED_URI): file /builds/worker/checkouts/gecko/extensions/permissions/Permission.cpp:45
[task 2022-02-11T00:07:48.189Z] 00:07:48     INFO - GECKO(5570) | [Parent 5570, Main Thread] WARNING: NS_ENSURE_TRUE(principal) failed: file /builds/worker/checkouts/gecko/extensions/permissions/Permission.cpp:57
[task 2022-02-11T00:07:48.243Z] 00:07:48     INFO - GECKO(5570) | [Parent 5570, DOM Worker] WARNING: 'rv.Failed()', file /builds/worker/checkouts/gecko/dom/fetch/FetchStreamReader.cpp:299
[task 2022-02-11T00:07:48.248Z] 00:07:48     INFO - GECKO(5570) | Assertion failure: !Failed(), at /builds/worker/workspace/obj-build/dist/include/mozilla/ErrorResult.h:582
[task 2022-02-11T00:07:48.251Z] 00:07:48     INFO - GECKO(5570) | #01: mozilla::binding_danger::TErrorResult<mozilla::binding_danger::AssertAndSuppressCleanupPolicy>::~TErrorResult() [dom/bindings/ErrorResult.h:192]
[task 2022-02-11T00:07:48.252Z] 00:07:48     INFO - GECKO(5570) | [Parent 5570, Main Thread] WARNING: early callback, or time went backwards: '!aAllowIdleDispatch', file /builds/worker/checkouts/gecko/xpcom/threads/IdleTaskRunner.cpp:194
[task 2022-02-11T00:07:48.253Z] 00:07:48     INFO - GECKO(5570) | [Parent 5570, Main Thread] WARNING: A runnable was posted to a worker that is already shutting down!: file /builds/worker/checkouts/gecko/dom/workers/WorkerPrivate.cpp:1497
[task 2022-02-11T00:07:48.258Z] 00:07:48     INFO - GECKO(5570) | #02: mozilla::dom::FetchStreamReader::OnOutputStreamReady(nsIAsyncOutputStream*) [dom/fetch/FetchStreamReader.cpp:325]
[task 2022-02-11T00:07:48.259Z] 00:07:48     INFO - GECKO(5570) | #03: nsOutputStreamReadyEvent::Run() [xpcom/io/nsStreamUtils.cpp:184]
[task 2022-02-11T00:07:48.259Z] 00:07:48     INFO - GECKO(5570) | #04: mozilla::dom::(anonymous namespace)::ExternalRunnableWrapper::WorkerRun(JSContext*, mozilla::dom::WorkerPrivate*) [dom/workers/WorkerPrivate.cpp:201]
[task 2022-02-11T00:07:48.261Z] 00:07:48     INFO - GECKO(5570) | #05: mozilla::dom::WorkerRunnable::Run() [dom/workers/WorkerRunnable.cpp:377]
[task 2022-02-11T00:07:48.262Z] 00:07:48     INFO - GECKO(5570) | #06: nsThread::ProcessNextEvent(bool, bool*) [xpcom/threads/nsThread.cpp:1166]
[task 2022-02-11T00:07:48.263Z] 00:07:48     INFO - GECKO(5570) | #07: NS_ProcessNextEvent(nsIThread*, bool) [xpcom/threads/nsThreadUtils.cpp:467]
[task 2022-02-11T00:07:48.264Z] 00:07:48     INFO - GECKO(5570) | #08: mozilla::dom::WorkerPrivate::DoRunLoop(JSContext*) [dom/workers/WorkerPrivate.cpp:3116]
[task 2022-02-11T00:07:48.265Z] 00:07:48     INFO - GECKO(5570) | #09: mozilla::dom::workerinternals::(anonymous namespace)::WorkerThreadPrimaryRunnable::Run() [dom/workers/RuntimeService.cpp:2170]
[task 2022-02-11T00:07:48.266Z] 00:07:48     INFO - GECKO(5570) | #10: nsThread::ProcessNextEvent(bool, bool*) [xpcom/threads/nsThread.cpp:1166]
[task 2022-02-11T00:07:48.268Z] 00:07:48     INFO - GECKO(5570) | #11: NS_ProcessNextEvent(nsIThread*, bool) [xpcom/threads/nsThreadUtils.cpp:467]
[task 2022-02-11T00:07:48.269Z] 00:07:48     INFO - GECKO(5570) | #12: mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) [ipc/glue/MessagePump.cpp:330]
[task 2022-02-11T00:07:48.276Z] 00:07:48     INFO - GECKO(5570) | #13: MessageLoop::RunInternal() [ipc/chromium/src/base/message_loop.cc:331]
[task 2022-02-11T00:07:48.277Z] 00:07:48     INFO - GECKO(5570) | #14: MessageLoop::Run() [ipc/chromium/src/base/message_loop.cc:307]
[task 2022-02-11T00:07:48.278Z] 00:07:48     INFO - GECKO(5570) | #15: nsThread::ThreadFunc(void*) [xpcom/threads/nsThread.cpp:389]
[task 2022-02-11T00:07:48.292Z] 00:07:48     INFO - GECKO(5570) | #16: _pt_root [nsprpub/pr/src/pthreads/ptthread.c:204]
[task 2022-02-11T00:07:48.293Z] 00:07:48     INFO - GECKO(5570) | #17: set_alt_signal_stack_and_start(PthreadCreateParams*) [/builds/worker/workspace/build/application/firefox/firefox + 0xe456f]
[task 2022-02-11T00:07:48.294Z] 00:07:48     INFO - GECKO(5570) | #18: ??? [/lib/x86_64-linux-gnu/libpthread.so.0 + 0x76db]
[task 2022-02-11T00:07:48.297Z] 00:07:48     INFO - GECKO(5570) | #19: clone [/lib/x86_64-linux-gnu/libc.so.6 + 0x121a3f]
[task 2022-02-11T00:07:48.297Z] 00:07:48     INFO - GECKO(5570) | #20: ??? (???:???)
[task 2022-02-11T00:07:48.297Z] 00:07:48     INFO - GECKO(5570) | ExceptionHandler::GenerateDump cloned child 5686
[task 2022-02-11T00:07:48.297Z] 00:07:48     INFO - GECKO(5570) | ExceptionHandler::SendContinueSignalToChild sent continue signal to child
[task 2022-02-11T00:07:48.297Z] 00:07:48     INFO - GECKO(5570) | ExceptionHandler::WaitForContinueSignal waiting for continue signal...
[task 2022-02-11T00:07:48.421Z] 00:07:48     INFO - TEST-INFO | Main app process: exit 11
[task 2022-02-11T00:07:48.421Z] 00:07:48     INFO - Buffered messages logged at 00:07:48
[task 2022-02-11T00:07:48.421Z] 00:07:48     INFO - TEST-PASS | dom/workers/test/test_readableStream_when_closing.html | Worker is reading 
[task 2022-02-11T00:07:48.421Z] 00:07:48     INFO - Buffered messages finished
[task 2022-02-11T00:07:48.421Z] 00:07:48    ERROR - TEST-UNEXPECTED-FAIL | dom/workers/test/test_readableStream_when_closing.html | application terminated with exit code 11
[task 2022-02-11T00:07:48.421Z] 00:07:48     INFO - runtests.py | Application ran for: 0:00:25.246186
[task 2022-02-11T00:07:48.421Z] 00:07:48     INFO - zombiecheck | Reading PID log: /tmp/tmprzl2m_s1pidlog
[task 2022-02-11T00:07:48.421Z] 00:07:48     INFO - ==> process 5570 launched child process 5589
[task 2022-02-11T00:07:48.421Z] 00:07:48     INFO - zombiecheck | Checking for orphan process with PID: 5589
[task 2022-02-11T00:07:48.425Z] 00:07:48     INFO - mozcrash Copy/paste: /builds/worker/fetches/minidump_stackwalk/minidump_stackwalk --symbols-url=https://symbols.mozilla.org/ --human /tmp/tmpxchpystv.mozrunner/minidumps/4559e1d8-ba66-8553-b429-ce2ed1a1c52b.dmp /builds/worker/workspace/build/symbols
[task 2022-02-11T00:07:51.164Z] 00:07:51     INFO - mozcrash Saved minidump as /builds/worker/workspace/build/blobber_upload_dir/4559e1d8-ba66-8553-b429-ce2ed1a1c52b.dmp
[task 2022-02-11T00:07:51.165Z] 00:07:51     INFO - mozcrash Saved app info as /builds/worker/workspace/build/blobber_upload_dir/4559e1d8-ba66-8553-b429-ce2ed1a1c52b.extra
[task 2022-02-11T00:07:51.482Z] 00:07:51     INFO - PROCESS-CRASH | dom/workers/test/test_readableStream_when_closing.html | application crashed [@ mozilla::binding_danger::TErrorResult<mozilla::binding_danger::AssertAndSuppressCleanupPolicy>::~TErrorResult()]
[task 2022-02-11T00:07:51.482Z] 00:07:51     INFO - Mozilla crash reason: MOZ_ASSERT(!Failed())
[task 2022-02-11T00:07:51.483Z] 00:07:51     INFO - Crash dump filename: /tmp/tmpxchpystv.mozrunner/minidumps/4559e1d8-ba66-8553-b429-ce2ed1a1c52b.dmp
[task 2022-02-11T00:07:51.483Z] 00:07:51     INFO - Operating system: Linux
[task 2022-02-11T00:07:51.483Z] 00:07:51     INFO -                   0.0.0 Linux 4.4.0-1014-aws #14taskcluster1-Ubuntu SMP Tue Apr 3 10:27:00 UTC 2018 x86_64
[task 2022-02-11T00:07:51.484Z] 00:07:51     INFO - CPU: amd64
[task 2022-02-11T00:07:51.484Z] 00:07:51     INFO -      family 6 model 85 stepping 7
[task 2022-02-11T00:07:51.484Z] 00:07:51     INFO -      2 CPUs
[task 2022-02-11T00:07:51.484Z] 00:07:51     INFO - Linux Ubuntu 18.04 - bionic (Ubuntu 18.04.6 LTS)
[task 2022-02-11T00:07:51.485Z] 00:07:51     INFO - 
[task 2022-02-11T00:07:51.485Z] 00:07:51     INFO - Crash reason:  SIGSEGV / SEGV_MAPERR
[task 2022-02-11T00:07:51.486Z] 00:07:51     INFO - Crash address: 0x0
[task 2022-02-11T00:07:51.486Z] 00:07:51     INFO - Process uptime: not available
[task 2022-02-11T00:07:51.486Z] 00:07:51     INFO - 
[task 2022-02-11T00:07:51.487Z] 00:07:51     INFO - Thread 69  (crashed)
[task 2022-02-11T00:07:51.487Z] 00:07:51     INFO -  0  libxul.so!mozilla::binding_danger::TErrorResult<mozilla::binding_danger::AssertAndSuppressCleanupPolicy>::~TErrorResult() [ErrorResult.h:c16bd21a7817926d39dac482b0cd5cca5817a18b : 192 + 0x30]
[task 2022-02-11T00:07:51.488Z] 00:07:51     INFO -     rax = 0x00007f46a8f73ed1   rdx = 0x0000000000000000
[task 2022-02-11T00:07:51.488Z] 00:07:51     INFO -     rcx = 0x0000564eed74ff88   rbx = 0x00007f4677401270
[task 2022-02-11T00:07:51.489Z] 00:07:51     INFO -     rsi = 0x00007f46bd2ae8b0   rdi = 0x00007f46bd2ad680
[task 2022-02-11T00:07:51.489Z] 00:07:51     INFO -     rbp = 0x00007f4677401250   rsp = 0x00007f4677401240
[task 2022-02-11T00:07:51.490Z] 00:07:51     INFO -      r8 = 0x00007f46bd2ae8b0    r9 = 0x00007f4677402700
[task 2022-02-11T00:07:51.490Z] 00:07:51     INFO -     r10 = 0x0000000000000000   r11 = 0x0000000000000000
[task 2022-02-11T00:07:51.490Z] 00:07:51     INFO -     r12 = 0x00007f467b190340   r13 = 0x00007f467a6d23a0
[task 2022-02-11T00:07:51.491Z] 00:07:51     INFO -     r14 = 0x0000000080004005   r15 = 0x00007f467ac6d440
[task 2022-02-11T00:07:51.491Z] 00:07:51     INFO -     rip = 0x00007f46abfdcc96
[task 2022-02-11T00:07:51.492Z] 00:07:51     INFO -     Found by: given as instruction pointer in context
[task 2022-02-11T00:07:51.492Z] 00:07:51     INFO -  1  libxul.so!mozilla::dom::FetchStreamReader::OnOutputStreamReady(nsIAsyncOutputStream*) [FetchStreamReader.cpp:c16bd21a7817926d39dac482b0cd5cca5817a18b : 325 + 0x28]
[task 2022-02-11T00:07:51.492Z] 00:07:51     INFO -     rbx = 0x00007f4677401270   rbp = 0x00007f4677401370
[task 2022-02-11T00:07:51.492Z] 00:07:51     INFO -     rsp = 0x00007f4677401260   r12 = 0x00007f467b190340
[task 2022-02-11T00:07:51.493Z] 00:07:51     INFO -     r13 = 0x00007f467a6d23a0   r14 = 0x0000000080004005
[task 2022-02-11T00:07:51.493Z] 00:07:51     INFO -     r15 = 0x00007f467ac6d440   rip = 0x00007f46ae3c2a28
[task 2022-02-11T00:07:51.494Z] 00:07:51     INFO -     Found by: call frame info
[task 2022-02-11T00:07:51.494Z] 00:07:51     INFO -  2  libxul.so!nsOutputStreamReadyEvent::Run() [nsStreamUtils.cpp:c16bd21a7817926d39dac482b0cd5cca5817a18b : 182 + 0x14]
[task 2022-02-11T00:07:51.494Z] 00:07:51     INFO -     rbx = 0x00007f467a6f6fa0   rbp = 0x00007f46774013a0
[task 2022-02-11T00:07:51.495Z] 00:07:51     INFO -     rsp = 0x00007f4677401380   r12 = 0xaaaaaaaaaaaaaaaa
[task 2022-02-11T00:07:51.495Z] 00:07:51     INFO -     r13 = 0x000000008d8b9201   r14 = 0x00007f467a6f6fe8
[task 2022-02-11T00:07:51.495Z] 00:07:51     INFO -     r15 = 0x00007f467a6d23a0   rip = 0x00007f46ac03a63f
[task 2022-02-11T00:07:51.495Z] 00:07:51     INFO -     Found by: call frame info
[task 2022-02-11T00:07:51.496Z] 00:07:51     INFO -  3  libxul.so!mozilla::dom::(anonymous namespace)::ExternalRunnableWrapper::WorkerRun(JSContext*, mozilla::dom::WorkerPrivate*) [WorkerPrivate.cpp:c16bd21a7817926d39dac482b0cd5cca5817a18b : 201 + 0x11]
[task 2022-02-11T00:07:51.496Z] 00:07:51     INFO -     rbx = 0x00007f467ac6d1c0   rbp = 0x00007f46774013e0
[task 2022-02-11T00:07:51.496Z] 00:07:51     INFO -     rsp = 0x00007f46774013b0   r12 = 0xaaaaaaaaaaaaaaaa
[task 2022-02-11T00:07:51.496Z] 00:07:51     INFO -     r13 = 0x000000008d8b9201   r14 = 0x00007f467e4b7200
[task 2022-02-11T00:07:51.497Z] 00:07:51     INFO -     r15 = 0x00007f467e4b7200   rip = 0x00007f46aedd1011
[task 2022-02-11T00:07:51.497Z] 00:07:51     INFO -     Found by: call frame info
[task 2022-02-11T00:07:51.498Z] 00:07:51     INFO -  4  libxul.so!mozilla::dom::WorkerRunnable::Run() [WorkerRunnable.cpp:c16bd21a7817926d39dac482b0cd5cca5817a18b : 377 + 0x13]
[task 2022-02-11T00:07:51.498Z] 00:07:51     INFO -     rbx = 0x00007f467ac6d1c0   rbp = 0x00007f4677401580
[task 2022-02-11T00:07:51.498Z] 00:07:51     INFO -     rsp = 0x00007f46774013f0   r12 = 0xaaaaaaaaaaaaaaaa
[task 2022-02-11T00:07:51.498Z] 00:07:51     INFO -     r13 = 0x000000008d8b9201   r14 = 0x00007f4677401438
[task 2022-02-11T00:07:51.499Z] 00:07:51     INFO -     r15 = 0x00007f467e4b7200   rip = 0x00007f46aedc83c7
[task 2022-02-11T00:07:51.499Z] 00:07:51     INFO -     Found by: call frame info
[task 2022-02-11T00:07:51.500Z] 00:07:51     INFO -  5  libxul.so!nsThread::ProcessNextEvent(bool, bool*) [nsThread.cpp:c16bd21a7817926d39dac482b0cd5cca5817a18b : 1165 + 0x10]
[task 2022-02-11T00:07:51.500Z] 00:07:51     INFO -     rbx = 0x00007f4677401630   rbp = 0x00007f46774016c0
[task 2022-02-11T00:07:51.500Z] 00:07:51     INFO -     rsp = 0x00007f4677401590   r12 = 0x00007f46774015c0
[task 2022-02-11T00:07:51.500Z] 00:07:51     INFO -     r13 = 0x00007f468d8b9230   r14 = 0x00007f468d8b9100
[task 2022-02-11T00:07:51.500Z] 00:07:51     INFO -     r15 = 0xaaaaaaaaaaaaaaaa   rip = 0x00007f46ac0811f8
[task 2022-02-11T00:07:51.500Z] 00:07:51     INFO -     Found by: call frame info
[task 2022-02-11T00:07:51.501Z] 00:07:51     INFO -  6  libxul.so!NS_ProcessNextEvent(nsIThread*, bool) [nsThreadUtils.cpp:c16bd21a7817926d39dac482b0cd5cca5817a18b : 467 + 0xb]
[task 2022-02-11T00:07:51.501Z] 00:07:51     INFO -     rbx = 0x0000000000000000   rbp = 0x00007f46774016f0
[task 2022-02-11T00:07:51.501Z] 00:07:51     INFO -     rsp = 0x00007f46774016d0   r12 = 0x0000000000000000
[task 2022-02-11T00:07:51.501Z] 00:07:51     INFO -     r13 = 0x0000000000000001   r14 = 0x00007f46774016d7
[task 2022-02-11T00:07:51.504Z] 00:07:51     INFO -     r15 = 0x00007f4688ce1600   rip = 0x00007f46ac085eb8
[task 2022-02-11T00:07:51.504Z] 00:07:51     INFO -     Found by: call frame info
[task 2022-02-11T00:07:51.504Z] 00:07:51     INFO -  7  libxul.so!mozilla::dom::WorkerPrivate::DoRunLoop(JSContext*) [WorkerPrivate.cpp:c16bd21a7817926d39dac482b0cd5cca5817a18b : 3114 + 0x10]
[task 2022-02-11T00:07:51.504Z] 00:07:51     INFO -     rbx = 0x0000000000000000   rbp = 0x00007f46774017d0
[task 2022-02-11T00:07:51.504Z] 00:07:51     INFO -     rsp = 0x00007f4677401700   r12 = 0x0000000000000000
[task 2022-02-11T00:07:51.505Z] 00:07:51     INFO -     r13 = 0x0000000000000001   r14 = 0x00007f467b291470
[task 2022-02-11T00:07:51.505Z] 00:07:51     INFO -     r15 = 0x00007f4688ce1600   rip = 0x00007f46aedbd3d0
[task 2022-02-11T00:07:51.506Z] 00:07:51     INFO -     Found by: call frame info
[task 2022-02-11T00:07:51.506Z] 00:07:51     INFO -  8  libxul.so!mozilla::dom::workerinternals::(anonymous namespace)::WorkerThreadPrimaryRunnable::Run() [RuntimeService.cpp:c16bd21a7817926d39dac482b0cd5cca5817a18b : 2167 + 0xb]
[task 2022-02-11T00:07:51.507Z] 00:07:51     INFO -     rbx = 0x000000007c594a01   rbp = 0x00007f4677401940
[task 2022-02-11T00:07:51.508Z] 00:07:51     INFO -     rsp = 0x00007f46774017e0   r12 = 0x00007f467e4b7200
[task 2022-02-11T00:07:51.508Z] 00:07:51     INFO -     r13 = 0x00007f467c6c1100   r14 = 0x000000000000000f
[task 2022-02-11T00:07:51.508Z] 00:07:51     INFO -     r15 = 0x0000000080004005   rip = 0x00007f46aeda37b5
[task 2022-02-11T00:07:51.509Z] 00:07:51     INFO -     Found by: call frame info
[task 2022-02-11T00:07:51.509Z] 00:07:51     INFO -  9  libxul.so!nsThread::ProcessNextEvent(bool, bool*) [nsThread.cpp:c16bd21a7817926d39dac482b0cd5cca5817a18b : 1165 + 0x10]
[task 2022-02-11T00:07:51.509Z] 00:07:51     INFO -     rbx = 0x00007f46774019f0   rbp = 0x00007f4677401a80
[task 2022-02-11T00:07:51.510Z] 00:07:51     INFO -     rsp = 0x00007f4677401950   r12 = 0x00007f4677401980
[task 2022-02-11T00:07:51.510Z] 00:07:51     INFO -     r13 = 0x00007f468d8b9230   r14 = 0x00007f468d8b9100
[task 2022-02-11T00:07:51.511Z] 00:07:51     INFO -     r15 = 0xaaaaaaaaaaaaaaaa   rip = 0x00007f46ac0811f8
[task 2022-02-11T00:07:51.511Z] 00:07:51     INFO -     Found by: call frame info
[task 2022-02-11T00:07:51.511Z] 00:07:51     INFO - 10  libxul.so!NS_ProcessNextEvent(nsIThread*, bool) [nsThreadUtils.cpp:c16bd21a7817926d39dac482b0cd5cca5817a18b : 467 + 0xb]
[task 2022-02-11T00:07:51.511Z] 00:07:51     INFO -     rbx = 0x0000000000000001   rbp = 0x00007f4677401ab0
[task 2022-02-11T00:07:51.511Z] 00:07:51     INFO -     rsp = 0x00007f4677401a90   r12 = 0x0000000000000000
[task 2022-02-11T00:07:51.512Z] 00:07:51     INFO -     r13 = 0x00007f467f92c820   r14 = 0x00007f4677401a97
[task 2022-02-11T00:07:51.512Z] 00:07:51     INFO -     r15 = 0x00007f468d8b9100   rip = 0x00007f46ac085eb8
[task 2022-02-11T00:07:51.513Z] 00:07:51     INFO -     Found by: call frame info
[task 2022-02-11T00:07:51.514Z] 00:07:51     INFO - 11  libxul.so!mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) [MessagePump.cpp:c16bd21a7817926d39dac482b0cd5cca5817a18b : 330 + 0xc]
[task 2022-02-11T00:07:51.515Z] 00:07:51     INFO -     rbx = 0x00007f4677401bb8   rbp = 0x00007f4677401b00
[task 2022-02-11T00:07:51.515Z] 00:07:51     INFO -     rsp = 0x00007f4677401ac0   r12 = 0x0000000000000000
[task 2022-02-11T00:07:51.515Z] 00:07:51     INFO -     r13 = 0x00007f467f92c820   r14 = 0x00007f467f92c800
[task 2022-02-11T00:07:51.516Z] 00:07:51     INFO -     r15 = 0x00007f468d8b9100   rip = 0x00007f46ac7346df
[task 2022-02-11T00:07:51.517Z] 00:07:51     INFO -     Found by: call frame info
[task 2022-02-11T00:07:51.517Z] 00:07:51     INFO - 12  libxul.so!MessageLoop::RunInternal() [message_loop.cc:c16bd21a7817926d39dac482b0cd5cca5817a18b : 331 + 0x16]
[task 2022-02-11T00:07:51.518Z] 00:07:51     INFO -     rbx = 0x00007f4677401bb8   rbp = 0x00007f4677401b40
[task 2022-02-11T00:07:51.518Z] 00:07:51     INFO -     rsp = 0x00007f4677401b10   r12 = 0x00007f4677401bb8
[task 2022-02-11T00:07:51.519Z] 00:07:51     INFO -     r13 = 0x000000000000000a   r14 = 0x00007f4677401b50
[task 2022-02-11T00:07:51.519Z] 00:07:51     INFO -     r15 = 0x00007f468d8b9100   rip = 0x00007f46ac6d3ef9
[task 2022-02-11T00:07:51.519Z] 00:07:51     INFO -     Found by: call frame info
[task 2022-02-11T00:07:51.521Z] 00:07:51     INFO - 13  libxul.so!MessageLoop::Run() [message_loop.cc:c16bd21a7817926d39dac482b0cd5cca5817a18b : 306 + 0x7]
[task 2022-02-11T00:07:51.521Z] 00:07:51     INFO -     rbx = 0x00007f4677401bb8   rbp = 0x00007f4677401b80
[task 2022-02-11T00:07:51.522Z] 00:07:51     INFO -     rsp = 0x00007f4677401b50   r12 = 0x00007f4677401bb8
[task 2022-02-11T00:07:51.522Z] 00:07:51     INFO -     r13 = 0x000000000000000a   r14 = 0x00007f4677401b50
[task 2022-02-11T00:07:51.525Z] 00:07:51     INFO -     r15 = 0x00007f468d8b9100   rip = 0x00007f46ac6d3e53
[task 2022-02-11T00:07:51.525Z] 00:07:51     INFO -     Found by: call frame info
[task 2022-02-11T00:07:51.526Z] 00:07:51     INFO - 14  libxul.so!nsThread::ThreadFunc(void*) [nsThread.cpp:c16bd21a7817926d39dac482b0cd5cca5817a18b : 387 + 0x7]
[task 2022-02-11T00:07:51.526Z] 00:07:51     INFO -     rbx = 0x00007f468d8b9150   rbp = 0x00007f4677401db0
[task 2022-02-11T00:07:51.526Z] 00:07:51     INFO -     rsp = 0x00007f4677401b90   r12 = 0x00007f4677401bb8
[task 2022-02-11T00:07:51.527Z] 00:07:51     INFO -     r13 = 0x000000000000000a   r14 = 0x00007f468d8b9158
[task 2022-02-11T00:07:51.527Z] 00:07:51     INFO -     r15 = 0x00007f468d8b9100   rip = 0x00007f46ac07dc0a
[task 2022-02-11T00:07:51.527Z] 00:07:51     INFO -     Found by: call frame info
[task 2022-02-11T00:07:51.527Z] 00:07:51     INFO - 15  libnspr4.so!_pt_root [ptthread.c:c16bd21a7817926d39dac482b0cd5cca5817a18b : 201 + 0x6]
[task 2022-02-11T00:07:51.528Z] 00:07:51     INFO -     rbx = 0x00007f46893d54c0   rbp = 0x00007f4677401e00
[task 2022-02-11T00:07:51.528Z] 00:07:51     INFO -     rsp = 0x00007f4677401dc0   r12 = 0x00007f4677402630
[task 2022-02-11T00:07:51.528Z] 00:07:51     INFO -     r13 = 0x0000000000000002   r14 = 0x000000000000162f
[task 2022-02-11T00:07:51.528Z] 00:07:51     INFO -     r15 = 0x00007f4677402700   rip = 0x00007f46be18d537
[task 2022-02-11T00:07:51.529Z] 00:07:51     INFO -     Found by: call frame info
[task 2022-02-11T00:07:51.529Z] 00:07:51     INFO - 16  firefox-bin!set_alt_signal_stack_and_start(PthreadCreateParams*) [pthread_create_interposer.cpp:c16bd21a7817926d39dac482b0cd5cca5817a18b : 80 + 0x5]
[task 2022-02-11T00:07:51.529Z] 00:07:51     INFO -     rbx = 0x00007f4689617000   rbp = 0x00007f4677401eb0
[task 2022-02-11T00:07:51.529Z] 00:07:51     INFO -     rsp = 0x00007f4677401e10   r12 = 0x00007f46be18d3c2
[task 2022-02-11T00:07:51.529Z] 00:07:51     INFO -     r13 = 0x0000000000000000   r14 = 0x00007f46893d54c0
[task 2022-02-11T00:07:51.529Z] 00:07:51     INFO -     r15 = 0x00007f4677401e20   rip = 0x0000564eed74956f
[task 2022-02-11T00:07:51.529Z] 00:07:51     INFO -     Found by: call frame info
[task 2022-02-11T00:07:51.530Z] 00:07:51     INFO - 17  libpthread.so.0!start_thread [pthread_create.c : 463 + 0xc]
[task 2022-02-11T00:07:51.530Z] 00:07:51     INFO -     rbx = 0x0000000000000000   rbp = 0x0000000000000000
[task 2022-02-11T00:07:51.530Z] 00:07:51     INFO -     rsp = 0x00007f4677401ec0   r12 = 0x00007f4677401f80
[task 2022-02-11T00:07:51.530Z] 00:07:51     INFO -     r13 = 0x0000000000000000   r14 = 0x00007f467dc3beb0
[task 2022-02-11T00:07:51.530Z] 00:07:51     INFO -     r15 = 0x00007fff1eb2f2f0   rip = 0x00007f46bddfc6db
[task 2022-02-11T00:07:51.530Z] 00:07:51     INFO -     Found by: call frame info
[task 2022-02-11T00:07:51.531Z] 00:07:51     INFO - 18  libc.so.6!__GI___clone + 0x3e
[task 2022-02-11T00:07:51.531Z] 00:07:51     INFO -     rbx = 0x00007f4677402700   rbp = 0x0000000000000000
[task 2022-02-11T00:07:51.531Z] 00:07:51     INFO -     rsp = 0x00007f4677401f80   r12 = 0x00007f4677401f80
[task 2022-02-11T00:07:51.531Z] 00:07:51     INFO -     r13 = 0x0000000000000000   r14 = 0x00007f467dc3beb0
[task 2022-02-11T00:07:51.531Z] 00:07:51     INFO -     r15 = 0x00007fff1eb2f2f0   rip = 0x00007f46bcfe2a3f
[task 2022-02-11T00:07:51.531Z] 00:07:51     INFO -     Found by: call frame info
See Also: → 1753786
Has Regression Range: --- → yes
Keywords: regression
Regressed by: 1752206
Summary: Intermittent Assertion failure: !Failed(), at /builds/worker/workspace/obj-build/dist/include/mozilla/ErrorResult.h:582 → Intermittent Assertion failure: !Failed(), at /builds/worker/workspace/obj-build/dist/include/mozilla/ErrorResult.h:582 while dom/workers/test/test_readableStream_when_closing.html runs
Component: DOM: Workers → DOM: Streams
Flags: needinfo?(mgaudet)

I think I know what's going on with this one; we were hoping to report the error via the AutoJSAPI; but in order for that to happen, I think we need to first move the exception out of the ErrorResult onto the context, via rv.MaybeSetPendingException

I'll write up a patch later today.

Flags: needinfo?(mgaudet)

I think we should just use IgnoredError for those. We are going report an error via CloseAndRelease already.

Is that sufficient? Feels like we might swallow something of value, whereas if we report via AutoEntryScript we can at least log that error to the console.

(I have a patch to to convert to an exception on context here)

Blocks: 1735656
Assignee: nobody → mgaudet
Status: NEW → ASSIGNED

You are right, this does seem like a good approach.

Attachment #9263824 - Attachment description: Bug 1754913 - Correctly handle error in FetchStreamReader::OnOutputStreamReader r?smaug → Bug 1754913 - Intentionally ignore errors in FetchStreamReader::OnOutputStreamReader r?smaug
Pushed by mgaudet@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4f418a54a2f9
Intentionally ignore errors in FetchStreamReader::OnOutputStreamReader r=smaug
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: