Crash when exiting and loading a new mission
by Jeff Trier · in Torque Game Engine · 05/21/2004 (7:25 am) · 4 replies
Hi all,
I am getting a page fault error when I enter a mission, exit the mission normally (press esc), then try and enter the same or a different mission from the stock mission selection screen.
When I do a trace I get (only very last lines pasted):
Sometimes it will enter phase 2, but it always seems to end on the scenario where it enters "onDataBlockObjectReceived" but doesn't leave it.
My guess is that there is an object not getting deleted from the first mission, but I am not sure.
Can anyone recommend a trouble shooting method to sort this out?
Thanks guys!
-Jeff
I am getting a page fault error when I enter a mission, exit the mission normally (press esc), then try and enter the same or a different mission from the stock mission selection screen.
When I do a trace I get (only very last lines pasted):
Entering onDataBlockObjectReceived(63, 150) Entering onPhase1Progress(0.42) Leaving onPhase1Progress() - return Leaving onDataBlockObjectReceived() - return Entering onDataBlockObjectReceived(64, 150) Entering onPhase1Progress(0.426667) Leaving onPhase1Progress() - return
Sometimes it will enter phase 2, but it always seems to end on the scenario where it enters "onDataBlockObjectReceived" but doesn't leave it.
My guess is that there is an object not getting deleted from the first mission, but I am not sure.
Can anyone recommend a trouble shooting method to sort this out?
Thanks guys!
-Jeff
About the author
Originally a Classical/Metal musician, I've always been attracted to anything involving computers, including: Networking, PC Building and Repair, software design and coding. I've been involved with game design and development for over 10 years.
#2
05/22/2004 (3:34 am)
Try building a DEBUG version so you can see in the debugger what is making you crash.
#3
You know it's funny, I always used the debug version in the past, but it *seemed* to not give any more information than the release build (aside from a few extra view modes in the map editor). I guess I was wrong. Thanks!
-Jeff
05/22/2004 (3:58 am)
Hmm... I will try that. You know it's funny, I always used the debug version in the past, but it *seemed* to not give any more information than the release build (aside from a few extra view modes in the map editor). I guess I was wrong. Thanks!
-Jeff
#4
The debug version will help you immensively when your app actually DOES crash. It will tell you where in the code it fails and on what line.
05/31/2004 (1:54 am)
@JeffThe debug version will help you immensively when your app actually DOES crash. It will tell you where in the code it fails and on what line.
Torque Owner Jeff Trier
Simple Distractions Software
After making *no changes*, I started the game up and it always crashes at this point:
After doing multiple attempts, I noticed that the value in onPhase2Progress is always 0.912281. I think all this function does is return a value for the progress meter, so if the progress is stopping at exactly the same spot, it must be a static hitch... Hmmm...
Has anyone ran into this before?
Thanks,
-Jeff