Crash On Some Devices # Cocos2dxrenderer_nativeonpause

Discussion in 'Technical Discussion' started by iiiooo, Oct 8, 2017.

  1. iiiooo

    iiiooo Boxer

    Joined:
    Oct 8, 2017
    Messages:
    3
    Likes Received:
    0
    Hello, In Google Play I have daily crash reporting ever-increasing.
    Code:
    signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)
    Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeOnPause
    
    backtrace:
    Code:
      native: pc 0000000000181b5e  /data/app/com.adventures.run.gun.shooter-1/lib/arm/libplayer.so (Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeOnPause+5)
      native: pc 0000000000ce9c65  /data/app/com.adventures.run.gun.shooter-1/oat/arm/base.odex
    • Samsung Galaxy S8 (dreamlte), 4096MB RAM, Android 7.0
    • Samsung Galaxy J5 (j5lte), 1536MB RAM, Android 6.0
    • Samsung Galaxy J7 (j7e3g), 1536MB RAM, Android 6.0
    • Archos 50 Platinum 4G (AC50PL4G), 1024MB RAM, Android 6.0
    • Motorola Moto G (2nd Gen) (titan_udstv), 1024MB RAM, Android 6.0
    • TCT (Alcatel) PIXI 4 (5) (Pixi4-5), 1024MB RAM, Android 6.0
    • Samsung Galaxy J3 Pop (j3popltespr), 1536MB RAM, Android 6.0
    • LGE LG K8 (mm1v), 1536MB RAM, Android 6.0
    • Lenovo YT3-X50L/Yoga3 Tablet (YT3-X50L), 1024MB RAM, Android 6.0
    • ZTE BLADE A510 (P635A50), 1024MB RAM, Android 6.0
    • And many more....

    I'm Using: BB 2.2.9
    -------------------------------------------------------------
    To generate APK: Android Studio 2.3.3
    JDK: jdk1.8.0_74

    But I've tested with other (different) games compiled with Eclipse and Java 7, there is always the same mistake end error: on Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeOnPause

    To generate APK: Eclipse Juno
    JDK: jdk1.7.0_80
    --------------------------------------------------------------

    Looking around I found one that says: So as we can see Cocos2dxRenderer.nativeOnPause is being called before Cocos2dxRenderer.nativeInit ...
    http://discuss.cocos2d-x.org/t/sm-psharedapplication-is-false-on-specific-android-smartphone/16503/5

    Is this also the case for Buildbox?
    Do you know how to solve it?

    Thanks
     
  2. Star_Lord7711

    Star_Lord7711 Boxer

    Joined:
    Jul 19, 2020
    Messages:
    1
    Likes Received:
    0
    Did you ever find a fix for this? Having the same issue:

    signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)
    Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeOnPause
     
  3. Vlad-NY

    Vlad-NY Serious Boxer

    Joined:
    Jul 21, 2018
    Messages:
    605
    Likes Received:
    361
    Please update your buildbox version to get this issue fixed
     

Share This Page