Hidden Game.exe Crash Debugger - Graphical Object Global Reference ACE

Discussion in 'RGSS3 Scripts (RMVX Ace)' started by Mithran, Aug 26, 2013.

  1. ACECORP

    ACECORP Founder & Entrepreneur Veteran

    Messages:
    250
    Likes Received:
    35
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    RMMV
    Do you have an MV version of this debug script? I have a game crash problem that only happens on IOS devices - details here  
     
  2. Mithran

    Mithran Global Moderators Global Mod

    Messages:
    403
    Likes Received:
    211
    First Language:
    English
    I don't.  I very much doubt this is the same issue, since the symptoms are different and they don't even run off the same base language.
     
  3. nazgul

    nazgul Husband Veteran

    Messages:
    116
    Likes Received:
    39
    Location:
    Oregon
    First Language:
    english
    If my game isn't crashing but in one run through I got a ton of critical objects, is this something I should be worried about? Does this mean it will start crashing?
     
  4. Mithran

    Mithran Global Moderators Global Mod

    Messages:
    403
    Likes Received:
    211
    First Language:
    English


    Maybe not ever for you, but sometime, for someone, yes, it will crash.  Anything flagged as a critical issue (outside of the very few false positive cases caused by improper script structure) will be a problem to someone playing, even if it isn't to you right now.  The crashes are generally very sporadic, but sometimes all it takes to make it start crashing consistently is a single sprite created or disposed somewhere that shifts garbage collection.  


    Let me know if you want me to take a look at your log file.
     
    nazgul and Dymdez like this.
  5. nazgul

    nazgul Husband Veteran

    Messages:
    116
    Likes Received:
    39
    Location:
    Oregon
    First Language:
    english
    Scary stuff I have been working on this over a year. That is sad news. I use so many scripts i feel bad just asking for you to look a this complicated mess. Anyway if you wouldn't mind I would really appreciate your help. I think perhaps I have to many scripts installed. I am willing to scale back some of my ambitious ideas in terms of more stability but some scripts I really can't do without.

    This is a link to my gobj file. Thanks so much for all your efforts Mithran. Don't know what the community would do without you.
    https://www.mediafire.com/?2n5wqklnkd32kga
     
  6. Mithran

    Mithran Global Moderators Global Mod

    Messages:
    403
    Likes Received:
    211
    First Language:
    English
    Do you have any other logs?  It looks like just a single Sprite_Afterimage from the script "Visual Effect" is throwing the error.  It is more than likely either being failed to be cleaned up when the scene closes or double created due to a conflict with one of your the scripts overwriting something.  Since it looks like you have a lot of scripts relating to the scene in which it was created, I'll need the project file to see which one has the conflict, but it should hopefully be a simple trace.  You can PM me if you like.
     
  7. Isabella Ava

    Isabella Ava Veteran Veteran

    Messages:
    636
    Likes Received:
    751
    First Language:
    English
    Hi @Mithran
    I also have this randomly .exe crash bug recently. I kinda believe it's due to a Doodads script i installed
    (before i installed it & if i disabled it, it's rarely to see a crash happen).
    After i installed your script, after several tests, it hasn't got any crash so far too.
    I tried to look into gobj file and checked another case you solved but...
    i couldn't see anything unusual.
    Can you please help me with it (≧д≦ヾ)
    I attached gobj & doodad script files below, thank you
     

    Attached Files:

  8. Sixth

    Sixth Veteran Veteran

    Messages:
    2,121
    Likes Received:
    788
    First Language:
    Hungarian
    Primarily Uses:
    RMVXA
    If that "doodads" script is my Map Objects script, than I can assure you, these crashes you get are not from my script, at least not directly.

    There is a reason why we need the whole project to fix these crashes from undisposed or not properly disposed objects. My script alone disposes everything properly, but if you use other custom scripts, those may have modified some methods I used in my script. There is no way to tell without the full project.

    I would also appreciate if people wouldn't call my script as "doodads" script. I named it differently for a reason. >.>

    I downloaded your attachment, and it turns out, it is not my Map Objects script. Just saw that you posted in my topic too, and assumed you used my script, sorry. :p
    Regardless, without the full project, if the issue is not from that script alone, no one can solve the problem.
     
    Last edited: Dec 29, 2018
    Isabella Ava likes this.
  9. Isabella Ava

    Isabella Ava Veteran Veteran

    Messages:
    636
    Likes Received:
    751
    First Language:
    English
    Hey @Sixth, no it's not yours, it's Doodads's Editor from newold =) So i called it short by "Doodad"
    And thank you for remind me, i will re-attach scripts.rvdata2 too with 2 files above.
    I could upload whole project if it's necessary, it will be over 600mb @.@
     
    Last edited: Dec 29, 2018
  10. Sixth

    Sixth Veteran Veteran

    Messages:
    2,121
    Likes Received:
    788
    First Language:
    Hungarian
    Primarily Uses:
    RMVXA
    I see that that script uses a DLL, so yeah, the whole project with everything setup is the way to go here.

    But I also see that the script doesn't dispose these doodads when the spriteset is disposed.
    You can see this method in that script:
    Code:
      def dispose
        dispose_newold_edit_doodads
      end
    
    That should be this instead:
    Code:
      def dispose
        dispose_doodads
        dispose_newold_edit_doodads
      end
    
    At least I think so, but without the required DLL, I can't test it.
     
  11. Isabella Ava

    Isabella Ava Veteran Veteran

    Messages:
    636
    Likes Received:
    751
    First Language:
    English
    @Sixth wow that's actually (likely) did it =@
    I tested 5 times but no crash so far
    i did look into those dispose section several times
    but well.. couldn't figure it out until you helped, thanks Sixth (*⌒▽⌒*)θ~♪
     

Share This Page