Closed Bug 1707037 Opened 5 years ago Closed 5 years ago

Intermittent SUMMARY: ThreadSanitizer: data race /builds/worker/workspace/obj-build/dist/include/mozilla/RefPtr.h:311:36 in operator!

Categories

(Core :: XPCOM, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure, Whiteboard: [domsecurity-intermittent])

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


[task 2021-04-22T09:58:16.560Z] 09:58:16     INFO - TEST-OK | /content-security-policy/navigate-to/href-location-cross-origin-blocked.sub.html | took 2027ms
[task 2021-04-22T09:58:16.561Z] 09:58:16     INFO - TEST-START | /content-security-policy/navigate-to/href-location-redirected-allowed.html
[task 2021-04-22T09:58:16.567Z] 09:58:16     INFO - Closing window 63
[task 2021-04-22T09:58:16.928Z] 09:58:16     INFO - Closing window 12884901891
[task 2021-04-22T09:58:17.760Z] 09:58:17     INFO - PID 1699 | ==================
[..]
[task 2021-04-22T09:58:17.797Z] 09:58:17     INFO - PID 1699 |   Thread T8 'JS Helper' (tid=2193, running) created by main thread at:
[task 2021-04-22T09:58:17.797Z] 09:58:17     INFO - PID 1699 |     #0 pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:966:3 (firefox+0x5667b)
[task 2021-04-22T09:58:17.798Z] 09:58:17     INFO - PID 1699 |     #1 js::Thread::create(void* (*)(void*), void*) /builds/worker/checkouts/gecko/js/src/threading/posix/PosixThread.cpp:57:7 (libxul.so+0x6a46b61)
[task 2021-04-22T09:58:17.799Z] 09:58:17     INFO - PID 1699 |     #2 bool js::Thread::init<void (&)(void*), js::HelperThread*>(void (&)(void*), js::HelperThread*&&) /builds/worker/checkouts/gecko/js/src/threading/Thread.h:89:12 (libxul.so+0x6b51ef2)
[task 2021-04-22T09:58:17.799Z] 09:58:17     INFO - PID 1699 |     #3 init /builds/worker/checkouts/gecko/js/src/vm/HelperThreads.cpp:2383:17 (libxul.so+0x6b4d9ec)
[task 2021-04-22T09:58:17.800Z] 09:58:17     INFO - PID 1699 |     #4 js::GlobalHelperThreadState::ensureThreadCount(unsigned long) /builds/worker/checkouts/gecko/js/src/vm/HelperThreads.cpp:1344:29 (libxul.so+0x6b4d9ec)
[task 2021-04-22T09:58:17.800Z] 09:58:17     INFO - PID 1699 |     #5 ensureInitialized /builds/worker/checkouts/gecko/js/src/vm/HelperThreads.cpp:1307:10 (libxul.so+0x6b47946)
[task 2021-04-22T09:58:17.801Z] 09:58:17     INFO - PID 1699 |     #6 js::EnsureHelperThreadsInitialized() /builds/worker/checkouts/gecko/js/src/vm/HelperThreads.cpp:104:30 (libxul.so+0x6b47946)
[task 2021-04-22T09:58:17.802Z] 09:58:17     INFO - PID 1699 |     #7 JSRuntime::init(JSContext*, unsigned int) /builds/worker/checkouts/gecko/js/src/vm/Runtime.cpp:205:32 (libxul.so+0x6c36d02)
[task 2021-04-22T09:58:17.802Z] 09:58:17     INFO - PID 1699 |     #8 js::NewContext(unsigned int, JSRuntime*) /builds/worker/checkouts/gecko/js/src/vm/JSContext.cpp:185:17 (libxul.so+0x6b94961)
[task 2021-04-22T09:58:17.803Z] 09:58:17     INFO - PID 1699 |     #9 JS_NewContext(unsigned int, JSRuntime*) /builds/worker/checkouts/gecko/js/src/jsapi.cpp:402:10 (libxul.so+0x6e04254)
[task 2021-04-22T09:58:17.804Z] 09:58:17     INFO - PID 1699 |     #10 mozilla::CycleCollectedJSContext::Initialize(JSRuntime*, unsigned int) /builds/worker/checkouts/gecko/xpcom/base/CycleCollectedJSContext.cpp:128:16 (libxul.so+0xacc5ae)
[task 2021-04-22T09:58:17.804Z] 09:58:17     INFO - PID 1699 |     #11 XPCJSContext::Initialize() /builds/worker/checkouts/gecko/js/xpconnect/src/XPCJSContext.cpp:1178:32 (libxul.so+0x1a5f1e3)
[task 2021-04-22T09:58:17.805Z] 09:58:17     INFO - PID 1699 |     #12 XPCJSContext::NewXPCJSContext() /builds/worker/checkouts/gecko/js/xpconnect/src/XPCJSContext.cpp:1380:23 (libxul.so+0x1a5ffd7)
[task 2021-04-22T09:58:17.806Z] 09:58:17     INFO - PID 1699 |     #13 InitJSContext /builds/worker/checkouts/gecko/js/xpconnect/src/nsXPConnect.cpp:84:25 (libxul.so+0x1a9c643)
[task 2021-04-22T09:58:17.807Z] 09:58:17     INFO - PID 1699 |     #14 xpc::InitializeJSContext() /builds/worker/checkouts/gecko/js/xpconnect/src/nsXPConnect.cpp:99:35 (libxul.so+0x1a9c643)
[task 2021-04-22T09:58:17.807Z] 09:58:17     INFO - PID 1699 |     #15 NS_InitXPCOM /builds/worker/checkouts/gecko/xpcom/build/XPCOMInit.cpp:489:5 (libxul.so+0xc15912)
[task 2021-04-22T09:58:17.808Z] 09:58:17     INFO - PID 1699 |     #16 XRE_InitEmbedding2(nsIFile*, nsIFile*, nsIDirectoryServiceProvider*) /builds/worker/checkouts/gecko/toolkit/xre/nsEmbedFunctions.cpp:188:8 (libxul.so+0x68250b7)
[task 2021-04-22T09:58:17.808Z] 09:58:17     INFO - PID 1699 |     #17 mozilla::ipc::ScopedXREEmbed::Start() /builds/worker/checkouts/gecko/ipc/glue/ScopedXREEmbed.cpp (libxul.so+0x14f3214)
[task 2021-04-22T09:58:17.809Z] 09:58:17     INFO - PID 1699 |     #18 mozilla::dom::ContentProcess::Init(int, char**) /builds/worker/checkouts/gecko/dom/ipc/ContentProcess.cpp:183:13 (libxul.so+0x46dbea6)
[task 2021-04-22T09:58:17.809Z] 09:58:17     INFO - PID 1699 |     #19 XRE_InitChildProcess(int, char**, XREChildData const*) /builds/worker/checkouts/gecko/toolkit/xre/nsEmbedFunctions.cpp:704:21 (libxul.so+0x6825814)
[task 2021-04-22T09:58:17.810Z] 09:58:17     INFO - PID 1699 |     #20 mozilla::BootstrapImpl::XRE_InitChildProcess(int, char**, XREChildData const*) /builds/worker/checkouts/gecko/toolkit/xre/Bootstrap.cpp:67:12 (libxul.so+0x682d852)
[task 2021-04-22T09:58:17.811Z] 09:58:17     INFO - PID 1699 |     #21 content_process_main /builds/worker/checkouts/gecko/browser/app/../../ipc/contentproc/plugin-container.cpp:57:28 (firefox+0xc78f1)
[task 2021-04-22T09:58:17.812Z] 09:58:17     INFO - PID 1699 |     #22 main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:309:18 (firefox+0xc78f1)
[task 2021-04-22T09:58:17.813Z] 09:58:17     INFO - PID 1699 | SUMMARY: ThreadSanitizer: data race /builds/worker/workspace/obj-build/dist/include/mozilla/RefPtr.h:311:36 in operator!
[task 2021-04-22T09:58:17.813Z] 09:58:17     INFO - PID 1699 | ==================
[task 2021-04-22T09:58:18.677Z] 09:58:18     INFO - PID 1699 | 1619085498652	Marionette	WARN	Ignoring event 'DOMContentLoaded' because document has an invalid readyState of 'complete'.
[task 2021-04-22T09:58:18.952Z] 09:58:18     INFO - .
[task 2021-04-22T09:58:18.952Z] 09:58:18     INFO - TEST-OK | /content-security-policy/navigate-to/href-location-redirected-allowed.html | took 2390ms```
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.