Crash on devices

#1

Hello,

I have been debugging to see what causes my game to crash for some people. I can’t seem to pinpoint why this might be happening on my side. With some research, I arrived to this crash log. The first line is what interests me. Can someone tell me why this might happen?

Happy holidays!

--------- beginning of crash
12-27 11:04:51.565  4408  4429 F libc    : ../src/box2d/Box2D/Dynamics/b2Body.cpp:27: b2Body::b2Body(const b2BodyDef *, b2World *): assertion "bd->position.IsValid()" failed
12-27 11:04:51.590  4615  4429 F google-breakpad: Microdump skipped (uninteresting)
12-27 11:04:51.595  4408  4429 W google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
12-27 11:04:51.595  4408  4429 W google-breakpad: Chrome build fingerprint:
12-27 11:04:51.595  4408  4429 W google-breakpad: 72.0.3626.121
12-27 11:04:51.595  4408  4429 W google-breakpad: 362612112
12-27 11:04:51.595  4408  4429 W google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
12-27 11:04:51.655  4408  4429 I defold  : INFO:CRASH: Successfully wrote Crashdump to file: /data/user/0/com.zeppeln.slimedefenseidle/files/_crash
12-27 11:04:51.655  4408  4429 E defold  : ERROR:CRASH: CALL STACK:
12-27 11:04:51.655  4408  4429 E defold  :
12-27 11:04:51.655  4408  4429 E defold  : # 0 pc      0x17624 /system/lib/arm/nb/libc.so <unknown>+0
12-27 11:04:51.655  4408  4429 E defold  :
12-27 11:04:51.655  4408  4429 E defold  :
12-27 11:04:51.760  1838  1881 W InputDispatcher: channel '6b45a3a com.zeppeln.slimedefenseidle/com.dynamo.android.DefoldActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
12-27 11:04:51.760  1838  1881 E InputDispatcher: channel '6b45a3a com.zeppeln.slimedefenseidle/com.dynamo.android.DefoldActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
12-27 11:04:51.888  1838  1987 D ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(NetworkRequest [ LISTEN id=18, [ Capabilities: NOT_RESTRICTED&TRUSTED&NOT_VPN&FOREGROUND] ], android.os.BinderProxy@399a4be)
12-27 11:04:51.888  1838  1987 I WindowManager: WIN DEATH: Window{6b45a3a u0 com.zeppeln.slimedefenseidle/com.dynamo.android.DefoldActivity}
12-27 11:04:51.888  1838  2206 I ActivityManager: Process com.zeppeln.slimedefenseidle (pid 4408) has died
12-27 11:04:51.888  1838  1987 W InputDispatcher: Attempted to unregister already unregistered input channel '6b45a3a com.zeppeln.slimedefenseidle/com.dynamo.android.DefoldActivity (server)'
12-27 11:04:51.888  1838  2206 D ActivityManager: cleanUpApplicationRecord -- 4408
12-27 11:04:51.888  1838  3311 D GraphicsStats: Buffer count: 2
12-27 11:04:51.888  1838  3311 D ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(NetworkRequest [ LISTEN id=16, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&FOREGROUND] ], android.os.BinderProxy@191391f)
12-27 11:04:51.889  1838  3311 D ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(NetworkRequest [ LISTEN id=17, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&FOREGROUND] ], android.os.BinderProxy@736f46c)
12-27 11:04:51.889  1838  2206 W ActivityManager: Force removing ActivityRecord{c14f732 u0 com.zeppeln.slimedefenseidle/com.dynamo.android.DefoldActivity t13}: app died, no saved state
12-27 11:04:51.890  1838  1897 E ConnectivityService: RemoteException caught trying to send a callback msg for NetworkRequest [ LISTEN id=18, [ Capabilities: NOT_RESTRICTED&TRUSTED&NOT_VPN&FOREGROUND] ]
12-27 11:04:51.890  1838  1897 E ConnectivityService: RemoteException caught trying to send a callback msg for NetworkRequest [ LISTEN id=16, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&FOREGROUND] ]
12-27 11:04:51.890  1838  1897 E ConnectivityService: RemoteException caught trying to send a callback msg for NetworkRequest [ LISTEN id=17, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&FOREGROUND] ]
12-27 11:04:51.891  1569  1569 I Zygote  : Process 4408 exited due to signal (6)
12-27 11:04:51.895  1838  2206 D ActivityManager: TopActivityInfo, pkgName: com.bluestacks.appmart activityName: com.bluestacks.appmart/.MarketPageGrid callingPackage:   bstSpecialAppKeyboardHandlingEnabled = false
12-27 11:04:51.895  1838  2206 D ActivityManager: Sending app launch intent for appName: Apps pkgName: com.bluestacks.appmart
12-27 11:04:51.896  1838  4616 D ActivityManager: Sending TopActivity Info
12-27 11:04:51.900  3787  3787 I Finsky  : [1] puo.onTrimMemory(1): Memory trim requested to level 15
12-27 11:04:51.902  1838  2206 D WindowManager: in computeScreenConfigurationLocked() -- hardKeyboardAvailable :true  mHardKeyboardAvailable :true
12-27 11:04:51.917  2057  2057 D com.bluestacks.appmartMainActivity: Onresume called
12-27 11:04:51.917  2057  2057 D com.bluestacks.appmartMainActivity: InitViews called
12-27 11:04:51.919  2317  2317 D GuidanceScreen.Utils: checkAdExists() called with: context = [android.app.ReceiverRestrictedContext@61ce2c], hostPackageName = [com.bluestacks.appmart], ignoreOccurrence = [true], adScreenService = [null], forceLaunch = [false], doNotSendStats = [false]
12-27 11:04:51.929  1838  1849 D InputMethodManagerService: packageName=com.bluestacks.appmart, activityName=.MarketPageGrid
12-27 11:04:51.929  1838  1849 D InputMethodManagerService: ime_enabled = false is same as last value, no change
12-27 11:04:51.950  2021  4619 D BstCommandProcessor-httpd: command: muteappplayer
12-27 11:04:51.958  2021  4619 D BstCommandProcessor-Application: in isSystemReady, isBootCompleted true External storage status: mounted  External storage dir :/storage/emulated/0  isExternalStorageRemovable:false
12-27 11:04:51.958  2021  4619 D BstCommandProcessor-Application: returning from waitForSystemReady,  isSystemReady = true
12-27 11:04:51.958  2021  4619 D BstCommandProcessor-httpd: response: {"result":"ok"}
12-27 11:04:51.989  2021  4620 D BstCommandProcessor-httpd: command: guestorientation 0
12-27 11:04:51.989  2021  4620 I BstCommandProcessor-CommandHandler: Host orientation handler Angle0
12-27 11:04:51.989  1838  2205 I BstOrientationService: setOrientation(0)
12-27 11:04:51.989  1838  2205 I BstOrientationService: Raising orientation notification
12-27 11:04:51.990  2021  4620 D BstCommandProcessor-httpd: response: {"result":"ok"}
12-27 11:04:52.326  1838  1859 D WindowManager: topDisplayedActivityInfo, appToken: Token{2c9e1d7 ActivityRecord{ecd1d56 u0 com.bluestacks.appmart/.MarketPageGrid t1}}
12-27 11:05:02.434  3787  3822 I PlayCommon: [217] aknw.c(29): Preparing logs for uploading
12-27 11:05:02.439  3787  3822 I PlayCommon: [217] aknw.c(126): Connecting to server for timestamp: https://play.googleapis.com/play/log/timestamp
12-27 11:05:02.683  1988  1988 W ChimeraUtils: Non Chimera context
12-27 11:05:02.709  3787  3822 I PlayCommon: [217] aknw.c(157): Connecting to server: https://play.googleapis.com/play/log?format=raw&proto_v2=true
12-27 11:05:02.782  3787  3822 I PlayCommon: [217] aknw.c(187): Successfully uploaded logs.
0 Likes

#2

This seems to be a physics related crash. Can you reproduce it reliably?

0 Likes

#3

This thread helped me towards the right direction.

I believe I have sorted it out. Thank you!

0 Likes

#4

I’ll add a ticket to check for this and prevent a hard crash. Thanks.

0 Likes