Signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) crashes

Signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) crashes
0.0 0

#1

Hello Fellow Devs,

Below is the crash reports I got from Google Play Console.
Can anyone guide me how do I read/understand these crash reports and how to handle these crashes?

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR):
#00 pc 0000000000134536 /data/app/com.my.game-2/lib/arm/libMyGame.so (_ZN5Piece6getPidEv+3)
#01 pc 000000000012d555 /data/app/com.my.game-2/lib/arm/libMyGame.so (_ZN9GameScene15findMaxPriorityEv+1388)
#02 pc 0000000000131bc9 /data/app/com.my.game-2/lib/arm/libMyGame.so (_ZN9GameScene8makeMoveEv+104)
#03 pc 0000000000132467 /data/app/com.my.game-2/lib/arm/libMyGame.so (_ZN9GameScene12onDiceChangeEi+1130)
#04 pc 000000000013263b /data/app/com.my.game-2/lib/arm/libMyGame.so
#05 pc 0000000000235ecc /data/app/com.my.game-2/lib/arm/libMyGame.so
#06 pc 0000000000236094 /data/app/com.my.game-2/lib/arm/libMyGame.so (_ZN7cocos2d15EventDispatcher24dispatchEventToListenersEPNS0_19EventListenerVectorERKSt8functionIFbPNS_13EventListenerEEE+432)
#07 pc 000000000023f398 /data/app/com.my.game-2/lib/arm/libMyGame.so (_ZN7cocos2d15EventDispatcher13dispatchEventEPNS_5EventE+252)
#08 pc 000000000012a9bd /data/app/com.my.game-2/lib/arm/libMyGame.so (_ZN4Dice14onAnimCompleteEv+108)
#09 pc 000000000012c2b9 /data/app/com.my.game-2/lib/arm/libMyGame.so (_ZN4Dice6updateEf+1104)
#10 pc 0000000000247d74 /data/app/com.my.game-2/lib/arm/libMyGame.so (_ZN7cocos2d9Scheduler6updateEf+220)


#2

are you using SDKBOX?


#3

Yes, I used SDKBOX for Admob.


#4

@yinjimmy can help us.


#5

There is no evidence that the problem is caused by SDKBox.

Plz check Piece::getPid .
Thanks,


#6

Piece::getPid is working fine while I tested. It simply returns an integer value from 0-3.
Can you please explain what does it mean Ev+number at the end?


#7

I do not know the EV+number, but you can follow this link to get more information about the crash :


#8

I also see most crashes for my game is signal 11 (SIGSEGV), code 1 (SEGV_MAPERR).
149 crashes for last 60 days.
I can’t reproduce it.
cocos2d-js 3.17


pid: 0, tid: 0 >>> xxxx <<<

backtrace:
#00 pc 00000000007bdc0c /data/app/xxxx/lib/arm/libcocos2djs.so

My game is built only for armeabi-v7a and x86.


#9

whats the crash log ?


#10

This is crash log from google console:

pid: 0, tid: 0 >>> xxxx <<<

backtrace:
#00 pc 00000000007bdc0c /data/app/xxxx/lib/arm/libcocos2djs.so


#11

any more detail ?


#12

What do you need to know?


#13

more crash log.


#14

I don’t have more.