crash in mozilla::layers::LayerManagerOGL::Initialize with abort message: "Shader initialization failed"

RESOLVED INCOMPLETE

Status

()

Core
Graphics
--
critical
RESOLVED INCOMPLETE
5 years ago
2 years ago

People

(Reporter: Scoobidiver (away), Unassigned)

Tracking

({crash})

21 Branch
ARM
Android
crash
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [native-crash][startupcrash][gfx-noted], crash signature)

(Reporter)

Description

5 years ago
It seems restricted to one user.

Signature 	mozalloc_abort(char const*) | NS_DebugBreak_P | 0 (deleted)@0x11f811f More Reports Search
UUID	62395218-035a-49ed-9f36-4d7772130302
Date Processed	2013-03-02 20:16:07
Uptime	10
Install Age	10 seconds since version was first installed.
Install Time	2013-03-02 15:14:45
Product	FennecAndroid
Version	22.0a1
Build ID	20130302030852
Release Channel	nightly
OS	Android
OS Version	0.0.0 Linux 2.6.29 #2 Thu Dec 1 15:47:11 CST 2011 armv7l ZiiLABS/zii_lushan/zii_lushan/BOARDIO:2.2.1/v2.02.04/eng.zii.20111209.140309:user/rel-keys
Build Architecture	arm
Build Architecture Info	
Crash Reason	SIGSEGV
Crash Address	0x0
App Notes 	
AdapterDescription: 'ZiiLABS -- ZMS-08 -- OpenGL ES 2.0 -- Model: ZiiO7, Product: zii_lushan, Manufacturer: Creative Technology Ltd, Hardware: ziilabs'
xpcom_runtime_abort(###!!! ABORT: Shader initialization failed: file ../../../gfx/layers/opengl/LayerManagerOGL.cpp, line 526)
Creative Technology Ltd ZiiO7
ZiiLABS/zii_lushan/zii_lushan/BOARDIO:2.2.1/v2.02.04/eng.zii.20111209.140309:user/rel-keys
Processor Notes 	sp-processor07.phx1.mozilla.com_29521:2008; exploitablity tool: ERROR: unable to analyze dump
EMCheckCompatibility	True
Adapter Vendor ID	ZiiLABS
Adapter Device ID	ZMS-08
Device	Creative Technology Ltd ZiiO7
Android API Version	8 (REL)
Android CPU ABI	armeabi-v7a

Frame 	Module 	Signature 	Source
0 	libmozalloc.so 	mozalloc_abort 	memory/mozalloc/mozalloc_abort.cpp:30
1 	libxul.so 	NS_DebugBreak_P 	xpcom/base/nsDebugImpl.cpp:430
2 	0 (deleted) 	0 @0x11f811f 	
3 	2 (deleted) 	2 @0x3d1c65 	
4 	system@framework@framework.jar@classes.dex 	system@framework@framework.jar@classes.dex@0x5bf170 	
5 	system@framework@framework.jar@classes.dex 	system@framework@framework.jar@classes.dex@0x6cf552 	
6 	org.mozilla.fennec-1.apk 	org.mozilla.fennec-1.apk@0x1321c82 	
7 	libpzcore.so 	libpzcore.so@0xbdf5e 	
8 	libpzcore.so 	libpzcore.so@0xa3bca 	
9 	1 (deleted) 	1 @0xe1226d 	
10 	org.mozilla.fennec-1.apk 	org.mozilla.fennec-1.apk@0x1321c82 	
11 	0 (deleted) 	0 @0x180b06b 	
12 	libc.so 	libc.so@0x18de5 	
13 	org.mozilla.fennec-1.apk 	org.mozilla.fennec-1.apk@0x1321c82 	
14 	libpzcore.so 	libpzcore.so@0xbdf5e 	
15 	libpzcore.so 	libpzcore.so@0xa3bca 	
16 	libc.so 	libc.so@0x10386 	
17 	libc.so 	libc.so@0x43722 	
18 	libc.so 	libc.so@0x10386 	
19 	libc.so 	libc.so@0x43722 	
20 	libc.so 	libc.so@0x10386 	
21 	libc.so 	libc.so@0x43722 	
22 	libc.so 	libc.so@0x10386 	
23 	libc.so 	libc.so@0x43722 	
24 	libc.so 	libc.so@0x43722 	
25 	libc.so 	libc.so@0xbe9b 	
26 	libGLES_ziilabs.so 	libGLES_ziilabs.so@0xddbe6 	
27 	libc.so 	libc.so@0x43856 	
28 	libc.so 	libc.so@0x4384e 	
29 	libGLES_ziilabs.so 	libGLES_ziilabs.so@0xddbe6 	
30 	libc.so 	libc.so@0xcde3 	
31 	libstdc++.so 	_ZdlPv 	
32 	libGLES_ziilabs.so 	libGLES_ziilabs.so@0x6951a 	
33 	libGLES_ziilabs.so 	libGLES_ziilabs.so@0xddbe6 	
34 	libc.so 	libc.so@0x10386 	
35 	libpzcore.so 	libpzcore.so@0xa2116 	
36 	libxul.so 	mozilla::layers::ShaderProgramOGL::CreateShader 	obj-firefox/dist/include/GLContext.h:2632
37 	libpzcore.so 	libpzcore.so@0xa2102 	
38 	org.mozilla.fennec-1.apk 	org.mozilla.fennec-1.apk@0x2b6cffe 	
39 	libmozglue.so 	arena_malloc 	memory/mozjemalloc/jemalloc.c:4159
40 	libc.so 	libc.so@0x104a2 	
41 	libxul.so 	mozilla::layers::ShaderProgramOGL::CreateProgram 	gfx/layers/opengl/LayerManagerOGLProgram.cpp:338
42 	libc.so 	libc.so@0x10386 	
43 	libxul.so 	nsTArray_base<nsTArrayInfallibleAllocator>::ShrinkCapacity 	obj-firefox/dist/include/nsTArray.h:114
44 	libxul.so 	mozilla::layers::LayerManagerOGL::AddPrograms 	obj-firefox/dist/include/nsTArray.h:519
45 	libxul.so 	mozilla::layers::LayerManagerOGL::Initialize 	gfx/layers/opengl/LayerManagerOGL.cpp:599

More reports at:
https://crash-stats.mozilla.com/report/list?signature=mozalloc_abort%28char+const*%29+|+NS_DebugBreak_P+|+0+%28deleted%29%400x11f811f
I just ran into this on ubuntu linux 12.04.02. Turns out my nvidia drivers were incredibly old (was running on 295.04), and apparently shader compilation has problems on older drivers. Upgrading to 313.30 fixed it, but we probably shouldn't crash on this.
(Reporter)

Updated

5 years ago
Crash Signature: [@ mozalloc_abort(char const*) | NS_DebugBreak_P | 0 (deleted)@0x11f811f] → [@ mozalloc_abort(char const*) | NS_DebugBreak_P | 0 (deleted)@0x11f811f] [@ mozalloc_abort(char const*) | NS_DebugBreak | 0 (deleted)@0x11f811f ]
(Reporter)

Comment 2

5 years ago
Here are correlations per device in 21.0:
* mozalloc_abort(char const*) | NS_DebugBreak_P | ucnv_open_emoji 	17
Sony Ericsson R800i 	9
Sony Ericsson WT19a 	3
Sony Ericsson MK16a 	2
Sony Ericsson WT19i 	1
Sony Ericsson MT15i 	1
Sony Ericsson LT15i 	1
* mozalloc_abort(char const*) | NS_DebugBreak_P | 0 (deleted)@0x11f811f 	5
Creative Technology Ltd ZiiO10 	5
* mozalloc_abort(char const*) | NS_DebugBreak_P | libwebcore.so@0x232038 	3
Sony Ericsson LT18a 	3
Crash Signature: [@ mozalloc_abort(char const*) | NS_DebugBreak_P | 0 (deleted)@0x11f811f] [@ mozalloc_abort(char const*) | NS_DebugBreak | 0 (deleted)@0x11f811f ] → [@ mozalloc_abort(char const*) | NS_DebugBreak_P | 0 (deleted)@0x11f811f] [@ mozalloc_abort(char const*) | NS_DebugBreak | 0 (deleted)@0x11f811f ] [@ mozalloc_abort(char const*) | NS_DebugBreak_P | ucnv_open_emoji ] [@ mozalloc_abort(char const*&hellip;

Updated

3 years ago
Crash Signature: [@ mozalloc_abort(char const*) | NS_DebugBreak_P | 0 (deleted)@0x11f811f] [@ mozalloc_abort(char const*) | NS_DebugBreak | 0 (deleted)@0x11f811f ] [@ mozalloc_abort(char const*) | NS_DebugBreak_P | ucnv_open_emoji ] [@ mozalloc_abort(char const*&hellip; → [@ mozalloc_abort(char const*) | NS_DebugBreak_P | 0 (deleted)@0x11f811f] [@ mozalloc_abort(char const*) | NS_DebugBreak | 0 (deleted)@0x11f811f ] [@ mozalloc_abort(char const*) | NS_DebugBreak_P | ucnv_open_emoji ] [@ mozalloc_abort(char const*&hellip;
Crash Signature: [@ mozalloc_abort(char const*) | NS_DebugBreak_P | 0 (deleted)@0x11f811f] [@ mozalloc_abort(char const*) | NS_DebugBreak | 0 (deleted)@0x11f811f ] [@ mozalloc_abort(char const*) | NS_DebugBreak_P | ucnv_open_emoji ] [@ mozalloc_abort(char const*&hellip; → [@ mozalloc_abort(char const*) | NS_DebugBreak_P | 0 (deleted)@0x11f811f] [@ mozalloc_abort(char const*) | NS_DebugBreak | 0 (deleted)@0x11f811f ] [@ mozalloc_abort(char const*) | NS_DebugBreak_P | ucnv_open_emoji ] [@ mozalloc_abort(char const*&hellip;
This is still getting reported but at extremely low volume. In Fennec 47 we've only had one report and that was back on June 19. Unfortunately I don't think there's much we can do here. Please reopen this bug report if it becomes more prevalent or if you have a fix.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
status-firefox21: affected → ---
status-firefox22: affected → ---
Resolution: --- → INCOMPLETE
Whiteboard: [native-crash][startupcrash] → [native-crash][startupcrash][gfx-noted]
Version: Trunk → 21 Branch
You need to log in before you can comment on or make changes to this bug.