NS_ENSURE_VALIDCALL fails in nsObserverService::NotifyObservers, TabChild releases after shutdown

NEW
Unassigned

Status

Firefox for Android Graveyard
General
6 years ago
6 years ago

People

(Reporter: mayhemer, Unassigned)

Tracking

Trunk
x86_64
Windows 7

Details

(Reporter)

Description

6 years ago
m-c@555f91476597, debug desktop fennec build with e10s enabled.

Happened at shutdown on the child process.  I just closed Fennec.

mShuttingDown = true
aTopic = "domwindowclosed"

 	xul.dll!NS_DebugBreak_P(unsigned int aSeverity=0x00000001, const char * aStr=0x5aae2b00, const char * aExpr=0x5aae2af8, const char * aFile=0x5aae2ab8, int aLine=0x00000090)  Line 415 + 0xc bytes	C++
>	xul.dll!nsObserverService::NotifyObservers(nsISupports * aSubject=0x030847f8, const char * aTopic=0x5a548c84, const wchar_t * someData=0x00000000)  Line 144 + 0x5a bytes	C++
 	xul.dll!nsWindowWatcher::RemoveWindow(nsWatcherWindowEntry * inInfo=0x030b2a98)  Line 1297	C++
 	xul.dll!nsWindowWatcher::RemoveWindow(nsIDOMWindow * aWindow=0x030847a8)  Line 1222	C++
 	xul.dll!nsDocShellTreeOwner::RemoveFromWatcher()  Line 319	C++
 	xul.dll!nsWebBrowser::SetDocShell(nsIDocShell * aDocShell=0x00000000)  Line 1617	C++
 	xul.dll!nsWebBrowser::InternalDestroy()  Line 102	C++
 	xul.dll!nsWebBrowser::Destroy()  Line 1227	C++
 	xul.dll!mozilla::dom::TabChild::DestroyWindow()  Line 633	C++
 	xul.dll!mozilla::dom::TabChild::~TabChild()  Line 665	C++
 	xul.dll!mozilla::dom::TabChild::`scalar deleting destructor'()  + 0xf bytes	C++
 	xul.dll!mozilla::dom::TabChild::Release()  Line 274 + 0x176 bytes	C++
 	xul.dll!mozilla::StaticRefPtr<mozilla::dom::TabChild>::AssignAssumingAddRef(mozilla::dom::TabChild * newPtr=0x00000000)  Line 150	C++
 	xul.dll!mozilla::StaticRefPtr<mozilla::dom::TabChild>::AssignWithAddref(mozilla::dom::TabChild * newPtr=0x00000000)  Line 141	C++
 	xul.dll!mozilla::StaticRefPtr<mozilla::dom::TabChild>::operator=(mozilla::dom::TabChild * rhs=0x00000000)  Line 105	C++
 	xul.dll!mozilla::ClearOnShutdown_Internal::PointerClearer<mozilla::StaticRefPtr<mozilla::dom::TabChild> >::Shutdown()  Line 60	C++
 	xul.dll!mozilla::KillClearOnShutdown()  Line 94	C++
 	xul.dll!mozilla::ShutdownXPCOM(nsIServiceManager * servMgr=0x00000000)  Line 595	C++
 	xul.dll!NS_ShutdownXPCOM_P(nsIServiceManager * servMgr=0x00000000)  Line 506 + 0x9 bytes	C++
 	xul.dll!XRE_TermEmbedding()  Line 196 + 0x7 bytes	C++
 	xul.dll!mozilla::ipc::ScopedXREEmbed::Stop()  Line 95	C++
 	xul.dll!mozilla::dom::ContentProcess::CleanUp()  Line 32	C++
 	xul.dll!XRE_InitChildProcess(int aArgc=0x00000002, char * * aArgv=0x00962750, GeckoProcessType aProcess=GeckoProcessType_Content)  Line 490	C++
 	plugin-container.exe!NS_internal_main(int argc=0x00000004, char * * argv=0x00962750)  Line 48 + 0x12 bytes	C++
 	plugin-container.exe!wmain(int argc=0x00000005, wchar_t * * argv=0x01e9fc98)  Line 100 + 0xd bytes	C++
 	plugin-container.exe!__tmainCRTStartup()  Line 552 + 0x19 bytes	C
 	plugin-container.exe!wmainCRTStartup()  Line 371	C
(Reporter)

Comment 1

6 years ago
Clean profile and only one tab open with an already offline enabled page that caches in offline app cache.
Duplicate of this bug: 794733
You need to log in before you can comment on or make changes to this bug.