Closed Bug 1906201 Opened 8 months ago Closed 8 months ago

Perma [tier 2] MOZ_RELEASE_ASSERT(NS_IsMainThread()) (nsXPCWrappedJS::AddRef called off main thread) [@ nsXPCWrappedJS::AddRef] | single tracking bug

Categories

(WebExtensions :: General, defect)

defect

Tracking

(firefox-esr115 unaffected, firefox-esr128 unaffected, firefox128 unaffected, firefox129 fixed)

RESOLVED FIXED
129 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox128 --- unaffected
firefox129 --- fixed

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(4 keywords)

Crash Data

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


[task 2024-07-03T21:57:01.314Z] 21:57:01     INFO -  TEST-PASS | xpcshell-remote.toml:toolkit/components/extensions/test/xpcshell/test_ext_storage_managed.js | check_remote - [check_remote : 1] testing from extension process - false == false
[task 2024-07-03T21:57:01.315Z] 21:57:01     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2024-07-03T21:57:01.315Z] 21:57:01     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2024-07-03T21:57:01.315Z] 21:57:01     INFO -  (xpcshell/head.js) | test check_remote finished (2)
[task 2024-07-03T21:57:01.315Z] 21:57:01     INFO -  xpcshell-remote.toml:toolkit/components/extensions/test/xpcshell/test_ext_storage_managed.js | Starting setup
[task 2024-07-03T21:57:01.315Z] 21:57:01     INFO -  (xpcshell/head.js) | test setup pending (2)
[task 2024-07-03T21:57:01.316Z] 21:57:01     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2024-07-03T21:57:01.316Z] 21:57:01     INFO -  "CONSOLE_MESSAGE: (info) 1720043820923	addons.manager	DEBUG	Application has been upgraded"
[task 2024-07-03T21:57:01.316Z] 21:57:01     INFO -  "CONSOLE_MESSAGE: (info) 1720043820926	addons.manager	DEBUG	Loaded provider scope for resource://gre/modules/addons/GMPProvider.sys.mjs"
[task 2024-07-03T21:57:01.317Z] 21:57:01     INFO -  "CONSOLE_MESSAGE: (info) 1720043820928	addons.manager	DEBUG	Loaded provider scope for resource://gre/modules/addons/SitePermsAddonProvider.sys.mjs"
[task 2024-07-03T21:57:01.317Z] 21:57:01     INFO -  "CONSOLE_MESSAGE: (info) 1720043820928	addons.manager	DEBUG	Starting provider: XPIProvider"
[task 2024-07-03T21:57:01.317Z] 21:57:01     INFO -  "CONSOLE_MESSAGE: (info) 1720043820928	addons.xpi	DEBUG	startup"
[task 2024-07-03T21:57:01.317Z] 21:57:01     INFO -  "CONSOLE_MESSAGE: (info) 1720043820929	addons.xpi	INFO	SystemAddonLocation directory is missing"
[task 2024-07-03T21:57:01.317Z] 21:57:01     INFO -  "CONSOLE_MESSAGE: (info) 1720043820939	addons.xpi	INFO	Removing all system add-on upgrades."
[task 2024-07-03T21:57:01.318Z] 21:57:01     INFO -  "CONSOLE_MESSAGE: (info) 1720043820940	addons.xpi	DEBUG	checkForChanges"
[task 2024-07-03T21:57:01.318Z] 21:57:01     INFO -  "CONSOLE_MESSAGE: (info) 1720043820940	addons.xpi	DEBUG	Loaded add-on state: ${}"
[task 2024-07-03T21:57:01.319Z] 21:57:01     INFO -  "CONSOLE_MESSAGE: (info) 1720043820941	addons.xpi	DEBUG	scanForChanges changed: false, state: {}"
[task 2024-07-03T21:57:01.319Z] 21:57:01     INFO -  "CONSOLE_MESSAGE: (info) 1720043820942	addons.xpi	DEBUG	Empty XPI database, setting schema version preference to 36"
[task 2024-07-03T21:57:01.319Z] 21:57:01     INFO -  "CONSOLE_MESSAGE: (info) 1720043820942	addons.xpi	DEBUG	No changes found"
[task 2024-07-03T21:57:01.319Z] 21:57:01     INFO -  "CONSOLE_MESSAGE: (info) 1720043820946	addons.manager	DEBUG	Registering shutdown blocker for XPIProvider"
[task 2024-07-03T21:57:01.320Z] 21:57:01     INFO -  "CONSOLE_MESSAGE: (info) 1720043820946	addons.manager	DEBUG	Provider finished startup: XPIProvider"
[task 2024-07-03T21:57:01.320Z] 21:57:01     INFO -  "CONSOLE_MESSAGE: (info) 1720043820946	addons.manager	DEBUG	Completed startup sequence"
[task 2024-07-03T21:57:01.320Z] 21:57:01     INFO -  (xpcshell/head.js) | test run_next_test 2 pending (2)
[task 2024-07-03T21:57:01.320Z] 21:57:01     INFO -  (xpcshell/head.js) | test setup finished (2)
[task 2024-07-03T21:57:01.321Z] 21:57:01     INFO -  xpcshell-remote.toml:toolkit/components/extensions/test/xpcshell/test_ext_storage_managed.js | Starting test_storage_managed
[task 2024-07-03T21:57:01.321Z] 21:57:01     INFO -  (xpcshell/head.js) | test test_storage_managed pending (2)
[task 2024-07-03T21:57:01.321Z] 21:57:01     INFO -  "Extension attached"
[task 2024-07-03T21:57:01.321Z] 21:57:01     INFO -  (xpcshell/head.js) | test run_next_test 2 finished (2)
[task 2024-07-03T21:57:01.321Z] 21:57:01     INFO -  <<<<<<<
[task 2024-07-03T21:57:23.154Z] 21:57:23  WARNING -  PROCESS-CRASH | MOZ_RELEASE_ASSERT(NS_IsMainThread()) (nsXPCWrappedJS::AddRef called off main thread) [@ nsXPCWrappedJS::AddRef] | xpcshell-remote.toml:toolkit/components/extensions/test/xpcshell/test_ext_storage_managed.js
[task 2024-07-03T21:57:23.154Z] 21:57:23     INFO -  Process type: main
[task 2024-07-03T21:57:23.155Z] 21:57:23     INFO -  Process pid: 9544
[task 2024-07-03T21:57:23.155Z] 21:57:23     INFO -  Mozilla crash reason: MOZ_RELEASE_ASSERT(NS_IsMainThread()) (nsXPCWrappedJS::AddRef called off main thread)
[task 2024-07-03T21:57:23.156Z] 21:57:23     INFO -  Crash dump filename: C:\Users\task_172004157446899\AppData\Local\Temp\xpc-other-46viez1m\ae5e76c5-8534-4d1f-b472-a33b67c81bc5.dmp
[task 2024-07-03T21:57:23.156Z] 21:57:23     INFO -  Operating system: Windows NT
[task 2024-07-03T21:57:23.157Z] 21:57:23     INFO -                    10.0.19045
[task 2024-07-03T21:57:23.157Z] 21:57:23     INFO -  CPU: amd64
[task 2024-07-03T21:57:23.157Z] 21:57:23     INFO -       family 6 model 106 stepping 6
[task 2024-07-03T21:57:23.157Z] 21:57:23     INFO -       8 CPUs
[task 2024-07-03T21:57:23.157Z] 21:57:23     INFO -  Crash reason:  EXCEPTION_BREAKPOINT
[task 2024-07-03T21:57:23.158Z] 21:57:23     INFO -  Crash address: 0x00007ffe2bd432cd
[task 2024-07-03T21:57:23.158Z] 21:57:23     INFO -  Crashing instruction: `int 0x3`
[task 2024-07-03T21:57:23.158Z] 21:57:23     INFO -  No memory accessed by instruction
[task 2024-07-03T21:57:23.158Z] 21:57:23     INFO -  Process uptime: 1 seconds
[task 2024-07-03T21:57:23.158Z] 21:57:23     INFO -  Thread 26 BackgroundThreadPool #2 (crashed)
[task 2024-07-03T21:57:23.159Z] 21:57:23     INFO -   0  xul.dll!nsXPCWrappedJS::AddRef() [XPCWrappedJS.cpp:7f6e4850b977fc6bd4ea06cfae8b581b8864c3e9 : 253 + 0x0]
[task 2024-07-03T21:57:23.159Z] 21:57:23     INFO -       rax = 0x00007ffe32205afd    rdx = 0x00007ffe65d1cd10
[task 2024-07-03T21:57:23.159Z] 21:57:23     INFO -       rcx = 0x00007ffe5b070130    rbx = 0x0000017d464fe8c0
[task 2024-07-03T21:57:23.159Z] 21:57:23     INFO -       rsi = 0x0000017d467074a0    rdi = 0x0000000080040154
[task 2024-07-03T21:57:23.159Z] 21:57:23     INFO -       rbp = 0x0000000000000000    rsp = 0x00000016563fec50
[task 2024-07-03T21:57:23.160Z] 21:57:23     INFO -        r8 = 0x0000000000000000     r9 = 0x0000000000000000
[task 2024-07-03T21:57:23.160Z] 21:57:23     INFO -       r10 = 0x00000fffc57a8646    r11 = 0x0000001450000040
[task 2024-07-03T21:57:23.160Z] 21:57:23     INFO -       r12 = 0x00007ffe31197300    r13 = 0x0000017d387e9f40
[task 2024-07-03T21:57:23.160Z] 21:57:23     INFO -       r14 = 0x0000017d464fe8e0    r15 = 0x00000016563fed90
[task 2024-07-03T21:57:23.160Z] 21:57:23     INFO -       rip = 0x00007ffe2bd432cd
[task 2024-07-03T21:57:23.161Z] 21:57:23     INFO -      Found by: given as instruction pointer in context
[task 2024-07-03T21:57:23.161Z] 21:57:23     INFO -   1  xul.dll!mozilla::RefPtrTraits<nsIFactory>::AddRef(nsIFactory*) [RefPtr.h:7f6e4850b977fc6bd4ea06cfae8b581b8864c3e9 : 48]
[task 2024-07-03T21:57:23.161Z] 21:57:23     INFO -      Found by: inlining
[task 2024-07-03T21:57:23.161Z] 21:57:23     INFO -   2  xul.dll!nsCOMPtr<nsIFactory>::nsCOMPtr(nsCOMPtr<nsIFactory> const&) [nsCOMPtr.h:7f6e4850b977fc6bd4ea06cfae8b581b8864c3e9 : 387]
[task 2024-07-03T21:57:23.162Z] 21:57:23     INFO -      Found by: inlining
[task 2024-07-03T21:57:23.162Z] 21:57:23     INFO -   3  xul.dll!nsFactoryEntry::GetFactory() [nsComponentManager.cpp:7f6e4850b977fc6bd4ea06cfae8b581b8864c3e9 : 1371]
[task 2024-07-03T21:57:23.163Z] 21:57:23     INFO -      Found by: inlining
[task 2024-07-03T21:57:23.163Z] 21:57:23     INFO -   4  xul.dll!(anonymous namespace)::EntryWrapper::GetFactory::Matcher::operator()(nsFactoryEntry*) [nsComponentManager.cpp:7f6e4850b977fc6bd4ea06cfae8b581b8864c3e9 : 175]
[task 2024-07-03T21:57:23.163Z] 21:57:23     INFO -      Found by: inlining
[task 2024-07-03T21:57:23.164Z] 21:57:23     INFO -   5  xul.dll!mozilla::detail::VariantImplementation<bool,0,nsFactoryEntry *,const mozilla::xpcom::StaticModule *>::match((anonymous namespace)::EntryWrapper::GetFactory::Matcher&&, mozilla::Variant<nsFactoryEntry *,const mozilla::xpcom::StaticModule *>&) [Variant.h:7f6e4850b977fc6bd4ea06cfae8b581b8864c3e9 : 266]
[task 2024-07-03T21:57:23.164Z] 21:57:23     INFO -      Found by: inlining
[task 2024-07-03T21:57:23.164Z] 21:57:23     INFO -   6  xul.dll!mozilla::Variant<nsFactoryEntry *,const mozilla::xpcom::StaticModule *>::match((anonymous namespace)::EntryWrapper::GetFactory::Matcher&&) [Variant.h:7f6e4850b977fc6bd4ea06cfae8b581b8864c3e9 : 852]
[task 2024-07-03T21:57:23.164Z] 21:57:23     INFO -      Found by: inlining
[task 2024-07-03T21:57:23.164Z] 21:57:23     INFO -   7  xul.dll!(anonymous namespace)::EntryWrapper::GetFactory() [nsComponentManager.cpp:7f6e4850b977fc6bd4ea06cfae8b581b8864c3e9 : 175]
[task 2024-07-03T21:57:23.165Z] 21:57:23     INFO -      Found by: inlining
[task 2024-07-03T21:57:23.165Z] 21:57:23     INFO -   8  xul.dll!nsComponentManagerImpl::CreateInstanceByContractID(char const*, nsID const&, void**) [nsComponentManager.cpp:7f6e4850b977fc6bd4ea06cfae8b581b8864c3e9 : 850 + 0x18]
[task 2024-07-03T21:57:23.165Z] 21:57:23     INFO -       rbx = 0x0000017d464fe8c0    rsi = 0x00007ffe3216a226
[task 2024-07-03T21:57:23.165Z] 21:57:23     INFO -       rdi = 0x0000000080040154    rbp = 0x0000000000000000
[task 2024-07-03T21:57:23.166Z] 21:57:23     INFO -       rsp = 0x00000016563fec90    r12 = 0x00007ffe31197300
[task 2024-07-03T21:57:23.166Z] 21:57:23     INFO -       r13 = 0x0000017d387e9f40    r14 = 0x0000017d464fe8e0
[task 2024-07-03T21:57:23.166Z] 21:57:23     INFO -       r15 = 0x00000016563fed90    rip = 0x00007ffe2b57a611
[task 2024-07-03T21:57:23.166Z] 21:57:23     INFO -      Found by: call frame info
<...>
[task 2024-07-03T21:57:23.196Z] 21:57:23     INFO -  33  kernel32.dll!BaseThreadInitThunk + 0x13
[task 2024-07-03T21:57:23.197Z] 21:57:23     INFO -       rbx = 0x00007ffe63a81b70    rbp = 0x0000000000000000
[task 2024-07-03T21:57:23.197Z] 21:57:23     INFO -       rsp = 0x00000016563ff8e0    r12 = 0x0000000000000000
[task 2024-07-03T21:57:23.197Z] 21:57:23     INFO -       r13 = 0x0000000000000000    r14 = 0x0000000000000000
[task 2024-07-03T21:57:23.197Z] 21:57:23     INFO -       r15 = 0x0000000000000000    rip = 0x00007ffe657f7344
[task 2024-07-03T21:57:23.197Z] 21:57:23     INFO -      Found by: call frame info
[task 2024-07-03T21:57:23.198Z] 21:57:23     INFO -  34  mozglue.dll!mozilla::interceptor::FuncHook<mozilla::interceptor::WindowsDllInterceptor<mozilla::interceptor::VMSharingPolicyShared>,void (*)(int, void *, void *)>::operator()(int&, void*&, void*&) const [nsWindowsDllInterceptor.h:7f6e4850b977fc6bd4ea06cfae8b581b8864c3e9 : 150]
[task 2024-07-03T21:57:23.198Z] 21:57:23     INFO -      Found by: inlining
[task 2024-07-03T21:57:23.198Z] 21:57:23     INFO -  35  mozglue.dll!patched_BaseThreadInitThunk(int, void*, void*) [WindowsDllBlocklist.cpp:7f6e4850b977fc6bd4ea06cfae8b581b8864c3e9 : 562 + 0x23]
[task 2024-07-03T21:57:23.198Z] 21:57:23     INFO -       rbx = 0x00007ffe63a81b70    rbp = 0x0000000000000000
[task 2024-07-03T21:57:23.199Z] 21:57:23     INFO -       rsp = 0x00000016563ff910    r12 = 0x0000000000000000
[task 2024-07-03T21:57:23.199Z] 21:57:23     INFO -       r13 = 0x0000000000000000    r14 = 0x0000000000000000
[task 2024-07-03T21:57:23.199Z] 21:57:23     INFO -       r15 = 0x0000000000000000    rip = 0x00007ffe5b022a5b
[task 2024-07-03T21:57:23.199Z] 21:57:23     INFO -      Found by: call frame info
[task 2024-07-03T21:57:23.199Z] 21:57:23     INFO -  36  ntdll.dll!RtlUserThreadStart + 0x20
[task 2024-07-03T21:57:23.200Z] 21:57:23     INFO -       rbx = 0x0000000000000000    rsi = 0x0000000000000000
[task 2024-07-03T21:57:23.200Z] 21:57:23     INFO -       rdi = 0x0000000000000000    rbp = 0x0000000000000000
[task 2024-07-03T21:57:23.200Z] 21:57:23     INFO -       rsp = 0x00000016563ff980    r12 = 0x0000000000000000
[task 2024-07-03T21:57:23.200Z] 21:57:23     INFO -       r13 = 0x0000000000000000    r14 = 0x0000000000000000
[task 2024-07-03T21:57:23.200Z] 21:57:23     INFO -       r15 = 0x0000000000000000    rip = 0x00007ffe65cdcc91
[task 2024-07-03T21:57:23.200Z] 21:57:23     INFO -      Found by: call frame info

Setting as resolved fixed, the push was backed out.

Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in before you can comment on or make changes to this bug.