PowerVR GE8300 libGLESv2_powervr.so crash at HandleUsingDestroyedMutex when calling eglDestoryContext

Hi PowerVR
We see from google app store that the same crash happens from a lot of GE8300 devices when calling OpenGL API eglDestroyContext. Please help on this

backtrace:
#00 pc 0x0000000000060f40 /apex/com.android.runtime/lib/bionic/libc.so (abort+172)
#01 pc 0x00000000000621ff /apex/com.android.runtime/lib/bionic/libc.so (__fortify_fatal(char const*, …)+26)
#02 pc 0x00000000000a98a5 /apex/com.android.runtime/lib/bionic/libc.so (HandleUsingDestroyedMutex(pthread_mutex_t*, char const*)+24)
#03 pc 0x00000000000a977f /apex/com.android.runtime/lib/bionic/libc.so (pthread_mutex_lock+138)
#04 pc 0x00000000001145a1 /vendor/lib/egl/libGLESv2_powervr.so
#05 pc 0x0000000000161b01 /vendor/lib/egl/libGLESv2_powervr.so
#06 pc 0x00000000000d5e13 /vendor/lib/egl/libGLESv2_powervr.so
#07 pc 0x00000000000d5ad9 /vendor/lib/egl/libGLESv2_powervr.so
#08 pc 0x00000000000d4ba5 /vendor/lib/egl/libGLESv2_powervr.so
#09 pc 0x00000000000208c3 /vendor/lib/libIMGegl.so
#10 pc 0x0000000000026e83 /vendor/lib/libIMGegl.so (IMGeglDestroyContext+322)
#11 pc 0x0000000000014cb3 /system/lib/libEGL.so (android::eglDestroyContextImpl(void*, void*)+30)
#12 pc 0x00000000000833ab /system/lib/libandroid_runtime.so (android::jni_eglDestroyContext(_JNIEnv*, _jobject*, _jobject*, _jobject*)+102)
#13 pc 0x0000000000195b3f /system/framework/arm/boot-framework.oat (art_jni_trampoline+62)
#14 pc 0x00000000000ece30 /apex/com.android.art/lib/libart.so (nterp_helper+7040)

Hi rockdong,

Welcome to PVR Developer Forum!

Would you mind share the APK with sending an email to:
devtech.portal@imgtec.com

And, are you able to get DDK version information from your systems? It would be good for us to learn individual DDK’s crashes are happening on.

We will get back to you as soon as possible after reviewing the material you’ve shared.

Regards,
Melih

1 Like

Sorry, I can not share the App name, it is a well known collaboration app …
And how to get the DDK version?

Hello,

You can fetch the DDK information with android apps like AIDA64. After launching the app see under Display → GPU Version section.

Best Regards,
Nagnath