Closed Bug 1352047 Opened 7 years ago Closed 6 years ago

Crash in RtlEnterCriticalSection | mozilla::detail::MutexImpl::lock

Categories

(Core :: mozglue, defect)

55 Branch
x86
Windows 10
defect
Not set
critical

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox55 --- affected

People

(Reporter: marcia, Unassigned)

Details

(Keywords: crash)

Crash Data

This bug was filed from the Socorro interface and is 
report bp-f78c8ced-afeb-4c45-a1ff-5ebae2170329.
=============================================================

Seen while looking at nightly crash data - crashes started using 20170329071901:  http://bit.ly/2oBQDXY

Possible regression range based on Build ID: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=5182b2c4b963ed87d038c7d9a4021463917076cd&tochange=6ea713ccc9abea93126423fefb855d0e051c95e2

ni on Nathan to see if he has any insight since he worked in mozglue.
Flags: needinfo?(nfroyd)
Near-nullptr crashes in this code indicate problems at a higher level:

0 	ntdll.dll 	RtlEnterCriticalSection 	
1 	mozglue.dll 	mozilla::detail::MutexImpl::lock() 	mozglue/misc/Mutex_windows.cpp:42
2 	xul.dll 	nsTimerImpl::Cancel() 	xpcom/threads/nsTimerImpl.cpp:315
3 	xul.dll 	nsTimer::Release() 	xpcom/threads/nsTimerImpl.cpp:128
4 	xul.dll 	nsCOMPtr_base::~nsCOMPtr_base() 	obj-firefox/dist/include/nsCOMPtr.h:294
5 	xul.dll 	nsTimerImpl::Fire(int) 	xpcom/threads/nsTimerImpl.cpp:518

I suspect that the mozglue locking changes just moved this crash to a new signature, and didn't actually change anything else.  Byron, does this nullptr timer crash look familiar to you?
Flags: needinfo?(nfroyd) → needinfo?(docfaraday)
Yep. You and I are already working on the fix.
Flags: needinfo?(docfaraday)
guessing "pthread_mutex_lock | mozilla::detail::MutexImpl::lock" is the MacOS variant of the same thing
Crash Signature: [@ RtlEnterCriticalSection | mozilla::detail::MutexImpl::lock] → [@ RtlEnterCriticalSection | mozilla::detail::MutexImpl::lock] [@ pthread_mutex_lock | mozilla::detail::MutexImpl::lock]
Closing because no crash reported since 12 weeks.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.