Closed Bug 700181 Opened 13 years ago Closed 12 years ago

crash [@ mozalloc_abort | pthread_mutex_unlock | CreateHTMLElement ]

Categories

(Core :: DOM: HTML Parser, defect)

Other Branch
ARM
Android
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: nhirata, Unassigned)

Details

(Keywords: crash, Whiteboard: [native-crash:P4], str-wanted)

Crash Data

Crashing Thread
Frame 	Module 	Signature [Expand] 	Source
0 	libmozalloc.so 	mozalloc_abort 	memory/mozalloc/mozalloc_abort.cpp:66
1 	libc.so 	pthread_mutex_unlock 	
2 	libxul.so 	CreateHTMLElement 	content/html/document/src/nsHTMLContentSink.cpp:595
3 	libxul.so 	NS_NewHTMLElement 	content/html/document/src/nsHTMLContentSink.cpp:578
4 	libxul.so 	NS_NewElement 	content/base/src/nsNameSpaceManager.cpp:231
5 	libxul.so 	nsHtml5TreeOperation::Perform 	parser/html/nsHtml5TreeOperation.cpp:394
6 	libxul.so 	nsHtml5TreeOpExecutor::FlushDocumentWrite 	parser/html/nsHtml5TreeOpExecutor.cpp:632
7 	libxul.so 	nsHtml5Parser::ParseHtml5Fragment 	parser/html/nsHtml5Parser.cpp:626
8 	libxul.so 	nsContentUtils::ParseFragmentHTML 	content/base/src/nsContentUtils.cpp:3648
9 	libxul.so 	nsGenericHTMLElement::SetInnerHTML 	content/html/content/src/nsGenericHTMLElement.cpp:771
10 	libxul.so 	nsHTMLDivElement::SetInnerHTML 	content/html/content/src/nsHTMLDivElement.cpp:67
11 	libxul.so 	nsIDOMHTMLElement_SetInnerHTML 	obj-firefox/js/xpconnect/src/dom_quickstubs.cpp:14805
12 	libxul.so 	js::Shape::set 	js/src/jscntxtinlines.h:358
13 	libxul.so 	js_SetPropertyHelper 	js/src/jsobj.cpp:6192
14 	libxul.so 	js::Interpret 	js/src/jsinterp.cpp:3741
15 	libxul.so 	js::RunScript 	js/src/jsinterp.cpp:584
16 	libxul.so 	js::InvokeKernel 	js/src/jsinterp.cpp:647
17 	libxul.so 	js_fun_apply 	js/src/jsinterp.h:148
18 	libxul.so 	js::InvokeKernel 	js/src/jscntxtinlines.h:297
19 	libxul.so 	js::Interpret 	js/src/jsinterp.cpp:3948
20 	libxul.so 	js::RunScript 	js/src/jsinterp.cpp:584
21 	libxul.so 	js::InvokeKernel 	js/src/jsinterp.cpp:647
22 	libxul.so 	js_fun_apply 	js/src/jsinterp.h:148
23 	libxul.so 	js::InvokeKernel 	js/src/jscntxtinlines.h:297
24 	libxul.so 	js::Interpret 	js/src/jsinterp.cpp:3948
25 	libxul.so 	js::RunScript 	js/src/jsinterp.cpp:584
26 	libxul.so 	js::InvokeKernel 	js/src/jsinterp.cpp:647
27 	libxul.so 	js_fun_apply 	js/src/jsinterp.h:148
28 	libxul.so 	js::InvokeKernel 	js/src/jscntxtinlines.h:297
29 	libxul.so 	js::Interpret 	js/src/jsinterp.cpp:3948
30 	libxul.so 	js::RunScript 	js/src/jsinterp.cpp:584
31 	libxul.so 	js::Invoke 	js/src/jsinterp.cpp:647
32 	libxul.so 	JS_CallFunctionValue 	js/src/jsapi.cpp:5144
33 	libxul.so 	nsJSContext::CallEventHandler 	dom/base/nsJSEnvironment.cpp:1936
34 	libxul.so 	nsGlobalWindow::RunTimeout 	dom/base/nsGlobalWindow.cpp:9314
35 	libxul.so 	nsGlobalWindow::TimerCallback 	dom/base/nsGlobalWindow.cpp:9754
36 	libxul.so 	nsTimerImpl::Fire 	xpcom/threads/nsTimerImpl.cpp:425
37 	libxul.so 	nsTimerEvent::Run 	xpcom/threads/nsTimerImpl.cpp:521
38 	libxul.so 	nsThread::ProcessNextEvent 	xpcom/threads/nsThread.cpp:631
39 	libxul.so 	NS_ProcessNextEvent_P 	obj-firefox/xpcom/build/nsThreadUtils.cpp:245
40 	libxul.so 	mozilla::ipc::MessagePump::Run 	ipc/glue/MessagePump.cpp:134
41 	libxul.so 	MessageLoop::RunInternal 	ipc/chromium/src/base/message_loop.cc:208
42 	libxul.so 	MessageLoop::Run 	ipc/chromium/src/base/message_loop.cc:201
43 	libxul.so 	nsBaseAppShell::Run 	widget/src/xpwidgets/nsBaseAppShell.cpp:189
44 	libxul.so 	nsAppStartup::Run 	toolkit/components/startup/nsAppStartup.cpp:228
45 	libxul.so 	XRE_main 	toolkit/xre/nsAppRunner.cpp:3551
46 	libxul.so 	Java_org_mozilla_gecko_GeckoAppShell_nativeRun 	toolkit/xre/nsAndroidStartup.cpp:139
47 	libmozutils.so 	Java_org_mozilla_gecko_GeckoAppShell_nativeRun 	other-licenses/android/APKOpen.cpp:232
48 	libdvm.so 	dvmPlatformInvoke 	
49 	libdvm.so 	dvmCallJNIMethod_general 	
50 	libdvm.so 	dvmResolveNativeMethod 	
51 	libdvm.so 	dvmAsmSisterStart 	
52 	libdvm.so 	dvmMterpStd 	
53 	libdvm.so 	dvmInterpret 	
54 	libdvm.so 	dvmCallMethodV 	
55 	libdvm.so 	dvmCallMethod 	
56 	libdvm.so 	dvmAttachCurrentThread 	
57 	libc.so 	__thread_entry 	
58 	libc.so 	pthread_create 	
59 		@0x5ee301ae
https://crash-stats.mozilla.com/report/index/7c02130c-84ac-4adf-b1d0-4c4862111106
Crash Signature: [@ mozalloc_abort | pthread_mutex_unlock | CreateHTMLElement ]
Summary: crash [@ mozalloc_abort | pthread_mutex_unlock ] → crash [@ mozalloc_abort | pthread_mutex_unlock | CreateHTMLElement ]
This looks like a plain out of memory crash.
Nick, would this be a candidate for memshrink.
> Nick, would this be a candidate for memshrink.

Not unless you have some ideas for reducing the memory usage that caused this OOM.  But then that would be filed as a separate bug.
Thanks, Nick.  Sorry about that Comment 3 was suppose to be a question, not a statement.  Marking as P4; low occurence
Whiteboard: [native-crash] → [native-crash:P4], str-wanted
You need to log in before you can comment on or make changes to this bug.