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

ACECORP

Founder & Entrepreneur
Veteran
Joined
Apr 6, 2016
Messages
253
Reaction score
39
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  
 

Mithran

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
404
Reaction score
216
First Language
English
Primarily Uses
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.
 

nazgul

Husband
Veteran
Joined
Jul 23, 2015
Messages
116
Reaction score
39
First Language
english
Primarily Uses
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?
 

Mithran

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
404
Reaction score
216
First Language
English
Primarily Uses
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?


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

Husband
Veteran
Joined
Jul 23, 2015
Messages
116
Reaction score
39
First Language
english
Primarily Uses
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
 

Mithran

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
404
Reaction score
216
First Language
English
Primarily Uses
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.
 

Isabella Ava

Veteran
Veteran
Joined
Sep 13, 2016
Messages
635
Reaction score
756
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
 

Attachments

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,145
Reaction score
815
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:

Isabella Ava

Veteran
Veteran
Joined
Sep 13, 2016
Messages
635
Reaction score
756
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:

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,145
Reaction score
815
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.
 

Isabella Ava

Veteran
Veteran
Joined
Sep 13, 2016
Messages
635
Reaction score
756
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 (*⌒▽⌒*)θ~♪
 

Thefirelion

Veteran
Veteran
Joined
Mar 25, 2017
Messages
58
Reaction score
14
First Language
Spanish
Primarily Uses
RMVXA
Last edited:

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,574
Reaction score
542
First Language
English
Primarily Uses
RMVXA
Putting your scripts file into a test project does not give me any errors.
How do you have your battle set up, or what events are you doing that cause the leak to show up.
 

Thefirelion

Veteran
Veteran
Joined
Mar 25, 2017
Messages
58
Reaction score
14
First Language
Spanish
Primarily Uses
RMVXA
Putting your scripts file into a test project does not give me any errors.
How do you have your battle set up, or what events are you doing that cause the leak to show up.
I have the battle system set up as it is in the scripts. At the time of the tests I have nothing activated, if it is a parallel event I activate it manually, but what in the maps are events that are activated by action buton o player touch.

EDIT: I have several events with stepping animation, custom movement and with ADD blending.

but I don't think it has to do with the alerts it prints, that is, I think it is a problem of the message windows, in the first topic pages I read of a problem similar to this.

EDIT 2: I have several events scheduled to use the large choices script system, but I don't think, only 1 is activated per common event (using the yahfly menu system and 2 NPCs, but they are also activated at the player's wish.

EDIT 3: I think it's a problem with the large choices script by Modern Algebra and the Yanfly Message system, I disabled it and I don't have any more errors, Reviewing it, he only wrote a "compatibility" in the position of some things and code.
 
Last edited:

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,574
Reaction score
542
First Language
English
Primarily Uses
RMVXA
I see the error pop up when the battle starts.
You can either Comment out three lines in ATS: Choice Options
Lines 681-683
Code:
#~     self.help_window = Window_Help.new(lines > 0 ? lines : 1)
#~     help_window.z = self.z
#~     help_window.hide
This is what I did for my game.

Or use the code mentioned on the first page like you said.
Code:
class Window_Message 
  alias dispose_mith_leak_fix_face_window dispose 
  def dispose   
    @face_window.dispose if @face_window   
    dispose_mith_leak_fix_face_window 
  end
end
class Window_ChoiceList 
  alias dispose_mith_leak_fix_help_window dispose 
  def dispose   
    @help_window.dispose if @help_window   
    dispose_mith_leak_fix_help_window 
  end
end
 

Thefirelion

Veteran
Veteran
Joined
Mar 25, 2017
Messages
58
Reaction score
14
First Language
Spanish
Primarily Uses
RMVXA
I see the error pop up when the battle starts.
You can either Comment out three lines in ATS: Choice Options
Lines 681-683
Code:
#~     self.help_window = Window_Help.new(lines > 0 ? lines : 1)
#~     help_window.z = self.z
#~     help_window.hide
This is what I did for my game.

Or use the code mentioned on the first page like you said.
Code:
class Window_Message
  alias dispose_mith_leak_fix_face_window dispose
  def dispose 
    @face_window.dispose if @face_window 
    dispose_mith_leak_fix_face_window
  end
end
class Window_ChoiceList
  alias dispose_mith_leak_fix_help_window dispose
  def dispose 
    @help_window.dispose if @help_window 
    dispose_mith_leak_fix_help_window
  end
end
The first option worked! Thanks! :thumbsup-right::):thumbsup-right:

Postdata: @Roninator2 I commented the lines of the same script from 1028 to 1057 because the game interpreter was running a "eval script" on line 1037, so I eliminated the function of creating "help windows" from it.
 
Last edited:

BCj

Veteran
Veteran
Joined
Jun 19, 2014
Messages
1,731
Reaction score
928
First Language
Dutch
Primarily Uses
N/A
My game started lagging today and when checking GOBJ I'm running into some strange errors.

Code:
Time: 2020-06-23 21:15:37 +0200
CRITICAL OBJECT #<Sprite:0x1215c338>
In Scene Scene_Bestiary
Creation Stack::
Script 0269 -- Venka's Bestiary v1.8, Line: 1931:in `create_enemy_image'
Script 0269 -- Venka's Bestiary v1.8, Line: 1854:in `create_all_windows'
Script 0269 -- Venka's Bestiary v1.8, Line: 1807:in `start'
Script 0100 -- Scene_Base, Line: 12:in `main'
Script 0124 --     Mithran - Debugger, Line: 246:in `main'
Script 0006 -- SceneManager, Line: 23:in `run'
Script 0368 -- Main, Line: 7:in `block in <main>'
:1:in `block in rgss_main'
:1:in `loop'
:1:in `rgss_main'
Script 0368 -- Main, Line: 7:in `<main>'
ruby:in `eval'

Time: 2020-06-23 21:15:43 +0200
CRITICAL OBJECT #<Sprite_Screen:0x121487d4>
In Scene Encyclopedia
Creation Stack::
Script 0353 -- Theo - Pause anywhere, Line: 85:in `start'
Script 0328 -- Nova Encyclopedia 2.1, Line: 1136:in `start'
Script 0100 -- Scene_Base, Line: 12:in `main'
Script 0124 --     Mithran - Debugger, Line: 246:in `main'
Script 0006 -- SceneManager, Line: 23:in `run'
Script 0368 -- Main, Line: 7:in `block in <main>'
:1:in `block in rgss_main'
:1:in `loop'
:1:in `rgss_main'
Script 0368 -- Main, Line: 7:in `<main>'
ruby:in `eval'

Time: 2020-06-23 21:15:50 +0200
CRITICAL OBJECT #<Sprite_Screen:0x121529a0>
In Scene Scene_Menu
Creation Stack::
Script 0353 -- Theo - Pause anywhere, Line: 85:in `start'
Script 0103 -- Scene_MenuBase, Line: 12:in `start'
Script 0104 -- Scene_Menu, Line: 12:in `start'
Script 0148 -- YEA - Menu, Line: 433:in `start'
Script 0187 -- Menu Luna, Line: 2913:in `start'
Script 0100 -- Scene_Base, Line: 12:in `main'
Script 0124 --     Mithran - Debugger, Line: 246:in `main'
Script 0006 -- SceneManager, Line: 23:in `run'
Script 0368 -- Main, Line: 7:in `block in <main>'
:1:in `block in rgss_main'
:1:in `loop'
:1:in `rgss_main'
Script 0368 -- Main, Line: 7:in `<main>'
ruby:in `eval'
-----
Time: 2020-06-23 21:15:50 +0200
CRITICAL OBJECT #<SpriteMenu_Playtime:0x1206e354>
In Scene Scene_Menu
Creation Stack::
Script 0187 -- Menu Luna, Line: 2949:in `create_menu_status'
Script 0187 -- Menu Luna, Line: 2914:in `start'
Script 0100 -- Scene_Base, Line: 12:in `main'
Script 0124 --     Mithran - Debugger, Line: 246:in `main'
Script 0006 -- SceneManager, Line: 23:in `run'
Script 0368 -- Main, Line: 7:in `block in <main>'
:1:in `block in rgss_main'
:1:in `loop'
:1:in `rgss_main'
Script 0368 -- Main, Line: 7:in `<main>'
ruby:in `eval'
-----
Time: 2020-06-23 21:15:50 +0200
CRITICAL OBJECT #<Sprite_Screen:0x11dfdc8c>
In Scene Scene_Map
Creation Stack::
Script 0353 -- Theo - Pause anywhere, Line: 85:in `start'
Script 0325 -- BGS自動演奏スクリプトVXA, Line: 208:in `start'
Script 0102 -- Scene_Map, Line: 12:in `start'
Script 0100 -- Scene_Base, Line: 12:in `main'
Script 0124 --     Mithran - Debugger, Line: 246:in `main'
Script 0006 -- SceneManager, Line: 23:in `run'
Script 0368 -- Main, Line: 7:in `block in <main>'
:1:in `block in rgss_main'
:1:in `loop'
:1:in `rgss_main'
Script 0368 -- Main, Line: 7:in `<main>'
ruby:in `eval'
-----
Time: 2020-06-23 21:15:53 +0200
CRITICAL OBJECT #<Sprite_Fog:0x1b84abb4>
In Scene Scene_Map
Creation Stack::
Script 0249 -- VE - Fogs v1.12, Line: 498:in `block in update_fogs'
Script 0249 -- VE - Fogs v1.12, Line: 762:in `block in each'
Script 0249 -- VE - Fogs v1.12, Line: 762:in `each'
Script 0249 -- VE - Fogs v1.12, Line: 762:in `each'
Script 0249 -- VE - Fogs v1.12, Line: 497:in `update_fogs'
Script 0249 -- VE - Fogs v1.12, Line: 476:in `update'
Script 0279 -- FenixFyreX - Light Effects, Line: 290:in `update'
Script 0102 -- Scene_Map, Line: 90:in `update_for_fade'
Script 0102 -- Scene_Map, Line: 98:in `block in fade_loop'
Script 0102 -- Scene_Map, Line: 96:in `times'
Script 0102 -- Scene_Map, Line: 96:in `fade_loop'
Script 0102 -- Scene_Map, Line: 105:in `fadein'
Script 0102 -- Scene_Map, Line: 227:in `post_transfer'
Script 0152 -- YEA - Core Engine, Line: 929:in `post_transfer'
Script 0237 -- YEA - Event Window, Line: 435:in `post_transfer'
Script 0279 -- FenixFyreX - Light Effects, Line: 803:in `post_transfer'
Script 0102 -- Scene_Map, Line: 206:in `perform_transfer'
Script 0102 -- Scene_Map, Line: 167:in `update_transfer_player'
Script 0102 -- Scene_Map, Line: 79:in `update_scene'
Script 0264 -- Modern Algebra QuestJournal, Line: 2652:in `update_scene'
Script 0102 -- Scene_Map, Line: 66:in `update'
Script 0100 -- Scene_Base, Line: 14:in `main'
Script 0124 --     Mithran - Debugger, Line: 246:in `main'
Script 0006 -- SceneManager, Line: 23:in `run'
Script 0368 -- Main, Line: 7:in `block in <main>'
:1:in `block in rgss_main'
:1:in `loop'
:1:in `rgss_main'
Script 0368 -- Main, Line: 7:in `<main>'
ruby:in `eval'

Now I don't mind uploading my scripts.data in private PM. But not on a publc forum with plenty of paid scripts in it. :rswt
Anyone free to give me a hand?
I already tried one of the VE fog fixes (the line 546 one) added in this thread.
But if the script itself turns out to be very problematic, I might just get rid of it all together for a different one.

Edit: My battle screen is also giving me a memory leak error.

Edit2: I managed to fix some venka bestiary bugs by a fix posted earlier in this thread. But some still show up.
 
Last edited:

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,573
Reaction score
6,498
First Language
Indonesian
Primarily Uses
RMVXA
Script 0353 -- Theo - Pause anywhere, Line: 85:in `start'
Did you, in any way, overwrite the terminate method?
You can try to do a broad search by CTRL + SHIFT + F and then type "def terminate"
 

BCj

Veteran
Veteran
Joined
Jun 19, 2014
Messages
1,731
Reaction score
928
First Language
Dutch
Primarily Uses
N/A
Did you, in any way, overwrite the terminate method?
You can try to do a broad search by CTRL + SHIFT + F and then type "def terminate"
Nope, I already checked that. The code has this:

alias scene_terminate terminate
def terminate
scene_terminate
@pause_viewport.dispose
@pause_sprite.dispose
end
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,573
Reaction score
6,498
First Language
Indonesian
Primarily Uses
RMVXA
Nope, I already checked that. The code has this:
not in my script, in particular, but in another script slot below my script. If it's being overridden, then my sprite will not get disposed properly.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Ami
Me: It's dark cloudy! I hope it's Rain…
(2-3 Hours Later,Changed To Sunny)
Me: :kaolivid:
EpicFILE wrote on Dr_Bonehead's profile.
Dr_Bonehead? You're in this forum too? :D
Take a listen to this beautiful 1975 supermarket music. :D

Somehow it makes me think that the actual real world is still at 1970s. What we experience now is just a futuristic dream. :)
Want to play sandbox games as long its not the online only.
Building on the previous post, why stop at titlescreen idle videos? Now you can have videos as splash screens before the title screen too! [Free Plugin]

Forum statistics

Threads
104,534
Messages
1,006,985
Members
136,025
Latest member
izaichanne
Top