Cocos 2.2.2: Getting FATAL ERROR: signal 11 (SIGSEGV)


#1

Hi folks,

I am completely new to Cocos2d-X and I am trying to make my first Android game with the help of a tilemap tutorial:

But when I run the app, I get an unexpected crash the moment it launches…

These are my stack traces:

2.2.2/projects/TileGame/proj.android/obj/local/armeabi
********** Crash dump: **********
Build fingerprint: 'google/razor/flo:4.4/KRT16S/920375:user/release-keys’
pid: 7624, tid: 7637, name: Thread-315 >>> com.mystudios.tilegame <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
Stack frame I/DEBUG ( 178): #00 pc 001367e2 /data/app-lib/com.mystudios.tilegame-2/libcocos2dcpp.so (HelloWorld::init()+81)
Stack frame I/DEBUG ( 178): #01 pc 001c8e89 /data/app-lib/com.mystudios.tilegame-2/libcocos2dcpp.so (cocos2d::CCTMXTiledMap::layerNamed(char const*)+116)
Crash dump is completed

********** Crash dump: **********
Build fingerprint: 'google/razor/flo:4.4/KRT16S/920375:user/release-keys’
pid: 7820, tid: 7833, name: Thread-318 >>> com.mystudios.tilegame <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
Stack frame I/DEBUG ( 178): #00 pc 001367e2 /data/app-lib/com.mystudios.tilegame-1/libcocos2dcpp.so (HelloWorld::init()+81)
Stack frame I/DEBUG ( 178): #01 pc 001c8e89 /data/app-lib/com.mystudios.tilegame-1/libcocos2dcpp.so (cocos2d::CCTMXTiledMap::layerNamed(char const*)+116)
Crash dump is completed

********** Crash dump: **********
Build fingerprint: 'google/razor/flo:4.4/KRT16S/920375:user/release-keys’
pid: 8780, tid: 8797, name: Thread-330 >>> com.mystudios.tilegame <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
Stack frame I/DEBUG ( 178): #00 pc 001367e2 /data/app-lib/com.mystudios.tilegame-2/libcocos2dcpp.so (HelloWorld::init()+81)
Stack frame I/DEBUG ( 178): #01 pc 001c8e89 /data/app-lib/com.mystudios.tilegame-2/libcocos2dcpp.so (cocos2d::CCTMXTiledMap::layerNamed(char const*)+116)

Could anyone kindly know where I should start looking at? I checked both Helloworld and cocos2dx sources, but they seem OK.

Thank you so much!