Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat
Crashes reported in Google Play for Android 6, 7, and 7.1 - Gideros Forum

Crashes reported in Google Play for Android 6, 7, and 7.1

EricCarrEricCarr Member
edited August 2017 in General questions
Hi, I've recently started to get more crash reports in my game in Google Play. I haven't updated the app since November 2016 (latest version of Gideros at the time).

It seems to be mostly Android 7, although there are some in 6.

Has anyone else experienced this?


Around 150 reports of this:

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)
libgideros.so

backtrace:
native: pc 000000000019176a /data/app/com.carrdesigns.cellwars-1/lib/arm/libgideros.so
native: pc 0000000000190ebd /data/app/com.carrdesigns.cellwars-1/lib/arm/libgideros.so
native: pc 0000000000186c09 /data/app/com.carrdesigns.cellwars-1/lib/arm/libgideros.so (alcDeviceResumeSOFT+84)
native: pc 000000000006e8cd /data/app/com.carrdesigns.cellwars-1/lib/arm/libgideros.so (_ZN18ApplicationManager6resumeEv+8)
native: pc 000000000002de6d /data/app/com.carrdesigns.cellwars-1/oat/arm/base.odex

15 Reports of this:

backtrace:
native: pc 0000000000191106 /data/app/com.carrdesigns.cellwars-1/lib/arm/libgideros.so
native: pc 0000000000190ec9 /data/app/com.carrdesigns.cellwars-1/lib/arm/libgideros.so
native: pc 000000000018733d /data/app/com.carrdesigns.cellwars-1/lib/arm/libgideros.so (alcDestroyContext+52)
native: pc 000000000007ed25 /data/app/com.carrdesigns.cellwars-1/lib/arm/libgideros.so (_ZN14GGAudioManager13systemCleanupEv+24)
native: pc 0000000000076d43 /data/app/com.carrdesigns.cellwars-1/lib/arm/libgideros.so (_ZN14GGAudioManagerD2Ev+42)
native: pc 0000000000076d5d /data/app/com.carrdesigns.cellwars-1/lib/arm/libgideros.so (gaudio_Cleanup+12)
native: pc 000000000006f74b /data/app/com.carrdesigns.cellwars-1/lib/arm/libgideros.so (_ZN18ApplicationManagerD2Ev+42)
native: pc 000000000006f8ed /data/app/com.carrdesigns.cellwars-1/lib/arm/libgideros.so (Java_com_giderosmobile_android_player_GiderosApplication_nativeDestroy+12)
native: pc 000000000002b56d /data/app/com.carrdesigns.cellwars-1/oat/arm/base.odex

Comments

  • piepie Member
    From what I read here I suppose that it happens on suspend/resume of the application, do you listen to app suspend and resume events?
    I have an android 7 device to try crashing your game if you need me to :smiley:
  • olegoleg Member
    @pie I do not know how to listen to suspend / resume events in Gideros
  • piepie Member
    there you go :)

    http://docs.giderosmobile.com/reference/gideros/EventDispatcher/Event.APPLICATION_SUSPEND

    http://docs.giderosmobile.com/reference/gideros/EventDispatcher/Event.APPLICATION_RESUME#Event.APPLICATION_RESUME

    If you listen to suspend you can stop and clear everything running / pause the game when it's sent to background
    on resume you can reinit some things, unpause others as you wish: looking at EricCarr logs I would start stopping all sounds and see how it goes, but maybe your issue is somewhere else.
    I think I had something weird on the ads that required this.

    Likes: oleg

    +1 -1 (+1 / -0 ) Share on Facebook
  • just pause any sounds you are tracking then unpause them on resume.
  • NatWobbleNatWobble Member
    Hi guys.

    Are there any other possible causes for these kinds of crashes? We have stopped all sounds running, as SinisterSoft suggested above, and that's helped by about 50%. But we still get them.

    The following accounts for about 75% of our remaining crashes:

    signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)
    backtrace:

    #00 pc 00000000001d10fa /data/app/com.wobblemonkey.speedygram-1/lib/arm/libgideros.so

    #01 pc 00000000001c5ea5 /data/app/com.wobblemonkey.speedygram-1/lib/arm/libgideros.so (alcDeviceResumeSOFT+132)

    #02 pc 0000000000096c91 /data/app/com.wobblemonkey.speedygram-1/lib/arm/libgideros.so (_ZN18ApplicationManager6resumeEv+28)

    #03 pc 00000000007619bd /data/app/com.wobblemonkey.speedygram-1/oat/arm/base.odex

    Thanks
  • hgy29hgy29 Maintainer
    Hard to say what happened here, but I added a safety check just in case: https://github.com/gideros/gideros/commit/b730df3c5b194f2906c3c6ba925dafbdb943e6bd

    Likes: simwhi, NatWobble

    +1 -1 (+2 / -0 ) Share on Facebook
  • @hgy29

    Thanks for the effort but we are still getting the same crash as above in our latest release using the latest version with the safety check.

    To a lesser extent we are also getting:
    backtrace:

    #00 pc 00000000001d156e /data/app/com.wobblemonkey.speedygram-1/lib/arm/libgideros.so

    #01 pc 00000000001c3e53 /data/app/com.wobblemonkey.speedygram-1/lib/arm/libgideros.so (alcDestroyContext+54)

    #02 pc 00000000000a9c87 /data/app/com.wobblemonkey.speedygram-1/lib/arm/libgideros.so (_ZN14GGAudioManager13systemCleanupEv+26)

    #03 pc 000000000009f2d9 /data/app/com.wobblemonkey.speedygram-1/lib/arm/libgideros.so (gaudio_Cleanup+44)

    #04 pc 0000000000095d0b /data/app/com.wobblemonkey.speedygram-1/lib/arm/libgideros.so (_ZN18ApplicationManagerD1Ev+42)

    #05 pc 000000000009704d /data/app/com.wobblemonkey.speedygram-1/lib/arm/libgideros.so (Java_com_giderosmobile_android_player_GiderosApplication_nativeDestroy+12)

    #06 pc 00000000006cad95 /data/app/com.wobblemonkey.speedygram-1/oat/arm/base.odex

    And a few null pointers with IAB:

    1) java.lang.NullPointerException:

    at com.giderosmobile.android.plugins.iab.Iab$1.run (Iab.java:191)

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

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

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

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

    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)

    2)java.lang.NullPointerException:

    at com.giderosmobile.android.plugins.iab.Iab$3.run (Iab.java:228)

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

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

    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)

Sign In or Register to comment.