Closed Bug 1738151 Opened 3 years ago Closed 3 years ago

Intermittent SUMMARY: ThreadSanitizer: SEGV /builds/worker/checkouts/gecko/dom/fetch/FetchUtil.cpp:542:9 in mozilla::dom::JSStreamConsumer::OnInputStreamReady(nsIAsyncInputStream*)

Categories

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

defect

Tracking

()

RESOLVED DUPLICATE of bug 1737837

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

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


[task 2021-10-28T00:12:55.365Z] 00:12:55     INFO - TEST-START | dom/promise/tests/test_webassembly_compile.html
[task 2021-10-28T00:13:04.324Z] 00:13:04     INFO - GECKO(2802) | ThreadSanitizer:DEADLYSIGNAL
[task 2021-10-28T00:13:04.326Z] 00:13:04     INFO - GECKO(2802) | ==2945==ERROR: ThreadSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f98028bfd22 bp 0x000080470002 sp 0x7f976efbe6e0 T3076)
[task 2021-10-28T00:13:04.327Z] 00:13:04     INFO - GECKO(2802) | ==2945==The signal is caused by a WRITE memory access.
[task 2021-10-28T00:13:04.328Z] 00:13:04     INFO - GECKO(2802) | ==2945==Hint: address points to the zero page.
[task 2021-10-28T00:13:04.416Z] 00:13:04     INFO - GECKO(2802) | MEMORY STAT | vsize 130550493MB | residentFast 450MB
[task 2021-10-28T00:13:05.182Z] 00:13:05     INFO - GECKO(2802) |     #0 mozilla::dom::JSStreamConsumer::OnInputStreamReady(nsIAsyncInputStream*) /builds/worker/checkouts/gecko/dom/fetch/FetchUtil.cpp:542:9 (libxul.so+0x3d6ad22)
[task 2021-10-28T00:13:05.184Z] 00:13:05     INFO - GECKO(2802) |     #1 Run /builds/worker/checkouts/gecko/dom/file/ipc/RemoteLazyInputStream.cpp:54:16 (libxul.so+0x3d90abb)
[task 2021-10-28T00:13:05.186Z] 00:13:05     INFO - GECKO(2802) |     #2 mozilla::(anonymous namespace)::InputStreamCallbackRunnable::Execute(nsIInputStreamCallback*, nsIEventTarget*, mozilla::RemoteLazyInputStream*) /builds/worker/checkouts/gecko/dom/file/ipc/RemoteLazyInputStream.cpp:48:17 (libxul.so+0x3d90abb)
[task 2021-10-28T00:13:05.187Z] 00:13:05     INFO - GECKO(2802) |     #3 mozilla::RemoteLazyInputStream::Close() /builds/worker/checkouts/gecko/dom/file/ipc/RemoteLazyInputStream.cpp:311:5 (libxul.so+0x3d8fce0)
[task 2021-10-28T00:13:05.187Z] 00:13:05     INFO - GECKO(2802) |     #4 operator() /builds/worker/checkouts/gecko/dom/fetch/FetchUtil.cpp:303:24 (libxul.so+0x3d6e2ee)
[task 2021-10-28T00:13:05.188Z] 00:13:05     INFO - GECKO(2802) |     #5 std::_Function_handler<void (), mozilla::dom::WorkerStreamOwner::Create(nsIAsyncInputStream*, mozilla::dom::WorkerPrivate*, nsCOMPtr<nsIEventTarget>&&)::'lambda'()>::_M_invoke(std::_Any_data const&) /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/std_function.h:316:2 (libxul.so+0x3d6e2ee)
[task 2021-10-28T00:13:05.190Z] 00:13:05     INFO - GECKO(2802) |     #6 operator() /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/std_function.h:706:14 (libxul.so+0x4b3f6c6)
[task 2021-10-28T00:13:05.191Z] 00:13:05     INFO - GECKO(2802) |     #7 Notify /builds/worker/checkouts/gecko/dom/workers/WorkerRef.cpp:98:3 (libxul.so+0x4b3f6c6)
[task 2021-10-28T00:13:05.192Z] 00:13:05     INFO - GECKO(2802) |     #8 mozilla::dom::WeakWorkerRef::Notify() /builds/worker/checkouts/gecko/dom/workers/WorkerRef.cpp:133:14 (libxul.so+0x4b3f6c6)
[task 2021-10-28T00:13:05.193Z] 00:13:05     INFO - GECKO(2802) |     #9 mozilla::dom::WorkerPrivate::NotifyWorkerRefs(mozilla::dom::WorkerStatus) /builds/worker/checkouts/gecko/dom/workers/WorkerPrivate.cpp:3868:16 (libxul.so+0x4b32410)
[task 2021-10-28T00:13:05.200Z] 00:13:05     INFO - GECKO(2802) |     #10 mozilla::dom::WorkerPrivate::NotifyInternal(mozilla::dom::WorkerStatus) /builds/worker/checkouts/gecko/dom/workers/WorkerPrivate.cpp:4470:5 (libxul.so+0x4b33d17)
[task 2021-10-28T00:13:05.200Z] 00:13:05     INFO - GECKO(2802) |     #11 mozilla::dom::(anonymous namespace)::NotifyRunnable::WorkerRun(JSContext*, mozilla::dom::WorkerPrivate*) /builds/worker/checkouts/gecko/dom/workers/WorkerPrivate.cpp:465:28 (libxul.so+0x4b4c01a)
[task 2021-10-28T00:13:05.201Z] 00:13:05     INFO - GECKO(2802) |     #12 mozilla::dom::WorkerRunnable::Run() /builds/worker/checkouts/gecko/dom/workers/WorkerRunnable.cpp:378:12 (libxul.so+0x4b40c96)
[task 2021-10-28T00:13:05.202Z] 00:13:05     INFO - GECKO(2802) |     #13 mozilla::dom::WorkerPrivate::ProcessAllControlRunnablesLocked() /builds/worker/checkouts/gecko/dom/workers/WorkerPrivate.cpp:3625:9 (libxul.so+0x4b33a4a)
[task 2021-10-28T00:13:05.203Z] 00:13:05     INFO - GECKO(2802) |     #14 mozilla::dom::WorkerPrivate::DoRunLoop(JSContext*) /builds/worker/checkouts/gecko/dom/workers/WorkerPrivate.cpp:2976:21 (libxul.so+0x4b32baf)
[task 2021-10-28T00:13:05.203Z] 00:13:05     INFO - GECKO(2802) |     #15 mozilla::dom::workerinternals::(anonymous namespace)::WorkerThreadPrimaryRunnable::Run() /builds/worker/checkouts/gecko/dom/workers/RuntimeService.cpp:2244:42 (libxul.so+0x4b16f11)
[task 2021-10-28T00:13:05.204Z] 00:13:05     INFO - GECKO(2802) |     #16 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1168:16 (libxul.so+0xf083b3)
[task 2021-10-28T00:13:05.205Z] 00:13:05     INFO - GECKO(2802) |     #17 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:467:10 (libxul.so+0xf0f222)
[task 2021-10-28T00:13:05.206Z] 00:13:05     INFO - GECKO(2802) |     #18 mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:300:20 (libxul.so+0x186c10e)
[task 2021-10-28T00:13:05.206Z] 00:13:05     INFO - GECKO(2802) |     #19 RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:331:10 (libxul.so+0x17e490c)
[task 2021-10-28T00:13:05.206Z] 00:13:05     INFO - GECKO(2802) |     #20 RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:324:3 (libxul.so+0x17e490c)
[task 2021-10-28T00:13:05.207Z] 00:13:05     INFO - GECKO(2802) |     #21 MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:306:3 (libxul.so+0x17e490c)
[task 2021-10-28T00:13:05.207Z] 00:13:05     INFO - GECKO(2802) |     #22 nsThread::ThreadFunc(void*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:390:10 (libxul.so+0xf044d0)
[task 2021-10-28T00:13:05.209Z] 00:13:05     INFO - GECKO(2802) |     #23 _pt_root /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:201:5 (libnspr4.so+0x44fbd)
[task 2021-10-28T00:13:05.210Z] 00:13:05     INFO - GECKO(2802) |     #24 __tsan_thread_start_func /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:967:15 (firefox+0x590cc)
[task 2021-10-28T00:13:05.210Z] 00:13:05     INFO - GECKO(2802) |     #25 start_thread /tmp/glibc/nptl/pthread_create.c:463 (libpthread.so.0+0x76da)
[task 2021-10-28T00:13:05.212Z] 00:13:05     INFO - GECKO(2802) |     #26 __clone /tmp/glibc/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:95 (libc.so.6+0x121a3e)
[task 2021-10-28T00:13:05.213Z] 00:13:05     INFO - GECKO(2802) | ThreadSanitizer can not provide additional info.
[task 2021-10-28T00:13:05.214Z] 00:13:05     INFO - GECKO(2802) | SUMMARY: ThreadSanitizer: SEGV /builds/worker/checkouts/gecko/dom/fetch/FetchUtil.cpp:542:9 in mozilla::dom::JSStreamConsumer::OnInputStreamReady(nsIAsyncInputStream*)
[task 2021-10-28T00:13:05.215Z] 00:13:05     INFO - GECKO(2802) | ==2945==ABORTING
[task 2021-10-28T00:13:05.510Z] 00:13:05    ERROR - GECKO(2802) | A content process crashed and MOZ_CRASHREPORTER_SHUTDOWN is set, shutting down
[task 2021-10-28T00:13:06.068Z] 00:13:06     INFO - GECKO(2802) | 1635379986067	Marionette	TRACE	Received observer notification quit-application
[task 2021-10-28T00:13:06.069Z] 00:13:06     INFO - GECKO(2802) | 1635379986068	Marionette	INFO	Stopped listening on port 2828
[task 2021-10-28T00:13:06.072Z] 00:13:06     INFO - GECKO(2802) | 1635379986071	Marionette	DEBUG	Marionette stopped listening
[task 2021-10-28T00:13:07.101Z] 00:13:07     INFO - GECKO(2802) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2021-10-28T00:13:07.116Z] 00:13:07     INFO - GECKO(2802) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2021-10-28T00:13:07.125Z] 00:13:07     INFO - GECKO(2802) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2021-10-28T00:13:18.029Z] 00:13:18     INFO - TEST-INFO | Main app process: exit 0
[task 2021-10-28T00:13:18.030Z] 00:13:18     INFO - runtests.py | Application ran for: 0:01:07.242230
[task 2021-10-28T00:13:18.032Z] 00:13:18     INFO - zombiecheck | Reading PID log: /tmp/tmpn6mcozugpidlog
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.