Closed Bug 1649436 Opened 4 years ago Closed 4 years ago

Intermittent SUMMARY: ThreadSanitizer: data race /builds/worker/checkouts/gecko/js/src/gc/Cell.h:577:55 in headerFlagsField

Categories

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

defect

Tracking

()

RESOLVED INCOMPLETE

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=308014400&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/TwqhGO4DRGOmzEajs2fXEw/runs/0/artifacts/public/logs/live_backing.log


[task 2020-06-30T12:43:47.764Z] 12:43:47 INFO - GECKO(2280) | Thread T13 'JS Helper' (tid=2300, running) created by main thread at:
[task 2020-06-30T12:43:47.764Z] 12:43:47 INFO - GECKO(2280) | #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:43:47.765Z] 12:43:47 INFO - GECKO(2280) | #1 js::Thread::create(void* ()(void), void*) /builds/worker/checkouts/gecko/js/src/threading/posix/PosixThread.cpp:52:7 (libxul.so+0x6718261)
[task 2020-06-30T12:43:47.765Z] 12:43:47 INFO - GECKO(2280) | #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+0x67afc62)
[task 2020-06-30T12:43:47.765Z] 12:43:47 INFO - GECKO(2280) | #3 js::GlobalHelperThreadState::ensureInitialized() /builds/worker/checkouts/gecko/js/src/vm/HelperThreads.cpp:1109:27 (libxul.so+0x67aad7a)
[task 2020-06-30T12:43:47.766Z] 12:43:47 INFO - GECKO(2280) | #4 js::EnsureHelperThreadsInitialized() /builds/worker/checkouts/gecko/js/src/vm/HelperThreads.cpp:94:30 (libxul.so+0x67aa9c2)
[task 2020-06-30T12:43:47.766Z] 12:43:47 INFO - GECKO(2280) | #5 JSRuntime::init(JSContext*, unsigned int) /builds/worker/checkouts/gecko/js/src/vm/Runtime.cpp:200:32 (libxul.so+0x6915f42)
[task 2020-06-30T12:43:47.766Z] 12:43:47 INFO - GECKO(2280) | #6 js::NewContext(unsigned int, JSRuntime*) /builds/worker/checkouts/gecko/js/src/vm/JSContext.cpp:182:17 (libxul.so+0x684e2bf)
[task 2020-06-30T12:43:47.767Z] 12:43:47 INFO - GECKO(2280) | #7 JS_NewContext(unsigned int, JSRuntime*) /builds/worker/checkouts/gecko/js/src/jsapi.cpp:394:10 (libxul.so+0x66a6ba4)
[task 2020-06-30T12:43:47.767Z] 12:43:47 INFO - GECKO(2280) | #8 mozilla::CycleCollectedJSContext::Initialize(JSRuntime*, unsigned int) /builds/worker/checkouts/gecko/xpcom/base/CycleCollectedJSContext.cpp:123:16 (libxul.so+0xa1c1fb)
[task 2020-06-30T12:43:47.767Z] 12:43:47 INFO - GECKO(2280) | #9 XPCJSContext::Initialize() /builds/worker/checkouts/gecko/js/xpconnect/src/XPCJSContext.cpp:1136:32 (libxul.so+0x194ddfa)
[task 2020-06-30T12:43:47.767Z] 12:43:47 INFO - GECKO(2280) | #10 XPCJSContext::NewXPCJSContext() /builds/worker/checkouts/gecko/js/xpconnect/src/XPCJSContext.cpp:1332:23 (libxul.so+0x194e9d7)
[task 2020-06-30T12:43:47.767Z] 12:43:47 INFO - GECKO(2280) | #11 InitJSContext /builds/worker/checkouts/gecko/js/xpconnect/src/nsXPConnect.cpp:80:25 (libxul.so+0x19895d3)
[task 2020-06-30T12:43:47.769Z] 12:43:47 INFO - GECKO(2280) | #12 xpc::InitializeJSContext() /builds/worker/checkouts/gecko/js/xpconnect/src/nsXPConnect.cpp:95:35 (libxul.so+0x19895d3)
[task 2020-06-30T12:43:47.769Z] 12:43:47 INFO - GECKO(2280) | #13 XREMain::XRE_mainRun() /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:4488:5 (libxul.so+0x64c3faf)
[task 2020-06-30T12:43:47.769Z] 12:43:47 INFO - GECKO(2280) | #14 XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:4865:8 (libxul.so+0x64c524f)
[task 2020-06-30T12:43:47.769Z] 12:43:47 INFO - GECKO(2280) | #15 XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:4919:21 (libxul.so+0x64c55b4)
[task 2020-06-30T12:43:47.769Z] 12:43:47 INFO - GECKO(2280) | #16 mozilla::BootstrapImpl::XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/Bootstrap.cpp:45:12 (libxul.so+0x64d01d2)
[task 2020-06-30T12:43:47.769Z] 12:43:47 INFO - GECKO(2280) | #17 do_main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:217:22 (firefox+0xca443)
[task 2020-06-30T12:43:47.769Z] 12:43:47 INFO - GECKO(2280) | #18 main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:331:16 (firefox+0xca443)
[task 2020-06-30T12:43:47.769Z] 12:43:47 INFO - GECKO(2280) | SUMMARY: ThreadSanitizer: data race /builds/worker/checkouts/gecko/js/src/gc/Cell.h:577:55 in headerFlagsField
[task 2020-06-30T12:43:47.769Z] 12:43:47 INFO - GECKO(2280) | ==================
[task 2020-06-30T12:46:43.640Z] 12:46:43 INFO - runtests.py | Waiting for browser...
[task 2020-06-30T12:46:43.641Z] 12:46:43 INFO - TEST-INFO | Main app process: killed by SIGIOT
[task 2020-06-30T12:46:43.641Z] 12:46:43 INFO - Buffered messages finished
[task 2020-06-30T12:46:43.641Z] 12:46:43 ERROR - TEST-UNEXPECTED-FAIL | automation.py | application terminated with exit code -6

This is likely a dupe of one of our existing TSAN bugs that's appeared because bug 1645710 has changed the method names around accessing the cell header field.

Blocks: tsan
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.