[10.6] Crash [@ libawt.jnilib@0x2afe ] [@ libawt.jnilib@0x2480 ]

RESOLVED INCOMPLETE

Status

Plugins Graveyard
Java (Java Embedding Plugin)
--
critical
RESOLVED INCOMPLETE
8 years ago
2 years ago

People

(Reporter: tchung, Assigned: smichaud)

Tracking

({crash})

x86
Mac OS X
crash

Details

(crash signature)

(Reporter)

Description

8 years ago
Not able to reproduce this crash, nor do i remember what i was doing.  But reporting it for now since i couldnt find a similiar stack in bugzilla.

Build: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.4) Gecko/20100413 Firefox/3.6.4

http://crash-stats.mozilla.com/report/index/3ab29a16-b8d1-471f-ba94-759a32100430

Signature	libawt.jnilib@0x2480
UUID	3ab29a16-b8d1-471f-ba94-759a32100430
Time 	2010-04-30 09:32:24.850849
Uptime	88028
Last Crash	2814670 seconds before submission
Product	Firefox
Version	3.6.4
Build ID	20100413152922
Branch	1.9.2
OS	Mac OS X
OS Version	10.6.2 10C540
CPU	x86
CPU Info	GenuineIntel family 6 model 23 stepping 10
Crash Reason	EXC_BAD_ACCESS / KERN_PROTECTION_FAILURE
Crash Address	0x0
User Comments	
Crashing Thread
Frame 	Module 	Signature [Expand] 	Source
0 	libawt.jnilib 	libawt.jnilib@0x2480 	
1 	libawt.jnilib 	libawt.jnilib@0x3a35 	
2 	libawt.jnilib 	libawt.jnilib@0x3993 	
3 	libobjc.A.dylib 	_class_initialize 	
4 	libobjc.A.dylib 	_class_initialize 	
5 	libobjc.A.dylib 	_class_initialize 	
6 	libobjc.A.dylib 	prepareForMethodLookup 	
7 	libobjc.A.dylib 	lookUpMethod 	
8 	libobjc.A.dylib 	_class_lookupMethodAndLoadCache 	
9 	libobjc.A.dylib 	objc_msgSend 	
10 	XUL 	-[ToolbarWindow sendEvent:] 	widget/src/cocoa/nsCocoaWindow.mm:2036
11 	AppKit 	-[NSApplication sendEvent:] 	
12 	XUL 	nsAppShell::ProcessNextNativeEvent 	widget/src/cocoa/nsAppShell.mm:775
13 	XUL 	nsBaseAppShell::OnProcessNextEvent 	widget/src/xpwidgets/nsBaseAppShell.cpp:155
14 	XUL 	nsAppShell::OnProcessNextEvent 	widget/src/cocoa/nsAppShell.mm:944
15 	XUL 	nsThread::ProcessNextEvent 	xpcom/threads/nsThread.cpp:508
16 	XUL 	NS_ProcessPendingEvents_P 	nsThreadUtils.cpp:200
17 	XUL 	nsBaseAppShell::NativeEventCallback 	widget/src/xpwidgets/nsBaseAppShell.cpp:125
18 	XUL 	nsAppShell::ProcessGeckoEvents 	widget/src/cocoa/nsAppShell.mm:506
19 	CoreFoundation 	__CFRunLoopDoSources0 	
20 	CoreFoundation 	__CFRunLoopRun 	
21 	CoreFoundation 	CFRunLoopRunSpecific 	
22 	CoreFoundation 	CFRunLoopRunInMode 	
23 	HIToolbox 	RunCurrentEventLoopInMode 	
24 	HIToolbox 	ReceiveNextEventCommon 	
25 	HIToolbox 	BlockUntilNextEventMatchingListInMode 	
26 	AppKit 	_DPSNextEvent 	
27 	AppKit 	-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] 	
28 	JavaEmbeddingPlugin 	+[AppletView maybeCreateJavaVM:extraOptsNum:vmPtr:envPtr:initAWT:] 	AppletView.m:2072
29 	JavaEmbeddingPlugin 	JEPCreateJavaVMAndInitAWT 	Controller.m:6766
30 	MRJPlugin 	MRJSession::open 	MRJSession.cpp:933
31 	MRJPlugin 	MRJPlugin::StartupJVM 	MRJPlugin.cpp:669
32 	MRJPlugin 	MRJPlugin::CreateSecureEnv 	MRJPlugin.cpp:725
33 	XUL 	nsNPAPIPlugin::CreateSecureEnv 	modules/plugin/base/src/nsNPAPIPlugin.cpp:718
34 	XUL 	CreateProxyJNI 	modules/oji/src/ProxyJNI.cpp:1732
35 	XUL 	XUL@0xaa4668 	
36 	XUL 	create_java_vm_impl 	modules/oji/src/lcglue.cpp:342
37 	XUL 	jsj_ConnectToJavaVM 	js/src/liveconnect/jsj.c:474
38 	XUL 	JSJ_AttachCurrentThreadToJava 	js/src/liveconnect/jsj.c:698
39 	XUL 	map_js_context_to_jsj_thread_impl 	modules/oji/src/lcglue.cpp:180
40 	XUL 	jsj_EnterJava 	js/src/liveconnect/jsj_utils.c:465
41 	XUL 	JavaPackage_resolve 	js/src/liveconnect/jsj_JavaPackage.c:199
42 	libmozjs.dylib 	js_LookupPropertyWithFlags 	js/src/jsobj.cpp:3854
43 	libmozjs.dylib 	js_GetPropertyHelper 	js/src/jsobj.cpp:4191
44 	libmozjs.dylib 	js_Interpret 	js/src/jsops.cpp:1518
45 	libmozjs.dylib 	js_Invoke 	js/src/jsinterp.cpp:1368
46 	XUL 	nsXPCWrappedJSClass::CallMethod 	js/src/xpconnect/src/xpcwrappedjsclass.cpp:1696
47 	XUL 	nsXPCWrappedJS::CallMethod 	js/src/xpconnect/src/xpcwrappedjs.cpp:570
48 	XUL 	PrepareAndDispatch 	xpcom/reflect/xptcall/src/md/unix/xptcstubs_unixish_x86.cpp:93
49 	XUL 	nsXPTCStubBase::Stub3 	
50 	XUL 	nsEventListenerManager::HandleEventSubType 	content/events/src/nsEventListenerManager.cpp:1041
51 	XUL 	nsEventListenerManager::HandleEvent 	content/events/src/nsEventListenerManager.cpp:1147
52 	XUL 	nsEventTargetChainItem::HandleEvent 	content/events/src/nsEventDispatcher.cpp:246
53 	XUL 	nsEventTargetChainItem::HandleEventTargetChain 	content/events/src/nsEventDispatcher.cpp:310
54 	XUL 	nsEventDispatcher::Dispatch 	content/events/src/nsEventDispatcher.cpp:573
55 	XUL 	nsEventDispatcher::DispatchDOMEvent 	content/events/src/nsEventDispatcher.cpp:636
56 	XUL 	nsEventListenerManager::DispatchEvent 	content/events/src/nsEventListenerManager.cpp:1274
57 	XUL 	nsDOMEventRTTearoff::DispatchEvent 	content/base/src/nsGenericElement.cpp:1672
58 	XUL 	nsIDOMEventTarget_DispatchEvent 	dom_quickstubs.cpp:7639
59 	libmozjs.dylib 	js_Interpret 	js/src/jsops.cpp:2208
60 	libmozjs.dylib 	js_Execute 	js/src/jsinterp.cpp:1601
61 	libmozjs.dylib 	JS_EvaluateUCScriptForPrincipals 	js/src/jsapi.cpp:5070
62 	XUL 	nsJSContext::EvaluateString 	dom/base/nsJSEnvironment.cpp:1748
63 	XUL 	nsScriptLoader::EvaluateScript 	content/base/src/nsScriptLoader.cpp:711
64 	XUL 	nsScriptLoader::ProcessRequest 	content/base/src/nsScriptLoader.cpp:625
65 	XUL 	nsScriptLoader::ProcessScriptElement 	content/base/src/nsScriptLoader.cpp:528
66 	XUL 	nsScriptElement::MaybeProcessScript 	content/base/src/nsScriptElement.cpp:193
67 	XUL 	nsHTMLScriptElement::MaybeProcessScript 	content/html/content/src/nsHTMLScriptElement.cpp:564
68 	XUL 	HTMLContentSink::ProcessSCRIPTEndTag 	content/html/document/src/nsHTMLContentSink.cpp:3112
69 	XUL 	SinkContext::CloseContainer 	content/html/document/src/nsHTMLContentSink.cpp:1014
70 	XUL 	HTMLContentSink::CloseContainer 	content/html/document/src/nsHTMLContentSink.cpp:2392
71 	XUL 	CNavDTD::CloseContainer 	parser/htmlparser/src/CNavDTD.cpp:2762
72 	XUL 	CNavDTD::HandleEndToken 	parser/htmlparser/src/CNavDTD.cpp:1641
73 	XUL 	CNavDTD::HandleToken 	parser/htmlparser/src/CNavDTD.cpp:721
74 	XUL 	CNavDTD::BuildModel 	parser/htmlparser/src/CNavDTD.cpp:304
75 	XUL 	nsParser::BuildModel 	parser/htmlparser/src/nsParser.cpp:2456
76 	XUL 	nsParser::ResumeParse 	parser/htmlparser/src/nsParser.cpp:2337
77 	XUL 	nsParser::ContinueInterruptedParsing 	parser/htmlparser/src/nsParser.cpp:1833
78 	XUL 	nsRunnableMethod<nsContentSink, void>::Run 	nsThreadUtils.h:282
79 	XUL 	nsThread::ProcessNextEvent 	xpcom/threads/nsThread.cpp:527
80 	XUL 	NS_ProcessPendingEvents_P 	nsThreadUtils.cpp:200
81 	XUL 	nsBaseAppShell::NativeEventCallback 	widget/src/xpwidgets/nsBaseAppShell.cpp:125
82 	XUL 	nsAppShell::ProcessGeckoEvents 	widget/src/cocoa/nsAppShell.mm:506
83 	CoreFoundation 	__CFRunLoopDoSources0 	
84 	CoreFoundation 	__CFRunLoopRun 	
85 	CoreFoundation 	CFRunLoopRunSpecific 	
86 	CoreFoundation 	CFRunLoopRunInMode 	
87 	HIToolbox 	RunCurrentEventLoopInMode 	
88 	HIToolbox 	ReceiveNextEventCommon 	
89 	HIToolbox 	BlockUntilNextEventMatchingListInMode 	
90 	AppKit 	_DPSNextEvent 	
91 	AppKit 	-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] 	
92 	AppKit 	-[NSApplication run] 	
93 	XUL 	nsAppShell::Run 	widget/src/cocoa/nsAppShell.mm:859
94 	XUL 	nsAppStartup::Run 	toolkit/components/startup/src/nsAppStartup.cpp:183
95 	XUL 	XRE_main 	toolkit/xre/nsAppRunner.cpp:3483
96 	firefox-bin 	main 	browser/app/nsBrowserApp.cpp:158
97 	firefox-bin 	firefox-bin@0x1541 	
98 	firefox-bin 	firefox-bin@0x1468 	
99 		@0x2

Updated

8 years ago
Assignee: nobody → smichaud
Component: Widget: Cocoa → Java (Java Embedding Plugin)
Keywords: crash
Product: Core → Plugins
QA Contact: cocoa → jep-java
Version: 1.9.2 Branch → 0.x
(Assignee)

Comment 1

8 years ago
There are a bunch of these (enough to make #100 in the Mac topcrasher
list), mostly at a different address:

http://crash-stats.mozilla.com/query/query?product=ALL&version=ALL%3AALL&platform=mac&range_value=1&range_unit=weeks&date=05%2F02%2F2010+15%3A33%3A19&query_search=signature&query_type=exact&query=libawt.jnilib%400x2afe&build_id=&process_type=all&do_query=1

They all have the top part of the stack in common:

0    libawt.jnilib    libawt.jnilib@0x2afe
1    libawt.jnilib    libawt.jnilib@0x40c7
2    libawt.jnilib    libawt.jnilib@0x4025
3    libobjc.A.dylib  _class_initialize
4    libobjc.A.dylib  _class_initialize
5    libobjc.A.dylib  _class_initialize
6    libobjc.A.dylib  prepareForMethodLookup
7    libobjc.A.dylib  lookUpMethod
8    libobjc.A.dylib  _class_lookupMethodAndLoadCache
9    libobjc.A.dylib  objc_msgSend

They all happen as Apple's JVM is starting up (as the first applet is
loading) -- they all have the following higher up the stack:

29   JavaEmbeddingPlugin
       +[AppletView maybeCreateJavaVM:extraOptsNum:vmPtr:envPtr:initAWT:]
       AppletView.m:2063

They all happen on OS X 10.6.X.

The cause is presumably some kind of Apple bug that I'll need to learn
how to work around in the JEP.  But I probably won't be able to do
that until someone can reliably reproduce these crashes.
Summary: Crash [@ libawt.jnilib@0x2480 ] → Crash [@ libawt.jnilib@0x2afe ] [@ libawt.jnilib@0x2480 ]
(Assignee)

Updated

8 years ago
Summary: Crash [@ libawt.jnilib@0x2afe ] [@ libawt.jnilib@0x2480 ] → [10.6] Crash [@ libawt.jnilib@0x2afe ] [@ libawt.jnilib@0x2480 ]
A couple of possibly-useful comments from Camino crashes with this stack:

1) "Trying to upload photographs to the Costco photo site"

2) "Clicked through to the link http://www.uinfo.fr/ from an entourage email." (http://www.uinfo.fr/ runs a plug-in detection script and Java is one of the plug-ins they look for)

I don't have a Costco membership (or 10.6, for that matter), so I can't help try to reproduce.
Crash Signature: [@ libawt.jnilib@0x2afe ] [@ libawt.jnilib@0x2480 ]

Comment 3

2 years ago
Closing old bugs in the Plugins component. We aren't going to track issues in 3rd-party plugins in the Mozilla bug tracker. In addition, support for NPAPI plugins will be removed at the end of this year; for more details see the post at https://blog.mozilla.org/futurereleases/2015/10/08/npapi-plugins-in-firefox/

If there is a serious bug in Firefox, it needs to be filed in the "Core" product, "Plug-Ins" component.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INCOMPLETE
Product: Plugins → Plugins Graveyard
You need to log in before you can comment on or make changes to this bug.