你看到的crash堆栈可能是这样的:
SIGSEGV(SEGV_MAPERR)
#00 pc 0001276c /system/lib/libc.so |
#01 pc 00013dcc /system/vendor/lib/egl/libGLESv2_mtk.so |
#02 pc 00013ea2 /system/vendor/lib/egl/libGLESv2_mtk.so |
#03 pc 00014c9e /system/vendor/lib/egl/libGLESv2_mtk.so |
#04 pc 003a46e4 /data/app/com.tencent.tmgp.sgamece-1/lib/arm/libunity.so |
#05 pc 003a6200 /data/app/com.tencent.tmgp.sgamece-1/lib/arm/libunity.so |
#06 pc 001f7f50 /data/app/com.tencent.tmgp.sgamece-1/lib/arm/libunity.so |
#07 pc 0038832c /data/app/com.tencent.tmgp.sgamece-1/lib/arm/libunity.so |
#08 pc 003864f4 /data/app/com.tencent.tmgp.sgamece-1/lib/arm/libunity.so |
#09 pc 00319a60 /data/app/com.tencent.tmgp.sgamece-1/lib/arm/libunity.so |
#10 pc 00015c5a /system/lib/libc.so |
#11 pc 00013cea /system/lib/libc.so |
#00 pc 0000f22c /system/lib/libMali.so |
#01 pc 0000fd24 /system/lib/libMali.so |
#02 pc 000530f0 /system/lib/libMali.so |
#03 pc 000523dc /system/lib/libMali.so |
#04 pc 0005098c /system/lib/libMali.so (shim_eglSwapBuffers +58) |
#05 pc 0000e374 /system/lib/libEGL.so (eglSwapBuffers +8f) |
#06 pc 003d0350 /data/app-lib/com.tencent.tmgp.sgamece-1/libunity.so |
#07 pc 003d5930 /data/app-lib/com.tencent.tmgp.sgamece-1/libunity.so |
#08 pc 0039ffb4 /data/app-lib/com.tencent.tmgp.sgamece-1/libunity.so |
#09 pc 0038bb68 /data/app-lib/com.tencent.tmgp.sgamece-1/libunity.so |
#10 pc 003864f4 /data/app-lib/com.tencent.tmgp.sgamece-1/libunity.so |
#11 pc 00319a60 /data/app-lib/com.tencent.tmgp.sgamece-1/libunity.so |
#12 pc 0000e504 /system/lib/libc.so (__thread_entry +48) |
#00 pc 0006a318 /system/lib/egl/libGLESv2_tegra_impl.so |
#01 pc 000207cc /system/lib/egl/libGLESv2_tegra_impl.so |
#02 pc 00020be4 /system/lib/egl/libGLESv2_tegra_impl.so |
#03 pc 00012fa4 /system/lib/egl/libGLESv2_tegra_impl.so |
#04 pc 000246a4 /system/lib/egl/libGLESv2_tegra_impl.so |
#05 pc 00002498 /system/lib/egl/libGLESv2_tegra.so (glDrawElements +2c) |
#06 pc 003a7a70 /data/app-lib/com.tencent.tmgp.sgamece-1/libunity.so |
#07 pc 001f85c8 /data/app-lib/com.tencent.tmgp.sgamece-1/libunity.so |
#08 pc 00388524 /data/app-lib/com.tencent.tmgp.sgamece-1/libunity.so |
#09 pc 003864f4 /data/app-lib/com.tencent.tmgp.sgamece-1/libunity.so |
#10 pc 00319a60 /data/app-lib/com.tencent.tmgp.sgamece-1/libunity.so |
#11 pc 0000d1d0 /system/lib/libc.so (__thread_entry +48) |
#12 pc 0000d368 /system/lib/libc.so (pthread_create +f0) |
所以后来人还是不要尝试使用多线程渲染了,毕竟前人已经帮你踩过坑了。
时间: 2024-10-09 20:22:16