Closed
Bug 1840259
Opened 3 years ago
Closed 2 years ago
Intermittent SUMMARY: AddressSanitizer: access-violation /builds/worker/checkouts/gecko/js/src/vm/OffThreadPromiseRuntimeState.cpp:97 in js::OffThreadPromiseTask::run
Categories
(Core :: JavaScript: WebAssembly, defect, P3)
Core
JavaScript: WebAssembly
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: intermittent-bug-filer, Unassigned)
Details
(Keywords: intermittent-failure)
Filed by: ctuns [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=420536608&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/V2YML_CTS0yQ7i_bdJuutA/runs/0/artifacts/public/logs/live_backing.log
[task 2023-06-24T22:29:57.631Z] 22:29:57 INFO - TEST-START | dom/promise/tests/test_webassembly_compile.html
[task 2023-06-24T22:29:58.478Z] 22:29:58 INFO - GECKO(9700) | =================================================================
[task 2023-06-24T22:29:58.491Z] 22:29:58 ERROR - GECKO(9700) | ==6580==ERROR: AddressSanitizer: access-violation on unknown address 0x0000000000b0 (pc 0x7ff92e506bda bp 0x00b29edfdf30 sp 0x00b29edfdea0 T29)
[task 2023-06-24T22:29:58.491Z] 22:29:58 INFO - GECKO(9700) | ==6580==The signal is caused by a READ memory access.
[task 2023-06-24T22:29:58.491Z] 22:29:58 INFO - GECKO(9700) | ==6580==Hint: address points to the zero page.
[task 2023-06-24T22:29:59.232Z] 22:29:59 INFO - GECKO(9700) | ==6580==WARNING: Failed to use and restart external symbolizer!
[task 2023-06-24T22:29:59.608Z] 22:29:59 INFO - GECKO(9700) | #0 0x7ff92e506bd9 in js::OffThreadPromiseTask::run /builds/worker/checkouts/gecko/js/src/vm/OffThreadPromiseRuntimeState.cpp:97
[task 2023-06-24T22:29:59.618Z] 22:29:59 INFO - GECKO(9700) | #1 0x7ff928712ac6 in mozilla::dom::workerinternals::`anonymous namespace'::JSDispatchableRunnable::WorkerRun /builds/worker/checkouts/gecko/dom/workers/RuntimeService.cpp:618
[task 2023-06-24T22:29:59.619Z] 22:29:59 INFO - GECKO(9700) | #2 0x7ff92875a7da in mozilla::dom::WorkerRunnable::Run /builds/worker/checkouts/gecko/dom/workers/WorkerRunnable.cpp:372
[task 2023-06-24T22:29:59.619Z] 22:29:59 INFO - GECKO(9700) | #3 0x7ff91f9bf0c4 in nsThread::ProcessNextEvent /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1193
[task 2023-06-24T22:29:59.620Z] 22:29:59 INFO - GECKO(9700) | #4 0x7ff91f9b8289 in NS_ProcessPendingEvents /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:444
[task 2023-06-24T22:29:59.620Z] 22:29:59 INFO - GECKO(9700) | #5 0x7ff92870f068 in mozilla::dom::workerinternals::`anonymous namespace'::WorkerThreadPrimaryRunnable::Run /builds/worker/checkouts/gecko/dom/workers/RuntimeService.cpp:2167
[task 2023-06-24T22:29:59.621Z] 22:29:59 INFO - GECKO(9700) | #6 0x7ff91f9bf0c4 in nsThread::ProcessNextEvent /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1193
[task 2023-06-24T22:29:59.621Z] 22:29:59 INFO - GECKO(9700) | #7 0x7ff91f9cddb1 in NS_ProcessNextEvent /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:479
[task 2023-06-24T22:29:59.621Z] 22:29:59 INFO - GECKO(9700) | #8 0x7ff9210705d9 in mozilla::ipc::MessagePumpForNonMainThreads::Run /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:300
[task 2023-06-24T22:29:59.622Z] 22:29:59 INFO - GECKO(9700) | #9 0x7ff920f90293 in MessageLoop::RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:363
[task 2023-06-24T22:29:59.622Z] 22:29:59 INFO - GECKO(9700) | #10 0x7ff920f9005a in MessageLoop::Run /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:345
[task 2023-06-24T22:29:59.623Z] 22:29:59 INFO - GECKO(9700) | #11 0x7ff91f9b5ffe in nsThread::ThreadFunc /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:391
[task 2023-06-24T22:29:59.624Z] 22:29:59 INFO - GECKO(9700) | #12 0x7ff93d33ada7 in _PR_NativeRunThread /builds/worker/checkouts/gecko/nsprpub/pr/src/threads/combined/pruthr.c:399
[task 2023-06-24T22:29:59.624Z] 22:29:59 INFO - GECKO(9700) | #13 0x7ff93d31389c in pr_root /builds/worker/checkouts/gecko/nsprpub/pr/src/md/windows/w95thred.c:139
[task 2023-06-24T22:29:59.624Z] 22:29:59 INFO - GECKO(9700) | #14 0x7ff96b3d9362 in recalloc+0xa2 (C:\Windows\System32\ucrtbase.dll+0x180029362)
[task 2023-06-24T22:29:59.625Z] 22:29:59 INFO - GECKO(9700) | #15 0x7ff93c50b713 in __asan::AsanThread::ThreadStart /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/asan_thread.cpp:277
[task 2023-06-24T22:29:59.625Z] 22:29:59 INFO - GECKO(9700) | #16 0x7ff96d96269c in BaseThreadInitThunk+0x1c (C:\Windows\System32\KERNEL32.DLL+0x18001269c)
[task 2023-06-24T22:29:59.625Z] 22:29:59 INFO - GECKO(9700) | #17 0x7ff94e934543 in patched_BaseThreadInitThunk /builds/worker/checkouts/gecko/toolkit/xre/dllservices/mozglue/WindowsDllBlocklist.cpp:617
[task 2023-06-24T22:29:59.626Z] 22:29:59 INFO - GECKO(9700) | #18 0x7ff96dc2a9f7 in RtlUserThreadStart+0x27 (C:\Windows\SYSTEM32\ntdll.dll+0x18005a9f7)
[task 2023-06-24T22:29:59.626Z] 22:29:59 INFO - GECKO(9700) | AddressSanitizer can not provide additional info.
[task 2023-06-24T22:29:59.626Z] 22:29:59 INFO - GECKO(9700) | SUMMARY: AddressSanitizer: access-violation /builds/worker/checkouts/gecko/js/src/vm/OffThreadPromiseRuntimeState.cpp:97 in js::OffThreadPromiseTask::run
[task 2023-06-24T22:29:59.627Z] 22:29:59 INFO - GECKO(9700) | Thread T29 created by T0 here:
[task 2023-06-24T22:29:59.734Z] 22:29:59 INFO - GECKO(9700) | #0 0x7ff93c50ce72 in __asan_wrap_CreateThread /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/asan_win.cpp:146
[task 2023-06-24T22:29:59.739Z] 22:29:59 INFO - GECKO(9700) | #1 0x7ff96b3d838d in beginthreadex+0x5d (C:\Windows\System32\ucrtbase.dll+0x18002838d)
[task 2023-06-24T22:29:59.740Z] 22:29:59 INFO - GECKO(9700) | #2 0x7ff93d3136d2 in _PR_MD_CREATE_THREAD /builds/worker/checkouts/gecko/nsprpub/pr/src/md/windows/w95thred.c:153
[task 2023-06-24T22:29:59.740Z] 22:29:59 INFO - GECKO(9700) | #3 0x7ff93d33bb1e in _PR_NativeCreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/threads/combined/pruthr.c:1058
[task 2023-06-24T22:29:59.741Z] 22:29:59 INFO - GECKO(9700) | #4 0x7ff93d33c322 in _PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/threads/combined/pruthr.c:1184
[task 2023-06-24T22:29:59.741Z] 22:29:59 INFO - GECKO(9700) | #5 0x7ff93d33220f in PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/threads/combined/pruthr.c:1404
[task 2023-06-24T22:29:59.742Z] 22:29:59 INFO - GECKO(9700) | #6 0x7ff91f9b94ff in nsThread::Init /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:634
[task 2023-06-24T22:29:59.743Z] 22:29:59 INFO - GECKO(9700) | #7 0x7ff92876d4c6 in mozilla::dom::WorkerThread::Create /builds/worker/checkouts/gecko/dom/workers/WorkerThread.cpp:101
[task 2023-06-24T22:29:59.743Z] 22:29:59 INFO - GECKO(9700) | #8 0x7ff9286d6103 in mozilla::dom::workerinternals::RuntimeService::ScheduleWorker /builds/worker/checkouts/gecko/dom/workers/RuntimeService.cpp:1327
[task 2023-06-24T22:29:59.744Z] 22:29:59 INFO - GECKO(9700) | #9 0x7ff9286d400d in mozilla::dom::workerinternals::RuntimeService::RegisterWorker /builds/worker/checkouts/gecko/dom/workers/RuntimeService.cpp:1209
[task 2023-06-24T22:29:59.744Z] 22:29:59 INFO - GECKO(9700) | #10 0x7ff9287302d1 in mozilla::dom::WorkerPrivate::Constructor /builds/worker/checkouts/gecko/dom/workers/WorkerPrivate.cpp:2683
[task 2023-06-24T22:29:59.745Z] 22:29:59 INFO - GECKO(9700) | #11 0x7ff9286f2b45 in mozilla::dom::Worker::Constructor /builds/worker/checkouts/gecko/dom/workers/Worker.cpp:43
[task 2023-06-24T22:29:59.745Z] 22:29:59 INFO - GECKO(9700) | #12 0x7ff924779259 in mozilla::dom::Worker_Binding::_constructor /builds/worker/workspace/obj-build/dom/bindings/WorkerBinding.cpp:1158
[task 2023-06-24T22:29:59.746Z] 22:29:59 INFO - GECKO(9700) | #13 0x7ff92fcd7c8b in InternalConstruct /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:727
[task 2023-06-24T22:29:59.746Z] 22:29:59 INFO - GECKO(9700) | #14 0x7ff92fcf2b1e in js::Interpret /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:3380
[task 2023-06-24T22:29:59.747Z] 22:29:59 INFO - GECKO(9700) | #15 0x7ff92fcd390c in js::RunScript /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:458
[task 2023-06-24T22:29:59.747Z] 22:29:59 INFO - GECKO(9700) | #16 0x7ff92fcd4dd1 in js::InternalCallOrConstruct /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:612
[task 2023-06-24T22:29:59.748Z] 22:29:59 INFO - GECKO(9700) | #17 0x7ff9302ba349 in js::jit::DoCallFallback /builds/worker/checkouts/gecko/js/src/jit/BaselineIC.cpp:1591
[task 2023-06-24T22:29:59.748Z] 22:29:59 INFO - GECKO(9700) | #18 0x85d9d53b92 (<unknown module>)
[task 2023-06-24T22:29:59.748Z] 22:29:59 INFO - GECKO(9700) | ==6580==ABORTING
[task 2023-06-24T22:29:59.812Z] 22:29:59 ERROR - GECKO(9700) | A content process crashed and MOZ_CRASHREPORTER_SHUTDOWN is set, shutting down
[task 2023-06-24T22:30:00.550Z] 22:30:00 INFO - GECKO(9700) | 1687645800560 Marionette TRACE Received observer notification quit-application
[task 2023-06-24T22:30:00.562Z] 22:30:00 INFO - GECKO(9700) | 1687645800561 Marionette INFO Stopped listening on port 2828
[task 2023-06-24T22:30:00.563Z] 22:30:00 INFO - GECKO(9700) | 1687645800564 Marionette DEBUG Marionette stopped listening
[task 2023-06-24T22:30:02.793Z] 22:30:02 INFO - TEST-INFO | Main app process: exit f5
[task 2023-06-24T22:30:02.795Z] 22:30:02 INFO - Buffered messages logged at 22:29:57
[task 2023-06-24T22:30:02.795Z] 22:30:02 INFO - TEST-PASS | dom/promise/tests/test_webassembly_compile.html | WebAssembly object should exist
Updated•3 years ago
|
Group: core-security → javascript-core-security
Comment 1•3 years ago
|
||
Looks like OffThreadPromiseTask::promise_ is null?
Group: javascript-core-security
Updated•3 years ago
|
Component: JavaScript Engine → JavaScript: WebAssembly
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 8•2 years ago
|
||
This looks very rare, setting low severity.
Severity: -- → S3
Priority: -- → P3
Comment 9•2 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit BugBot documentation.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•