Closed Bug 1814368 Opened 2 years ago Closed 1 years ago

Intermittent SUMMARY: ThreadSanitizer: SEGV /builds/worker/checkouts/gecko/dom/workers/remoteworkers/RemoteWorkerChild.cpp in mozilla::dom::RemoteWorkerChild::TransitionStateToRunning(already_AddRefed<mozilla::dom::WorkerPrivate>, already_AddRefed<mozilla

Categories

(Core :: DOM: Workers, defect, P3)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

Crash Data

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


[task 2023-02-01T10:34:00.165Z] 10:34:00     INFO - TEST-OK | dom/serviceworkers/test/browser_intercepted_channel_process_swap.js | took 4715ms
[task 2023-02-01T10:34:00.246Z] 10:34:00     INFO - checking window state
[task 2023-02-01T10:34:00.321Z] 10:34:00     INFO - TEST-START | dom/serviceworkers/test/browser_intercepted_worker_script.js
[task 2023-02-01T10:34:01.412Z] 10:34:01     INFO - GECKO(7285) | Waiting for browser load
[task 2023-02-01T10:34:01.413Z] 10:34:01     INFO - GECKO(7285) | Waiting for browser state change
[task 2023-02-01T10:34:01.521Z] 10:34:01     INFO - GECKO(7285) | Saw state c0010 and status 0
[task 2023-02-01T10:34:01.521Z] 10:34:01     INFO - GECKO(7285) | Browser got expected state change https://example.com/browser/dom/serviceworkers/test/empty_with_utils.html
[task 2023-02-01T10:34:01.923Z] 10:34:01     INFO - GECKO(7285) | ThreadSanitizer:DEADLYSIGNAL
[task 2023-02-01T10:34:01.924Z] 10:34:01     INFO - GECKO(7285) | ==7938==ERROR: ThreadSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f6faa2c09a1 bp 0x7b300001bfc0 sp 0x7f6f13650a80 T8038)
[task 2023-02-01T10:34:01.924Z] 10:34:01     INFO - GECKO(7285) | ==7938==The signal is caused by a WRITE memory access.
[task 2023-02-01T10:34:01.924Z] 10:34:01     INFO - GECKO(7285) | ==7938==Hint: address points to the zero page.
[task 2023-02-01T10:34:01.948Z] 10:34:01     INFO - GECKO(7285) | Waiting for browser load
[task 2023-02-01T10:34:01.951Z] 10:34:01     INFO - GECKO(7285) | Waiting for browser state change
[task 2023-02-01T10:34:02.207Z] 10:34:02     INFO - GECKO(7285) | Saw state c0010 and status 0
[task 2023-02-01T10:34:02.209Z] 10:34:02     INFO - GECKO(7285) | Browser got expected state change https://example.com/browser/dom/serviceworkers/test/empty_with_utils.html
[task 2023-02-01T10:34:02.524Z] 10:34:02     INFO - GECKO(7285) | Waiting for browser load
[task 2023-02-01T10:34:02.526Z] 10:34:02     INFO - GECKO(7285) | Waiting for browser state change
[task 2023-02-01T10:34:02.560Z] 10:34:02     INFO - GECKO(7285) |     #0 mozilla::dom::RemoteWorkerChild::TransitionStateToRunning(already_AddRefed<mozilla::dom::WorkerPrivate>, already_AddRefed<mozilla::dom::WeakWorkerRef>) /builds/worker/checkouts/gecko/dom/workers/remoteworkers/RemoteWorkerChild.cpp (libxul.so+0x8cef9a1) (BuildId: bc00f12e35319a2f4c57debdd86b5e6d84f5e722)
[task 2023-02-01T10:34:02.563Z] 10:34:02     INFO - GECKO(7285) |     #1 mozilla::dom::RemoteWorkerChild::InitializeOnWorker() /builds/worker/checkouts/gecko/dom/workers/remoteworkers/RemoteWorkerChild.cpp:583:3 (libxul.so+0x8cee80c) (BuildId: bc00f12e35319a2f4c57debdd86b5e6d84f5e722)
[task 2023-02-01T10:34:02.566Z] 10:34:02     INFO - GECKO(7285) |     #2 mozilla::dom::RemoteWorkerChild::InitializeWorkerRunnable::WorkerRun(JSContext*, mozilla::dom::WorkerPrivate*) /builds/worker/checkouts/gecko/dom/workers/remoteworkers/RemoteWorkerChild.cpp:225:13 (libxul.so+0x8d0d66a) (BuildId: bc00f12e35319a2f4c57debdd86b5e6d84f5e722)
[task 2023-02-01T10:34:02.575Z] 10:34:02     INFO - GECKO(7285) |     #3 mozilla::dom::WorkerRunnable::Run() /builds/worker/checkouts/gecko/dom/workers/WorkerRunnable.cpp:377:12 (libxul.so+0x8cd6428) (BuildId: bc00f12e35319a2f4c57debdd86b5e6d84f5e722)
[task 2023-02-01T10:34:02.575Z] 10:34:02     INFO - GECKO(7285) |     #4 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1191:16 (libxul.so+0x42e019e) (BuildId: bc00f12e35319a2f4c57debdd86b5e6d84f5e722)
[task 2023-02-01T10:34:02.575Z] 10:34:02     INFO - GECKO(7285) |     #5 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:477:10 (libxul.so+0x42e6a36) (BuildId: bc00f12e35319a2f4c57debdd86b5e6d84f5e722)
[task 2023-02-01T10:34:02.575Z] 10:34:02     INFO - GECKO(7285) |     #6 mozilla::dom::WorkerPrivate::DoRunLoop(JSContext*) /builds/worker/checkouts/gecko/dom/workers/WorkerPrivate.cpp:3275:7 (libxul.so+0x8cc62b9) (BuildId: bc00f12e35319a2f4c57debdd86b5e6d84f5e722)
[task 2023-02-01T10:34:02.576Z] 10:34:02     INFO - GECKO(7285) |     #7 mozilla::dom::workerinternals::(anonymous namespace)::WorkerThreadPrimaryRunnable::Run() /builds/worker/checkouts/gecko/dom/workers/RuntimeService.cpp:2044:42 (libxul.so+0x8cae8cd) (BuildId: bc00f12e35319a2f4c57debdd86b5e6d84f5e722)
[task 2023-02-01T10:34:02.576Z] 10:34:02     INFO - GECKO(7285) |     #8 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1191:16 (libxul.so+0x42e019e) (BuildId: bc00f12e35319a2f4c57debdd86b5e6d84f5e722)
[task 2023-02-01T10:34:02.577Z] 10:34:02     INFO - GECKO(7285) |     #9 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:477:10 (libxul.so+0x42e6a36) (BuildId: bc00f12e35319a2f4c57debdd86b5e6d84f5e722)
[task 2023-02-01T10:34:02.577Z] 10:34:02     INFO - GECKO(7285) |     #10 mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:300:20 (libxul.so+0x4fd392e) (BuildId: bc00f12e35319a2f4c57debdd86b5e6d84f5e722)
[task 2023-02-01T10:34:02.584Z] 10:34:02     INFO - GECKO(7285) |     #11 RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:381:10 (libxul.so+0x4ee8f37) (BuildId: bc00f12e35319a2f4c57debdd86b5e6d84f5e722)
[task 2023-02-01T10:34:02.585Z] 10:34:02     INFO - GECKO(7285) |     #12 RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:374:3 (libxul.so+0x4ee8f37)
[task 2023-02-01T10:34:02.586Z] 10:34:02     INFO - GECKO(7285) |     #13 MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:356:3 (libxul.so+0x4ee8f37)
[task 2023-02-01T10:34:02.587Z] 10:34:02     INFO - GECKO(7285) |     #14 nsThread::ThreadFunc(void*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:383:10 (libxul.so+0x42db372) (BuildId: bc00f12e35319a2f4c57debdd86b5e6d84f5e722)
[task 2023-02-01T10:34:02.587Z] 10:34:02     INFO - GECKO(7285) |     #15 _pt_root /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:201:5 (libnspr4.so+0x523e3) (BuildId: ea38c71a2fe43c4f0faf4a814cd3f7bd0a0a87e3)
[task 2023-02-01T10:34:02.587Z] 10:34:02     INFO - GECKO(7285) |     #16 __tsan_thread_start_func /builds/worker/fetches/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1012:15 (firefox-bin+0xb3b86) (BuildId: a67a468eefb92af7769a6e31ac7c6990db8e701b)
[task 2023-02-01T10:34:02.587Z] 10:34:02     INFO - GECKO(7285) |     #17 start_thread /tmp/glibc/nptl/pthread_create.c:463 (libpthread.so.0+0x76da) (BuildId: bf9ea06dd792b8658a576d1f2583304a9f89278a)
[task 2023-02-01T10:34:02.588Z] 10:34:02     INFO - GECKO(7285) |     #18 __clone /tmp/glibc/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:95 (libc.so.6+0x121a3e) (BuildId: 3247775c25514939b9a5ffa9d3be63f3a4cb9641)
[task 2023-02-01T10:34:02.588Z] 10:34:02     INFO - GECKO(7285) | ThreadSanitizer can not provide additional info.
[task 2023-02-01T10:34:02.588Z] 10:34:02     INFO - GECKO(7285) | SUMMARY: ThreadSanitizer: SEGV /builds/worker/checkouts/gecko/dom/workers/remoteworkers/RemoteWorkerChild.cpp in mozilla::dom::RemoteWorkerChild::TransitionStateToRunning(already_AddRefed<mozilla::dom::WorkerPrivate>, already_AddRefed<mozilla::dom::WeakWorkerRef>)
[task 2023-02-01T10:34:02.588Z] 10:34:02     INFO - GECKO(7285) | ==7938==ABORTING
[task 2023-02-01T10:34:02.595Z] 10:34:02     INFO - GECKO(7285) | console.error:
[task 2023-02-01T10:34:02.597Z] 10:34:02     INFO - GECKO(7285) |   remote browser crashed while on https://example.com/browser/dom/serviceworkers/test/empty_with_utils.html
[task 2023-02-01T10:34:02.761Z] 10:34:02     INFO - GECKO(7285) | [Parent 7285, IPC I/O Parent] WARNING: process 7938 exited on signal 6: file /builds/worker/checkouts/gecko/ipc/chromium/src/base/process_util_posix.cc:256
[task 2023-02-01T10:34:20.515Z] 10:34:20     INFO - GECKO(7285) | ALSA lib seq_hw.c:466:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
[task 2023-02-01T10:37:52.352Z] 10:37:52     INFO - GECKO(7285) | console.error: (new Error("Polling for changes failed: Unexpected content-type \"text/plain;charset=US-ASCII\".", "resource://services-settings/remote-settings.js", 334))
[task 2023-02-01T10:39:52.367Z] 10:39:52     INFO - GECKO(7285) | 1675247992365	addons.xpi	ERROR	System addon update list error Error: got node name: html, expected: updates
[task 2023-02-01T10:46:02.391Z] 10:46:02     INFO - Buffered messages logged at 10:34:00
[task 2023-02-01T10:46:02.395Z] 10:46:02     INFO - Entering test bound setupPrefs
[task 2023-02-01T10:46:02.395Z] 10:46:02     INFO - Leaving test bound setupPrefs
[task 2023-02-01T10:46:02.395Z] 10:46:02     INFO - Entering test bound setupBrowser
[task 2023-02-01T10:46:02.396Z] 10:46:02     INFO - Buffered messages logged at 10:34:01
[task 2023-02-01T10:46:02.396Z] 10:46:02     INFO - Leaving test bound setupBrowser
[task 2023-02-01T10:46:02.396Z] 10:46:02     INFO - Entering test bound runTests
[task 2023-02-01T10:46:02.396Z] 10:46:02     INFO - TEST-PASS | dom/serviceworkers/test/browser_intercepted_worker_script.js | The service worker has intercepted the script loading. - 
Duplicate of this bug: 1765749
Duplicate of this bug: 1817667

Copying crash signatures from duplicate bugs.

Crash Signature: [@ nsTArray_base<nsTArrayInfallibleAllocator,nsTArray_RelocateUsingMemutils>::MoveConstructNonAutoArray]
Priority: P5 → P3
Status: NEW → RESOLVED
Closed: 1 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.