Imagination PowerVR SDK Blog

glTexImage2D crash on PowerVR GE8100


#1

Hi Dear,
I’m a mobile developer, and found my app crashed on GIONEE F205 which uses MTK MT6739 with PowerVR GE8100, can somebody gives me a hand. thanks a lot.
following is the stack which crash in chromium code you can find it from https://cs.chromium.org/chromium/src/gpu/command_buffer/service/feature_info.cc?l=1649

Operating system: Android
GIONEE F205 GIONEE_SW17G18:7.1.1 N6F26Q 1514203231:user release-keys
CPU: arm
4 CPUs

GPU: UNKNOWN

Crash reason:
Crash address: 0x0
Process uptime: not available

Thread 0 (crashed)
0 libc.so + 0x174e8
r0 = 0xebfa7c00 r1 = 0xbd400000 r2 = 0x000003c0 r3 = 0x00000000
r4 = 0xbd399400 r5 = 0x00000010 r6 = 0x00000001 r7 = 0xbd39949c
r8 = 0x00000000 r9 = 0xbd399400 r10 = 0x00000005 r12 = 0xe7216cd0
fp = 0xceb39000 sp = 0xd3bf4458 lr = 0xe7174abb pc = 0xf356f4e8
Found by: given as instruction pointer in context
1 libGLESv2_mtk.so + 0x6cab9
sp = 0xd3bf4460 pc = 0xe7174abb
Found by: stack scanning
2 libGLESv2_mtk.so + 0x6ca93
sp = 0xd3bf4478 pc = 0xe7174a95
Found by: stack scanning
3 libGLESv2_mtk.so + 0x6246f
sp = 0xd3bf4488 pc = 0xe716a471
Found by: stack scanning
4 libGLESv2_mtk.so + 0x6ca93
sp = 0xd3bf4500 pc = 0xe7174a95
Found by: stack scanning
5 libGLESv2_mtk.so + 0x62809
sp = 0xd3bf4570 pc = 0xe716a80b
Found by: stack scanning
6 libGLESv2.so + 0xa7ea
sp = 0xd3bf45bc pc = 0xf5f157ec
Found by: stack scanning
7 libwebviewbytedance.so!gl::GLApiBase::glTexImage2DFn() [gl_bindings_autogen_gl.cc : 4695 + 0x13]
sp = 0xd3bf45d0 pc = 0xd6ec17bf
Found by: stack scanning
8 libwebviewbytedance.so!gl::RealGLApi::glTexImage2DFn(unsigned int, int, int, int, int, int, unsigned int, unsigned int, void const*) [gl_gl_api_implementation.cc : 350 + 0x19]
r4 = 0x0defaced r5 = 0x0defaced r6 = 0x00000de1 r7 = 0x0defaced
sp = 0xd3bf45f8 pc = 0xd6ed12eb
Found by: call frame info
9 libwebviewbytedance.so!gpu::gles2::FeatureInfo::InitializeFloatAndHalfFloatFeatures() [feature_info.cc : 1512 + 0x15]
r4 = 0x00000000 r5 = 0xd6ed115d r6 = 0x00000001 r7 = 0x0defaced
r8 = 0x00000000 r9 = 0x0defaced r10 = 0x0defaced fp = 0x00000010
sp = 0xd3bf4640 pc = 0xd7af0689
Found by: call frame info
10 libwebviewbytedance.so!gpu::gles2::FeatureInfo::InitializeFeatures() [feature_info.cc : 852 + 0x5]
r4 = 0x00000012 r5 = 0x0defaced r6 = 0x00000000 r7 = 0xd3bf470c
r8 = 0x0defaced r9 = 0x00000000 r10 = 0x0defaced fp = 0x0defaced
sp = 0xd3bf46b0 pc = 0xd7aee00b
Found by: call frame info
11 libwebviewbytedance.so! [feature_info.cc : 234 + 0x3]
r4 = 0x0defaced r5 = 0xd3bf4f64 r6 = 0x00000002 r7 = 0xd3bf4970
r8 = 0x0defaced r9 = 0x0defaced r10 = 0x00000002 fp = 0x00000000
sp = 0xd3bf4768 pc = 0xd7aed317
Found by: call frame info
12 libwebviewbytedance.so!gpu::gles2::ContextGroup::Initialize() [context_group.cc : 152 + 0x5]
r4 = 0x0defaced r5 = 0xd3bf4f64 r6 = 0x00000002 r7 = 0xd3bf4970
r8 = 0x0defaced r9 = 0x0defaced r10 = 0x00000002 fp = 0x00000000
sp = 0xd3bf4770 pc = 0xd7ae53b3
Found by: call frame info
13 libwebviewbytedance.so!gpu::gles2::GLES2DecoderImpl::Initialize() [gles2_cmd_decoder.cc : 3248 + 0x3]
r4 = 0x0defaced r5 = 0xd3bf4f64 r6 = 0x00000000 r7 = 0xd3bf4848
r8 = 0x0defaced r9 = 0x0defaced r10 = 0x0defaced fp = 0x00000000
sp = 0xd3bf47d0 pc = 0xd7b0fce9
Found by: call frame info
14 libwebviewbytedance.so!gpu::InProcessCommandBuffer::InitializeOnGpuThread() [in_process_command_buffer.cc : 422 + 0xb]
r4 = 0x0defaced r5 = 0x0defaced r6 = 0x0defaced r7 = 0xd7b0fb5d
r8 = 0x0defaced r9 = 0x0defaced r10 = 0xd3bf49d8 fp = 0x0defaced
sp = 0xd3bf4930 pc = 0xd7ba618b
Found by: call frame info


#2

Hi,

Unfortunately we couldn’t reproduce the bug with the provided information.

Best regards,
Omar.