Closed Bug 765146 Opened 8 years ago Closed 8 years ago

Hang up during system shutdown (Win7 x64)

Categories

(Core :: General, defect)

x86_64
Windows 7
defect
Not set

Tracking

()

RESOLVED DUPLICATE of bug 729536

People

(Reporter: masayuki, Unassigned)

Details

(Keywords: hang)

I succeeded to get the stack of hang up during system shutdown. I opened a page which has a flash content.

plugin-container.exe quits correctly by the shutdown, but firefox.exe stays there.

Main thread:

> 	ntdll.dll!7764f8b1() 	
> 	[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]	
> 	ntdll.dll!7764f8b1() 	
> 	KernelBase.dll!76770a91() 	
>>	nspr4.dll!_PR_MD_WAIT_CV(_MDCVar * cv, _MDLock * lock, unsigned int timeout)  Line 248 + 0x14 bytes	C
> 	nspr4.dll!_PR_WaitCondVar(PRThread * thread, PRCondVar * cvar, PRLock * lock, unsigned int timeout)  Line 172 + 0x17 bytes	C
> 	nspr4.dll!PR_Wait(PRMonitor * mon, unsigned int ticks)  Line 152 + 0x1d bytes	C
> 	xul.dll!mozilla::ReentrantMonitor::Wait(unsigned int interval)  Line 313 + 0x11 bytes	C++
> 	xul.dll!mozilla::ReentrantMonitorAutoEnter::Wait(unsigned int interval)  Line 193	C++
> 	xul.dll!nsHttpConnectionMgr::Shutdown()  Line 164	C++
> 	xul.dll!nsHttpHandler::Observe(nsISupports * subject, const char * topic, const wchar_t * data)  Line 1546	C++
> 	xul.dll!nsObserverList::NotifyObservers(nsISupports * aSubject, const char * aTopic, const wchar_t * someData)  Line 100	C++
> 	xul.dll!nsObserverService::NotifyObservers(nsISupports * aSubject, const char * aTopic, const wchar_t * someData)  Line 152	C++
> 	xul.dll!nsWindow::ProcessMessage(unsigned int msg, unsigned int & wParam, long & lParam, long * aRetValue)  Line 4481	C++
> 	xul.dll!nsWindow::WindowProcInternal(HWND__ * hWnd, unsigned int msg, unsigned int wParam, long lParam)  Line 4309 + 0x20 bytes	C++
> 	xul.dll!CallWindowProcCrashProtected(long (HWND__ *, unsigned int, unsigned int, long)* wndProc, HWND__ * hWnd, unsigned int msg, unsigned int wParam, long lParam)  Line 32 + 0x13 bytes	C++
> 	xul.dll!nsWindow::WindowProc(HWND__ * hWnd, unsigned int msg, unsigned int wParam, long lParam)  Line 4251 + 0x1a bytes	C++
> 	user32.dll!750362fa() 	
> 	user32.dll!75036d3a() 	
> 	user32.dll!75036ce9() 	
> 	user32.dll!75036de8() 	
> 	user32.dll!75036e44() 	
> 	ntdll.dll!7764010a() 	
> 	user32.dll!750372b9() 	
> 	user32.dll!750374bb() 	
> 	user32.dll!75040d27() 	
> 	user32.dll!75040d4d() 	
> 	xul.dll!nsWindow::WindowProcInternal(HWND__ * hWnd, unsigned int msg, unsigned int wParam, long lParam)  Line 4314 + 0x1f bytes	C++
> 	xul.dll!CallWindowProcCrashProtected(long (HWND__ *, unsigned int, unsigned int, long)* wndProc, HWND__ * hWnd, unsigned int msg, unsigned int wParam, long lParam)  Line 32 + 0x13 bytes	C++
> 	xul.dll!nsWindow::WindowProc(HWND__ * hWnd, unsigned int msg, unsigned int wParam, long lParam)  Line 4251 + 0x1a bytes	C++
> 	user32.dll!750362fa() 	
> 	user32.dll!75036d3a() 	
> 	user32.dll!75036ce9() 	
> 	user32.dll!750362fa() 	
> 	user32.dll!75036ce9() 	
> 	user32.dll!75036e44() 	
> 	ntdll.dll!7764010a() 	
> 	user32.dll!75040735() 	
> 	user32.dll!750406eb() 	
> 	user32.dll!75040751() 	
> 	xul.dll!PeekUIMessage(tagMSG * aMsg)  Line 65 + 0x18 bytes	C++
> 	xul.dll!nsAppShell::ProcessNextNativeEvent(bool mayWait)  Line 306 + 0x9 bytes	C++
> 	xul.dll!nsBaseAppShell::DoProcessNextNativeEvent(bool mayWait, unsigned int recursionDepth)  Line 139 + 0x12 bytes	C++
> 	xul.dll!nsBaseAppShell::OnProcessNextEvent(nsIThreadInternal * thr, bool mayWait, unsigned int recursionDepth)  Line 280 + 0x11 bytes	C++
> 	xul.dll!nsThread::ProcessNextEvent(bool mayWait, bool * result)  Line 589	C++
> 	xul.dll!NS_ProcessNextEvent_P(nsIThread * thread, bool mayWait)  Line 213 + 0x17 bytes	C++
> 	xul.dll!mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate * aDelegate)  Line 82 + 0xe bytes	C++
> 	xul.dll!MessageLoop::RunInternal()  Line 209	C++
> 	xul.dll!MessageLoop::RunHandler()  Line 202	C++
> 	xul.dll!MessageLoop::Run()  Line 176	C++
> 	xul.dll!nsBaseAppShell::Run()  Line 165	C++
> 	xul.dll!nsAppShell::Run()  Line 232 + 0x9 bytes	C++
> 	xul.dll!nsAppStartup::Run()  Line 256 + 0x1c bytes	C++
> 	xul.dll!XREMain::XRE_mainRun()  Line 3781 + 0x22 bytes	C++
> 	xul.dll!XREMain::XRE_main(int argc, char * * argv, const nsXREAppData * aAppData)  Line 3858 + 0x8 bytes	C++
> 	xul.dll!XRE_main(int argc, char * * argv, const nsXREAppData * aAppData, unsigned int aFlags)  Line 3934 + 0x17 bytes	C++
> 	firefox.exe!do_main(int argc, char * * argv)  Line 157 + 0x15 bytes	C++
> 	firefox.exe!NS_internal_main(int argc, char * * argv)  Line 296 + 0xd bytes	C++
> 	firefox.exe!wmain(int argc, wchar_t * * argv)  Line 100 + 0xd bytes	C++
> 	firefox.exe!__tmainCRTStartup()  Line 552 + 0x19 bytes	C
> 	firefox.exe!wmainCRTStartup()  Line 371	C
> 	kernel32.dll!76b5339a() 	

Others:

> 	ntdll.dll!7764f939() 	
> 	[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]	
> 	ntdll.dll!7764f939() 	
> 	KernelBase.dll!767676a6() 	
> 	ntdll.dll!7764f939() 	
> 	KernelBase.dll!767676a6() 	
>>	xul.dll!base::MessagePumpForIO::GetIOItem(unsigned long timeout, base::MessagePumpForIO::IOItem * item)  Line 536 + 0x25 bytes	C++
> 	xul.dll!base::MessagePumpForIO::WaitForIOCompletion(unsigned long timeout, base::MessagePumpForIO::IOHandler * filter)  Line 507 + 0x10 bytes	C++
> 	xul.dll!base::MessagePumpForIO::WaitForWork()  Line 501	C++
> 	xul.dll!base::MessagePumpForIO::DoRunLoop()  Line 486	C++
> 	xul.dll!base::MessagePumpWin::RunWithDispatcher(base::MessagePump::Delegate * delegate, base::MessagePumpWin::Dispatcher * dispatcher)  Line 55	C++
> 	xul.dll!base::MessagePumpWin::Run(base::MessagePump::Delegate * delegate)  Line 78 + 0x15 bytes	C++
> 	xul.dll!MessageLoop::RunInternal()  Line 209	C++
> 	xul.dll!MessageLoop::RunHandler()  Line 202	C++
> 	xul.dll!MessageLoop::Run()  Line 176	C++
> 	xul.dll!base::Thread::ThreadMain()  Line 159	C++
> 	xul.dll!`anonymous namespace'::ThreadFunc(void * closure)  Line 27	C++
> 	kernel32.dll!76b5339a() 	
> 	ntdll.dll!77669ef2() 	
> 	ntdll.dll!77669ec5() 	

> 	ntdll.dll!7764f8b1() 	
> 	[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]	
> 	ntdll.dll!7764f8b1() 	
> 	KernelBase.dll!76770a91() 	
>>	nspr4.dll!_PR_MD_WAIT_CV(_MDCVar * cv, _MDLock * lock, unsigned int timeout)  Line 248 + 0x14 bytes	C
> 	nspr4.dll!_PR_WaitCondVar(PRThread * thread, PRCondVar * cvar, PRLock * lock, unsigned int timeout)  Line 172 + 0x17 bytes	C
> 	nspr4.dll!PR_WaitCondVar(PRCondVar * cvar, unsigned int timeout)  Line 515 + 0x17 bytes	C
> 	xul.dll!mozilla::CondVar::Wait(unsigned int interval)  Line 340 + 0x11 bytes	C++
> 	xul.dll!nsCycleCollectorRunner::Run()  Line 3043	C++
> 	xul.dll!nsThread::ProcessNextEvent(bool mayWait, bool * result)  Line 624 + 0x19 bytes	C++
> 	xul.dll!NS_ProcessNextEvent_P(nsIThread * thread, bool mayWait)  Line 213 + 0x17 bytes	C++
> 	xul.dll!nsThread::ThreadFunc(void * arg)  Line 257 + 0xb bytes	C++
> 	nspr4.dll!_PR_NativeRunThread(void * arg)  Line 395 + 0xf bytes	C
> 	nspr4.dll!pr_root(void * arg)  Line 90 + 0xf bytes	C
> 	msvcr100d.dll!_callthreadstartex()  Line 314 + 0xf bytes	C
> 	msvcr100d.dll!_threadstartex(void * ptd)  Line 297	C
> 	kernel32.dll!76b5339a() 	
> 	ntdll.dll!77669ef2() 	
> 	ntdll.dll!77669ec5() 	

> 	ntdll.dll!7765013d() 	
> 	[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]	
> 	ntdll.dll!7765013d() 	
> 	KernelBase.dll!76770bdd() 	
> 	nsi.dll!76a61c90() 	
>>	xul.dll!nsNotifyAddrListener::Run()  Line 119 + 0x10 bytes	C++
> 	xul.dll!nsThread::ProcessNextEvent(bool mayWait, bool * result)  Line 624 + 0x19 bytes	C++
> 	xul.dll!NS_ProcessNextEvent_P(nsIThread * thread, bool mayWait)  Line 213 + 0x17 bytes	C++
> 	xul.dll!nsThread::ThreadFunc(void * arg)  Line 257 + 0xb bytes	C++
> 	nspr4.dll!_PR_NativeRunThread(void * arg)  Line 395 + 0xf bytes	C
> 	nspr4.dll!pr_root(void * arg)  Line 90 + 0xf bytes	C
> 	msvcr100d.dll!_callthreadstartex()  Line 314 + 0xf bytes	C
> 	msvcr100d.dll!_threadstartex(void * ptd)  Line 297	C
> 	kernel32.dll!76b5339a() 	
> 	ntdll.dll!77669ef2() 	
> 	ntdll.dll!77669ec5() 	

> 	ntdll.dll!7764f8b1() 	
> 	[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]	
> 	ntdll.dll!7764f8b1() 	
> 	KernelBase.dll!76770a91() 	
>>	xul.dll!AssertActivityIsLegal()  Line 136 + 0x15 bytes	C++
> 	nspr4.dll!_PR_MD_WAIT_CV(_MDCVar * cv, _MDLock * lock, unsigned int timeout)  Line 248 + 0x14 bytes	C
> 	nspr4.dll!_PR_WaitCondVar(PRThread * thread, PRCondVar * cvar, PRLock * lock, unsigned int timeout)  Line 172 + 0x17 bytes	C
> 	nspr4.dll!PR_WaitCondVar(PRCondVar * cvar, unsigned int timeout)  Line 515 + 0x17 bytes	C
> 	xul.dll!mozilla::CondVar::Wait(unsigned int interval)  Line 340 + 0x11 bytes	C++
> 	xul.dll!mozilla::Monitor::Wait(unsigned int interval)  Line 48	C++
> 	xul.dll!mozilla::MonitorAutoLock::Wait(unsigned int interval)  Line 103	C++
> 	xul.dll!mozilla::psm::SyncRunnableBase::DispatchToMainThreadAndWait()  Line 27	C++
> 	xul.dll!nsNSSSocketInfo::GetPreviousCert(nsIX509Cert * * _result)  Line 376 + 0xf bytes	C++
> 	xul.dll!HandshakeCallback(PRFileDesc * fd, void * client_data)  Line 891 + 0x29 bytes	C++
> 	ssl3.dll!ssl3_FinishHandshake(sslSocketStr * ss)  Line 8633 + 0x1b bytes	C
> 	ssl3.dll!ssl3_HandleFinished(sslSocketStr * ss, unsigned char * b, unsigned int length, const SSL3Hashes * hashes)  Line 8609 + 0x9 bytes	C
> 	ssl3.dll!ssl3_HandleHandshakeMessage(sslSocketStr * ss, unsigned char * b, unsigned int length)  Line 8789 + 0x15 bytes	C
> 	ssl3.dll!ssl3_HandleHandshake(sslSocketStr * ss, sslBufferStr * origBuf)  Line 8857 + 0x19 bytes	C
> 	ssl3.dll!ssl3_HandleRecord(sslSocketStr * ss, SSL3Ciphertext * cText, sslBufferStr * databuf)  Line 9195 + 0xd bytes	C
> 	ssl3.dll!ssl3_GatherCompleteHandshake(sslSocketStr * ss, int flags)  Line 240 + 0x17 bytes	C
> 	ssl3.dll!ssl_GatherRecord1stHandshake(sslSocketStr * ss)  Line 1253 + 0xb bytes	C
> 	ssl3.dll!ssl_Do1stHandshake(sslSocketStr * ss)  Line 153 + 0xf bytes	C
> 	ssl3.dll!ssl_SecureSend(sslSocketStr * ss, const unsigned char * buf, int len, int flags)  Line 1240 + 0x9 bytes	C
> 	ssl3.dll!ssl_Send(PRFileDesc * fd, const void * buf, int len, int flags, unsigned int timeout)  Line 1769 + 0x1b bytes	C
> 	xul.dll!PSMSend(PRFileDesc * fd, const void * buf, int amount, int flags, unsigned int timeout)  Line 1104 + 0x24 bytes	C++
> 	xul.dll!nsSSLIOLayerWrite(PRFileDesc * fd, const void * buf, int amount)  Line 1121 + 0x15 bytes	C++
> 	nspr4.dll!PR_Write(PRFileDesc * fd, const void * buf, int amount)  Line 114 + 0x16 bytes	C
> 	xul.dll!nsSocketOutputStream::Write(const char * buf, unsigned int count, unsigned int * countWritten)  Line 551 + 0x12 bytes	C++
> 	xul.dll!nsHttpConnection::EnsureNPNComplete()  Line 278 + 0x33 bytes	C++
> 	xul.dll!nsHttpConnection::OnSocketWritable()  Line 1212 + 0x8 bytes	C++
> 	xul.dll!nsHttpConnection::OnOutputStreamReady(nsIAsyncOutputStream * out)  Line 1512 + 0xb bytes	C++
> 	xul.dll!nsSocketOutputStream::OnSocketReady(unsigned int condition)  Line 491	C++
> 	xul.dll!nsSocketTransport::OnSocketReady(PRFileDesc * fd, short outFlags)  Line 1535	C++
> 	xul.dll!nsSocketTransportService::DoPollIteration(bool wait)  Line 729 + 0x21 bytes	C++
> 	xul.dll!nsSocketTransportService::Run()  Line 615	C++
> 	xul.dll!nsThread::ProcessNextEvent(bool mayWait, bool * result)  Line 624 + 0x19 bytes	C++
> 	xul.dll!NS_ProcessNextEvent_P(nsIThread * thread, bool mayWait)  Line 213 + 0x17 bytes	C++
> 	xul.dll!nsThread::ThreadFunc(void * arg)  Line 257 + 0xb bytes	C++
> 	nspr4.dll!_PR_NativeRunThread(void * arg)  Line 395 + 0xf bytes	C
> 	nspr4.dll!pr_root(void * arg)  Line 90 + 0xf bytes	C
> 	msvcr100d.dll!_callthreadstartex()  Line 314 + 0xf bytes	C
> 	msvcr100d.dll!_threadstartex(void * ptd)  Line 297	C
> 	kernel32.dll!76b5339a() 	
> 	ntdll.dll!77669ef2() 	
> 	ntdll.dll!77669ec5() 	

and some other threads whose stack is similar to second stack in "others".
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 729536
You need to log in before you can comment on or make changes to this bug.