Assertion failure: the value of mPrivateBrowsingId in the loadContext and in the loadInfo are not the same!
When building Base Browser 115.4.0-build1 in debug it crashes when trying to open any tab (Gah. Your tab just crashed.) except for some about pages (about:preferences
, about:robots
).
JS Stack trace (DumpJSStack())
0 _internalMaybeFixupLoadURI(browser = "[object XULFrameElement]", uriString = """", uri = "[xpconnect wrapped nsIURI @ 0x7f2e5a55b460 (native @ 0x7f2e58441650)]", loadURIOptions = "[object Object]") ["chrome://browser/content/tabbrowser.js":7284:32]
this = [object Object]
1 loadURI(browser = "[object XULFrameElement]", uri = "[xpconnect wrapped nsIURI @ 0x7f2e5a55b460 (native @ 0x7f2e58441650)]", loadURIOptions = "[object Object]") ["chrome://browser/content/tabbrowser.js":7242:11]
this = [object Object]
2 reviveCrashedTab(aTab = "[object XULElement]") ["resource:///modules/sessionstore/SessionStore.sys.mjs":3910:12]
this = [object Object]
3 reviveCrashedTab(aTab = "[object XULElement]") ["resource:///modules/sessionstore/SessionStore.sys.mjs":454:32]
this = [object Object]
4 receiveMessage(message = "[object Object]") ["resource:///actors/AboutTabCrashedParent.sys.mjs":55:26]
this = [object JSWindowActorParent]
C++ stack trace (including JS handling)
__GI___clock_nanosleep (@clock_nanosleep@GLIBC_2.2.5:29)
__GI___nanosleep (@__nanosleep:9)
__sleep (@sleep:17)
common_crap_handler(int, void const*) (/home/piero/Tor/tor-browser/toolkit/xre/nsSigHandlers.cpp:96)
child_ah_crap_handler(int) (/home/piero/Tor/tor-browser/toolkit/xre/nsSigHandlers.cpp:110)
__restore_rt (@__restore_rt:3)
mozilla::CheckTelemetryPref() (/home/piero/Tor/tor-browser/modules/libpref/Preferences.cpp:3645)
mozilla::Preferences::GetInstanceForService() (/home/piero/Tor/tor-browser/modules/libpref/Preferences.cpp:3692)
mozilla::xpcom::CreateInstanceImpl(mozilla::xpcom::ModuleID, nsID const&, void**) (/home/piero/Tor/tor-browser/obj-x86_64-pc-linux-gnu/xpcom/components/StaticComponents.cpp:10334)
mozilla::xpcom::StaticModule::CreateInstance(nsID const&, void**) const (/home/piero/Tor/tor-browser/obj-x86_64-pc-linux-gnu/xpcom/components/StaticComponents.cpp:12469)
(anonymous namespace)::EntryWrapper::CreateInstance(nsID const&, void**) (/home/piero/Tor/tor-browser/xpcom/components/nsComponentManager.cpp:184)
nsComponentManagerImpl::GetServiceLocked(mozilla::Maybe<mozilla::detail::BaseMonitorAutoLock<mozilla::Monitor>>&, (anonymous namespace)::EntryWrapper&, nsID const&, void**) (/home/piero/Tor/tor-browser/xpcom/components/nsComponentManager.cpp:971)
nsComponentManagerImpl::GetServiceByContractID(char const*, nsID const&, void**) (/home/piero/Tor/tor-browser/xpcom/components/nsComponentManager.cpp:1160)
CallGetService(char const*, nsID const&, void**) (/home/piero/Tor/tor-browser/xpcom/components/nsComponentManagerUtils.cpp:61)
nsGetServiceByContractID::operator()(nsID const&, void**) const (/home/piero/Tor/tor-browser/xpcom/components/nsComponentManagerUtils.cpp:240)
nsCOMPtr<nsIPrefService>::assign_from_gs_contractid(nsGetServiceByContractID, nsID const&) (/home/piero/Tor/tor-browser/obj-x86_64-pc-linux-gnu/dist/include/nsCOMPtr.h:867)
nsCOMPtr<nsIPrefService>::nsCOMPtr(nsGetServiceByContractID) (/home/piero/Tor/tor-browser/obj-x86_64-pc-linux-gnu/dist/include/nsCOMPtr.h:509)
mozilla::Preferences::InitStaticMembers() (/home/piero/Tor/tor-browser/modules/libpref/Preferences.cpp:3759)
nsresult mozilla::Preferences::RegisterCallbackImpl<char const**>(void (*)(char const*, void*), char const**&, void*, mozilla::Preferences::MatchKind, bool) (/home/piero/Tor/tor-browser/modules/libpref/Preferences.cpp:5445)
mozilla::Preferences::RegisterCallbacks(void (*)(char const*, void*), char const**, void*, mozilla::Preferences::MatchKind) (/home/piero/Tor/tor-browser/modules/libpref/Preferences.cpp:5482)
nsresult mozilla::Preferences::RegisterPrefixCallbacks<nsIDNService>(void (*)(char const*, void*), char const**, nsIDNService*) (/home/piero/Tor/tor-browser/obj-x86_64-pc-linux-gnu/dist/include/mozilla/Preferences.h:344)
nsIDNService::Init() (/home/piero/Tor/tor-browser/netwerk/dns/nsIDNService.cpp:95)
mozilla::xpcom::CreateInstanceImpl(mozilla::xpcom::ModuleID, nsID const&, void**) (/home/piero/Tor/tor-browser/obj-x86_64-pc-linux-gnu/xpcom/components/StaticComponents.cpp:10694)
mozilla::xpcom::StaticModule::CreateInstance(nsID const&, void**) const (/home/piero/Tor/tor-browser/obj-x86_64-pc-linux-gnu/xpcom/components/StaticComponents.cpp:12469)
(anonymous namespace)::EntryWrapper::CreateInstance(nsID const&, void**) (/home/piero/Tor/tor-browser/xpcom/components/nsComponentManager.cpp:184)
nsComponentManagerImpl::GetServiceLocked(mozilla::Maybe<mozilla::detail::BaseMonitorAutoLock<mozilla::Monitor>>&, (anonymous namespace)::EntryWrapper&, nsID const&, void**) (/home/piero/Tor/tor-browser/xpcom/components/nsComponentManager.cpp:971)
nsComponentManagerImpl::GetServiceByContractID(char const*, nsID const&, void**) (/home/piero/Tor/tor-browser/xpcom/components/nsComponentManager.cpp:1160)
CallGetService(char const*, nsID const&, void**) (/home/piero/Tor/tor-browser/xpcom/components/nsComponentManagerUtils.cpp:61)
nsGetServiceByContractID::operator()(nsID const&, void**) const (/home/piero/Tor/tor-browser/xpcom/components/nsComponentManagerUtils.cpp:240)
nsCOMPtr<nsIIDNService>::assign_from_gs_contractid(nsGetServiceByContractID, nsID const&) (/home/piero/Tor/tor-browser/obj-x86_64-pc-linux-gnu/dist/include/nsCOMPtr.h:867)
nsCOMPtr<nsIIDNService>::nsCOMPtr(nsGetServiceByContractID) (/home/piero/Tor/tor-browser/obj-x86_64-pc-linux-gnu/dist/include/nsCOMPtr.h:509)
mozilla::net::nsStandardURL::InitGlobalObjects() (/home/piero/Tor/tor-browser/netwerk/base/nsStandardURL.cpp:343)
nsNetStartup() (/home/piero/Tor/tor-browser/netwerk/build/nsNetModule.cpp:214)
mozilla::xpcom::CallInitFunc(unsigned long) (/home/piero/Tor/tor-browser/obj-x86_64-pc-linux-gnu/xpcom/components/StaticComponents.cpp:9050)
mozilla::xpcom::CreateInstanceImpl(mozilla::xpcom::ModuleID, nsID const&, void**) (/home/piero/Tor/tor-browser/obj-x86_64-pc-linux-gnu/xpcom/components/StaticComponents.cpp:9344)
mozilla::xpcom::StaticModule::CreateInstance(nsID const&, void**) const (/home/piero/Tor/tor-browser/obj-x86_64-pc-linux-gnu/xpcom/components/StaticComponents.cpp:12469)
(anonymous namespace)::EntryWrapper::CreateInstance(nsID const&, void**) (/home/piero/Tor/tor-browser/xpcom/components/nsComponentManager.cpp:184)
nsComponentManagerImpl::GetServiceLocked(mozilla::Maybe<mozilla::detail::BaseMonitorAutoLock<mozilla::Monitor>>&, (anonymous namespace)::EntryWrapper&, nsID const&, void**) (/home/piero/Tor/tor-browser/xpcom/components/nsComponentManager.cpp:971)
nsComponentManagerImpl::GetService(mozilla::xpcom::ModuleID, nsID const&, void**) (/home/piero/Tor/tor-browser/xpcom/components/nsComponentManager.cpp:1061)
mozilla::xpcom::GetServiceHelper::operator()(nsID const&, void**) const (/home/piero/Tor/tor-browser/obj-x86_64-pc-linux-gnu/xpcom/components/StaticComponents.cpp:12611)
RefPtr<nsIIOService>::RefPtr(nsCOMPtr_helper const&) (/home/piero/Tor/tor-browser/obj-x86_64-pc-linux-gnu/dist/include/nsCOMPtr.h:1107)
nsScriptSecurityManager::Init() (/home/piero/Tor/tor-browser/caps/nsScriptSecurityManager.cpp:1552)
nsScriptSecurityManager::InitStatics() (/home/piero/Tor/tor-browser/caps/nsScriptSecurityManager.cpp:1614)
nsXPConnect::InitStatics() (/home/piero/Tor/tor-browser/js/xpconnect/src/nsXPConnect.cpp:165)
xpcModuleCtor() (/home/piero/Tor/tor-browser/js/xpconnect/src/XPCModule.cpp:11)
nsLayoutModuleInitialize() (/home/piero/Tor/tor-browser/layout/build/nsLayoutModule.cpp:100)
nsComponentManagerImpl::Init() (/home/piero/Tor/tor-browser/xpcom/components/nsComponentManager.cpp:371)
::NS_InitXPCOM(nsIServiceManager **, nsIFile *, nsIDirectoryServiceProvider *, bool) (/home/piero/Tor/tor-browser/xpcom/build/XPCOMInit.cpp:421)
mozilla::dom::ContentProcess::Init(int, char**) (/home/piero/Tor/tor-browser/dom/ipc/ContentProcess.cpp:153)
XRE_InitChildProcess(int, char**, XREChildData const*) (/home/piero/Tor/tor-browser/toolkit/xre/nsEmbedFunctions.cpp:625)
mozilla::BootstrapImpl::XRE_InitChildProcess(int, char**, XREChildData const*) (/home/piero/Tor/tor-browser/toolkit/xre/Bootstrap.cpp:67)
content_process_main(mozilla::Bootstrap*, int, char**) (/home/piero/Tor/tor-browser/ipc/contentproc/plugin-container.cpp:57)
main (/home/piero/Tor/tor-browser/browser/app/nsBrowserApp.cpp:375)
__libc_start_call_main (@__libc_start_call_main:26)
__libc_start_main_impl (@__libc_start_main@@GLIBC_2.34:43)
_start (@_start:14)
Mozconfig
. $topsrcdir/mozconfig-linux-x86_64-dev
CBINDGEN=/home/piero/Tor/toolchains/cbindgen-0.24.3/cbindgen
ac_add_options --enable-debug
ac_add_options --enable-debug-js-modules
ac_add_options --disable-optimize
ac_add_options --disable-rust-simd
ac_add_options --enable-tests
I got his stack trace on Linux, but I encountered same assertion failure on Windows.
I'd expect to be also a macOS problem (but possibly not an Android one, since I don't think tabbrowser.js
is used on Android).
Edited by Pier Angelo Vendrame