Hi,
I was getting the following crash for the the Adreno A405(Moto X Play) and Adreno 530(MI 5)
------------------------------
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x2dc in tid 20514 (ew.GLThread 407)
05-25 11:44:28.803 745 745 F DEBUG : Build fingerprint: 'Xiaomi/gemini/gemini:6.0/MRA58K/V7.2.3.0.MAAMIDC:user/release-keys'
05-25 11:44:28.803 745 745 F DEBUG : Revision: '0'
05-25 11:44:28.803 745 745 F DEBUG : ABI: 'arm'
05-25 11:44:28.804 745 745 F DEBUG : pid: 19101, tid: 20514, name: ew.GLThread 407 >>> <<<
05-25 11:44:28.804 745 745 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x2dc
05-25 11:44:28.833 750 20598 D QCamera2HWI: synchronous_stream_cb_routine, isFaceBeautyRank:0, mFaceNum:0
05-25 11:44:28.836 745 745 F DEBUG : r0 00000000 r1 00000008 r2 e7be1f00 r3 00000000
05-25 11:44:28.836 745 745 F DEBUG : r4 ebf1b000 r5 00000002 r6 00000000 r7 d70ccb50
05-25 11:44:28.836 745 745 F DEBUG : r8 d0b733c0 r9 e7bf4824 sl d0b73300 fp e8bb2d8c
05-25 11:44:28.836 745 745 F DEBUG : ip d408a3f0 sp d5366260 lr e88b1811 pc e886842e cpsr 800f0030
05-25 11:44:28.858 745 745 F DEBUG :
05-25 11:44:28.858 745 745 F DEBUG : backtrace:
05-25 11:44:28.858 745 745 F DEBUG : #00 pc 0011142e /system/vendor/lib/egl/libGLESv2_adreno.so (EsxRenderBucket::Reset()+45)
05-25 11:44:28.858 745 745 F DEBUG : #01 pc 00122a01 /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::ResetBucketInfo()+576)
05-25 11:44:28.858 745 745 F DEBUG : #02 pc 00147453 /system/vendor/lib/egl/libGLESv2_adreno.so (EsxCmdMgr::Flush(EsxFlushReason)+242)
05-25 11:44:28.859 745 745 F DEBUG : #03 pc 000c81f3 /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::SwapBuffers(EsxRect const*, unsigned int)+114)
05-25 11:44:28.859 745 745 F DEBUG : #04 pc 0012ebd7 /system/vendor/lib/egl/libGLESv2_adreno.so (EglContext::SwapBuffers(EsxRect const*, unsigned int)+54)
05-25 11:44:28.859 745 745 F DEBUG : #05 pc 00139f31 /system/vendor/lib/egl/libGLESv2_adreno.so (EglWindowSurface::PerformContextSwapOperation(EglContext*, EsxRect const*, unsigned int, EglResourceAccessInfo*)+48)
05-25 11:44:28.859 745 745 F DEBUG : #06 pc 00139fe9 /system/vendor/lib/egl/libGLESv2_adreno.so (EglWindowSurface::SwapBuffers(EglContext*, EsxRect const*, unsigned int)+40)
05-25 11:44:28.859 745 745 F DEBUG : #07 pc 0012b531 /system/vendor/lib/egl/libGLESv2_adreno.so (EglApi::SwapBuffers(void*, void*)+112)
05-25 11:44:28.859 745 745 F DEBUG : #08 pc 00015ecb /system/lib/libEGL.so (eglSwapBuffersWithDamageKHR+326)
05-25 11:44:28.859 745 745 F DEBUG : #09 pc 0006083b /system/lib/libandroid_runtime.so
05-25 11:44:28.859 745 745 F DEBUG : #10 pc 72a2f281 /data/dalvik-cache/arm/system@[email protected] (offset 0x237d000)
05-25 11:44:29.092 20612 20612 W iop : type=1400 audit(0.0:15381): avc: denied { write } for name="iop" dev="tmpfs" ino=14798 scontext=u:r:dumpstate:s0 tcontext=u:object_r:socket_device:s0 tclass=dir permissive=0
----------------------------------------------------------------------------------------------------------------
05-25 11:44:28.803 745 745 F DEBUG : Build fingerprint: 'Xiaomi/gemini/gemini:6.0/MRA58K/V7.2.3.0.MAAMIDC:user/release-keys'
05-25 11:44:28.803 745 745 F DEBUG : Revision: '0'
05-25 11:44:28.803 745 745 F DEBUG : ABI: 'arm'
05-25 11:44:28.804 745 745 F DEBUG : pid: 19101, tid: 20514, name: ew.GLThread 407 >>> <<<
05-25 11:44:28.804 745 745 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x2dc
05-25 11:44:28.833 750 20598 D QCamera2HWI: synchronous_stream_cb_routine, isFaceBeautyRank:0, mFaceNum:0
05-25 11:44:28.836 745 745 F DEBUG : r0 00000000 r1 00000008 r2 e7be1f00 r3 00000000
05-25 11:44:28.836 745 745 F DEBUG : r4 ebf1b000 r5 00000002 r6 00000000 r7 d70ccb50
05-25 11:44:28.836 745 745 F DEBUG : r8 d0b733c0 r9 e7bf4824 sl d0b73300 fp e8bb2d8c
05-25 11:44:28.836 745 745 F DEBUG : ip d408a3f0 sp d5366260 lr e88b1811 pc e886842e cpsr 800f0030
05-25 11:44:28.858 745 745 F DEBUG :
05-25 11:44:28.858 745 745 F DEBUG : backtrace:
05-25 11:44:28.858 745 745 F DEBUG : #00 pc 0011142e /system/vendor/lib/egl/libGLESv2_adreno.so (EsxRenderBucket::Reset()+45)
05-25 11:44:28.858 745 745 F DEBUG : #01 pc 00122a01 /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::ResetBucketInfo()+576)
05-25 11:44:28.858 745 745 F DEBUG : #02 pc 00147453 /system/vendor/lib/egl/libGLESv2_adreno.so (EsxCmdMgr::Flush(EsxFlushReason)+242)
05-25 11:44:28.859 745 745 F DEBUG : #03 pc 000c81f3 /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::SwapBuffers(EsxRect const*, unsigned int)+114)
05-25 11:44:28.859 745 745 F DEBUG : #04 pc 0012ebd7 /system/vendor/lib/egl/libGLESv2_adreno.so (EglContext::SwapBuffers(EsxRect const*, unsigned int)+54)
05-25 11:44:28.859 745 745 F DEBUG : #05 pc 00139f31 /system/vendor/lib/egl/libGLESv2_adreno.so (EglWindowSurface::PerformContextSwapOperation(EglContext*, EsxRect const*, unsigned int, EglResourceAccessInfo*)+48)
05-25 11:44:28.859 745 745 F DEBUG : #06 pc 00139fe9 /system/vendor/lib/egl/libGLESv2_adreno.so (EglWindowSurface::SwapBuffers(EglContext*, EsxRect const*, unsigned int)+40)
05-25 11:44:28.859 745 745 F DEBUG : #07 pc 0012b531 /system/vendor/lib/egl/libGLESv2_adreno.so (EglApi::SwapBuffers(void*, void*)+112)
05-25 11:44:28.859 745 745 F DEBUG : #08 pc 00015ecb /system/lib/libEGL.so (eglSwapBuffersWithDamageKHR+326)
05-25 11:44:28.859 745 745 F DEBUG : #09 pc 0006083b /system/lib/libandroid_runtime.so
05-25 11:44:28.859 745 745 F DEBUG : #10 pc 72a2f281 /data/dalvik-cache/arm/system@[email protected] (offset 0x237d000)
05-25 11:44:29.092 20612 20612 W iop : type=1400 audit(0.0:15381): avc: denied { write } for name="iop" dev="tmpfs" ino=14798 scontext=u:r:dumpstate:s0 tcontext=u:object_r:socket_device:s0 tclass=dir permissive=0
----------------------------------------------------------------------------------------------------------------
It is crashing at glTexImage2D and glTexSubImage2D api's.
Note:
1. It is crashing for Android 6.0 and not before versions.
Additional information - It is about continuous video frames and the moment I start displaying the video it is getting crash.
Looking forward to hear soon.