Closed Bug 1845183 Opened 2 years ago Closed 2 years ago

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

Categories

(Core :: Storage: IndexedDB, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1840918

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

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


[task 2023-07-24T20:31:29.848Z] 20:31:29     INFO -  PID 30411 |   Location is global 'mozilla::dom::(anonymous namespace)::gDBManager' of size 8 at 0x7fadd1110698 (libxul.so+0xd4d1698)
[task 2023-07-24T20:31:29.848Z] 20:31:29     INFO -  PID 30411 |   Thread T24 'QuotaManager IO' (tid=30443, running) created by thread T5 at:
[task 2023-07-24T20:31:29.848Z] 20:31:29     INFO -  PID 30411 |     #0 pthread_create /builds/worker/fetches/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1048:3 (xpcshell+0xab6fb) (BuildId: 03482f3fd7d00ada414ba69ba1b5984a9f61eabd)
[task 2023-07-24T20:31:29.848Z] 20:31:29     INFO -  PID 30411 |     #1 _PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:458:14 (libnspr4.so+0x4509e) (BuildId: ed5e5e1daf5bff2feeb21d2e4e15f71a1c375a05)
[task 2023-07-24T20:31:29.848Z] 20:31:29     INFO -  PID 30411 |     #2 PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:533:12 (libnspr4.so+0x3a124) (BuildId: ed5e5e1daf5bff2feeb21d2e4e15f71a1c375a05)
[task 2023-07-24T20:31:29.849Z] 20:31:29     INFO -  PID 30411 |     #3 nsThread::Init(nsTSubstring<char> const&) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:634:18 (libxul.so+0x3b9e8e5) (BuildId: 823adad760afa0696a8c2337780f08d90de9ae5d)
[task 2023-07-24T20:31:29.849Z] 20:31:29     INFO -  PID 30411 |     #4 nsThreadManager::NewNamedThread(nsTSubstring<char> const&, nsIThreadManager::ThreadCreationOptions, nsIThread**) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadManager.cpp:550:12 (libxul.so+0x3ba651f) (BuildId: 823adad760afa0696a8c2337780f08d90de9ae5d)
[task 2023-07-24T20:31:29.849Z] 20:31:29     INFO -  PID 30411 |     #5 NS_NewNamedThread(nsTSubstring<char> const&, nsIThread**, already_AddRefed<nsIRunnable>, nsIThreadManager::ThreadCreationOptions) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:176:57 (libxul.so+0x3baeec6) (BuildId: 823adad760afa0696a8c2337780f08d90de9ae5d)
[task 2023-07-24T20:31:29.849Z] 20:31:29     INFO -  PID 30411 |     #6 NS_NewNamedThread<16UL> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:87:10 (libxul.so+0x7890437) (BuildId: 823adad760afa0696a8c2337780f08d90de9ae5d)
[task 2023-07-24T20:31:29.849Z] 20:31:29     INFO -  PID 30411 |     #7 operator()<const char (&)[16], nsGetterAddRefs<nsIThread> > /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:2176:3 (libxul.so+0x7890437)
[task 2023-07-24T20:31:29.849Z] 20:31:29     INFO -  PID 30411 |     #8 ToResultInvokeInternal<nsCOMPtr<nsIThread>, nsresult, (lambda at /builds/worker/workspace/obj-build/dist/include/mozilla/ResultExtensions.h:140:14), (lambda at /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:2176:3), const char (&)[16]> /builds/worker/workspace/obj-build/dist/include/mozilla/ResultExtensions.h:96:17 (libxul.so+0x7890437)
[task 2023-07-24T20:31:29.849Z] 20:31:29     INFO -  PID 30411 |     #9 ToResultInvokeSelector<nsCOMPtr<nsIThread>, nsresult, (lambda at /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:2176:3), const char (&)[16]> /builds/worker/workspace/obj-build/dist/include/mozilla/ResultExtensions.h:139:10 (libxul.so+0x7890437)
[task 2023-07-24T20:31:29.849Z] 20:31:29     INFO -  PID 30411 |     #10 ToResultInvoke<nsCOMPtr<nsIThread>, nsresult, (lambda at /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:2176:3), const char (&)[16]> /builds/worker/workspace/obj-build/dist/include/mozilla/ResultExtensions.h:173:10 (libxul.so+0x7890437)
[task 2023-07-24T20:31:29.850Z] 20:31:29     INFO -  PID 30411 |     #11 mozilla::dom::quota::QuotaManager::Init() /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:2176:3 (libxul.so+0x7890437)
[task 2023-07-24T20:31:29.850Z] 20:31:29     INFO -  PID 30411 |     #12 mozilla::dom::quota::QuotaManager::GetOrCreate() /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:1790:3 (libxul.so+0x788f4c6) (BuildId: 823adad760afa0696a8c2337780f08d90de9ae5d)
[task 2023-07-24T20:31:29.850Z] 20:31:29     INFO -  PID 30411 |     #13 mozilla::dom::quota::QuotaManager::EnsureCreated() /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:1804:3 (libxul.so+0x7891270) (BuildId: 823adad760afa0696a8c2337780f08d90de9ae5d)
[task 2023-07-24T20:31:29.850Z] 20:31:29     INFO -  PID 30411 |     #14 mozilla::dom::quota::Quota::AllocPQuotaRequestParent(mozilla::dom::quota::RequestParams const&) /builds/worker/checkouts/gecko/dom/quota/QuotaParent.cpp:351:3 (libxul.so+0x78e8491) (BuildId: 823adad760afa0696a8c2337780f08d90de9ae5d)
[task 2023-07-24T20:31:29.850Z] 20:31:29     INFO -  PID 30411 |     #15 mozilla::dom::quota::PQuotaParent::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PQuotaParent.cpp:357:50 (libxul.so+0x790d865) (BuildId: 823adad760afa0696a8c2337780f08d90de9ae5d)
[task 2023-07-24T20:31:29.850Z] 20:31:29     INFO -  PID 30411 |     #16 mozilla::ipc::PBackgroundParent::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PBackgroundParent.cpp:3048:32 (libxul.so+0x46f216c) (BuildId: 823adad760afa0696a8c2337780f08d90de9ae5d)
[task 2023-07-24T20:31:29.850Z] 20:31:29     INFO -  PID 30411 |     #17 mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1811:25 (libxul.so+0x469502f) (BuildId: 823adad760afa0696a8c2337780f08d90de9ae5d)
[task 2023-07-24T20:31:29.850Z] 20:31:29     INFO -  PID 30411 |     #18 mozilla::ipc::MessageChannel::DispatchMessage(mozilla::ipc::ActorLifecycleProxy*, mozilla::UniquePtr<IPC::Message, mozilla::DefaultDelete<IPC::Message>>) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1736:9 (libxul.so+0x4693728) (BuildId: 823adad760afa0696a8c2337780f08d90de9ae5d)
[task 2023-07-24T20:31:29.850Z] 20:31:29     INFO -  PID 30411 |     #19 mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::ActorLifecycleProxy*, mozilla::ipc::MessageChannel::MessageTask&) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1536:3 (libxul.so+0x4693d33) (BuildId: 823adad760afa0696a8c2337780f08d90de9ae5d)
[task 2023-07-24T20:31:29.851Z] 20:31:29     INFO -  PID 30411 |     #20 mozilla::ipc::MessageChannel::MessageTask::Run() /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1634:14 (libxul.so+0x4694677) (BuildId: 823adad760afa0696a8c2337780f08d90de9ae5d)
[task 2023-07-24T20:31:29.851Z] 20:31:29     INFO -  PID 30411 |     #21 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1193:16 (libxul.so+0x3ba157c) (BuildId: 823adad760afa0696a8c2337780f08d90de9ae5d)
[task 2023-07-24T20:31:29.851Z] 20:31:29     INFO -  PID 30411 |     #22 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:480:10 (libxul.so+0x3ba78c6) (BuildId: 823adad760afa0696a8c2337780f08d90de9ae5d)
[task 2023-07-24T20:31:29.851Z] 20:31:29     INFO -  PID 30411 |     #23 mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:300:20 (libxul.so+0x4699c1e) (BuildId: 823adad760afa0696a8c2337780f08d90de9ae5d)
[task 2023-07-24T20:31:29.851Z] 20:31:29     INFO -  PID 30411 |     #24 RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:370:10 (libxul.so+0x4613448) (BuildId: 823adad760afa0696a8c2337780f08d90de9ae5d)
[task 2023-07-24T20:31:29.852Z] 20:31:29     INFO -  PID 30411 |     #25 RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:363:3 (libxul.so+0x4613448)
[task 2023-07-24T20:31:29.853Z] 20:31:29     INFO -  PID 30411 |     #26 MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:345:3 (libxul.so+0x4613448)
[task 2023-07-24T20:31:29.853Z] 20:31:29     INFO -  PID 30411 |     #27 nsThread::ThreadFunc(void*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:391:10 (libxul.so+0x3b9d019) (BuildId: 823adad760afa0696a8c2337780f08d90de9ae5d)
[task 2023-07-24T20:31:29.854Z] 20:31:29     INFO -  PID 30411 |     #28 _pt_root /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:201:5 (libnspr4.so+0x4de89) (BuildId: ed5e5e1daf5bff2feeb21d2e4e15f71a1c375a05)
[task 2023-07-24T20:31:29.854Z] 20:31:29     INFO -  PID 30411 | SUMMARY: ThreadSanitizer: data race /builds/worker/workspace/obj-build/dist/include/mozilla/StaticPtr.h:131:13 in AssignAssumingAddRef
[task 2023-07-24T20:31:29.854Z] 20:31:29     INFO -  PID 30411 
Group: core-security → dom-core-security
Status: NEW → RESOLVED
Closed: 2 years ago
Component: XPCOM → Storage: IndexedDB
Duplicate of bug: 1840918
Resolution: --- → DUPLICATE
Group: dom-core-security
You need to log in before you can comment on or make changes to this bug.