I am getting fatal error " A/libc(1246): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)" in a particular android device. Most of the time , game crashes on start and gives mentioned error. But strangely , it comes in a single android device . I have tried game in htc one X, sony xperia ray, sony neo v , Samsung galaxy ace and kindle Fire and it works like charm . Infact, i have tried demo android project available in cocos2d-x and that too crashes in particular device.
That device is a cheap Android tablet - Zync z990+ . Its configuration is
Android version : 4.0.3
CPU ABI : armeabi- v7a
processor : ARMV7 Processor rev 2 (v71) 1.5 Ghz
GPU : Mali 400
opengl : 2.0
CPU ABU : all
test on MIPS Android 2.2 work fine, but ASUS’s tablet arm-V7 Android 4.0.3 have this same error too
I have familiar project write in Cocos2d-Android-1 is work fine…
NDK R8 support MIPS, I check Cocos2d-X did’t have third-party’s library like ‘libcurl, libjpng,libpng & libxml2’ so can’t build, so I ask my friend help me builded these four libs for MIPS version,and It’s work just fine in MIPS arch now.
I set CPU ABU : all , so I can test on different hardware, here is the hardware I tested…
Smart-tv with MIPS arch Android 2.2.1, …… OK
Motorola XOOM Arm-V7 Android 3.1, ………OK
Asus Transformer Pad Arm-V7 Android 4.0.3 ……… Crash, Fatal signal 11 error
I just send my Motorola XOOM tablet to the Motorola update Android 3.1 -> 4.1 yesterday, After my XOOM come home, I will try again to verify the problem is hardware or Android version make.
Minggo Zhang wrote:
> Have not supported MIPS arch.
>
NDK R8 support MIPS, I check Cocos2d-X did’t have third-party’s library like ‘libcurl, libjpng,libpng & libxml2’ so can’t build, so I ask my friend help me builded these four libs for MIPS version,and It’s work just fine in MIPS arch now.
>
I set CPU ABU : all , so I can test on different hardware, here is the hardware I tested…
>
Smart-tv with MIPS arch Android 2.2.1, …… OK
Motorola XOOM Arm-V7 Android 3.1, ………OK
Asus Transformer Pad Arm-V7 Android 4.0.3 ……… Crash, Fatal signal 11 error
>
I just send my Motorola XOOM tablet to the Motorola update Android 3.1 -> 4.1 yesterday, After my XOOM come home, I will try again to verify the problem is hardware or Android version make.
>
Thanks Minggo again!
My Motorola XOOM just come home and I tested again after upgrade to 4.0.3, and …… It crash now.
So I suspect it is some problem in Android 4.0.3 use Cocos2d-0.1.0-x-0.12.0 version.
I also dump the ndk-stack, very similar Chetan’s port, so…
Hi guys,
>
I am getting fatal error " A/libc(1246): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)" in a particular android device. Most of the time , game crashes on start and gives mentioned error. But strangely , it comes in a single android device . I have tried game in htc one X, sony xperia ray, sony neo v , Samsung galaxy ace and kindle Fire and it works like charm . Infact, i have tried demo android project available in cocos2d-x and that too crashes in particular device.
>
That device is a cheap Android tablet - Zync z990+ . Its configuration is
>
Android version : 4.0.3
CPU ABI : armeabi- v7a
processor : ARMV7 Processor rev 2 (v71) 1.5 Ghz
GPU : Mali 400
opengl : 2.0
>
You help will be appreciated.
>
Thanks.
I got a same problem but not because of NDK.
A simple mistake with resource’s name. Check if :
—— 1. it have character ‘-’ in resource name
—— 2. not available image’s name on .plist. (such as in particle, sprite frame plist, Bitmapfont v.v…)
Hope it’s useful for you