Errors: Corona "core" & Google Services - Multiple Crashes and ANRs - (Base APK, Signals, Executing Services, Resource Exception, GPGS)

Hello Corona / Rob,

We are seeing a huge spike in CRASH/ANRs on GooglePlay that seem to be resulting from our use of some core Corona modules. We’ve posted seperatly for each “group” of issues but these seem more “core” to you Corona.

Background:

We updated our all our apps last month (if that helps you figure out version we’re running). The PDFs (4Corona.zip) from Dropbox link below are the detailed errors. Again this is for only a sampling of 4 of our games, and we have 14 in with similar issues.

Request #1 of 2

Have a look. Get back to use please.

Request #2 of 2

And @Rob, can we request someone reach out to us outside of these forums maybe using the email on our account? We don’t want spam you guys but had little other recourse which might be counter productive… More importantly, I think we can help each other much better that way. I’ll offer you an e-meeting too, full code share, full GP access. Let me know.

Download link:

https://www.dropbox.com/sh/q3al7hyykl71f2e/AAA_uIDodj9v4LHa51zkzCmHa?dl=0

Break down count vs description:

203 signal 5 (SIGTRAP), code 4 (TRAP_HWBKPT)

110 signal 5 (SIGTRAP), code 4 (TRAP_HWBKPT)

80 signal 5 (SIGTRAP), code 4 (TRAP_HWBKPT)

55 signal 5 (SIGTRAP), code 4 (TRAP_HWBKPT)

185 executing service 

68 Broadcast of Intent

16 android.content.res.Resources.loadDrawableForCookie

1 “signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)”

1 java.lang.IllegalArgumentException

1 Input dispatching timed out

1 Input dispatching timed out

1 java.lang.NullPointerException

168 "executing service "

78 Broadcast of Intent

70 "executing service "

70 "executing service "

46 Broadcast of Intent

9 "executing service "

1 java.lang.NullPointerException

342 Broadcast of Intent 

Full disclosure

List of threads that could also be related (we’ll see), we tried to chunk this out. And further make sure to link back from old posts back to this one. Effectively bottling everyone here.

https://forums.coronalabs.com/topic/72157-unit-ads-multiple-crashes-and-arn-input-dispatching-various-and-illegal-state/

 

https://forums.coronalabs.com/topic/72162-adcolony-ads-multiple-crashes-and-anrs-signal-11-null-point-dispatching-and-intent-broadcast/

 

https://forums.coronalabs.com/topic/72161-applovin-ads-multiple-crashes-and-anrs-input-dispatch-timeout-with-interstitial-activity/

 

https://forums.coronalabs.com/topic/72160-facebook-ads-multiple-crashes-and-anrs-executing-service-and-input-service/

 

https://forums.coronalabs.com/topic/72160-facebook-ads-multiple-crashes-and-anrs-executing-service-and-input-service/

 

https://forums.coronalabs.com/topic/72159-inmobi-ads-multiple-crashes-and-anrs-lualoader-and-at-run-loader/

 

https://forums.coronalabs.com/topic/72158-revmob-ads-multiple-crashes-and-anrn-null-pointer-3-different-kinds/

Can you help? What do you need?

Thanks!

Alex

Check your email Alex!

Rob

Do please keep this master public thread updated as we are all being hit by this in the past month and we are all keen on a fix.

Hope there is an update soon. All my apps are also experience high rate of crashes. It seems to affect more on users running Android 7.0 and above.

This is one of the errors I am seeing.

java.lang.IllegalStateException :

 

at android.app.FragmentManagerImpl.checkStateLoss (FragmentManager.java:1438)

 

at android.app.FragmentManagerImpl.popBackStackImmediate (FragmentManager.java:577)

 

at android.app.Activity.onBackPressed (Activity.java:2880)

 

at android.app.Activity.onKeyUp (Activity.java:2854)

 

at com.ansca.corona.CoronaActivity.onKeyUp (CoronaActivity.java:3525)

 

at android.view.KeyEvent.dispatch (KeyEvent.java:3346)

 

at android.app.Activity.dispatchKeyEvent (Activity.java:3155)

 

at com.ansca.corona.input.RaiseKeyEventTask$1.run (RaiseKeyEventTask.java:90)

 

at android.os.Handler.handleCallback (Handler.java:751)

 

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

 

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

 

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

 

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

 

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1468)

 

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

 

Do you have an onKey event setup? Can you share that code?

Rob

Here is another very common error I got.

java.lang.NullPointerException :

 

at com.ansca.corona.CoronaActivity.setStatusBarMode (CoronaActivity.java:1107)

 

at com.ansca.corona.CoronaStatusBarApiHandler$1.run (CoronaStatusBarApiHandler.java:30)

 

at android.os.Handler.handleCallback (Handler.java:836)

 

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

 

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

 

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

 

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

 

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1073)

 

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

No but I do have an audio setup to play a stream from url.

All Android versions

 

Current production (19, 16)

 

 

Show hidden 

 

Cluster Reports Impacted users Last reported  

 

in tgkill

26,048

5,973

2 minutes ago

 

java.lang.IllegalStateException

in com.onesignal.GcmBroadcastReceiver.processOrderBroadcast

17,052

1,650

9 minutes ago

 

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)

in base.apk

7,265

6,278

3 minutes ago

 

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)

in libopenal.so

2,416

424

6 minutes ago

 

 

in tgkill

2,332

909

19 minutes ago

 

 

in abort

1,906

419

2 minutes ago

 

signal 5 (SIGTRAP), code 1 (TRAP_BRKPT)

in libwebviewchromium.so

1,876

1,730

17 minutes ago

 

java.lang.OutOfMemoryError

in android.graphics.BitmapFactory.nativeDecodeAsset

1,717

761

4 minutes ago

 

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)

in libwebviewchromium.so

1,405

789

26 minutes ago

I can’t view any of those links. They all give a 403 Forbidden error.

Rob

Of course Rob as they would be links to his GP account… I feel the gravity here is the numbers or crashes/ANRs we are all facing.

I am sure you can see this from an overview of various threads.

sorry, I wanted to post as image, but forum didn’t let, me, by mistake i paste it as Text (That included links),

I wanted to clarify about crash that happens for most Android 8.0 users!
 

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** pid: 0, tid: 0 >>> com.app <<< backtrace:

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

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

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

#03 pc 00000000000486d3 /system/lib/libc.so (_Z23__pthread_internal_findl+82)

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

#05 pc 0000000000015b58 /data/app/com.app-2/lib/arm/libopenal.so (alcDestroyContext+516)

#06 pc 0000000000008ed7 /data/app/com.app-2/lib/arm/libalmixer.so (ALmixer_Quit+230)

#07 pc 000000000012e7a4 /data/app/com.app-2/lib/arm/libcorona.so

#08 pc 0000000000130bd8 /data/app/com.app-2/lib/arm/libcorona.so

#09 pc 0000000000140cd4 /data/app/com.app-2/lib/arm/libcorona.so

#10 pc 000000000002bed4 /data/app/com.app-2/lib/arm/libcorona.so

#11 pc 000000000002f244 /data/app/com.app-2/lib/arm/libcorona.so (Java_com_ansca_corona_JavaToNativeShim_nativeDone+28)

#12 pc 000000000015cad7 /data/app/com.app-2/oat/arm/base.odex

I’ve read over some threads in Corona, and we have experienced the same issues between late January until now with apps that we published during that timeframe.

We have had issues with both the Applovin and Admob plugin, and here is one of the errors that is the most common one that popped up.

When is a fix coming for this? We had one of our apps that went viral, and was severely downgraded as a result of these bugs. 

Some examples of crashes: This one was the most rampant. When is this being fixed for both Applovin and the Admob PAID plugins?

java.lang.NullPointerException :

 

at plugin.applovin.paid.LuaLoader$Show$1.run (LuaLoader.java:1052)

 

at android.os.Handler.handleCallback (Handler.java:815)

 

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

 

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

 

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

 

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

 

at java.lang.reflect.Method.invoke (Method.java:372)

 

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:955)

 

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

 

 


 

java.lang.NullPointerException :

 

at plugin.admob.LuaLoader$Load$1.run (LuaLoader.java:890)

 

at android.os.Handler.handleCallback (Handler.java:836)

 

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

 

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

 

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

 

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

 

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1075)

 

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

Our crashes and ANRs are resulting from Corona core libraries and many of the most popular paid plugins.  At the moment everything seems to be giving crashes and ANRs resulting in >3-4% crash and ANRs across our entire fleet of games.

Despite the encouraging words from Rob we are now week 3 without any real solutions from Corona.  We keep being told “Rebuild the games and see, there are more updates” but the crash and ANR rates remain the same.  We had an email thread going with Rob and some of the tech folks but eventually that hit a dead end with “try updating all your games again”.  We have over 32 games right now, it takes a LONG time to update each and upload each, just to find we are in the same position.

It’s to the point that we are having meetings with all our technical folks to seriously discuss porting our games to Unity.  The amount of financial harm this has caused us is significant. The other solution hinted by Corona? Disable plugins. AKA: disable ads. Consider us frustrated and rapidly losing confidence in this platform. 

@firerabbit.info - I posted in another thread, but we were able to update our apps, in using both PAID versions of the Admob and Applovin plugin, and they are not crashing anymore. I am using a device which had crashing issues with the ads, and it is no longer occuring.

Let me know if you were able to fix it on your end!

I hope that Corona continues to be more proactive about looking at these issues with android, especially for users who are paying for plugins. These should be proactively maintained, and checked against google’s new library updates to make sure they are compatible.

I have to admit, that we are too, hesitant to use Corona in light of these issues but we also appreciate the fix/update as soon as we posted the errors yesterday. Kudos to the team for repairing the issues.

Anyone have an update on this? I noticed these same crashes started ramping up in my games over the last ~1 month. Daily build 3319 but I’ve hard customers report it happens no matter what daily build I use. I’m using the paid version of all advertising plugins.

@naveen_pcs, as far as I know 3319 should have addressed everything on our side. We know a couple of ad plugins that we don’t maintain are still pending some updates (Vungle is one that supposed to update this week I think), but most people are not reporting problems with 3319.

If you’re still seeing issues, we need to know what plugins you’re using and what specific crashes you get (please use a service like pastebin to share these long stack traces via a URL instead of posting the entire trace directly here).

Rob

Hey Rob,

I just saw that a new public release was pushed out. I’m sending it out to my beta group and seeing what they report. Otherwise I’ll report back with more details. I also seemed to get 2 new permissions required with the latest API 27 change. Any idea what ad networks they could be?

android.permission.ACCESS_COARSE_LOCATION, android.permission.ACCESS_FINE_LOCATION

Only using 6 actual 3rd party plugins: Facbook v4a, Unity Ads, Chartboost, Admob, OneSignal and Flurry. Previously never needed those permissions.

Edit: Going through the plugin documentation on your site, it seems like it would either have to be Flurry or OneSignal. All the other ad networks don’t mention using location permissions (unless the docs are outdated). Flurry says its optional to include (and I definitely don’t include it in build.settings). That leaves OneSignal. Currently investigating on their website to see what’s up.

Edit 2: Can’t seem to figure out what’s causing it. Doesn’t seem like it’s any of those 6 plugins (checked documentation for each of them). I’ve attached a screenshot of the new location permissions. Literally didn’t change anything except build with the new public release 3326 vs the daily 3319 I was using.

00000210.png

It’s probably Facebook v4a. It has changes related to required facebook permissions (we turned off user_friends) and since it’s a potential breaking change, we wanted it to be tied to the public release. I see it’s requesting the two GPS permissions. I’ll ask the team if this is required or not.

Rob