Closed Bug 1840918 Opened 2 years ago Closed 2 years ago

Intermittent SUMMARY: ThreadSanitizer: data race /builds/worker/workspace/obj-build/dist/include/mozilla/StaticPtr.h:110:27 in get

Categories

(Core :: Storage: IndexedDB, defect, P2)

defect

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox-esr115 119+ fixed
firefox114 --- wontfix
firefox115 --- wontfix
firefox116 --- wontfix
firefox117 --- wontfix
firefox118 --- wontfix
firefox119 + fixed

People

(Reporter: intermittent-bug-filer, Assigned: jari)

References

(Regression)

Details

(4 keywords, Whiteboard: [adv-main119+r][adv-ESR115.4+r])

Attachments

(2 files)

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


[task 2023-06-28T19:26:50.666Z] 19:26:50     INFO -  TEST-PASS | toolkit/components/cleardata/tests/unit/test_network_cache.js | test_deleteFromHost - [test_deleteFromHost : 71] The memory cache has an entry - true == true
[task 2023-06-28T19:26:50.667Z] 19:26:50     INFO -  PID 20306 | ==================
[task 2023-06-28T19:26:50.667Z] 19:26:50     INFO -  PID 20306 | WARNING: ThreadSanitizer: data race (pid=20306)
[task 2023-06-28T19:26:50.667Z] 19:26:50     INFO -  PID 20306 |   Read of size 8 at 0x7f0936446408 by thread T19:
[task 2023-06-28T19:26:50.668Z] 19:26:50     INFO -  PID 20306 |     #0 get /builds/worker/workspace/obj-build/dist/include/mozilla/StaticPtr.h:110:27 (libxul.so+0x7ba0c56) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.668Z] 19:26:50     INFO -  PID 20306 |     #1 operator mozilla::dom::IndexedDatabaseManager * /builds/worker/workspace/obj-build/dist/include/mozilla/StaticPtr.h:112:32 (libxul.so+0x7ba0c56)
[task 2023-06-28T19:26:50.668Z] 19:26:50     INFO -  PID 20306 |     #2 mozilla::dom::IndexedDatabaseManager::Get() /builds/worker/checkouts/gecko/dom/indexedDB/IndexedDatabaseManager.cpp:257:10 (libxul.so+0x7ba0c56)
[task 2023-06-28T19:26:50.669Z] 19:26:50     INFO -  PID 20306 |     #3 mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::OnRepositoryClearCompleted(mozilla::dom::quota::PersistenceType) /builds/worker/checkouts/gecko/dom/indexedDB/ActorsParent.cpp:12399:37 (libxul.so+0x7b32816) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.669Z] 19:26:50     INFO -  PID 20306 |     #4 mozilla::dom::quota::QuotaManager::RepositoryClearCompleted(mozilla::dom::quota::PersistenceType) /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:6200:24 (libxul.so+0x78ae518) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.670Z] 19:26:50     INFO -  PID 20306 |     #5 mozilla::dom::quota::(anonymous namespace)::ClearPrivateRepositoryOp::DoDirectoryWork(mozilla::dom::quota::QuotaManager&) /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:7527:17 (libxul.so+0x78e4e8f) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.670Z] 19:26:50     INFO -  PID 20306 |     #6 mozilla::dom::quota::OriginOperationBase::DirectoryWork() /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:7352:3 (libxul.so+0x78b4c73) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.675Z] 19:26:50     INFO -  PID 20306 |     #7 mozilla::dom::quota::OriginOperationBase::Run() /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:7268:12 (libxul.so+0x78b493f) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.676Z] 19:26:50     INFO -  PID 20306 |     #8 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1193:16 (libxul.so+0x3b892f1) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.677Z] 19:26:50     INFO -  PID 20306 |     #9 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:480:10 (libxul.so+0x3b8f5f6) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.678Z] 19:26:50     INFO -  PID 20306 |     #10 mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:300:20 (libxul.so+0x46af64e) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.679Z] 19:26:50     INFO -  PID 20306 |     #11 RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:370:10 (libxul.so+0x4628a38) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.679Z] 19:26:50     INFO -  PID 20306 |     #12 RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:363:3 (libxul.so+0x4628a38)
[task 2023-06-28T19:26:50.680Z] 19:26:50     INFO -  PID 20306 |     #13 MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:345:3 (libxul.so+0x4628a38)
[task 2023-06-28T19:26:50.681Z] 19:26:50     INFO -  PID 20306 |     #14 nsThread::ThreadFunc(void*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:391:10 (libxul.so+0x3b84ec9) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.682Z] 19:26:50     INFO -  PID 20306 |     #15 _pt_root /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:201:5 (libnspr4.so+0x4de89) (BuildId: 4656ef4cb6bd9aabe766e7dc1582a78e66a59ed7)
[task 2023-06-28T19:26:50.682Z] 19:26:50     INFO -  PID 20306 |   Previous write of size 8 at 0x7f0936446408 by main thread:
[task 2023-06-28T19:26:50.683Z] 19:26:50     INFO -  PID 20306 |     #0 AssignAssumingAddRef /builds/worker/workspace/obj-build/dist/include/mozilla/StaticPtr.h:131:13 (libxul.so+0x7ba0649) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.684Z] 19:26:50     INFO -  PID 20306 |     #1 AssignWithAddref /builds/worker/workspace/obj-build/dist/include/mozilla/StaticPtr.h:126:5 (libxul.so+0x7ba0649)
[task 2023-06-28T19:26:50.684Z] 19:26:50     INFO -  PID 20306 |     #2 operator= /builds/worker/workspace/obj-build/dist/include/mozilla/StaticPtr.h:80:5 (libxul.so+0x7ba0649)
[task 2023-06-28T19:26:50.685Z] 19:26:50     INFO -  PID 20306 |     #3 mozilla::dom::IndexedDatabaseManager::GetOrCreate() /builds/worker/checkouts/gecko/dom/indexedDB/IndexedDatabaseManager.cpp:246:16 (libxul.so+0x7ba0649)
[task 2023-06-28T19:26:50.685Z] 19:26:50     INFO -  PID 20306 |     #4 AllowedForPrincipal /builds/worker/checkouts/gecko/dom/indexedDB/IDBFactory.cpp:345:7 (libxul.so+0x7b75669) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.686Z] 19:26:50     INFO -  PID 20306 |     #5 mozilla::dom::IDBFactory::CreateForMainThreadJS(nsIGlobalObject*) /builds/worker/checkouts/gecko/dom/indexedDB/IDBFactory.cpp:205:8 (libxul.so+0x7b75669)
[task 2023-06-28T19:26:50.687Z] 19:26:50     INFO -  PID 20306 |     #6 mozilla::dom::IndexedDatabaseManager::DefineIndexedDB(JSContext*, JS::Handle<JSObject*>) /builds/worker/checkouts/gecko/dom/indexedDB/IndexedDatabaseManager.cpp:379:3 (libxul.so+0x7ba10a9) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.687Z] 19:26:50     INFO -  PID 20306 |     #7 BackstagePass::Resolve(nsIXPConnectWrappedNative*, JSContext*, JSObject*, JS::PropertyKey, bool*, bool*) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCRuntimeService.cpp:95:16 (libxul.so+0x4829654) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.688Z] 19:26:50     INFO -  PID 20306 |     #8 non-virtual thunk to BackstagePass::Resolve(nsIXPConnectWrappedNative*, JSContext*, JSObject*, JS::PropertyKey, bool*, bool*) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCRuntimeService.cpp (libxul.so+0x482976c) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.688Z] 19:26:50     INFO -  PID 20306 |     #9 XPC_WN_Helper_Resolve(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::PropertyKey>, bool*) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCWrappedNativeJSOps.cpp:836:15 (libxul.so+0x4828609) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.689Z] 19:26:50     INFO -  PID 20306 |     #10 CallResolveOp /builds/worker/checkouts/gecko/js/src/vm/NativeObject-inl.h:683:8 (libxul.so+0xaa892e4) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.689Z] 19:26:50     INFO -  PID 20306 |     #11 NativeLookupOwnPropertyInline<(js::AllowGC)1, (js::LookupResolveMode)1> /builds/worker/checkouts/gecko/js/src/vm/NativeObject-inl.h:795:14 (libxul.so+0xaa892e4)
[task 2023-06-28T19:26:50.689Z] 19:26:50     INFO -  PID 20306 |     #12 NativeLookupPropertyInline<(js::AllowGC)1, (js::LookupResolveMode)1> /builds/worker/checkouts/gecko/js/src/vm/NativeObject-inl.h:826:10 (libxul.so+0xaa892e4)
[task 2023-06-28T19:26:50.690Z] 19:26:50     INFO -  PID 20306 |     #13 js::LookupProperty(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::PropertyKey>, JS::MutableHandle<JSObject*>, js::PropertyResult*) /builds/worker/checkouts/gecko/js/src/vm/JSObject.cpp:1574:10 (libxul.so+0xaa892e4)
[task 2023-06-28T19:26:50.691Z] 19:26:50     INFO -  PID 20306 |     #14 js::LookupName(JSContext*, JS::Handle<js::PropertyName*>, JS::Handle<JSObject*>, JS::MutableHandle<JSObject*>, JS::MutableHandle<JSObject*>, js::PropertyResult*) /builds/worker/checkouts/gecko/js/src/vm/JSObject.cpp:1584:10 (libxul.so+0xaa899d2) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.691Z] 19:26:50     INFO -  PID 20306 |     #15 bool js::GetEnvironmentName<(js::GetNameMode)0>(JSContext*, JS::Handle<JSObject*>, JS::Handle<js::PropertyName*>, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/Interpreter-inl.h:186:8 (libxul.so+0xa959cf6) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.691Z] 19:26:50     INFO -  PID 20306 |     #16 GetNameOperation /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:255:10 (libxul.so+0xa944365) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.692Z] 19:26:50     INFO -  PID 20306 |     #17 js::Interpret(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:3526:12 (libxul.so+0xa944365)
[task 2023-06-28T19:26:50.692Z] 19:26:50     INFO -  PID 20306 |     #18 MaybeEnterInterpreterTrampoline /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:400:10 (libxul.so+0xa931ecc) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.693Z] 19:26:50     INFO -  PID 20306 |     #19 js::RunScript(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:458:13 (libxul.so+0xa931ecc)
[task 2023-06-28T19:26:50.694Z] 19:26:50     INFO -  PID 20306 |     #20 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:612:13 (libxul.so+0xa932959) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.694Z] 19:26:50     INFO -  PID 20306 |     #21 InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:647:10 (libxul.so+0xa933547) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.694Z] 19:26:50     INFO -  PID 20306 |     #22 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:679:8 (libxul.so+0xa933547)
[task 2023-06-28T19:26:50.695Z] 19:26:50     INFO -  PID 20306 |     #23 js::PromiseObject::create(JSContext*, JS::Handle<JSObject*>, JS::Handle<JSObject*>, bool) /builds/worker/checkouts/gecko/js/src/builtin/Promise.cpp:2868:15 (libxul.so+0xab0b7b8) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.695Z] 19:26:50     INFO -  PID 20306 |     #24 PromiseConstructor(JSContext*, unsigned int, JS::Value*) /builds/worker/checkouts/gecko/js/src/builtin/Promise.cpp:2779:7 (libxul.so+0xab3539d) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.695Z] 19:26:50     INFO -  PID 20306 |     #25 CallJSNative /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:486:13 (libxul.so+0xa933b2a) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.696Z] 19:26:50     INFO -  PID 20306 |     #26 CallJSNativeConstructor /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:502:8 (libxul.so+0xa933b2a)
[task 2023-06-28T19:26:50.696Z] 19:26:50     INFO -  PID 20306 |     #27 InternalConstruct(JSContext*, js::AnyConstructArgs const&, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:708:14 (libxul.so+0xa933b2a)
[task 2023-06-28T19:26:50.696Z] 19:26:50     INFO -  PID 20306 |     #28 ConstructFromStack /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:755:10 (libxul.so+0xa9431ba) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.697Z] 19:26:50     INFO -  PID 20306 |     #29 js::Interpret(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:3380:16 (libxul.so+0xa9431ba)
[task 2023-06-28T19:26:50.697Z] 19:26:50     INFO -  PID 20306 |     #30 MaybeEnterInterpreterTrampoline /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:400:10 (libxul.so+0xa931ecc) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.697Z] 19:26:50     INFO -  PID 20306 |     #31 js::RunScript(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:458:13 (libxul.so+0xa931ecc)
[task 2023-06-28T19:26:50.698Z] 19:26:50     INFO -  PID 20306 |     #32 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:612:13 (libxul.so+0xa932959) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.698Z] 19:26:50     INFO -  PID 20306 |     #33 InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:647:10 (libxul.so+0xa933547) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.699Z] 19:26:50     INFO -  PID 20306 |     #34 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:679:8 (libxul.so+0xa933547)
[task 2023-06-28T19:26:50.699Z] 19:26:50     INFO -  PID 20306 |     #35 Call /builds/worker/checkouts/gecko/js/src/vm/Interpreter.h:116:10 (libxul.so+0xab32d2a) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.700Z] 19:26:50     INFO -  PID 20306 |     #36 PromiseReactionJob(JSContext*, unsigned int, JS::Value*) /builds/worker/checkouts/gecko/js/src/builtin/Promise.cpp:2240:10 (libxul.so+0xab32d2a)
[task 2023-06-28T19:26:50.700Z] 19:26:50     INFO -  PID 20306 |     #37 CallJSNative /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:486:13 (libxul.so+0xa932889) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.700Z] 19:26:50     INFO -  PID 20306 |     #38 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:580:12 (libxul.so+0xa932889)
[task 2023-06-28T19:26:50.701Z] 19:26:50     INFO -  PID 20306 |     #39 InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:647:10 (libxul.so+0xa933547) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.701Z] 19:26:50     INFO -  PID 20306 |     #40 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:679:8 (libxul.so+0xa933547)
[task 2023-06-28T19:26:50.702Z] 19:26:50     INFO -  PID 20306 |     #41 JS::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/CallAndConstruct.cpp:117:10 (libxul.so+0xa9d05b9) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.702Z] 19:26:50     INFO -  PID 20306 |     #42 mozilla::dom::PromiseJobCallback::Call(mozilla::dom::BindingCallContext&, JS::Handle<JS::Value>, mozilla::ErrorResult&) /builds/worker/workspace/obj-build/dom/bindings/PromiseBinding.cpp:83:8 (libxul.so+0x59d2e43) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.703Z] 19:26:50     INFO -  PID 20306 |     #43 Call /builds/worker/workspace/obj-build/dist/include/mozilla/dom/PromiseBinding.h:198:12 (libxul.so+0x3a81c60) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.704Z] 19:26:50     INFO -  PID 20306 |     #44 Call /builds/worker/workspace/obj-build/dist/include/mozilla/dom/PromiseBinding.h:211:12 (libxul.so+0x3a81c60)
[task 2023-06-28T19:26:50.704Z] 19:26:50     INFO -  PID 20306 |     #45 mozilla::PromiseJobRunnable::Run(mozilla::AutoSlowOperation&) /builds/worker/checkouts/gecko/xpcom/base/CycleCollectedJSContext.cpp:213:18 (libxul.so+0x3a81c60)
[task 2023-06-28T19:26:50.704Z] 19:26:50     INFO -  PID 20306 |     #46 mozilla::CycleCollectedJSContext::PerformMicroTaskCheckPoint(bool) /builds/worker/checkouts/gecko/xpcom/base/CycleCollectedJSContext.cpp:676:17 (libxul.so+0x3a6def6) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.705Z] 19:26:50     INFO -  PID 20306 |     #47 mozilla::CycleCollectedJSContext::AfterProcessTask(unsigned int) /builds/worker/checkouts/gecko/xpcom/base/CycleCollectedJSContext.cpp:463:3 (libxul.so+0x3a6ecc7) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.705Z] 19:26:50     INFO -  PID 20306 |     #48 XPCJSContext::AfterProcessTask(unsigned int) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCJSContext.cpp:1496:28 (libxul.so+0x48062dc) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.705Z] 19:26:50     INFO -  PID 20306 |     #49 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1237:24 (libxul.so+0x3b896ad) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.706Z] 19:26:50     INFO -  PID 20306 |     #50 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:480:10 (libxul.so+0x3b8f5f6) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.706Z] 19:26:50     INFO -  PID 20306 |     #51 SpinEventLoopUntil<(mozilla::ProcessFailureBehavior)1, (lambda at /builds/worker/checkouts/gecko/xpcom/threads/nsThreadManager.cpp:652:61)> /builds/worker/workspace/obj-build/dist/include/mozilla/SpinEventLoopUntil.h:176:25 (libxul.so+0x3b8eeb0) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.707Z] 19:26:50     INFO -  PID 20306 |     #52 nsThreadManager::SpinEventLoopUntilInternal(nsTSubstring<char> const&, nsINestedEventLoopCondition*, mozilla::ShutdownPhase) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadManager.cpp:652:8 (libxul.so+0x3b8eeb0)
[task 2023-06-28T19:26:50.707Z] 19:26:50     INFO -  PID 20306 |     #53 nsThreadManager::SpinEventLoopUntil(nsTSubstring<char> const&, nsINestedEventLoopCondition*) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadManager.cpp:613:10 (libxul.so+0x3b8ebb0) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.708Z] 19:26:50     INFO -  PID 20306 |     #54 NS_InvokeByIndex /builds/worker/checkouts/gecko/xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_x86_64_unix.S:101 (libxul.so+0x3bb6465) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.709Z] 19:26:50     INFO -  PID 20306 |     #55 XPC_WN_CallMethod(JSContext*, unsigned int, JS::Value*) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCWrappedNativeJSOps.cpp:966:10 (libxul.so+0x4841870) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.709Z] 19:26:50     INFO -  PID 20306 |     #56 CallJSNative /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:486:13 (libxul.so+0xa932889) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.709Z] 19:26:50     INFO -  PID 20306 |     #57 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:580:12 (libxul.so+0xa932889)
[task 2023-06-28T19:26:50.709Z] 19:26:50     INFO -  PID 20306 |     #58 InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:647:10 (libxul.so+0xa94320c) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.710Z] 19:26:50     INFO -  PID 20306 |     #59 CallFromStack /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:652:10 (libxul.so+0xa94320c)
[task 2023-06-28T19:26:50.710Z] 19:26:50     INFO -  PID 20306 |     #60 js::Interpret(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:3395:16 (libxul.so+0xa94320c)
[task 2023-06-28T19:26:50.711Z] 19:26:50     INFO -  PID 20306 |     #61 MaybeEnterInterpreterTrampoline /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:400:10 (libxul.so+0xa931ecc) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.711Z] 19:26:50     INFO -  PID 20306 |     #62 js::RunScript(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:458:13 (libxul.so+0xa931ecc)
[task 2023-06-28T19:26:50.711Z] 19:26:50     INFO -  PID 20306 |     #63 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:612:13 (libxul.so+0xa932959) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.711Z] 19:26:50     INFO -  PID 20306 |     #64 InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:647:10 (libxul.so+0xa9333b5) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.712Z] 19:26:50     INFO -  PID 20306 |     #65 js::CallFromStack(JSContext*, JS::CallArgs const&, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:652:10 (libxul.so+0xa9333b5)
[task 2023-06-28T19:26:50.713Z] 19:26:50     INFO -  PID 20306 |     #66 js::jit::DoCallFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICFallbackStub*, unsigned int, JS::Value*, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/jit/BaselineIC.cpp:1591:10 (libxul.so+0xb1606dc) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.713Z] 19:26:50     INFO -  PID 20306 |     #67 <null> <null> (0x7f0895ae0e5c)
[task 2023-06-28T19:26:50.713Z] 19:26:50     INFO -  PID 20306 |     #68 js::Interpret(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:2252:17 (libxul.so+0xa937479) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.714Z] 19:26:50     INFO -  PID 20306 |     #69 MaybeEnterInterpreterTrampoline /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:400:10 (libxul.so+0xa931ecc) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.714Z] 19:26:50     INFO -  PID 20306 |     #70 js::RunScript(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:458:13 (libxul.so+0xa931ecc)
[task 2023-06-28T19:26:50.715Z] 19:26:50     INFO -  PID 20306 |     #71 js::ExecuteKernel(JSContext*, JS::Handle<JSScript*>, JS::Handle<JSObject*>, js::AbstractFramePtr, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:845:13 (libxul.so+0xa93459e) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.715Z] 19:26:50     INFO -  PID 20306 |     #72 js::Execute(JSContext*, JS::Handle<JSScript*>, JS::Handle<JSObject*>, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:877:10 (libxul.so+0xa934741) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.716Z] 19:26:50     INFO -  PID 20306 |     #73 EvaluateSourceBuffer<mozilla::Utf8Unit> /builds/worker/checkouts/gecko/js/src/vm/CompilationAndEvaluation.cpp:556:10 (libxul.so+0xa9e85b1) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.716Z] 19:26:50     INFO -  PID 20306 |     #74 JS::Evaluate(JSContext*, JS::ReadOnlyCompileOptions const&, JS::SourceText<mozilla::Utf8Unit>&, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/CompilationAndEvaluation.cpp:564:10 (libxul.so+0xa9e85b1)
[task 2023-06-28T19:26:50.717Z] 19:26:50     INFO -  PID 20306 |     #75 ProcessArgs(mozilla::dom::AutoJSAPI&, char**, int, XPCShellDirProvider*) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCShellImpl.cpp:993:11 (libxul.so+0x482d368) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.717Z] 19:26:50     INFO -  PID 20306 |     #76 XRE_XPCShellMain(int, char**, char**, XREShellData const*) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCShellImpl.cpp:1399:16 (libxul.so+0x482bb7f) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.718Z] 19:26:50     INFO -  PID 20306 |     #77 mozilla::BootstrapImpl::XRE_XPCShellMain(int, char**, char**, XREShellData const*) /builds/worker/checkouts/gecko/toolkit/xre/Bootstrap.cpp:54:12 (libxul.so+0xa7c3edb) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.718Z] 19:26:50     INFO -  PID 20306 |     #78 main /builds/worker/checkouts/gecko/js/xpconnect/shell/xpcshell.cpp:81:27 (xpcshell+0x133ac0) (BuildId: 2af7dd036c6e5dfe6d49df045c24af1f2ec50e27)
[task 2023-06-28T19:26:50.719Z] 19:26:50     INFO -  PID 20306 |   Location is global 'mozilla::dom::(anonymous namespace)::gDBManager' of size 8 at 0x7f0936446408 (libxul.so+0xd517408)
[task 2023-06-28T19:26:50.719Z] 19:26:50     INFO -  PID 20306 |   Thread T19 'QuotaManager IO' (tid=20326, running) created by thread T5 at:
[task 2023-06-28T19:26:50.720Z] 19:26:50     INFO -  PID 20306 |     #0 pthread_create /builds/worker/fetches/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1048:3 (xpcshell+0xab5fb) (BuildId: 2af7dd036c6e5dfe6d49df045c24af1f2ec50e27)
[task 2023-06-28T19:26:50.720Z] 19:26:50     INFO -  PID 20306 |     #1 _PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:458:14 (libnspr4.so+0x4509e) (BuildId: 4656ef4cb6bd9aabe766e7dc1582a78e66a59ed7)
[task 2023-06-28T19:26:50.721Z] 19:26:50     INFO -  PID 20306 |     #2 PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:533:12 (libnspr4.so+0x3a124) (BuildId: 4656ef4cb6bd9aabe766e7dc1582a78e66a59ed7)
[task 2023-06-28T19:26:50.721Z] 19:26:50     INFO -  PID 20306 |     #3 nsThread::Init(nsTSubstring<char> const&) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:634:18 (libxul.so+0x3b866c5) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.722Z] 19:26:50     INFO -  PID 20306 |     #4 nsThreadManager::NewNamedThread(nsTSubstring<char> const&, nsIThreadManager::ThreadCreationOptions, nsIThread**) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadManager.cpp:547:12 (libxul.so+0x3b8e41f) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.722Z] 19:26:50     INFO -  PID 20306 |     #5 NS_NewNamedThread(nsTSubstring<char> const&, nsIThread**, already_AddRefed<nsIRunnable>, nsIThreadManager::ThreadCreationOptions) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:176:57 (libxul.so+0x3b96cf6) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.723Z] 19:26:50     INFO -  PID 20306 |     #6 NS_NewNamedThread<16UL> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:87:10 (libxul.so+0x7889667) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.723Z] 19:26:50     INFO -  PID 20306 |     #7 operator()<const char (&)[16], nsGetterAddRefs<nsIThread> > /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3157:3 (libxul.so+0x7889667)
[task 2023-06-28T19:26:50.724Z] 19:26:50     INFO -  PID 20306 |     #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:3157:3), const char (&)[16]> /builds/worker/workspace/obj-build/dist/include/mozilla/ResultExtensions.h:96:17 (libxul.so+0x7889667)
[task 2023-06-28T19:26:50.724Z] 19:26:50     INFO -  PID 20306 |     #9 ToResultInvokeSelector<nsCOMPtr<nsIThread>, nsresult, (lambda at /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3157:3), const char (&)[16]> /builds/worker/workspace/obj-build/dist/include/mozilla/ResultExtensions.h:139:10 (libxul.so+0x7889667)
[task 2023-06-28T19:26:50.725Z] 19:26:50     INFO -  PID 20306 |     #10 ToResultInvoke<nsCOMPtr<nsIThread>, nsresult, (lambda at /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3157:3), const char (&)[16]> /builds/worker/workspace/obj-build/dist/include/mozilla/ResultExtensions.h:173:10 (libxul.so+0x7889667)
[task 2023-06-28T19:26:50.725Z] 19:26:50     INFO -  PID 20306 |     #11 mozilla::dom::quota::QuotaManager::Init() /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3157:3 (libxul.so+0x7889667)
[task 2023-06-28T19:26:50.726Z] 19:26:50     INFO -  PID 20306 |     #12 mozilla::dom::quota::QuotaManager::GetOrCreate() /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:2768:3 (libxul.so+0x78887c6) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.726Z] 19:26:50     INFO -  PID 20306 |     #13 mozilla::dom::quota::QuotaManager::EnsureCreated() /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:2782:3 (libxul.so+0x788a6d0) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.727Z] 19:26:50     INFO -  PID 20306 |     #14 mozilla::dom::quota::(anonymous namespace)::Quota::AllocPQuotaRequestParent(mozilla::dom::quota::RequestParams const&) /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:7976:3 (libxul.so+0x78c757f) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.727Z] 19:26:50     INFO -  PID 20306 |     #15 mozilla::dom::quota::PQuotaParent::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PQuotaParent.cpp:357:50 (libxul.so+0x790581a) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.728Z] 19:26:50     INFO -  PID 20306 |     #16 mozilla::ipc::PBackgroundParent::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PBackgroundParent.cpp:3048:32 (libxul.so+0x4709bec) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.728Z] 19:26:50     INFO -  PID 20306 |     #17 mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1811:25 (libxul.so+0x46aaa0f) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.729Z] 19:26:50     INFO -  PID 20306 |     #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+0x46a9108) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.729Z] 19:26:50     INFO -  PID 20306 |     #19 mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::ActorLifecycleProxy*, mozilla::ipc::MessageChannel::MessageTask&) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1536:3 (libxul.so+0x46a9713) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.730Z] 19:26:50     INFO -  PID 20306 |     #20 mozilla::ipc::MessageChannel::MessageTask::Run() /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1634:14 (libxul.so+0x46aa057) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.730Z] 19:26:50     INFO -  PID 20306 |     #21 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1193:16 (libxul.so+0x3b892f1) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.731Z] 19:26:50     INFO -  PID 20306 |     #22 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:480:10 (libxul.so+0x3b8f5f6) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.731Z] 19:26:50     INFO -  PID 20306 |     #23 mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:300:20 (libxul.so+0x46af69e) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.732Z] 19:26:50     INFO -  PID 20306 |     #24 RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:370:10 (libxul.so+0x4628a38) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.732Z] 19:26:50     INFO -  PID 20306 |     #25 RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:363:3 (libxul.so+0x4628a38)
[task 2023-06-28T19:26:50.732Z] 19:26:50     INFO -  PID 20306 |     #26 MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:345:3 (libxul.so+0x4628a38)
[task 2023-06-28T19:26:50.733Z] 19:26:50     INFO -  PID 20306 |     #27 nsThread::ThreadFunc(void*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:391:10 (libxul.so+0x3b84ec9) (BuildId: 4592dc1d447d24cb889fc3af42f84522dd5b8818)
[task 2023-06-28T19:26:50.734Z] 19:26:50     INFO -  PID 20306 |     #28 _pt_root /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:201:5 (libnspr4.so+0x4de89) (BuildId: 4656ef4cb6bd9aabe766e7dc1582a78e66a59ed7)
[task 2023-06-28T19:26:50.734Z] 19:26:50     INFO -  PID 20306 | SUMMARY: ThreadSanitizer: data race /builds/worker/workspace/obj-build/dist/include/mozilla/StaticPtr.h:110:27 in get
[task 2023-06-28T19:26:50.734Z] 19:26:50     INFO -  PID 20306 | ==================
[task 2023-06-28T19:26:50.735Z] 19:26:50     INFO -  <<<<<<<
[task 2023-06-28T19:26:50.735Z] 19:26:50     INFO -  TEST-START | toolkit/components/antitracking/test/xpcshell/test_staticPartition_font.js

Jan: is this related to the clear-data stuff you implemented recently? It's a networking test but maybe better filed under indexeddb

Group: core-security → network-core-security
Flags: needinfo?(jvarga)

https://searchfox.org/mozilla-central/rev/3b707c8fd7e978eebf24279ee51ccf07895cfbcb/dom/indexedDB/ActorsParent.cpp#12396-12402

void QuotaClient::OnRepositoryClearCompleted(PersistenceType aPersistenceType) {
  AssertIsOnIOThread();

  if (IndexedDatabaseManager* mgr = IndexedDatabaseManager::Get()) {
    mgr->InvalidateFileManagers(aPersistenceType);
  }
}

The race is on IndexedDatabaseManager::Get() which was added in bug 1827377

Component: Networking → Storage: IndexedDB
Keywords: regression
Regressed by: 1827377

Set release status flags based on info from the regressing bug 1827377

Yes, but this is common problem which was there for years, there are other similar methods which do basically the same thing. We probably need to add a static mutex to protect accesses like this.

Flags: needinfo?(jvarga)
Severity: -- → S3
Priority: -- → P2

Set release status flags based on info from the regressing bug 1827377

See Also: → 1841706

Jan, this is a pretty frequent issue in CI. Any chance you'll be able to look at this soon?

Duplicate of this bug: 1845448
Flags: needinfo?(jvarga)

I'm quite busy at the moment, maybe someone else should take a look.

Jari, would you mind to take a look?

Flags: needinfo?(jjalkanen)
Assignee: nobody → jjalkanen
Flags: needinfo?(jjalkanen)

Bug 1771263 seems to have started to capture recently something similar. Not sure what to do with that bug now, given it is closed and not hidden anymore, can we remove or move elsewhere the latest comments there?

Flags: needinfo?(dveditz)
Pushed by jjalkanen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/934560151325 Protect access to gDBManager of IndexedDatabaseManager. r=dom-storage-reviewers,janv

See https://bugzilla.mozilla.org/show_bug.cgi?id=1841706#c3 for a more-general way to prevent this kind of bug.

Unfortunately, some of us are not cc-ed there.

Attached file better_atomic_init
(In reply to Jan Varga [:janv] from comment #18) > Unfortunately, some of us are not cc-ed there. Oops, sorry about that. Here's a repost of a potential solution to this kind of bug.

Ok, once we have a generic helper (with cheap atomic operations) which can be used safely instead of using a mutex, we can start using it for IndexedDatabaseManager and QuotaManager as well.

Group: network-core-security → core-security-release
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
QA Whiteboard: [post-critsmash-triage]
Flags: qe-verify-

Please nominate this for ESR115 approval when you get a chance.

Flags: needinfo?(jjalkanen)

Comment on attachment 9354094 [details]
Bug 1840918 - Protect access to gDBManager of IndexedDatabaseManager. r=#dom-storage

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: Improves stability and security for ESR users
  • User impact if declined: Sometimes there will be a crash or data corruption when the unprotected object is accessed in an unfortunate sequence during startup or shutdown.
  • Fix Landed on Version: 119
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): No issues with 119 have been reported so far and the patch is not very complex.
Flags: needinfo?(jjalkanen)
Attachment #9354094 - Flags: approval-mozilla-esr115?

Comment on attachment 9354094 [details]
Bug 1840918 - Protect access to gDBManager of IndexedDatabaseManager. r=#dom-storage

Approved for 115.4esr.

Attachment #9354094 - Flags: approval-mozilla-esr115? → approval-mozilla-esr115+
Whiteboard: [adv-main119+r]
Whiteboard: [adv-main119+r] → [adv-main119+r][adv-ESR115.4+r]
Group: core-security-release
Flags: needinfo?(dveditz)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: