Closed
Bug 834250
Opened 11 years ago
Closed 11 years ago
crash in mozalloc_abort
Categories
(Core Graveyard :: Widget: Android, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 834243
People
(Reporter: kats, Unassigned)
Details
(Keywords: crash)
Crash Data
This bug was filed from the Socorro interface and is report bp-a22c95d0-f6bf-4a71-ae9e-001282130116 . ============================================================= See other crash reports with this signature at https://crash-stats.mozilla.com/report/list?product=FennecAndroid&version=FennecAndroid%3A21.0a1&query_search=signature&query_type=contains&query=LayerManagerOGL%3A%3AInitialize&reason_type=contains&date=01%2F24%2F2013%2015%3A38%3A51&range_value=2&range_unit=weeks&hang_type=any&process_type=any&do_query=1&admin=1&signature=mozalloc_abort%28char%20const*%29%20|%20NS_DebugBreak_P%20|%20mozilla%3A%3Alayers%3A%3ALayerManagerOGL%3A%3AInitialize%28nsRefPtr%3Cmozilla%3A%3Agl%3A%3AGLContext%3E%2C%20bool%29 The top of the crashing thread looks like this: mozalloc_abort mozalloc_abort.cpp:30 NS_DebugBreak_P nsDebugImpl.cpp:422 mozilla::layers::LayerManagerOGL::Initialize LayerManagerOGL.cpp:498 mozilla::layers::LayerManagerOGL::Initialize LayerManagerOGL.cpp:60 mozilla::layers::CompositorParent::AllocPLayers CompositorParent.cpp:1150 mozilla::layers::PCompositorParent::OnMessageReceived PCompositorParent.cpp:591 mozilla::ipc::SyncChannel::OnDispatchMessage SyncChannel.cpp:145 The crash is caused by failing to initialize a valid GL context. Looking at the logcat from the above crash report (which is the only one I found since bug 785597 landed and is on API 16+), I see this: 16:34:10.769 E GeckoConsole: Attempt to use JS function on a different thread calling nsIDirectoryServiceProvider.getFile. JS objects may not be shared across threads. 16:34:29.035 D GeckoLayerClient: Window-size changed to (720,1038) 16:34:29.105 I Gecko : Logging GL tracing output to /data/data/org.mozilla.fennec/firefox.trace 16:34:29.105 I Gecko : Attempting load of /data/local/egltrace.so 16:34:29.105 I Gecko : Attempting load of libEGL.so 16:34:29.105 W System.err: java.lang.IllegalArgumentException: Make sure the SurfaceView or associated SurfaceHolder has a valid Surface 16:34:29.105 W System.err: at com.google.android.gles_jni.EGLImpl._eglCreateWindowSurface(Native Method) 16:34:29.105 W System.err: at com.google.android.gles_jni.EGLImpl.eglCreateWindowSurface(EGLImpl.java:90) 16:34:29.105 W System.err: at org.mozilla.gecko.gfx.GLController.provideEGLSurface(GLController.java:145) 16:34:29.105 W System.err: at dalvik.system.NativeStart.run(Native Method) 16:34:29.105 W System.err: at dalvik.system.NativeStart.run(Native Method) 16:34:29.105 I Gecko : ###!!! ABORT: We need a context on Android: file ../../../gfx/layers/opengl/LayerManagerOGL.cpp, line 498 16:34:29.105 E Gecko : mozalloc_abort: ###!!! ABORT: We need a context on Android: file ../../../gfx/layers/opengl/LayerManagerOGL.cpp, line 498 So the root cause is that _eglCreateWindowSurface is failing. Not sure why that is happening though.
Reporter | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•