Closed Bug 1649430 Opened 4 years ago Closed 4 years ago

Intermittent SUMMARY: ThreadSanitizer: data race /builds/worker/checkouts/gecko/js/src/gc/Cell.h:739:19 in unsafeSetHeaderPtr

Categories

(Core :: JavaScript: GC, defect, P5)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1645710

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: intermittent-failure)

Filed by: nbeleuzu [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=308009793&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/CRkRapHVSo-2EyGoFuev0Q/runs/0/artifacts/public/logs/live_backing.log


[task 2020-06-30T12:08:58.447Z] 12:08:58 INFO - GECKO(3588) | #0 pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:967:3 (firefox+0x584eb)
[task 2020-06-30T12:08:58.447Z] 12:08:58 INFO - GECKO(3588) | #1 js::Thread::create(void* ()(void), void*) /builds/worker/checkouts/gecko/js/src/threading/posix/PosixThread.cpp:52:7 (libxul.so+0x6718341)
[task 2020-06-30T12:08:58.447Z] 12:08:58 INFO - GECKO(3588) | #2 bool js::Thread::init<void (&)(void*), js::HelperThread*>(void (&)(void*), js::HelperThread*&&) /builds/worker/checkouts/gecko/js/src/threading/Thread.h:90:12 (libxul.so+0x67afd42)
[task 2020-06-30T12:08:58.449Z] 12:08:58 INFO - GECKO(3588) | #3 js::GlobalHelperThreadState::ensureInitialized() /builds/worker/checkouts/gecko/js/src/vm/HelperThreads.cpp:1109:27 (libxul.so+0x67aae5a)
[task 2020-06-30T12:08:58.449Z] 12:08:58 INFO - GECKO(3588) | #4 js::EnsureHelperThreadsInitialized() /builds/worker/checkouts/gecko/js/src/vm/HelperThreads.cpp:94:30 (libxul.so+0x67aaaa2)
[task 2020-06-30T12:08:58.450Z] 12:08:58 INFO - GECKO(3588) | #5 JSRuntime::init(JSContext*, unsigned int) /builds/worker/checkouts/gecko/js/src/vm/Runtime.cpp:200:32 (libxul.so+0x6916022)
[task 2020-06-30T12:08:58.450Z] 12:08:58 INFO - GECKO(3588) | #6 js::NewContext(unsigned int, JSRuntime*) /builds/worker/checkouts/gecko/js/src/vm/JSContext.cpp:182:17 (libxul.so+0x684e39f)
[task 2020-06-30T12:08:58.451Z] 12:08:58 INFO - GECKO(3588) | #7 JS_NewContext(unsigned int, JSRuntime*) /builds/worker/checkouts/gecko/js/src/jsapi.cpp:394:10 (libxul.so+0x66a6c84)
[task 2020-06-30T12:08:58.451Z] 12:08:58 INFO - GECKO(3588) | #8 mozilla::CycleCollectedJSContext::Initialize(JSRuntime*, unsigned int) /builds/worker/checkouts/gecko/xpcom/base/CycleCollectedJSContext.cpp:123:16 (libxul.so+0xa1c1fb)
[task 2020-06-30T12:08:58.451Z] 12:08:58 INFO - GECKO(3588) | #9 XPCJSContext::Initialize() /builds/worker/checkouts/gecko/js/xpconnect/src/XPCJSContext.cpp:1136:32 (libxul.so+0x194da6a)
[task 2020-06-30T12:08:58.452Z] 12:08:58 INFO - GECKO(3588) | #10 XPCJSContext::NewXPCJSContext() /builds/worker/checkouts/gecko/js/xpconnect/src/XPCJSContext.cpp:1332:23 (libxul.so+0x194e647)
[task 2020-06-30T12:08:58.454Z] 12:08:58 INFO - GECKO(3588) | #11 InitJSContext /builds/worker/checkouts/gecko/js/xpconnect/src/nsXPConnect.cpp:80:25 (libxul.so+0x1989243)
[task 2020-06-30T12:08:58.455Z] 12:08:58 INFO - GECKO(3588) | #12 xpc::InitializeJSContext() /builds/worker/checkouts/gecko/js/xpconnect/src/nsXPConnect.cpp:95:35 (libxul.so+0x1989243)
[task 2020-06-30T12:08:58.455Z] 12:08:58 INFO - GECKO(3588) | #13 XREMain::XRE_mainRun() /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:4488:5 (libxul.so+0x64c408f)
[task 2020-06-30T12:08:58.456Z] 12:08:58 INFO - GECKO(3588) | #14 XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:4865:8 (libxul.so+0x64c532f)
[task 2020-06-30T12:08:58.457Z] 12:08:58 INFO - GECKO(3588) | #15 XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:4919:21 (libxul.so+0x64c5694)
[task 2020-06-30T12:08:58.458Z] 12:08:58 INFO - GECKO(3588) | #16 mozilla::BootstrapImpl::XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/Bootstrap.cpp:45:12 (libxul.so+0x64d02b2)
[task 2020-06-30T12:08:58.458Z] 12:08:58 INFO - GECKO(3588) | #17 do_main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:217:22 (firefox+0xca443)
[task 2020-06-30T12:08:58.459Z] 12:08:58 INFO - GECKO(3588) | #18 main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:331:16 (firefox+0xca443)
[task 2020-06-30T12:08:58.459Z] 12:08:58 INFO - GECKO(3588) | SUMMARY: ThreadSanitizer: data race /builds/worker/checkouts/gecko/js/src/gc/Cell.h:739:19 in unsafeSetHeaderPtr
[task 2020-06-30T12:08:58.459Z] 12:08:58 INFO - GECKO(3588) | ==================
[task 2020-06-30T12:08:58.467Z] 12:08:58 INFO - GECKO(3588) | Exiting due to channel error.
[task 2020-06-30T12:08:58.467Z] 12:08:58 INFO - GECKO(3588) | Exiting due to channel error.
[task 2020-06-30T12:08:58.468Z] 12:08:58 INFO - GECKO(3588) | Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Receive IPC close with reason=AbnormalShutdown (t=11.1728) Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Receive IPC close with reason=AbnormalShutdown (t=7.40472) Exiting due to channel error.
[task 2020-06-30T12:08:58.468Z] 12:08:58 INFO - GECKO(3588) | Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Receive IPC close with reason=AbnormalShutdown (t=14.0604) Exiting due to channel error.
[task 2020-06-30T12:08:59.570Z] 12:08:59 INFO - GECKO(3588) | Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Receive IPC close with reason=AbnormalShutdown (t=18.9658)
[task 2020-06-30T12:08:59.587Z] 12:08:59 INFO - TEST-INFO | Main app process: killed by SIGIOT
[task 2020-06-30T12:08:59.587Z] 12:08:59 INFO - Buffered messages finished
[task 2020-06-30T12:08:59.588Z] 12:08:59 ERROR - TEST-UNEXPECTED-FAIL | automation.py | application terminated with exit code -6
[task 2020-06-30T12:08:59.589Z] 12:08:59 INFO - runtests.py | Application ran for: 0:00:26.661934

No failure in the last day - did anything land to fix it?

Flags: needinfo?(jcoppeard)

Yes, bug 1645710 fixed this.

Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(jcoppeard)
Resolution: --- → DUPLICATE
Blocks: tsan
You need to log in before you can comment on or make changes to this bug.