crash in mozilla::gl::GLContext::TexSubImage2D on HP Touchpad

RESOLVED WORKSFORME

Status

()

Core
Graphics
--
critical
RESOLVED WORKSFORME
6 years ago
6 years ago

People

(Reporter: Scoobidiver (away), Assigned: gw280)

Tracking

({crash, regression})

14 Branch
ARM
Android
crash, regression
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [native-crash], crash signature)

(Reporter)

Description

6 years ago
It first appeared in 14.0a1/20120320091259.

Signature 	__memcmp16 More Reports Search
UUID	70097b05-1949-4442-8853-968042120321
Date Processed	2012-03-21 12:34:01
Uptime	6
Last Crash	15 seconds before submission
Install Age	54.4 minutes since version was first installed.
Install Time	2012-03-21 11:41:35
Product	FennecAndroid
Version	14.0a1
Build ID	20120320091259
Release Channel	nightly
OS	Linux
OS Version	0.0.0 Linux 2.6.35-palm-tenderloin #16 SMP PREEMPT Tue Oct 18 23:51:59 CDT 2011 armv7l
Build Architecture	arm
Build Architecture Info	
Crash Reason	SIGSEGV
Crash Address	0x3c4ec000
App Notes 	
EGL? EGL+ AdapterVendorID: tenderloin, AdapterDeviceID: HP Touchpad.
AdapterDescription: 'Android, Model: 'HP Touchpad', Product: 'tenderloin', Manufacturer: 'hp', Hardware: 'tenderloin''.
GL Context? GL Context+ GL Layers? GL Layers+ 
hp HP Touchpad
tmous/htc_pyramid/pyramid:2.3.4/GRJ22/125597.1:user/release-keys
EMCheckCompatibility	True

Frame 	Module 	Signature [Expand] 	Source
0 	libc.so 	__memcmp16 	
1 		@0x5fe 	
2 	libGLESv2_adreno200.so 	libGLESv2_adreno200.so@0x1cfe32 	
3 	libGLESv2_adreno200.so 	libGLESv2_adreno200.so@0x1cc726 	
4 	libGLESv2_adreno200.so 	libGLESv2_adreno200.so@0x79677 	
5 	libGLESv2_adreno200.so 	libGLESv2_adreno200.so@0x8cfdf 	
6 	ashmem (deleted) 	ashmem @0x7f5ffe 	
7 	zero (deleted) 	zero @0x7ffffe 	
8 	libc.so 	malloc 	
9 		@0x2 	
10 	libGLESv2_adreno200.so 	libGLESv2_adreno200.so@0x8d807 	
11 	libGLESv2_adreno200.so 	libGLESv2_adreno200.so@0x8ed29 	
12 	ashmem (deleted) 	ashmem @0x7f5ffe 	
13 	libGLESv2_adreno200.so 	libGLESv2_adreno200.so@0x8ee3d 	
14 	libdvm.so 	dvmFillInStackTraceInternal 	
15 		@0xffe 	
16 	libGLESv2_adreno200.so 	libGLESv2_adreno200.so@0x1cc726 	
17 	libGLESv2_adreno200.so 	libGLESv2_adreno200.so@0x8f9f1 	
18 	ashmem (deleted) 	ashmem @0x7f5ffe 	
19 	libGLESv2_adreno200.so 	libGLESv2_adreno200.so@0x79583 	
20 	ashmem (deleted) 	ashmem @0x7f5ffe 	
21 	libGLESv2_adreno200.so 	libGLESv2_adreno200.so@0x6b107 	
22 	ashmem (deleted) 	ashmem @0x7f5ffe 	
23 	app_process 	app_process@0xb5c 	
24 	ashmem (deleted) 	ashmem @0x7f5ffe 	
25 	libGLESv2_adreno200.so 	libGLESv2_adreno200.so@0x6b37b 	
26 	ashmem (deleted) 	ashmem @0x7f5ffe 	
27 	app_process 	app_process@0xb5c 	
28 	libGLESv2.so 	glTexParameteriv 	
29 	libGLESv2_adreno200.so 	libGLESv2_adreno200.so@0x83305 	
30 	ashmem (deleted) 	ashmem @0x7f5ffe 	
31 	libxul.so 	mozilla::gl::GLContext::TexSubImage2D 	gfx/gl/GLContext.h:2391
32 	libxul.so 	mozilla::gl::GLContext::UploadSurfaceToTexture 	gfx/gl/GLContext.cpp:2213
33 	libxul.so 	mozilla::gl::TextureImageEGL::DirectUpdate 	gfx/gl/GLContextProviderEGL.cpp:1058
34 	libxul.so 	mozilla::gl::TiledTextureImage::DirectUpdate 	gfx/gl/GLContext.cpp:910
35 	libxul.so 	mozilla::layers::ShadowBufferOGL::DirectUpdate 	gfx/layers/opengl/ThebesLayerOGL.cpp:942
36 	libxul.so 	mozilla::layers::ShadowBufferOGL::Upload 	gfx/layers/opengl/ThebesLayerOGL.cpp:976
37 	libxul.so 	mozilla::layers::ShadowThebesLayerOGL::Swap 	gfx/layers/opengl/ThebesLayerOGL.cpp:1230
38 	libxul.so 	mozilla::layers::ShadowLayersParent::RecvUpdate 	gfx/layers/ipc/ShadowLayersParent.cpp:334
39 	libxul.so 	mozilla::layers::PLayersParent::OnMessageReceived 	obj-firefox/ipc/ipdl/PLayersParent.cpp:318
40 	libxul.so 	mozilla::layers::PCompositorParent::OnMessageReceived 	obj-firefox/ipc/ipdl/PCompositorParent.cpp:338
41 	libxul.so 	mozilla::ipc::SyncChannel::OnDispatchMessage 	ipc/glue/SyncChannel.cpp:175
42 	libxul.so 	mozilla::ipc::RPCChannel::OnMaybeDequeueOne 	ipc/glue/RPCChannel.cpp:432
43 	libxul.so 	RunnableMethod<mozilla::ipc::RPCChannel, bool , Tuple0>::Run 	ipc/chromium/src/base/tuple.h:383
44 	libxul.so 	mozilla::ipc::RPCChannel::DequeueTask::Run 	RPCChannel.h:462
45 	libxul.so 	MessageLoop::RunTask 	ipc/chromium/src/base/message_loop.cc:318
...

More reports at:
https://crash-stats.mozilla.com/report/list?signature=__memcmp16

Comment 1

6 years ago
TexSubImage2D is supposed to be blacklisted on all Adreno devices. George, would you like to look into why the blacklisting isn't working here?
Assignee: nobody → gwright
We haven't blacklisted the adreno 220. Is there any way of getting the GL renderer string from touchpad devices running android?

Comment 3

6 years ago
I have a touchpad running android. If you need me to figure out stuff, let me know.
If you have ADB handy you can retrieve the renderer from 'adb logcat' (or the DDMS utility). You want to look for:
I/Gecko   ( 9979): Extensions: EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer EGL_ANDROID_image_native_buffer  0x45
I/Gecko   ( 9979): Extensions length: 226
E/GeckoConsole( 9979): OpenGL LayerManager Initialized Succesfully.
E/GeckoConsole( 9979): Version: OpenGL ES 2.0 build 1.8@785978
E/GeckoConsole( 9979): Vendor: Imagination Technologies
E/GeckoConsole( 9979): Renderer: PowerVR SGX 540
E/GeckoConsole( 9979): FBO Texture Target: TEXTURE_2D

Comment 5

6 years ago
I do have access to adb.

Do I want to start that and then start Firefox?
Yes, the way that work best for me is. First make sure the device is set to allow developer mode.
1) Type 'adb logcat', the buffer will be dumped the to console. Clear the console.
2) Open firefox

You should see the lines above near the top.

Comment 7

6 years ago
E/GeckoConsole(28750): OpenGL LayerManager Initialized Succesfully.
E/GeckoConsole(28750): Version: OpenGL ES 2.0 2072221
E/GeckoConsole(28750): Vendor: Qualcomm
E/GeckoConsole(28750): Renderer: Adreno (TM) 220
E/GeckoConsole(28750): FBO Texture Target: TEXTURE_2D

Comment 8

6 years ago
The latest Cyanogenmod nightlies have an update to the Adreno driver that have fixed all my issues.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.