Please Help!! How Can I Prevent My App From Crashing On The Mobile

Discussion in 'How Can I...?' started by Gl1ch, Sep 5, 2018.

  1. Gl1ch

    Gl1ch Boxer

    Joined:
    Sep 3, 2018
    Messages:
    2
    Likes Received:
    0
    Hello!
    So i was able to somehow publish my app on the play store and and in the beginning it was also working pretty fine. But when i tried to export and add a more fleshed out and completed version of my game,
    the app keeps repeatedly crashing on the game play screen.
    it show the start screen with the music, but when the world game play loads it crashes.
    this is the error i keep getting,
    Please Help
    backtrace:

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

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

    #02 pc 00000000002d7617 /data/app/com.GL1TCH.Descend-k5YRLSh94dYxSIqrpF3y4Q==/lib/arm/libplayer.so (_ZN7cocos2d11CCGLProgram13compileShaderEPjjPKc+154)

    #03 pc 00000000002d7551 /data/app/com.GL1TCH.Descend-k5YRLSh94dYxSIqrpF3y4Q==/lib/arm/libplayer.so (_ZN7cocos2d11CCGLProgram29initWithVertexShaderByteArrayEPKcS2_+68)

    #04 pc 00000000002622b5 /data/app/com.GL1TCH.Descend-k5YRLSh94dYxSIqrpF3y4Q==/lib/arm/libplayer.so (_ZN20PTPObjectAssetMirror10initializeEv+156)

    #05 pc 00000000002624f1 /data/app/com.GL1TCH.Descend-k5YRLSh94dYxSIqrpF3y4Q==/lib/arm/libplayer.so (_ZN20PTPObjectAssetMirror11beginRenderEv+40)

    #06 pc 000000000028a067 /data/app/com.GL1TCH.Descend-k5YRLSh94dYxSIqrpF3y4Q==/lib/arm/libplayer.so (_ZN14PTPScreenScene5visitEv+58)

    #07 pc 00000000002a9de1 /data/app/com.GL1TCH.Descend-k5YRLSh94dYxSIqrpF3y4Q==/lib/arm/libplayer.so (_ZN7cocos2d6CCNode5visitEv+138)

    #08 pc 00000000002b0581 /data/app/com.GL1TCH.Descend-k5YRLSh94dYxSIqrpF3y4Q==/lib/arm/libplayer.so (_ZN7cocos2d10CCDirector9drawSceneEv+72)

    #09 pc 00000000002b1381 /data/app/com.GL1TCH.Descend-k5YRLSh94dYxSIqrpF3y4Q==/lib/arm/libplayer.so (_ZN7cocos2d21CCDisplayLinkDirector8mainLoopEv+28)

    #10 pc 0000000000122ba7 /data/app/com.GL1TCH.Descend-k5YRLSh94dYxSIqrpF3y4Q==/oat/arm/base.odex
     
  2. chris dyson

    chris dyson Boxer

    Joined:
    Sep 4, 2018
    Messages:
    3
    Likes Received:
    0
    I'm having the exact same problem! My game crashed at the same scene everytime.
    I have literally tried everything from changing the ads( removing completely) deleting the scene then adding a new one( same thing happened again) changing the ui, deleting the original world map but duplicating and renaming, checked the atlases ( only have 1 !)
    Have you had any look on fixing this problem?
     
  3. spicedbeangames

    spicedbeangames Miniboss Boxer

    Joined:
    Mar 31, 2016
    Messages:
    1,187
    Likes Received:
    503
    Is this BB2? Try cleaning up your atlases but remember, Xcode no longer supports iPhone 4
     
  4. chris dyson

    chris dyson Boxer

    Joined:
    Sep 4, 2018
    Messages:
    3
    Likes Received:
    0

    Hi there,

    Yes bb2 latest version,
    Atlases have been cleaned and rebuilt.
    Using android studios and my phone is samsung galaxy s9.
    It happens after about 1 minute of playing the game and at the exact same scene every time.
    My one question I do have is, is there a difference exporting with android studios or eclipse? Could this possibly be the issues?
     
  5. spicedbeangames

    spicedbeangames Miniboss Boxer

    Joined:
    Mar 31, 2016
    Messages:
    1,187
    Likes Received:
    503
    BB doesnt support Eclipse any longer, so you need to use Android Studio, making sure that you have all the SDKs installed supporting all the versions of Android (4.1-8.0) as an example.
     
  6. chris dyson

    chris dyson Boxer

    Joined:
    Sep 4, 2018
    Messages:
    3
    Likes Received:
    0

    I appreciate the time taken to reply, I will certainly check they are up to date.
     
  7. Praaaytogod

    Praaaytogod Boxer

    Joined:
    Jan 14, 2019
    Messages:
    22
    Likes Received:
    0
    I'm having the same problem. My crash seems to be more random though, happening whenever. I cleaned up my atlases, changed the ads, converted to clones and I'm not quite sure what else to try.
     
  8. spicedbeangames

    spicedbeangames Miniboss Boxer

    Joined:
    Mar 31, 2016
    Messages:
    1,187
    Likes Received:
    503
    What's your exact problem? Is this on iOS?
     
  9. Praaaytogod

    Praaaytogod Boxer

    Joined:
    Jan 14, 2019
    Messages:
    22
    Likes Received:
    0
    Yes. It's on iOS. It crashes randomly. It doesn't make a difference which scene I'm in or which character I am. It doesn't matter if I'm collecting coins or skipping right past them. It can crash when I open the app or when I make it to scene 30. I haven't found a pattern at all. I looked through each scene to make sure there weren't any unused objects or images. The error I'm getting is signal SIGABRT. I Googled this and I read it may be some sort of unused outlet. I can't find anything anywhere though. I cleaned up my atlases and am down to 4. I then rebuilt and copied to clones. I'm out of ideas at this point.
     
  10. Josh (Nology Games)

    Josh (Nology Games) Head Moderator Staff Member

    Joined:
    Nov 27, 2017
    Messages:
    456
    Likes Received:
    141
    Praaaytogod likes this.
  11. Praaaytogod

    Praaaytogod Boxer

    Joined:
    Jan 14, 2019
    Messages:
    22
    Likes Received:
    0
    Thanks! I looked everything over one more time with no luck and sent it over to the support team. Hopefully, they can help me solve this. I'm not quite sure what I did.
     

Share This Page