Closed Bug 817976 Opened 12 years ago Closed 12 years ago

crash in mozilla::MediaOperationRunnable::~MediaOperationRunnable with abort message: "Main-thread-only object used off the main thread"

Categories

(Core :: WebRTC: Audio/Video, defect)

19 Branch
x86
Windows 7
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 817841

People

(Reporter: scoobidiver, Unassigned)

References

Details

(Keywords: crash, regression, Whiteboard: [sg:dupe 817841])

Crash Data

It showed up the first time in 19.0a1/20121026. The regression range is:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=5c82f5a5e90d&tochange=5ecff3e46ed5
It's likely a regression from bug 803976.

Stack traces are various:
Frame 	Module 	Signature 	Source
0 	mozalloc.dll 	mozalloc_abort 	memory/mozalloc/mozalloc_abort.cpp:23
1 	xul.dll 	NS_DebugBreak_P 	xpcom/base/nsDebugImpl.cpp:410
2 	xul.dll 	AbortIfOffMainThreadIfCheckFast 	xpcom/base/nsCycleCollector.cpp:1185
3 	xul.dll 	TypeInState::Release 	content/media/nsDOMMediaStream.cpp:43
4 	xul.dll 	nsRefPtr<nsFileControlFrame::BrowseMouseListener>::~nsRefPtr<nsFileControlFrame: 	obj-firefox/dist/include/nsAutoPtr.h:876
5 	xul.dll 	mozilla::MediaOperationRunnable::~MediaOperationRunnable 	
6 	xul.dll 	mozilla::MediaOperationRunnable::`vector deleting destructor' 	
7 	xul.dll 	nsRunnable::Release 	obj-firefox/xpcom/build/nsThreadUtils.cpp:31
8 	xul.dll 	nsThread::ProcessNextEvent 	xpcom/threads/nsThread.cpp:633
...

Frame 	Module 	Signature 	Source
0 	mozalloc.dll 	mozalloc_abort 	memory/mozalloc/mozalloc_abort.cpp:23
1 	xul.dll 	NS_DebugBreak_P 	xpcom/base/nsDebugImpl.cpp:410
2 	xul.dll 	AbortIfOffMainThreadIfCheckFast 	xpcom/base/nsCycleCollector.cpp:1185
3 	xul.dll 	nsNode3Tearoff::Release 	content/media/nsDOMMediaStream.cpp:43
4 	xul.dll 	nsRefPtr<imgRequestProxy>::~nsRefPtr<imgRequestProxy> 	obj-firefox/dist/include/nsAutoPtr.h:876
5 	xul.dll 	mozilla::MediaOperationRunnable::~MediaOperationRunnable 	
6 	xul.dll 	mozilla::MediaOperationRunnable::`vector deleting destructor' 	
7 	xul.dll 	nsRunnable::Release 	obj-firefox/xpcom/build/nsThreadUtils.cpp:31
8 	xul.dll 	nsThread::ProcessNextEvent 	xpcom/threads/nsThread.cpp:633
...

Frame 	Module 	Signature 	Source
0 	mozalloc.dll 	mozalloc_abort 	memory/mozalloc/mozalloc_abort.cpp:23
1 	xul.dll 	NS_DebugBreak_P 	xpcom/base/nsDebugImpl.cpp:410
2 	xul.dll 	AbortIfOffMainThreadIfCheckFast 	xpcom/base/nsCycleCollector.cpp:1185
3 	xul.dll 	nsDOMLocalMediaStream::Release 	editor/libeditor/html/TypeInState.cpp:32
4 	xul.dll 	nsRefPtr<nsJAR>::~nsRefPtr<nsJAR> 	obj-firefox/dist/include/nsAutoPtr.h:876
5 	xul.dll 	mozilla::MediaOperationRunnable::~MediaOperationRunnable 	
6 	xul.dll 	mozilla::MediaOperationRunnable::`scalar deleting destructor' 	
7 	xul.dll 	nsRunnable::Release 	obj-firefox/xpcom/build/nsThreadUtils.cpp:31
8 	xul.dll 	nsThread::ProcessNextEvent 	xpcom/threads/nsThread.cpp:633
...

More reports at:
https://crash-stats.mozilla.com/report/list?product=Firefox&signature=mozalloc_abort%28char%20const*%20const%29%20|%20NS_DebugBreak_P%20|%20AbortIfOffMainThreadIfCheckFast
Randell - Isn't this a dupe? I swear I've seen this bug before...
Whiteboard: DUPEME
Group: core-security
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME
Whiteboard: [sg:dupe 817841]
Group: core-security
You need to log in before you can comment on or make changes to this bug.