Massive crashes on Android 8.0.0 and 8.1.0, please help

Hi,

currently I have 40-50% session crashes on Android 8.0.0 and 8.1.0
for other android versions, it’s ~2.5%

using:  Corona-3197
Native Build (on Android Studio)
have no 8.0 device, probably should will get soon

the main two crashes one about tgkill…

another about com.onesignal.GcmBroadcastReceiver.processOrderBroadcast
these two crashes happens ONLY on 8.0.0 and 8.1.0

details:

  1. for (tgkill)

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

pid: 0, tid: 0 >>> com.company.game <<<

backtrace:

  #00  pc 000000000004b508  /system/lib/libc.so (tgkill+12)

  #01  pc 000000000001a443  /system/lib/libc.so (abort+54)

  #02  pc 000000000001ed75  /system/lib/libc.so (__libc_fatal+24)

  #03  pc 0000000000048b0b  /system/lib/libc.so (_Z23__pthread_internal_findl+90)

  #04  pc 0000000000048b8d  /system/lib/libc.so (pthread_join+24)

  #05  pc 0000000000015b58  /data/app/com.company.game-WwPpGtE-eDqlnZPkUT6jAA==/lib/arm/libopenal.so (alcDestroyContext+516)

  #06  pc 0000000000008ed7  /data/app/com.company.game-WwPpGtE-eDqlnZPkUT6jAA==/lib/arm/libalmixer.so (ALmixer_Quit+230)

  #07  pc 000000000011d5b4  /data/app/com.company.game-WwPpGtE-eDqlnZPkUT6jAA==/lib/arm/libcorona.so

  #08  pc 000000000011f9e8  /data/app/com.company.game-WwPpGtE-eDqlnZPkUT6jAA==/lib/arm/libcorona.so

  #09  pc 000000000012fadc  /data/app/com.company.game-WwPpGtE-eDqlnZPkUT6jAA==/lib/arm/libcorona.so

  #10  pc 000000000002b70c  /data/app/com.company.game-WwPpGtE-eDqlnZPkUT6jAA==/lib/arm/libcorona.so

  #11  pc 000000000002ea7c  /data/app/com.company.game-WwPpGtE-eDqlnZPkUT6jAA==/lib/arm/libcorona.so (Java_com_ansca_corona_JavaToNativeShim_nativeDone+28)

  #12  pc 000000000008c1af  /data/app/com.company.game-WwPpGtE-eDqlnZPkUT6jAA==/oat/arm/base.odex

 

2. 

java.lang.RuntimeException: 

  at android.app.ActivityThread.handleReceiver (ActivityThread.java:3397)

  at android.app.ActivityThread.-wrap18 (Unknown Source)

  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1780)

  at android.os.Handler.dispatchMessage (Handler.java:105)

  at android.os.Looper.loop (Looper.java:164)

  at android.app.ActivityThread.main (ActivityThread.java:6938)

  at java.lang.reflect.Method.invoke (Native Method)

  at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327)

  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374)

Caused by: java.lang.IllegalStateException: 

  at android.app.ContextImpl.startServiceCommon (ContextImpl.java:1538)

  at android.app.ContextImpl.startService (ContextImpl.java:1484)

  at android.content.ContextWrapper.startService (ContextWrapper.java:663)

  at android.content.ContextWrapper.startService (ContextWrapper.java:663)

  at android.support.v4.content.WakefulBroadcastReceiver.startWakefulService (WakefulBroadcastReceiver.java:99)

  at com.onesignal.GcmBroadcastReceiver.processOrderBroadcast (GcmBroadcastReceiver.java:76)

  at com.onesignal.GcmBroadcastReceiver.onReceive (GcmBroadcastReceiver.java:59)

  at android.app.ActivityThread.handleReceiver (ActivityThread.java:3390)

We are replacing the audio sub-system for Android’s audio.* API’s to not use OpenAL, which seems to be the source for many of the Android ANR’s and Crashes.  This is in closed beta now and we are hoping to get it out to the public soon.

I’m not sure what’s causing the issue with OneSignal.

Rob

Hi Rob,

Thanks, when the OpenAL fix will be available in daily builds (I’m using Android Studio builds)?

for OneSignal, talked to them about this issue, they telling me that the fix was made for their Android Native SDK, but will take time to make in to Corona Plugin. (that was months ago)…

Thanks
 

Hopefully soon. We are still chasing some bugs from those testing it. 

Rob

Wow, replacing OpenAL is a real step forward and will improve stability immensely.

audio related crashes and ANRs are top priority for me for several months, but I 

could do nothing.

 

What a great news, if there is a way to buy the engineer who is working on it lots of cups of coffee, I would do.

We are replacing the audio sub-system for Android’s audio.* API’s to not use OpenAL, which seems to be the source for many of the Android ANR’s and Crashes.  This is in closed beta now and we are hoping to get it out to the public soon.

I’m not sure what’s causing the issue with OneSignal.

Rob

Hi Rob,

Thanks, when the OpenAL fix will be available in daily builds (I’m using Android Studio builds)?

for OneSignal, talked to them about this issue, they telling me that the fix was made for their Android Native SDK, but will take time to make in to Corona Plugin. (that was months ago)…

Thanks
 

Hopefully soon. We are still chasing some bugs from those testing it. 

Rob

Wow, replacing OpenAL is a real step forward and will improve stability immensely.

audio related crashes and ANRs are top priority for me for several months, but I 

could do nothing.

 

What a great news, if there is a way to buy the engineer who is working on it lots of cups of coffee, I would do.