Closed Bug 1646052 Opened 5 years ago Closed 5 years ago

Intermittent SUMMARY: ThreadSanitizer: data race /builds/worker/workspace/obj-build/dist/include/mozilla/StaticPtr.h:171:13 in AssignAssumingAddRef

Categories

(Core :: DOM: File, defect, P5)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1633880

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: intermittent-failure)

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


[task 2020-06-16T13:05:52.961Z] 13:05:52 INFO - TEST-START | js/xpconnect/tests/unit/test_file.js
[task 2020-06-16T13:05:54.256Z] 13:05:54 WARNING - TEST-UNEXPECTED-FAIL | js/xpconnect/tests/unit/test_file.js | xpcshell return code: -6
[task 2020-06-16T13:05:54.257Z] 13:05:54 INFO - TEST-INFO took 1292ms
[task 2020-06-16T13:05:54.258Z] 13:05:54 INFO - >>>>>>>
[task 2020-06-16T13:05:54.259Z] 13:05:54 INFO - (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2020-06-16T13:05:54.260Z] 13:05:54 INFO - (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2020-06-16T13:05:54.264Z] 13:05:54 INFO - (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2020-06-16T13:05:54.267Z] 13:05:54 INFO - running event loop
[task 2020-06-16T13:05:54.268Z] 13:05:54 INFO - "CONSOLE_MESSAGE: (info) No chrome package registered for chrome://branding/locale/brand.properties"
[task 2020-06-16T13:05:54.268Z] 13:05:54 INFO - js/xpconnect/tests/unit/test_file.js | Starting
[task 2020-06-16T13:05:54.269Z] 13:05:54 INFO - (xpcshell/head.js) | test pending (2)
[task 2020-06-16T13:05:54.270Z] 13:05:54 INFO - TEST-PASS | js/xpconnect/tests/unit/test_file.js | - true == true
[task 2020-06-16T13:05:54.271Z] 13:05:54 INFO - TEST-PASS | js/xpconnect/tests/unit/test_file.js | - true == true
[task 2020-06-16T13:05:54.272Z] 13:05:54 INFO - TEST-PASS | js/xpconnect/tests/unit/test_file.js | - true == true
[task 2020-06-16T13:05:54.272Z] 13:05:54 INFO - TEST-PASS | js/xpconnect/tests/unit/test_file.js | - true == true
[task 2020-06-16T13:05:54.273Z] 13:05:54 INFO - TEST-PASS | js/xpconnect/tests/unit/test_file.js | - true == true
[task 2020-06-16T13:05:54.274Z] 13:05:54 INFO - (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2020-06-16T13:05:54.275Z] 13:05:54 INFO - (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2020-06-16T13:05:54.276Z] 13:05:54 INFO - (xpcshell/head.js) | test finished (2)
[task 2020-06-16T13:05:54.276Z] 13:05:54 INFO - (xpcshell/head.js) | test run_next_test 1 finished (1)
[task 2020-06-16T13:05:54.277Z] 13:05:54 INFO - exiting test
[task 2020-06-16T13:05:54.278Z] 13:05:54 INFO - TEST-PASS | js/xpconnect/tests/unit/test_file.js | - true == true
[task 2020-06-16T13:05:54.279Z] 13:05:54 INFO - (xpcshell/head.js) | test run_next_test 1 pending (1)
[task 2020-06-16T13:05:54.280Z] 13:05:54 INFO - (xpcshell/head.js) | test finished (1)
[task 2020-06-16T13:05:54.280Z] 13:05:54 INFO - exiting test
[task 2020-06-16T13:05:54.287Z] 13:05:54 INFO - (xpcshell/head.js) | test run_next_test 1 finished (0)
[task 2020-06-16T13:05:54.287Z] 13:05:54 INFO - PID 13198 | ==================
[task 2020-06-16T13:05:54.287Z] 13:05:54 INFO - PID 13198 | WARNING: ThreadSanitizer: data race (pid=13198)
[task 2020-06-16T13:05:54.288Z] 13:05:54 INFO - PID 13198 | Write of size 8 at 0x7f370fd6b9c8 by main thread:
[task 2020-06-16T13:05:54.288Z] 13:05:54 INFO - PID 13198 | #0 AssignAssumingAddRef /builds/worker/workspace/obj-build/dist/include/mozilla/StaticPtr.h:171:13 (libxul.so+0x39a16a2)
[task 2020-06-16T13:05:54.288Z] 13:05:54 INFO - PID 13198 | #1 AssignWithAddref /builds/worker/workspace/obj-build/dist/include/mozilla/StaticPtr.h:166:5 (libxul.so+0x39a16a2)
[task 2020-06-16T13:05:54.289Z] 13:05:54 INFO - PID 13198 | #2 operator= /builds/worker/workspace/obj-build/dist/include/mozilla/StaticPtr.h:120:5 (libxul.so+0x39a16a2)
[task 2020-06-16T13:05:54.289Z] 13:05:54 INFO - PID 13198 | #3 mozilla::dom::IPCBlobInputStreamStorage::Observe(nsISupports*, char const*, char16_t const*) /builds/worker/checkouts/gecko/dom/file/ipc/IPCBlobInputStreamStorage.cpp:60:14 (libxul.so+0x39a16a2)
[task 2020-06-16T13:05:54.290Z] 13:05:54 INFO - PID 13198 | #4 nsObserverList::NotifyObservers(nsISupports*, char const*, char16_t const*) /builds/worker/checkouts/gecko/xpcom/ds/nsObserverList.cpp:65:19 (libxul.so+0xa7d213)
[task 2020-06-16T13:05:54.290Z] 13:05:54 INFO - PID 13198 | #5 nsObserverService::NotifyObservers(nsISupports*, char const*, char16_t const*) /builds/worker/checkouts/gecko/xpcom/ds/nsObserverService.cpp:288:19 (libxul.so+0xa800dc)
[task 2020-06-16T13:05:54.291Z] 13:05:54 INFO - PID 13198 | #6 mozilla::ShutdownXPCOM(nsIServiceManager*) /builds/worker/checkouts/gecko/xpcom/build/XPCOMInit.cpp:621:26 (libxul.so+0xb4c082)
[task 2020-06-16T13:05:54.292Z] 13:05:54 INFO - PID 13198 | #7 NS_ShutdownXPCOM /builds/worker/checkouts/gecko/xpcom/build/XPCOMInit.cpp:568:10 (libxul.so+0xb4bf45)
[task 2020-06-16T13:05:54.293Z] 13:05:54 INFO - PID 13198 | #8 XRE_XPCShellMain(int, char**, char**, XREShellData const*) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCShellImpl.cpp:1377:8 (libxul.so+0x1959c35)
[task 2020-06-16T13:05:54.297Z] 13:05:54 INFO - PID 13198 | #9 mozilla::BootstrapImpl::XRE_XPCShellMain(int, char**, char**, XREShellData const*) /builds/worker/checkouts/gecko/toolkit/xre/Bootstrap.cpp:54:12 (libxul.so+0x6489e5b)
[task 2020-06-16T13:05:54.298Z] 13:05:54 INFO - PID 13198 | #10 main /builds/worker/checkouts/gecko/js/xpconnect/shell/xpcshell.cpp:66:27 (xpcshell+0xc9bd6)
[task 2020-06-16T13:05:54.298Z] 13:05:54 INFO - PID 13198 | Previous read of size 8 at 0x7f370fd6b9c8 by thread T9:
[task 2020-06-16T13:05:54.300Z] 13:05:54 INFO - PID 13198 | #0 get /builds/worker/workspace/obj-build/dist/include/mozilla/StaticPtr.h:150:27 (libxul.so+0x39a0ff9)
[task 2020-06-16T13:05:54.300Z] 13:05:54 INFO - PID 13198 | #1 operator mozilla::dom::IPCBlobInputStreamStorage * /builds/worker/workspace/obj-build/dist/include/mozilla/StaticPtr.h:152:32 (libxul.so+0x39a0ff9)
[task 2020-06-16T13:05:54.302Z] 13:05:54 INFO - PID 13198 | #2 Get /builds/worker/checkouts/gecko/dom/file/ipc/IPCBlobInputStreamStorage.cpp:35:70 (libxul.so+0x39a0ff9)
[task 2020-06-16T13:05:54.302Z] 13:05:54 INFO - PID 13198 | #3 mozilla::dom::IPCBlobInputStreamParent::HasValidStream() const /builds/worker/checkouts/gecko/dom/file/ipc/IPCBlobInputStreamParent.cpp:194:10 (libxul.so+0x39a0ff9)
[task 2020-06-16T13:05:54.303Z] 13:05:54 INFO - PID 13198 | #4 mozilla::ipc::BackgroundParentImpl::RecvPIPCBlobInputStreamConstructor(mozilla::dom::PIPCBlobInputStreamParent*, nsID const&, unsigned long const&) /builds/worker/checkouts/gecko/ipc/glue/BackgroundParentImpl.cpp:641:61 (libxul.so+0x13a18db)
[task 2020-06-16T13:05:54.305Z] 13:05:54 INFO - PID 13198 | #5 mozilla::ipc::PBackgroundParent::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PBackgroundParent.cpp:6161:28 (libxul.so+0x185435d)
[task 2020-06-16T13:05:54.306Z] 13:05:54 INFO - PID 13198 | #6 mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:2166:25 (libxul.so+0x13e4cc6)
[task 2020-06-16T13:05:54.307Z] 13:05:54 INFO - PID 13198 | #7 mozilla::ipc::MessageChannel::DispatchMessage(IPC::Message&&) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:2090:9 (libxul.so+0x13e3154)
[task 2020-06-16T13:05:54.315Z] 13:05:54 INFO - PID 13198 | #8 mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::MessageChannel::MessageTask&) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1938:3 (libxul.so+0x13e3d21)
[task 2020-06-16T13:05:54.316Z] 13:05:54 INFO - PID 13198 | #9 mozilla::ipc::MessageChannel::MessageTask::Run() /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1969:13 (libxul.so+0x13e4259)
[task 2020-06-16T13:05:54.317Z] 13:05:54 INFO - PID 13198 | #10 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1234:14 (libxul.so+0xb16572)
[task 2020-06-16T13:05:54.318Z] 13:05:54 INFO - PID 13198 | #11 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:501:10 (libxul.so+0xb1b862)
[task 2020-06-16T13:05:54.319Z] 13:05:54 INFO - PID 13198 | #12 mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:332:5 (libxul.so+0x13e9158)
[task 2020-06-16T13:05:54.320Z] 13:05:54 INFO - PID 13198 | #13 RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:315:10 (libxul.so+0x13744cc)
[task 2020-06-16T13:05:54.320Z] 13:05:54 INFO - PID 13198 | #14 RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:308:3 (libxul.so+0x13744cc)
[task 2020-06-16T13:05:54.321Z] 13:05:54 INFO - PID 13198 | #15 MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:290:3 (libxul.so+0x13744cc)
[task 2020-06-16T13:05:54.322Z] 13:05:54 INFO - PID 13198 | #16 nsThread::ThreadFunc(void*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:447:10 (libxul.so+0xb125c5)
[task 2020-06-16T13:05:54.324Z] 13:05:54 INFO - PID 13198 | #17 _pt_root /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:201:5 (libnspr4.so+0x44daf)
[task 2020-06-16T13:05:54.325Z] 13:05:54 INFO - PID 13198 | Location is global 'mozilla::dom::(anonymous namespace)::gStorage' of size 8 at 0x7f370fd6b9c8 (libxul.so+0x00000b32b9c8)
[task 2020-06-16T13:05:54.326Z] 13:05:54 INFO - PID 13198 | Thread T9 'IPDL Background' (tid=13208, running) created by main thread at:
[task 2020-06-16T13:05:54.327Z] 13:05:54 INFO - PID 13198 | #0 pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:967:3 (xpcshell+0x5847b)
[task 2020-06-16T13:05:54.328Z] 13:05:54 INFO - PID 13198 | #1 _PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:458:14 (libnspr4.so+0x3bfb3)
[task 2020-06-16T13:05:54.329Z] 13:05:54 INFO - PID 13198 | #2 PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:533:12 (libnspr4.so+0x308e2)
[task 2020-06-16T13:05:54.330Z] 13:05:54 INFO - PID 13198 | #3 nsThread::Init(nsTSubstring<char> const&) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:659:8 (libxul.so+0xb13b8e)
[task 2020-06-16T13:05:54.331Z] 13:05:54 INFO - PID 13198 | #4 nsThreadManager::NewNamedThread(nsTSubstring<char> const&, unsigned int, nsIThread**) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadManager.cpp:623:12 (libxul.so+0xb1af5a)
[task 2020-06-16T13:05:54.332Z] 13:05:54 INFO - PID 13198 | #5 NS_NewNamedThread(nsTSubstring<char> const&, nsIThread**, already_AddRefed<nsIRunnable>, unsigned int) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:157:57 (libxul.so+0xb213b8)
[task 2020-06-16T13:05:54.333Z] 13:05:54 INFO - PID 13198 | #6 NS_NewNamedThread<16> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:71:10 (libxul.so+0x13bbea1)
[task 2020-06-16T13:05:54.333Z] 13:05:54 INFO - PID 13198 | #7 (anonymous namespace)::ParentImpl::CreateBackgroundThread() /builds/worker/checkouts/gecko/ipc/glue/BackgroundImpl.cpp:1233:7 (libxul.so+0x13bbea1)
[task 2020-06-16T13:05:54.334Z] 13:05:54 INFO - PID 13198 | #8 CreateActorForSameProcess /builds/worker/checkouts/gecko/ipc/glue/BackgroundImpl.cpp:1143:32 (libxul.so+0x13bcd3c)
[task 2020-06-16T13:05:54.335Z] 13:05:54 INFO - PID 13198 | #9 ParentContentActorCreateFunc((anonymous namespace)::ChildImpl::ThreadLocalInfo*, unsigned int, nsIEventTarget*, (anonymous namespace)::ChildImpl**) /builds/worker/checkouts/gecko/ipc/glue/BackgroundImpl.cpp:761:9 (libxul.so+0x13bcd3c)
[task 2020-06-16T13:05:54.336Z] 13:05:54 INFO - PID 13198 | #10 (anonymous namespace)::ChildImpl::ThreadInfoWrapper::GetOrCreateForCurrentThread(nsIEventTarget*) /builds/worker/checkouts/gecko/ipc/glue/BackgroundImpl.cpp:410:7 (libxul.so+0x13c49bd)
[task 2020-06-16T13:05:54.337Z] 13:05:54 INFO - PID 13198 | #11 GetOrCreateForCurrentThread /builds/worker/checkouts/gecko/ipc/glue/BackgroundImpl.cpp:1566:45 (libxul.so+0x13a496c)
[task 2020-06-16T13:05:54.338Z] 13:05:54 INFO - PID 13198 | #12 mozilla::ipc::BackgroundChild::GetOrCreateForCurrentThread(nsIEventTarget*) /builds/worker/checkouts/gecko/ipc/glue/BackgroundImpl.cpp:701:10 (libxul.so+0x13a496c)
[task 2020-06-16T13:05:54.339Z] 13:05:54 INFO - PID 13198 | #13 mozilla::dom::FileCreatorHelper::CreateFile(nsIGlobalObject*, nsIFile*, mozilla::dom::ChromeFilePropertyBag const&, bool, mozilla::ErrorResult&) /builds/worker/checkouts/gecko/dom/file/FileCreatorHelper.cpp:49:7 (libxul.so+0x3984b3e)
[task 2020-06-16T13:05:54.340Z] 13:05:54 INFO - PID 13198 | #14 mozilla::dom::File::CreateFromFileName(mozilla::dom::GlobalObject const&, nsTSubstring<char16_t> const&, mozilla::dom::ChromeFilePropertyBag const&, mozilla::dom::SystemCallerGuarantee, mozilla::ErrorResult&) /builds/worker/checkouts/gecko/dom/file/File.cpp:202:7 (libxul.so+0x3984cf6)
[task 2020-06-16T13:05:54.341Z] 13:05:54 INFO - PID 13198 | #15 mozilla::dom::File_Binding::createFromFileName(JSContext*, unsigned int, JS::Value*) /builds/worker/workspace/obj-build/dom/bindings/FileBinding.cpp:519:39 (libxul.so+0x32e164e)
[task 2020-06-16T13:05:54.342Z] 13:05:54 INFO - PID 13198 | #16 mozilla::dom::StaticMethodPromiseWrapper(JSContext*, unsigned int, JS::Value*) /builds/worker/checkouts/gecko/dom/bindings/BindingUtils.cpp:3258:13 (libxul.so+0x34ffeab)
[task 2020-06-16T13:05:54.343Z] 13:05:54 INFO - PID 13198 | #17 CallJSNative /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:486:13 (libxul.so+0x65af7f9)
[task 2020-06-16T13:05:54.344Z] 13:05:54 INFO - PID 13198 | #18 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:578:12 (libxul.so+0x65af7f9)
[task 2020-06-16T13:05:54.345Z] 13:05:54 INFO - PID 13198 | #19 InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:641:10 (libxul.so+0x65a472b)
[task 2020-06-16T13:05:54.346Z] 13:05:54 INFO - PID 13198 | #20 CallFromStack /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:645:10 (libxul.so+0x65a472b)
[task 2020-06-16T13:05:54.347Z] 13:05:54 INFO - PID 13198 | #21 Interpret(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:3300:16 (libxul.so+0x65a472b)
[task 2020-06-16T13:05:54.348Z] 13:05:54 INFO - PID 13198 | #22 js::RunScript(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:458:10 (libxul.so+0x65971cf)
[task 2020-06-16T13:05:54.349Z] 13:05:54 INFO - PID 13198 | #23 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:613:13 (libxul.so+0x65b01a6)
[task 2020-06-16T13:05:54.350Z] 13:05:54 INFO - PID 13198 | #24 InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:641:10 (libxul.so+0x65b0c5b)
[task 2020-06-16T13:05:54.351Z] 13:05:54 INFO - PID 13198 | #25 js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:658:8 (libxul.so+0x65b0c5b)
[task 2020-06-16T13:05:54.353Z] 13:05:54 INFO - PID 13198 | #26 js::ForwardingProxyHandler::call(JSContext*, JS::Handle<JSObject*>, JS::CallArgs const&) const /builds/worker/checkouts/gecko/js/src/proxy/Wrapper.cpp:162:10 (libxul.so+0x66cf016)
[task 2020-06-16T13:05:54.354Z] 13:05:54 INFO - PID 13198 | #27 js::CrossCompartmentWrapper::call(JSContext*, JS::Handle<JSObject*>, JS::CallArgs const&) const /builds/worker/checkouts/gecko/js/src/proxy/CrossCompartmentWrapper.cpp:238:19 (libxul.so+0x66b94e1)
[task 2020-06-16T13:05:54.355Z] 13:05:54 INFO - PID 13198 | #28 js::Proxy::call(JSContext*, JS::Handle<JSObject*>, JS::CallArgs const&) /builds/worker/checkouts/gecko/js/src/proxy/Proxy.cpp:491:19 (libxul.so+0x66c295f)
[task 2020-06-16T13:05:54.357Z] 13:05:54 INFO - PID 13198 | #29 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:552:14 (libxul.so+0x65afb88)
[task 2020-06-16T13:05:54.358Z] 13:05:54 INFO - PID 13198 | #30 InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:641:10 (libxul.so+0x65a472b)
[task 2020-06-16T13:05:54.359Z] 13:05:54 INFO - PID 13198 | #31 CallFromStack /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:645:10 (libxul.so+0x65a472b)
[task 2020-06-16T13:05:54.361Z] 13:05:54 INFO - PID 13198 | #32 Interpret(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:3300:16 (libxul.so+0x65a472b)
[task 2020-06-16T13:05:54.362Z] 13:05:54 INFO - PID 13198 | #33 js::RunScript(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:458:10 (libxul.so+0x65971cf)
[task 2020-06-16T13:05:54.363Z] 13:05:54 INFO - PID 13198 | #34 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:613:13 (libxul.so+0x65b01a6)
[task 2020-06-16T13:05:54.364Z] 13:05:54 INFO - PID 13198 | #35 InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:641:10 (libxul.so+0x65b0c5b)
[task 2020-06-16T13:05:54.365Z] 13:05:54 INFO - PID 13198 | #36 js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:658:8 (libxul.so+0x65b0c5b)
[task 2020-06-16T13:05:54.366Z] 13:05:54 INFO - PID 13198 | #37 JS_CallFunctionValue(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/jsapi.cpp:2779:10 (libxul.so+0x666da4d)
[task 2020-06-16T13:05:54.368Z] 13:05:54 INFO - PID 13198 | #38 nsXPCWrappedJS::CallMethod(unsigned short, nsXPTMethodInfo const*, nsXPTCMiniVariant*) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCWrappedJSClass.cpp:963:17 (libxul.so+0x19642aa)
[task 2020-06-16T13:05:54.369Z] 13:05:54 INFO - PID 13198 | #39 PrepareAndDispatch /builds/worker/checkouts/gecko/xpcom/reflect/xptcall/md/unix/xptcstubs_x86_64_linux.cpp:125:37 (libxul.so+0xb39984)
[task 2020-06-16T13:05:54.370Z] 13:05:54 INFO - PID 13198 | #40 SharedStub <null> (libxul.so+0xb38c32)
[task 2020-06-16T13:05:54.371Z] 13:05:54 INFO - PID 13198 | #41 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:501:10 (libxul.so+0xb1b862)
[task 2020-06-16T13:05:54.372Z] 13:05:54 INFO - PID 13198 | #42 SpinEventLoopUntil<mozilla::ProcessFailureBehavior::ReportToCaller, (lambda at /builds/worker/checkouts/gecko/xpcom/threads/nsThreadManager.cpp:696:36)> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:359:25 (libxul.so+0xb1b2e2)
[task 2020-06-16T13:05:54.373Z] 13:05:54 INFO - PID 13198 | #43 nsThreadManager::SpinEventLoopUntilInternal(nsINestedEventLoopCondition*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadManager.cpp:696:8 (libxul.so+0xb1b2e2)
[task 2020-06-16T13:05:54.374Z] 13:05:54 INFO - PID 13198 | #44 nsThreadManager::SpinEventLoopUntil(nsINestedEventLoopCondition*) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadManager.cpp:675:10 (libxul.so+0xb1b167)
[task 2020-06-16T13:05:54.375Z] 13:05:54 INFO - PID 13198 | #45 NS_InvokeByIndex /builds/worker/checkouts/gecko/xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_x86_64_unix.S:106 (libxul.so+0xb38935)
[task 2020-06-16T13:05:54.376Z] 13:05:54 INFO - PID 13198 | #46 XPC_WN_CallMethod(JSContext*, unsigned int, JS::Value*) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCWrappedNativeJSOps.cpp:946:10 (libxul.so+0x196cf91)
[task 2020-06-16T13:05:54.377Z] 13:05:54 INFO - PID 13198 | #47 CallJSNative /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:486:13 (libxul.so+0x65af7f9)
[task 2020-06-16T13:05:54.378Z] 13:05:54 INFO - PID 13198 | #48 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:578:12 (libxul.so+0x65af7f9)
[task 2020-06-16T13:05:54.379Z] 13:05:54 INFO - PID 13198 | #49 InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:641:10 (libxul.so+0x65a472b)
[task 2020-06-16T13:05:54.380Z] 13:05:54 INFO - PID 13198 | #50 CallFromStack /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:645:10 (libxul.so+0x65a472b)
[task 2020-06-16T13:05:54.381Z] 13:05:54 INFO - PID 13198 | #51 Interpret(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:3300:16 (libxul.so+0x65a472b)
[task 2020-06-16T13:05:54.382Z] 13:05:54 INFO - PID 13198 | #52 js::RunScript(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:458:10 (libxul.so+0x65971cf)
[task 2020-06-16T13:05:54.383Z] 13:05:54 INFO - PID 13198 | #53 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:613:13 (libxul.so+0x65b01a6)
[task 2020-06-16T13:05:54.384Z] 13:05:54 INFO - PID 13198 | #54 InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:641:10 (libxul.so+0x65b0ad7)
[task 2020-06-16T13:05:54.385Z] 13:05:54 INFO - PID 13198 | #55 js::CallFromStack(JSContext*, JS::CallArgs const&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:645:10 (libxul.so+0x65b0ad7)
[task 2020-06-16T13:05:54.386Z] 13:05:54 INFO - PID 13198 | #56 js::jit::DoCallFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICCall_Fallback*, unsigned int, JS::Value*, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/jit/BaselineIC.cpp:2992:10 (libxul.so+0x6e0a9a4)
[task 2020-06-16T13:05:54.387Z] 13:05:54 INFO - PID 13198 | #57 <null> <null> (0x7f3674e55bc8)
[task 2020-06-16T13:05:54.388Z] 13:05:54 INFO - PID 13198 | #58 Interpret(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:2216:17 (libxul.so+0x65982ee)
[task 2020-06-16T13:05:54.389Z] 13:05:54 INFO - PID 13198 | #59 js::RunScript(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:458:10 (libxul.so+0x65971cf)
[task 2020-06-16T13:05:54.390Z] 13:05:54 INFO - PID 13198 | #60 js::ExecuteKernel(JSContext*, JS::Handle<JSScript*>, JS::Handle<JSObject*>, JS::Handle<JS::Value>, js::AbstractFramePtr, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:833:13 (libxul.so+0x65b215a)
[task 2020-06-16T13:05:54.391Z] 13:05:54 INFO - PID 13198 | #61 js::Execute(JSContext*, JS::Handle<JSScript*>, JS::Handle<JSObject*>, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:865:10 (libxul.so+0x65b2473)
[task 2020-06-16T13:05:54.392Z] 13:05:54 INFO - PID 13198 | #62 EvaluateSourceBuffer<mozilla::Utf8Unit> /builds/worker/checkouts/gecko/js/src/vm/CompilationAndEvaluation.cpp:497:10 (libxul.so+0x6726df8)
[task 2020-06-16T13:05:54.393Z] 13:05:54 INFO - PID 13198 | #63 JS::Evaluate(JSContext*, JS::ReadOnlyCompileOptions const&, JS::SourceText<mozilla::Utf8Unit>&, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/CompilationAndEvaluation.cpp:505:10 (libxul.so+0x6726df8)
[task 2020-06-16T13:05:54.394Z] 13:05:54 INFO - PID 13198 | #64 ProcessArgs /builds/worker/checkouts/gecko/js/xpconnect/src/XPCShellImpl.cpp:958:11 (libxul.so+0x19597be)
[task 2020-06-16T13:05:54.395Z] 13:05:54 INFO - PID 13198 | #65 XRE_XPCShellMain(int, char**, char**, XREShellData const*) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCShellImpl.cpp:1347:14 (libxul.so+0x19597be)
[task 2020-06-16T13:05:54.396Z] 13:05:54 INFO - PID 13198 | #66 mozilla::BootstrapImpl::XRE_XPCShellMain(int, char**, char**, XREShellData const*) /builds/worker/checkouts/gecko/toolkit/xre/Bootstrap.cpp:54:12 (libxul.so+0x6489e5b)
[task 2020-06-16T13:05:54.397Z] 13:05:54 INFO - PID 13198 | #67 main /builds/worker/checkouts/gecko/js/xpconnect/shell/xpcshell.cpp:66:27 (xpcshell+0xc9bd6)
[task 2020-06-16T13:05:54.398Z] 13:05:54 INFO - PID 13198 | SUMMARY: ThreadSanitizer: data race /builds/worker/workspace/obj-build/dist/include/mozilla/StaticPtr.h:171:13 in AssignAssumingAddRef
[task 2020-06-16T13:05:54.399Z] 13:05:54 INFO - PID 13198 | ==================
[task 2020-06-16T13:05:54.400Z] 13:05:54 INFO - <<<<<<<
[task 2020-06-16T13:05:54.401Z] 13:05:54 INFO - TEST-START | toolkit/modules/tests/xpcshell/test_Region.js

Component: XPCOM → DOM: File
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
Blocks: tsan
You need to log in before you can comment on or make changes to this bug.