Frequent Android Crashes

To reiterate:

  • try to get a repro. Provided code which causes crash and we would fix a cras in no time.
  • if you can’t - send us trace backs/crash logs. They are useful only combined with exact version of Corona. This way may lead to fixing the crash. Problem is, it often points to some invalid state and we have no idea how it ever could get there.

In both cases we shall do our best to fix a crash.

Ok, great!

  • try to get a repro. Provided code which causes crash and we would fix a cras in no time.

In most cases this is very hard. We only see the reports on Google Play console so we are on the same level as you. 

  • if you can’t - send us trace backs/crash logs. They are useful only combined with exact version of Corona. This way may lead to fixing the crash. Problem is, it often points to some invalid state and we have no idea how it ever could get there.

As stated above, we just have the information from Google Play console. In the first message of this thread I copy pasted the information from console for a few of the crashes. I’m happy to provide more info if it is possible to retrieve in some way. But as of now, I don’t know where to get it. 

If you have apk which is associated with crash start it and monitor adb logcat. Corona prints out its version when started. We can “decode” back traces provided version.

Those libs have always been high up on both ANRs and Crashes for me as well. 

Ok, if it’s only Corona version and backtrace from Google Play console it should be easy to collect. I’ll gather some info during the day. 

This was build with 2017.3159
 

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)

_ZN7android6Bitmap6jniEnvEv

backtrace: native: pc 000000000009bd4c /system/lib/libandroid\_runtime.so (\_ZN7android6Bitmap6jniEnvEv+11) native: pc 000000000009bf21 /system/lib/libandroid\_runtime.so (\_ZN7android6Bitmap17unpinPixelsLockedEv+28) native: pc 000000000009bf59 /system/lib/libandroid\_runtime.so (\_ZN7android6Bitmap20onStrongRefDestroyedEv+28) native: pc 0000000000124c5d /system/lib/libskia.so (\_ZN8SkBitmap10freePixelsEv+52) native: pc 0000000000124c1d /system/lib/libskia.so (\_ZN8SkBitmapD1Ev+4) native: pc 0000000000128215 /system/lib/libskia.so native: pc 0000000000137b21 /system/lib/libskia.so native: pc 000000000013682f /system/lib/libskia.so (\_ZN8SkCanvasD2Ev+42) native: pc 00000000001368f9 /system/lib/libskia.so (\_ZN8SkCanvasD0Ev+2) native: pc 00000000000529b1 /system/lib/libhwui.so native: pc 000000000068ceeb /system/framework/arm/boot-core-libart.oat (libcore.util.NativeAllocationRegistry.applyFreeFunction+102) native: pc 000000000068cc29 /system/framework/arm/boot-core-libart.oat (libcore.util.NativeAllocationRegistry$CleanerThunk.run+84) native: pc 0000000000792f13 /system/framework/arm/boot.oat (sun.misc.Cleaner.clean+86) native: pc 00000000005fdc75 /system/framework/arm/boot.oat (java.lang.ref.ReferenceQueue.enqueueLocked+144) native: pc 00000000005fdd2b /system/framework/arm/boot.oat (java.lang.ref.ReferenceQueue.enqueuePending+110) native: pc 00000000005e1309 /system/framework/arm/boot-core-libart.oat (java.lang.Daemons$ReferenceQueueDaemon.run+228) native: pc 00000000005f749d /system/framework/arm/boot.oat (java.lang.Thread.run+48) native: pc 00000000000a8f41 /system/lib/libart.so (art\_quick\_invoke\_stub\_internal+64) native: pc 0000000000401531 /system/lib/libart.so (art\_quick\_invoke\_stub+232) native: pc 00000000000b01d5 /system/lib/libart.so (\_ZN3art9ArtMethod6InvokeEPNS\_6ThreadEPjjPNS\_6JValueEPKc+136) native: pc 00000000003126f9 /system/lib/libart.so (\_ZN3artL18InvokeWithArgArrayERKNS\_33ScopedObjectAccessAlreadyRunnableEPNS\_9ArtMethodEPNS\_8ArgArrayEPNS\_6JValueEPKc+56) native: pc 00000000003134c5 /system/lib/libart.so (\_ZN3art35InvokeVirtualOrInterfaceWithJValuesERKNS\_33ScopedObjectAccessAlreadyRunnableEP8\_jobjectP10\_jmethodIDP6jvalue+256) native: pc 000000000032a365 /system/lib/libart.so (\_ZN3art6Thread14CreateCallbackEPv+848) native: pc 0000000000047073 /system/lib/libc.so (\_ZL15\_\_pthread\_startPv+22) native: pc 0000000000019d69 /system/lib/libc.so (\_\_start\_thread+6)

Few of the devices affected

Sony Xperia XZs (SOV35), 4096MB RAM, Android 7.1
Sharp AQUOS Xx 3 (SG506SH), 3072MB RAM, Android 7.0
Samsung Galaxy S7 Edge (SC-02H), 4096MB RAM, Android 7.0
Sharp AQUOS ZETA SH-04H (SH-04H), 3072MB RAM, Android 7.0

Pretty much the same for me.  My crash free daily sessions is 99.3% and I have a lot of daily sessions.

I will add that this is the only new crash seen with my last update using 3145

java.lang.IndexOutOfBoundsException: at android.text.SpannableStringBuilder.checkRange (SpannableStringBuilder.java:1029) at android.text.SpannableStringBuilder.replace (SpannableStringBuilder.java:471) at android.text.SpannableStringBuilder.delete (SpannableStringBuilder.java:224) at android.text.SpannableStringBuilder.delete (SpannableStringBuilder.java:38) at android.view.inputmethod.BaseInputConnection.deleteSurroundingText (BaseInputConnection.java:252) at com.android.internal.view.IInputConnectionWrapper.executeMessage (IInputConnectionWrapper.java:389) at com.android.internal.view.IInputConnectionWrapper$MyHandler.handleMessage (IInputConnectionWrapper.java:78) at android.os.Handler.dispatchMessage (Handler.java:111) 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:956) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:751)

Well… libcorona.so, libopenal.so, libalmixer.so, liblua.so is where all Corona code basically is.

@Fungrip, that crash, 

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)

_ZN7android6Bitmap6jniEnvEv

Seems to be not Corona related somehow (all traces are in system libraries, not even called from Corona). Weird…

Understood, but was attempting to specifically call to attention libopenal.so and libalmixer.so.  They look generally like this (build 2017.3155)

 native: pc 00000000000a2f94 /data/app-lib/com.dev.app-3/libopenal.so native: pc 0000000000016874 /data/app-lib/com.dev.app-3/libopenal.so (alcCreateContext+436) native: pc 0000000000005ff7 /data/app-lib/com.dev.app-3/libalmixer.so (ALmixer\_Init+214) native: pc 000000000011dcdc /data/app-lib/com.dev.app-3/libcorona.so native: pc 00000000000fccf8 /data/app-lib/com.dev.app-3/libcorona.so native: pc 000000000000cc04 /data/app-lib/com.dev.app-3/liblua.so native: pc 000000000001ce18 /data/app-lib/com.dev.app-3/liblua.so native: pc 000000000000d050 /data/app-lib/com.dev.app-3/liblua.so native: pc 000000000000c35c /data/app-lib/com.dev.app-3/liblua.so native: pc 000000000000d1c8 /data/app-lib/com.dev.app-3/liblua.so native: pc 00000000000055a0 /data/app-lib/com.dev.app-3/liblua.so (lua\_pcall+88) native: pc 00000000000f58c0 /data/app-lib/com.dev.app-3/libcorona.so native: pc 000000000008988c /data/app-lib/com.dev.app-3/libcorona.so native: pc 000000000012f934 /data/app-lib/com.dev.app-3/libcorona.so native: pc 000000000007ba60 /data/app-lib/com.dev.app-3/libcorona.so native: pc 000000000002060c /system/lib/libdvm.so (dvmPlatformInvoke+112) native: pc 00000000000512ef /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const\*, JValue\*, Method const\*, Thread\*)+398) native: pc 0000000000029aa0 /system/lib/libdvm.so native: pc 0000000000030f84 /system/lib/libdvm.so (dvmMterpStd(Thread\*)+76) native: pc 000000000002e61c /system/lib/libdvm.so (dvmInterpret(Thread\*, Method const\*, JValue\*)+184) native: pc 0000000000063751 /system/lib/libdvm.so (dvmCallMethodV(Thread\*, Method const\*, Object\*, bool, JValue\*, std::\_\_va\_list)+336) native: pc 0000000000063775 /system/lib/libdvm.so (dvmCallMethod(Thread\*, Method const\*, Object\*, JValue\*, ...)+20) native: pc 0000000000058453 /system/lib/libdvm.so native: pc 000000000000d310 /system/lib/libc.so (\_\_thread\_entry+72) native: pc 000000000000d4a8 /system/lib/libc.so (pthread\_create+240)

Top devices:  Galaxy Grand-Max (grandmaxltekx), Galaxy Tab E 9.6 (gtelwifi), Galaxy Tab3V 7.0 (goyavewifixtc), Moto G (1st Gen) (falcon_umts) - all of which were Android 4.4

Another top offender, but only recently, is the “ZN7*Bitmap*” thing (whatever that is), again built with 2017.3155:

 native: pc 00000000000a2f2c /system/lib/libandroid\_runtime.so (\_ZN7android6Bitmap6jniEnvEv+15) native: pc 00000000000a30fd /system/lib/libandroid\_runtime.so (\_ZN7android6Bitmap17unpinPixelsLockedEv+28) native: pc 00000000000a3135 /system/lib/libandroid\_runtime.so (\_ZN7android6Bitmap20onStrongRefDestroyedEv+28) native: pc 000000000012f9ed /system/lib/libskia.so (\_ZN8SkBitmap10freePixelsEv+52) native: pc 000000000012f9ad /system/lib/libskia.so (\_ZN8SkBitmapD1Ev+4) native: pc 0000000000133401 /system/lib/libskia.so native: pc 00000000001430d5 /system/lib/libskia.so native: pc 0000000000141dad /system/lib/libskia.so (\_ZN8SkCanvasD2Ev+44) native: pc 0000000000141e79 /system/lib/libskia.so (\_ZN8SkCanvasD0Ev+2) native: pc 000000000005845b /system/lib/libhwui.so native: pc 000000000068e49b /system/framework/arm/boot-core-libart.oat (libcore.util.NativeAllocationRegistry.applyFreeFunction+102) native: pc 000000000068e1d9 /system/framework/arm/boot-core-libart.oat (libcore.util.NativeAllocationRegistry$CleanerThunk.run+84) native: pc 0000000000794473 /system/framework/arm/boot.oat (sun.misc.Cleaner.clean+86) native: pc 00000000005feedd /system/framework/arm/boot.oat (java.lang.ref.ReferenceQueue.enqueueLocked+144) native: pc 00000000005fef93 /system/framework/arm/boot.oat (java.lang.ref.ReferenceQueue.enqueuePending+110) native: pc 00000000005e2371 /system/framework/arm/boot-core-libart.oat (java.lang.Daemons$ReferenceQueueDaemon.run+228) native: pc 00000000005f86f5 /system/framework/arm/boot.oat (java.lang.Thread.run+48) native: pc 00000000000a97c1 /system/lib/libart.so (art\_quick\_invoke\_stub\_internal+64) native: pc 000000000042fa1b /system/lib/libart.so (art\_quick\_invoke\_stub+230) native: pc 00000000000b1029 /system/lib/libart.so (\_ZN3art9ArtMethod6InvokeEPNS\_6ThreadEPjjPNS\_6JValueEPKc+148) native: pc 000000000033d65d /system/lib/libart.so (\_ZN3artL18InvokeWithArgArrayERKNS\_33ScopedObjectAccessAlreadyRunnableEPNS\_9ArtMethodEPNS\_8ArgArrayEPNS\_6JValueEPKc+56) native: pc 000000000033e5cb /system/lib/libart.so (\_ZN3art35InvokeVirtualOrInterfaceWithJValuesERKNS\_33ScopedObjectAccessAlreadyRunnableEP8\_jobjectP10\_jmethodIDP6jvalue+258) native: pc 000000000035649f /system/lib/libart.so (\_ZN3art6Thread14CreateCallbackEPv+846) native: pc 0000000000048677 /system/lib/libc.so (\_ZL15\_\_pthread\_startPv+22) native: pc 000000000001a411 /system/lib/libc.so (\_\_start\_thread+6)

On a number of different devices, but all Android 7.0

Another variant looks like this:

 native: pc 00000000000924ea /system/lib/libandroid\_runtime.so (\_ZN7android6Bitmap6jniEnvEv+9) native: pc 00000000000926ad /system/lib/libandroid\_runtime.so (\_ZN7android6Bitmap17unpinPixelsLockedEv+28) native: pc 00000000000926e5 /system/lib/libandroid\_runtime.so (\_ZN7android6Bitmap20onStrongRefDestroyedEv+28) native: pc 00000000000ea865 /system/lib/libskia.so (\_ZN8SkBitmap10freePixelsEv+20) native: pc 00000000000ea87f /system/lib/libskia.so (\_ZN8SkBitmapD1Ev+4) native: pc 00000000000ec4f9 /system/lib/libskia.so native: pc 00000000000ec511 /system/lib/libskia.so native: pc 00000000000f9387 /system/lib/libskia.so native: pc 00000000000fbc43 /system/lib/libskia.so (\_ZN8SkCanvasD2Ev+22) native: pc 00000000000fbc75 /system/lib/libskia.so (\_ZN8SkCanvasD0Ev+4) native: pc 000000000005d63f /system/lib/libhwui.so native: pc 00000000032cc515 /system/framework/arm/boot.oat

Again, on a number of devices, but this time they’re all Android 6.0.

Those two broad classes of crashes (with libopenal.so or “ZN7” cited) probably account for 80% of crashes, across all apps.  There are dozens of little “one-time” crashers referencing various internal libs, but if the big offenders could be cleaned up that’d probably be enough to resolve the “vitals ranking” issue.

My top crash is

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)

libcorona.so

backtrace: native: pc 0000000000030c7c /data/app/com.spheregamestudios.designercity-1/lib/arm/libcorona.so native: pc 000000000002b6e4 /data/app/com.spheregamestudios.designercity-1/lib/arm/libcorona.so native: pc 000000000002e9f8 /data/app/com.spheregamestudios.designercity-1/lib/arm/libcorona.so (Java\_com\_ansca\_corona\_JavaToNativeShim\_nativeDone+28) native: pc 0000000000937be5 /data/app/com.spheregamestudios.designercity-1/oat/arm/base.odex

Btw, just to be sure what this backtraces all mean:

it gives line on which code crashed after optimizations

lib lua.so - means somewhere along Lua function was called

lib openal.so - audio subsystem wrapper we’re using

lib corona.so - something in Corona core code. This is most useful tracebacks, really.

Often compile optimizations would mix stuff up together making it really hard to decode tracebacks.

P.S. Thank you all for the tracebacks.

@SGS, please, provide build number.

@vlad it was either 3144 or 3145 - I think 3145

If you have APK, you can run it, and it would print you corona build to console on start.

Don’t have APK but it was definitely 3145 as that is in my downloads folder and 3144 isn’t

For example: this one is crashing when trying to destroy connection between Java and Native side when application exiting. (why would google care about app crashing on exit? It exits anyway ffs, but it’s not the point) Probably caused by referring variable which was already freed. It is rather hard to say why it is sometimes already freed but isn’t so every time. We’ll look into it.

Also, than you everyone for tracebacks. I created tickets and will take a look at them in nearest future (aka Monday). I can not guarantee that anything would be done, but we’ll try fixing them.

@vlad, if it is on app exit shouldn’t errors be silently handled?

I’ll give you a few more Corona related ones (if it helps harden the SDK)…

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:2895) at android.app.Activity.onKeyUp (Activity.java:2869) at com.ansca.corona.CoronaActivity.onKeyUp (CoronaActivity.java:3482) at android.view.KeyEvent.dispatch (KeyEvent.java:3361) at android.app.Activity.dispatchKeyEvent (Activity.java:3170) 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:6776) at java.lang.reflect.Method.invoke (Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1518) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1408)

 native: pc 00000000000a2f94 /data/app/com.spheregamestudios.designercity-1/lib/arm/libopenal.so native: pc 0000000000016874 /data/app/com.spheregamestudios.designercity-1/lib/arm/libopenal.so (alcCreateContext+436) native: pc 0000000000005ff7 /data/app/com.spheregamestudios.designercity-1/lib/arm/libalmixer.so (ALmixer\_Init+214) native: pc 000000000011f6d4 /data/app/com.spheregamestudios.designercity-1/lib/arm/libcorona.so native: pc 00000000000fdf84 /data/app/com.spheregamestudios.designercity-1/lib/arm/libcorona.so native: pc 000000000000cc04 /data/app/com.spheregamestudios.designercity-1/lib/arm/liblua.so native: pc 000000000001ce18 /data/app/com.spheregamestudios.designercity-1/lib/arm/liblua.so native: pc 000000000000d050 /data/app/com.spheregamestudios.designercity-1/lib/arm/liblua.so native: pc 000000000000c35c /data/app/com.spheregamestudios.designercity-1/lib/arm/liblua.so native: pc 000000000000d1c8 /data/app/com.spheregamestudios.designercity-1/lib/arm/liblua.so native: pc 00000000000055a0 /data/app/com.spheregamestudios.designercity-1/lib/arm/liblua.so (lua\_pcall+88) native: pc 0000000000006ff8 /data/app/com.spheregamestudios.designercity-1/lib/arm/liblua.so native: pc 000000000000cc04 /data/app/com.spheregamestudios.designercity-1/lib/arm/liblua.so native: pc 000000000001ce18 /data/app/com.spheregamestudios.designercity-1/lib/arm/liblua.so native: pc 000000000000d050 /data/app/com.spheregamestudios.designercity-1/lib/arm/liblua.so native: pc 000000000000c35c /data/app/com.spheregamestudios.designercity-1/lib/arm/liblua.so native: pc 000000000000d1c8 /data/app/com.spheregamestudios.designercity-1/lib/arm/liblua.so native: pc 00000000000055a0 /data/app/com.spheregamestudios.designercity-1/lib/arm/liblua.so (lua\_pcall+88) native: pc 00000000000f58c0 /data/app/com.spheregamestudios.designercity-1/lib/arm/libcorona.so native: pc 00000000000d7a58 /data/app/com.spheregamestudios.designercity-1/lib/arm/libcorona.so native: pc 000000000012f418 /data/app/com.spheregamestudios.designercity-1/lib/arm/libcorona.so native: pc 00000000001313c8 /data/app/com.spheregamestudios.designercity-1/lib/arm/libcorona.so native: pc 000000000012f8d0 /data/app/com.spheregamestudios.designercity-1/lib/arm/libcorona.so native: pc 000000000013062c /data/app/com.spheregamestudios.designercity-1/lib/arm/libcorona.so native: pc 000000000002b530 /data/app/com.spheregamestudios.designercity-1/lib/arm/libcorona.so native: pc 0000000000fd1a35 /data/app/com.spheregamestudios.designercity-1/oat/arm/base.odex

java.lang.IllegalArgumentException: at com.google.android.gles\_jni.EGLImpl.eglGetConfigAttrib (Native Method) at com.ansca.corona.graphics.opengl.GLSurfaceView$ComponentSizeChooser.findConfigAttrib (GLSurfaceView.java:996) at com.ansca.corona.graphics.opengl.GLSurfaceView$ComponentSizeChooser.chooseConfig (GLSurfaceView.java:957) at com.ansca.corona.graphics.opengl.GLSurfaceView$BaseConfigChooser.chooseConfig (GLSurfaceView.java:887) at com.ansca.corona.graphics.opengl.GLSurfaceView$EglHelper.start (GLSurfaceView.java:1070) at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.guardedRun (GLSurfaceView.java:1508) at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.run (GLSurfaceView.java:1378)

java.lang.UnsatisfiedLinkError: at java.lang.Runtime.loadLibrary (Runtime.java:367) at java.lang.System.loadLibrary (System.java:1076) at com.ansca.corona.JavaToNativeShim.\<clinit\> (JavaToNativeShim.java:115) at com.ansca.corona.CoronaEnvironment.setLuaErrorHandler (CoronaEnvironment.java:391) at com.ansca.corona.CoronaEnvironment.\<clinit\> (CoronaEnvironment.java:50) at com.ansca.corona.CoronaActivity.onCreate (CoronaActivity.java:228)

Built with 2017.3159
 

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)

_ZNK14A4xWorkarounds27Errata51SetVpClipCodeIgnoreE11EsxPrimType13EsxCmdBufTypeiP17GRAS_CL_CLIP_CNTL

native: pc 0000000000170d84 /system/vendor/lib/egl/libGLESv2\_adreno.so (\_ZNK14A4xWorkarounds27Errata51SetVpClipCodeIgnoreE11EsxPrimType13EsxCmdBufTypeiP17GRAS\_CL\_CLIP\_CNTL+3) native: pc 0000000000172705 /system/vendor/lib/egl/libGLESv2\_adreno.so (\_ZN10A4xContext9HwPreDrawEPK17EsxDrawDescriptor+36) native: pc 00000000000e42dd /system/vendor/lib/egl/libGLESv2\_adreno.so (\_ZN10EsxContext19DrawArraysInstancedE11EsxPrimTypeijj+188) native: pc 00000000000ce93f /system/vendor/lib/egl/libGLESv2\_adreno.so (\_ZN10EsxContext12GlDrawArraysEjii+62) native: pc 0000000000135050 /data/app/net.facv.playwater-1/lib/arm/libcorona.so native: pc 000000000013c6f8 /data/app/net.facv.playwater-1/lib/arm/libcorona.so native: pc 00000000000a33e4 /data/app/net.facv.playwater-1/lib/arm/libcorona.so native: pc 000000000012f904 /data/app/net.facv.playwater-1/lib/arm/libcorona.so native: pc 000000000007ba60 /data/app/net.facv.playwater-1/lib/arm/libcorona.so native: pc 000000000080b0a5 /data/app/net.facv.playwater-1/oat/arm/base.odex

signal 11 (SIGSEGV), code 2 (SEGV_ACCERR)

_ZN10A4xContext17WriteVfdStateRegsEPjP10A4xVfdRegsjj

 native: pc 000000000017c882 /system/vendor/lib/egl/libGLESv2\_adreno.so (\_ZN10A4xContext17WriteVfdStateRegsEPjP10A4xVfdRegsjj+33) native: pc 000000000017c9c7 /system/vendor/lib/egl/libGLESv2\_adreno.so (\_ZN10A4xContext18WriteVfdStateGroupE13EsxCmdBufType+70) native: pc 000000000017ff5b /system/vendor/lib/egl/libGLESv2\_adreno.so (\_ZN10A4xContext13ValidateStateEPK17EsxDrawDescriptor+2170) native: pc 00000000001800e5 /system/vendor/lib/egl/libGLESv2\_adreno.so (\_ZN10A4xContext18HwValidateGfxStateEPK17EsxDrawDescriptor+4) native: pc 00000000000ef2cd /system/vendor/lib/egl/libGLESv2\_adreno.so (\_ZN10EsxContext16ValidateGfxStateEPK17EsxDrawDescriptor+460) native: pc 00000000000e4289 /system/vendor/lib/egl/libGLESv2\_adreno.so (\_ZN10EsxContext19DrawArraysInstancedE11EsxPrimTypeijj+104) native: pc 00000000000ce93f /system/vendor/lib/egl/libGLESv2\_adreno.so (\_ZN10EsxContext12GlDrawArraysEjii+62) native: pc 0000000000135050 /data/app/net.facv.playwater-2/lib/arm/libcorona.so native: pc 000000000013c6f8 /data/app/net.facv.playwater-2/lib/arm/libcorona.so native: pc 00000000000a33e4 /data/app/net.facv.playwater-2/lib/arm/libcorona.so native: pc 000000000012f904 /data/app/net.facv.playwater-2/lib/arm/libcorona.so native: pc 000000000007ba60 /data/app/net.facv.playwater-2/lib/arm/libcorona.so native: pc 000000000080b0a5 /data/app/net.facv.playwater-2/oat/arm/base.odex

Both crashes occured on Android 6.0

I seen this one below on several types of devices, but have never seen it in testing.  I’m rather new to app publishing with no idea what to expect from a Corona built app.  Google’s play console lists my apps as 99.4% of daily session being crash free.  Any thoughts on this number?   I currently have no plugins and cannot imagine how such a crash is occurring.  Corona itself likely has some bugs.  Is there a list somewhere to compare these tracebacks against?  What crash rate will google likely see as being problematic?

ZTE Majesty Pro LTE (stark), 1024MB RAM, Android 6.0  (occurs with a variety of devices/android versions)

java.lang.IllegalStateException :

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

I’m getting the following google play report messages:
 

Samsung Galaxy A5(2017) (a5y17lte), 3072MB RAM, Android 7.0

Relatório 1

android.app.RemoteServiceException :

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

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

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

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

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

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

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

Samsung Galaxy Grand Prime (fortunave3g), 1024MB RAM, Android 4.4

Relatório 1 de 1

android.app.RemoteServiceException :

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

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

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

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

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

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

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

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

at dalvik.system.NativeStart.main (Native Method)

Can anyone tell me what it’s all about?