• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Android Game Crashing only on Android/Mobile

L

Lestoli

Guest
I've created a four player online game, but while testing it across 2 phones and 2 clients on my PC, both phones crash at random times seemingly after a network_async event, is my best guess. Sometimes both phones will crash at the same time, other times only one will crash. Not really sure what's going on or how to fix it.

Here's the debug messages that show up after I crash with a phone connected to my PC, however I've tried playing the game on both phones without being connected and they still crash.

```
05-04 11:09:27.738 22092 22092 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

05-04 11:09:27.738 22092 22092 F DEBUG : Build fingerprint: 'samsung/j7topeltespr/j7topeltespr:9/PPR1.180610.011/J737PVPS5BTA3:user/release-keys'

05-04 11:09:27.738 22092 22092 F DEBUG : Revision: '7'

05-04 11:09:27.738 22092 22092 F DEBUG : ABI: 'arm'

05-04 11:09:27.739 22092 22092 F DEBUG : pid: 21041, tid: 21132, name: GLThread 3711 >>> com.WheelerPinochle.WheelerPinochle <<<

05-04 11:09:27.739 22092 22092 F DEBUG : signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 0xcdf325c3

05-04 11:09:27.740 22092 22092 F DEBUG : r0 cdf32661 r1 00000000 r2 cf683308 r3 cf683304

05-04 11:09:27.740 22092 22092 F DEBUG : r4 ceaee300 r5 cdf325c3 r6 0000009e r7 0000009e

05-04 11:09:27.740 22092 22092 F DEBUG : r8 00000000 r9 cf683308 r10 cf68330c r11 cf6832f0

05-04 11:09:27.741 22092 22092 F DEBUG : ip cf683300 sp cf6832d0 lr d0787524 pc d0787ad4

05-04 11:09:27.768 22092 22092 F DEBUG :

05-04 11:09:27.768 22092 22092 F DEBUG : backtrace:

05-04 11:09:27.768 22092 22092 F DEBUG : #00 pc 00330ad4 /data/app/com.WheelerPinochle.WheelerPinochle-Hde19aDRxb0lk1KzCuPegg==/lib/arm/libyoyo.so (yySocket::UnpackGMS(unsigned char**, unsigned char**, unsigned char**, int*)+188)

05-04 11:09:27.768 22092 22092 F DEBUG : #01 pc 00330520 /data/app/com.WheelerPinochle.WheelerPinochle-Hde19aDRxb0lk1KzCuPegg==/lib/arm/libyoyo.so (yySocket::ReadAndProcessDataStream(yyServer*)+204)

05-04 11:09:27.768 22092 22092 F DEBUG : #02 pc 00334650 /data/app/com.WheelerPinochle.WheelerPinochle-Hde19aDRxb0lk1KzCuPegg==/lib/arm/libyoyo.so (ProcessNetworking()+140)

05-04 11:09:27.768 22092 22092 F DEBUG : #03 pc 00239a84 /data/app/com.WheelerPinochle.WheelerPinochle-Hde19aDRxb0lk1KzCuPegg==/lib/arm/libyoyo.so (DoAStep()+392)

05-04 11:09:27.768 22092 22092 F DEBUG : #04 pc 0023a464 /data/app/com.WheelerPinochle.WheelerPinochle-Hde19aDRxb0lk1KzCuPegg==/lib/arm/libyoyo.so (MainLoop_Process()+1372)

05-04 11:09:27.768 22092 22092 F DEBUG : #05 pc 0032a9f4 /data/app/com.WheelerPinochle.WheelerPinochle-Hde19aDRxb0lk1KzCuPegg==/lib/arm/libyoyo.so (Java_com_yoyogames_runner_RunnerJNILib_Process+1016)

05-04 11:09:27.768 22092 22092 F DEBUG : #06 pc 0000b1ab /data/app/com.WheelerPinochle.WheelerPinochle-Hde19aDRxb0lk1KzCuPegg==/oat/arm/base.odex (offset 0xa000) (com.yoyogames.runner.RunnerJNILib.Process+170)

05-04 11:09:27.768 22092 22092 F DEBUG : #07 pc 00000df9 /dev/ashmem/dalvik-jit-code-cache_21041_21041 (deleted)





C:\Users\Antho\AppData\Local\Android\Sdk\platform-tools\adb exited with non-zero status (-1)

"cmd" /c subst W: /d



elapsed time 00:00:00.0309180s for command "cmd" /c subst W: /d started at 05/04/2020 11:10:15

"cmd" /c subst V: /d



elapsed time 00:00:00.0299196s for command "cmd" /c subst V: /d started at 05/04/2020 11:10:15

"cmd" /c subst U: /d



elapsed time 00:00:00.0294271s for command "cmd" /c subst U: /d started at 05/04/2020 11:10:15

---------- STOPPING ----------

```

anyone have any idea what could be happening?
 

chirpy

Member
Sorry for bumping an old, old thread. Does anyone have experience handling this one (libyoyo.so yySocket::UnpackGMS crash)? Does it mean that something happened during in-game async network event handling, or is it something inside libyoyo (the logs seem to indicate so)?

I've filed a bug report.
 
Last edited:
Top