Closed Bug 1375391 Opened 7 years ago Closed 7 years ago

Crash in shutdownhang | NtWaitForAlertByThreadId | RtlpWaitOnAddressWithTimeout | RtlpWaitOnAddress | RtlpWaitOnCriticalSection | RtlpEnterCriticalSectionContended | RtlEnterCriticalSection | PR_Lock | nsNSSShutDownList::evaporateAllNSSResourcesAndShut...

Categories

(Core :: General, defect)

54 Branch
x86
Windows 10
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 1375709
Tracking Status
firefox54 --- affected

People

(Reporter: gchang, Unassigned)

Details

(Keywords: crash)

Crash Data

This bug was filed from the Socorro interface and is 
report bp-58609d4d-548e-4589-89e1-af0050170621.
=============================================================
Frame 	Module 	Signature 	Source
0 	ntdll.dll 	NtWaitForAlertByThreadId 	
1 	ntdll.dll 	RtlpWaitOnAddressWithTimeout 	
2 	ntdll.dll 	RtlpWaitOnAddress 	
3 	ntdll.dll 	RtlpWaitOnCriticalSection 	
4 	ntdll.dll 	RtlpEnterCriticalSectionContended 	
5 	ntdll.dll 	RtlEnterCriticalSection 	
6 	nss3.dll 	PR_Lock 	nsprpub/pr/src/threads/combined/prulock.c:213
7 	xul.dll 	nsNSSShutDownList::evaporateAllNSSResourcesAndShutDown() 	security/manager/ssl/nsNSSShutDown.cpp:181
8 	xul.dll 	nsNSSComponent::ShutdownNSS() 	security/manager/ssl/nsNSSComponent.cpp:2078
9 	xul.dll 	nsNSSComponent::DoProfileBeforeChange() 	security/manager/ssl/nsNSSComponent.cpp:2314
10 	xul.dll 	nsNSSComponent::Observe(nsISupports*, char const*, char16_t const*) 	security/manager/ssl/nsNSSComponent.cpp:2149
11 	xul.dll 	nsObserverList::NotifyObservers(nsISupports*, char const*, char16_t const*) 	xpcom/ds/nsObserverList.cpp:112
12 	xul.dll 	nsObserverService::NotifyObservers(nsISupports*, char const*, char16_t const*) 	xpcom/ds/nsObserverService.cpp:281
13 	xul.dll 	nsXREDirProvider::DoShutdown() 	toolkit/xre/nsXREDirProvider.cpp:1248
14 	xul.dll 	ScopedXPCOMStartup::~ScopedXPCOMStartup() 	toolkit/xre/nsAppRunner.cpp:1417
15 	xul.dll 	mozilla::UniquePtr<ScopedXPCOMStartup, mozilla::DefaultDelete<ScopedXPCOMStartup> >::reset(ScopedXPCOMStartup*) 	obj-firefox/dist/include/mozilla/UniquePtr.h:345
16 	xul.dll 	mozilla::UniquePtr<ScopedXPCOMStartup, mozilla::DefaultDelete<ScopedXPCOMStartup> >::operator=(std::nullptr_t) 	obj-firefox/dist/include/mozilla/UniquePtr.h:313
17 	xul.dll 	XREMain::XRE_main(int, char** const, mozilla::BootstrapConfig const&) 	toolkit/xre/nsAppRunner.cpp:4705
18 	xul.dll 	XRE_main(int, char** const, mozilla::BootstrapConfig const&) 	toolkit/xre/nsAppRunner.cpp:4768
19 	xul.dll 	mozilla::BootstrapImpl::XRE_main(int, char** const, mozilla::BootstrapConfig const&) 	toolkit/xre/Bootstrap.cpp:45
20 	firefox.exe 	wmain 	toolkit/xre/nsWindowsWMain.cpp:115
21 	firefox.exe 	__scrt_common_main_seh 	f:/dd/vctools/crt/vcstartup/src/startup/exe_common.inl:253
22 	kernel32.dll 	BaseThreadInitThunk 	
23 	ntdll.dll 	__RtlUserThreadStart 	
24 	ntdll.dll 	_RtlUserThreadStart

This is #33 topcrash of FF54 and it has a spike in the last 3 days.
Hi Nathan,
Can you help find someone to look at this?
Flags: needinfo?(nfroyd)
This looks like some sort of deadlock between the thread in comment 0 and:

Thread 17
Frame 	Module 	Signature 	Source
0 	ntdll.dll 	NtWaitForSingleObject 	
Ø 1 	KERNELBASE.dll 	KERNELBASE.dll@0xcaf18 	
Ø 2 	KERNELBASE.dll 	KERNELBASE.dll@0xcae71 	
3 	nss3.dll 	_PR_MD_WAIT_CV 	nsprpub/pr/src/md/windows/w95cv.c:248
4 	nss3.dll 	_PR_WaitCondVar 	nsprpub/pr/src/threads/combined/prucv.c:172
5 	nss3.dll 	PR_WaitCondVar 	nsprpub/pr/src/threads/combined/prucv.c:525
6 	xul.dll 	mozilla::CondVar::Wait(unsigned int) 	obj-firefox/dist/include/mozilla/CondVar.h:79
7 	xul.dll 	nsNSSActivityState::enter() 	security/manager/ssl/nsNSSShutDown.cpp:238
8 	xul.dll 	mozilla::psm::TransportSecurityInfo::Release() 	security/manager/ssl/TransportSecurityInfo.cpp:65
9 	xul.dll 	nsCOMPtr_base::~nsCOMPtr_base() 	obj-firefox/dist/include/nsCOMPtr.h:294
10 	xul.dll 	mozilla::net::CacheEntry::~CacheEntry() 	netwerk/cache2/CacheEntry.cpp:232
11 	xul.dll 	mozilla::net::CacheEntry::`scalar deleting destructor'(unsigned int) 	
12 	xul.dll 	mozilla::net::CacheEntry::Release() 	netwerk/cache2/CacheEntry.cpp:189
13 	xul.dll 	mozilla::net::CacheStorageService::MemoryPool::PurgeExpired() 	netwerk/cache2/CacheStorageService.cpp:1410
14 	xul.dll 	mozilla::net::CacheStorageService::MemoryPool::PurgeOverMemoryLimit() 	netwerk/cache2/CacheStorageService.cpp:1358
15 	xul.dll 	mozilla::net::CacheStorageService::PurgeOverMemoryLimit() 	netwerk/cache2/CacheStorageService.cpp:1346
16 	xul.dll 	mozilla::detail::RunnableMethodImpl<mozilla::dom::CanvasRenderingContext2D* const, void ( mozilla::dom::CanvasRenderingContext2D::*)(void), 1, 0>::Run() 	obj-firefox/dist/include/nsThreadUtils.h:890
17 	xul.dll 	mozilla::net::CacheIOThread::LoopOneLevel(unsigned int) 	netwerk/cache2/CacheIOThread.cpp:565
18 	xul.dll 	mozilla::net::CacheIOThread::ThreadFunc() 	netwerk/cache2/CacheIOThread.cpp:503
19 	xul.dll 	mozilla::net::CacheIOThread::ThreadFunc(void*) 	netwerk/cache2/CacheIOThread.cpp:446
20 	nss3.dll 	_PR_NativeRunThread 	nsprpub/pr/src/threads/combined/pruthr.c:397

ni? keeler to comment on this, but :mayhemer may also have insight about what the network cache is trying to do here.
Flags: needinfo?(nfroyd) → needinfo?(dkeeler)
I'm fairly confident this is bug 1375709.
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(dkeeler)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.