Crash issue android

Crash issue android
0

cocos2dx version - 3.17.2
NDK Resolution Outcome: Project settings: Gradle model version=5.1.1, NDK version=19.2.5345600

Hello @Big_Bear @drelaptop @zhangxm @slackmoehrle

i got strange crash in my google play console can you help me for resolve it ?
thanks in advance.

Crash log(i have changed package name)


pid: 0, tid: 0 >>> com.company.gamename <<<

backtrace:
#00 pc 000000000004b024 /system/lib/libc.so (tgkill+12)
#01 pc 00000000000487c3 /system/lib/libc.so (pthread_kill+34)
#02 pc 000000000001d775 /system/lib/libc.so (raise+10)
#03 pc 00000000000192b1 /system/lib/libc.so (__libc_android_abort+34)
#04 pc 0000000000017024 /system/lib/libc.so (abort+4)
#05 pc 000000000001b76f /system/lib/libc.so (__libc_fatal+22)
#06 pc 00000000000194ab /system/lib/libc.so (__assert2+18)
#07 pc 00000000008e8c9d /data/app/com.company.gamename-1/lib/arm/libMyGame.so
#08 pc 00000000008e8da5 /data/app/com.company.gamename-1/lib/arm/libMyGame.so
#09 pc 00000000008e72fd /data/app/com.company.gamename-1/lib/arm/libMyGame.so
#10 pc 00000000008e6c93 /data/app/com.company.gamename-1/lib/arm/libMyGame.so
#11 pc 00000000008e6c5b /data/app/com.company.gamename-1/lib/arm/libMyGame.so (__cxa_throw+74)
#12 pc 00000000008b33ed /data/app/com.company.gamename-1/lib/arm/libMyGame.so (_Znwj+56)
#13 pc 0000000000572ce0 /data/app/com.company.gamename-1/lib/arm/libMyGame.so (_ZNSt6__ndk16vectorIN7cocos2d11V3F_C4B_T2FENS_9allocatorIS2_EEE8__appendEj+148)
#14 pc 00000000005727ec /data/app/com.company.gamename-1/lib/arm/libMyGame.so (_ZN5spine13SkeletonBatch16allocateVerticesEj+92)
#15 pc 0000000000562458 /data/app/com.company.gamename-1/lib/arm/libMyGame.so (_ZN5spine16SkeletonRenderer4drawEPN7cocos2d8RendererERKNS1_4Mat4Ej+624)
#16 pc 0000000000613ea0 /data/app/com.company.gamename-1/lib/arm/libMyGame.so (_ZN7cocos2d4Node5visitEPNS_8RendererERKNS_4Mat4Ej+316)
#17 pc 0000000000613f00 /data/app/com.company.gamename-1/lib/arm/libMyGame.so (_ZN7cocos2d4Node5visitEPNS_8RendererERKNS_4Mat4Ej+412)
#18 pc 0000000000613f00 /data/app/com.company.gamename-1/lib/arm/libMyGame.so (_ZN7cocos2d4Node5visitEPNS_8RendererERKNS_4Mat4Ej+412)
#19 pc 0000000000613f00 /data/app/com.company.gamename-1/lib/arm/libMyGame.so (_ZN7cocos2d4Node5visitEPNS_8RendererERKNS_4Mat4Ej+412)
#20 pc 000000000063232c /data/app/com.company.gamename-1/lib/arm/libMyGame.so (_ZN7cocos2d5Scene6renderEPNS_8RendererEPKNS_4Mat4ES5_j+460)
#21 pc 0000000000632154 /data/app/com.company.gamename-1/lib/arm/libMyGame.so (ZN7cocos2d5Scene6renderEPNS_8RendererERKNS_4Mat4EPS4+28)
#22 pc 00000000006983d8 /data/app/com.company.gamename-1/lib/arm/libMyGame.so (_ZN7cocos2d8Director9drawSceneEv+496)
#23 pc 000000000069b3e0 /data/app/com.company.gamename-1/lib/arm/libMyGame.so (_ZN7cocos2d8Director8mainLoopEv+128)
#24 pc 0000000000518f8d /data/app/com.company.gamename-1/oat/arm/base.odex

@shaktiraj the crash log doesn’t have useful information. It’s better that you can provide a test case.

Your game crashed while allocating memory for vertices needed by spine SkeletonBatch. This seems to be out of memory case, either device has limited memory or your game end up eating lot of memory due to some leak.