Fatal signal 11 (SIGSEGV) when running android apk

I trying to compile our game for Android and at a certain point I always get this error (taken from adb logcat):

04-26 18:39:20.424 19840 19857 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x18 in tid 19857 (GLThread 1175)

I’ve tried disabling hardware acceleration via the android manifest xml and tried using ndk 9b, 10, and 16. I also tried different build options in CC but nothing seems to help.

Any idea what’s going on?

Thanks

need full logcat message.

Here is a bit more

04-26 18:39:18.561 19840 19857 D jswrapper: JS: undefined ball at slot 2
04-26 18:39:18.561 19840 19857 D jswrapper: JS: getLevelReached >> this.data.levelReached 2
04-26 18:39:18.564 19840 19857 D jswrapper: JS: getLevelReached >> this.data.levelReached 2
04-26 18:39:18.564 19840 19857 D jswrapper: JS: ball type 2 current level 0
04-26 18:39:18.564 19840 19857 D jswrapper: JS: next level [object Object]
04-26 18:39:18.564 19840 19857 D jswrapper: JS: getLevelReached >> this.data.levelReached 2
04-26 18:39:18.585 19840 19857 D jswrapper: JS: getLevelReached >> this.data.levelReached 2
04-26 18:39:18.590 19840 19857 D jswrapper: JS: getLevelReached >> this.data.levelReached 2
04-26 18:39:18.594 19840 19857 D jswrapper: JS: getLevelReached >> this.data.levelReached 2
04-26 18:39:18.967  5206  5314 D ContactsProvider_EventLog: contents_sample_state: [ contacts(6) data(14) accounts({vnd.sec.contact.sim (2)=7}) accounts deleted({}) calls([logtype:300 cnt:3]) countryIso(DE) userId(0)  ]
04-26 18:39:18.967  5206  5314 D ContactsProvider_EventLog: contents_sample_state: [ agr({[2 ,2]=1, [2]=5})  ]
04-26 18:39:18.967  5206  5314 D ContactsProvider_EventLog: contents_sample_state: [ actCnt({android.process.acore=1})  ]
04-26 18:39:18.972  5206  5314 E ContactsProvider_EventLog: Flush buffer to file cnt : 1 size : 0Kb duration : 4ms lastUpdatedAfter : 60104 ms mFlush_time_threasold : 2000 mCurrentSize : 314
04-26 18:39:19.438  3656  8122 D TelephonyManager: getAllCellInfo : Caller (PID / UID / TID): 3656 / 1000 / 8122
04-26 18:39:20.424 19840 19857 F libc    : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x18 in tid 19857 (GLThread 1175)
04-26 18:39:20.426  3014  3014 W         : debuggerd: handling request: pid=19840 uid=10221 gid=10221 tid=19857
04-26 18:39:20.541 19896 19896 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
04-26 18:39:20.541 19896 19896 F DEBUG   : Build fingerprint: 'samsung/zerofltexx/zeroflte:7.0/NRD90M/G920FXXU6ERC9:user/release-keys'
04-26 18:39:20.541 19896 19896 F DEBUG   : Revision: '11'
04-26 18:39:20.541 19896 19896 F DEBUG   : ABI: 'arm64'
04-26 18:39:20.541 19896 19896 F DEBUG   : pid: 19840, tid: 19857, name: GLThread 1175  >>> com.domain.appname <<<
04-26 18:39:20.541 19896 19896 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x18
04-26 18:39:20.541 19896 19896 F DEBUG   :     x0   0000000000000000  x1   0000000000000000  x2   0000007701a19980  x3   00000076e59b37e8
04-26 18:39:20.541 19896 19896 F DEBUG   :     x4   00000076e7bbb000  x5   0000000000000001  x6   00000076e59b3500  x7   0000000000000000
04-26 18:39:20.541 19896 19896 F DEBUG   :     x8   00000076e9c98400  x9   00000076fbf70288  x10  0000000000000165  x11  0000000000000000
04-26 18:39:20.541 19896 19896 F DEBUG   :     x12  00000076fbf70288  x13  0000007710f8e010  x14  00000076e9cfc2d0  x15  0000000000000001
04-26 18:39:20.541 19896 19896 F DEBUG   :     x16  00000076ee6017f0  x17  00000076edb01f10  x18  00000076e9cffb78  x19  00000076e59b3820
04-26 18:39:20.541 19896 19896 F DEBUG   :     x20  0000000000000000  x21  00000076e59b3820  x22  00000076e980c940  x23  00000076e59b3500
04-26 18:39:20.541 19896 19896 F DEBUG   :     x24  0000000000000000  x25  0000000000000000  x26  0000000000000000  x27  0000007701f0e238
04-26 18:39:20.541 19896 19896 F DEBUG   :     x28  00000076ee606000  x29  0000007701f0e548  x30  00000076edaf9d00
04-26 18:39:20.542 19896 19896 F DEBUG   :     sp   0000007701f0e080  pc   00000076edb01f10  pstate 0000000020000000
04-26 18:39:20.561 19896 19896 F DEBUG   : 
04-26 18:39:20.561 19896 19896 F DEBUG   : backtrace:
04-26 18:39:20.561 19896 19896 F DEBUG   :     #00 pc 0000000000fb3f10  /data/app/com.domain.appname-1/lib/arm64/libcocos2djs.so (_ZNK7cocos2d9Texture2D7getNameEv)
04-26 18:39:20.561 19896 19896 F DEBUG   :     #01 pc 0000000000fabcfc  /data/app/com.domain.appname-1/lib/arm64/libcocos2djs.so (_ZN7cocos2d11QuadCommand4initEfPNS_9Texture2DEPNS_14GLProgramStateERKNS_9BlendFuncEPNS_16V3F_C4B_T2F_QuadElRKNS_4Mat4Ej+52)
04-26 18:39:20.561 19896 19896 F DEBUG   :     #02 pc 0000000000f16ed4  /data/app/com.domain.appname-1/lib/arm64/libcocos2djs.so (_ZN7cocos2d18ParticleSystemQuad4drawEPNS_8RendererERKNS_4Mat4Ej+104)
04-26 18:39:20.562 19896 19896 F DEBUG   :     #03 pc 0000000000f066e0  /data/app/com.domain.appname-1/lib/arm64/libcocos2djs.so (_ZN7cocos2d4Node5visitEPNS_8RendererERKNS_4Mat4Ej+544)
04-26 18:39:20.562 19896 19896 F DEBUG   :     #04 pc 0000000000f065c0  /data/app/com.domain.appname-1/lib/arm64/libcocos2djs.so (_ZN7cocos2d4Node5visitEPNS_8RendererERKNS_4Mat4Ej+256)
04-26 18:39:20.562 19896 19896 F DEBUG   :     #05 pc 0000000000ed7808  /data/app/com.domain.appname-1/lib/arm64/libcocos2djs.so (_ZN7cocos2d12ClippingNode5visitEPNS_8RendererERKNS_4Mat4Ej+848)
04-26 18:39:20.562 19896 19896 F DEBUG   :     #06 pc 0000000000f06624  /data/app/com.domain.appname-1/lib/arm64/libcocos2djs.so (_ZN7cocos2d4Node5visitEPNS_8RendererERKNS_4Mat4Ej+356)
04-26 18:39:20.562 19896 19896 F DEBUG   :     #07 pc 0000000000f06624  /data/app/com.domain.appname-1/lib/arm64/libcocos2djs.so (_ZN7cocos2d4Node5visitEPNS_8RendererERKNS_4Mat4Ej+356)
04-26 18:39:20.562 19896 19896 F DEBUG   :     #08 pc 0000000000f06624  /data/app/com.domain.appname-1/lib/arm64/libcocos2djs.so (_ZN7cocos2d4Node5visitEPNS_8RendererERKNS_4Mat4Ej+356)
04-26 18:39:20.562 19896 19896 F DEBUG   :     #09 pc 0000000000f06624  /data/app/com.domain.appname-1/lib/arm64/libcocos2djs.so (_ZN7cocos2d4Node5visitEPNS_8RendererERKNS_4Mat4Ej+356)
04-26 18:39:20.562 19896 19896 F DEBUG   :     #10 pc 0000000000f06624  /data/app/com.domain.appname-1/lib/arm64/libcocos2djs.so (_ZN7cocos2d4Node5visitEPNS_8RendererERKNS_4Mat4Ej+356)
04-26 18:39:20.562 19896 19896 F DEBUG   :     #11 pc 0000000000f06624  /data/app/com.domain.appname-1/lib/arm64/libcocos2djs.so (_ZN7cocos2d4Node5visitEPNS_8RendererERKNS_4Mat4Ej+356)
04-26 18:39:20.562 19896 19896 F DEBUG   :     #12 pc 0000000000f06624  /data/app/com.domain.appname-1/lib/arm64/libcocos2djs.so (_ZN7cocos2d4Node5visitEPNS_8RendererERKNS_4Mat4Ej+356)
04-26 18:39:20.562 19896 19896 F DEBUG   :     #13 pc 0000000000f1f774  /data/app/com.domain.appname-1/lib/arm64/libcocos2djs.so (_ZN7cocos2d5Scene6renderEPNS_8RendererERKNS_4Mat4EPS4_+84)
04-26 18:39:20.562 19896 19896 F DEBUG   :     #14 pc 0000000000f53fc4  /data/app/com.domain.appname-1/lib/arm64/libcocos2djs.so (_ZN7cocos2d6GLView11renderSceneEPNS_5SceneEPNS_8RendererE+40)
04-26 18:39:20.562 19896 19896 F DEBUG   :     #15 pc 0000000000f74af0  /data/app/com.domain.appname-1/lib/arm64/libcocos2djs.so (_ZN7cocos2d8Director9drawSceneEv+108)
04-26 18:39:20.562 19896 19896 F DEBUG   :     #16 pc 0000000000f74bf0  /data/app/com.domain.appname-1/lib/arm64/libcocos2djs.so (_ZN7cocos2d8Director8mainLoopEv+44)
04-26 18:39:20.562 19896 19896 F DEBUG   :     #17 pc 00000000001ae20c  /data/app/com.domain.appname-1/oat/arm64/base.odex (offset 0x19d000)
04-26 18:39:21.318 19896 19896 E         : ro.debug_level = 0x4f4c
04-26 18:39:21.318 19896 19896 E         : sys.mobilecare.preload = false
04-26 18:39:21.320  3656 19897 W MultiScreenManagerService: moveTaskBackToDisplayIfNeeded(): root is not base activity
04-26 18:39:21.321  3656 19897 W MultiScreenManagerService: moveTaskBackToDisplayIfNeeded(): root activity or app is null

Btw, I’ve tried running it on a Samsung S6 and a Google Pixel 2 with the same results.