ZAP 1.5.0 Crashes
by Fabian Holmberg · in Torque Game Engine · 02/25/2005 (12:57 am) · 7 replies
I have had 5 crashes today when running the new version of ZAP. They have sofar occurred under two conditions :
1) Just as the game starts up and you need to type in your name.
2) Just as you choose "Host Game" in main menu.
This crash seems to occur randomly in the two abovementioned parts of the game.
In both conditions, the game simply freezes. This to the point that I can't even do a Ctrl + Alt + Del to kill the process or go back to my compiler. I have to press the reset button on my computer.
ZAP 1.4.0 has and still works impecabbly and I have now reverted to using that instead.
Note that I have only been running both versions in debug mode. However that in itself should ought not to affect ZAP 1.5.0. I believe something low level is at fault here. I have not managed to trace it yet though. Will keep you guys posted if I find anything.
I would be interested to know if anyone else who is debugging ZAP 1.5.0 has encountered similar issues...
1) Just as the game starts up and you need to type in your name.
2) Just as you choose "Host Game" in main menu.
This crash seems to occur randomly in the two abovementioned parts of the game.
In both conditions, the game simply freezes. This to the point that I can't even do a Ctrl + Alt + Del to kill the process or go back to my compiler. I have to press the reset button on my computer.
ZAP 1.4.0 has and still works impecabbly and I have now reverted to using that instead.
Note that I have only been running both versions in debug mode. However that in itself should ought not to affect ZAP 1.5.0. I believe something low level is at fault here. I have not managed to trace it yet though. Will keep you guys posted if I find anything.
I would be interested to know if anyone else who is debugging ZAP 1.5.0 has encountered similar issues...
#2
You might try running with the -window command line arg. Makes it a little easier to debug. Any light you can shed on your crashes would be appreciated.
02/25/2005 (1:32 am)
Hmm... I'm getting into the game fine.You might try running with the -window command line arg. Makes it a little easier to debug. Any light you can shed on your crashes would be appreciated.
#3
Could be that its trying to link to a missing file in my root zap directory (I have copied all sound files / dll's in that directory in order to debug the program.) Maybe I missed some.
What would be interesting to know is if anyone else is having this problem.
02/26/2005 (8:41 pm)
For now I am unable to shed light on this. Its crash occurence seems random at best. I have to do some testing in non-debug mode by just running the exe as is although theoretically it should not make a difference being that I have not modified the source code. Could be that its trying to link to a missing file in my root zap directory (I have copied all sound files / dll's in that directory in order to debug the program.) Maybe I missed some.
What would be interesting to know is if anyone else is having this problem.
#4
I would like to know if anyone else is experiencing this problem. Again, this bug is totally random and happens occasionally when I host a game. Upon selection of "Host Game" everything totally freezes so I am unable to set a break point to locate the bug.
I am not even able to do a Ctrl + Alt + Delete to shutdown the thread, not to mention minimizing the app or setting focus on another application. No key will do anything and I am stuck looking at the main menu of Zap, with the "host game" highlighted.
Again, if anyone else is having this problem it would be useful to know, otherwise I will have to assume that this proprietary to my machine.
03/21/2005 (8:29 pm)
Just wanted to report that this morning I reverted to Zap 1.5 and unfortunately this bug is persisting.I would like to know if anyone else is experiencing this problem. Again, this bug is totally random and happens occasionally when I host a game. Upon selection of "Host Game" everything totally freezes so I am unable to set a break point to locate the bug.
I am not even able to do a Ctrl + Alt + Delete to shutdown the thread, not to mention minimizing the app or setting focus on another application. No key will do anything and I am stuck looking at the main menu of Zap, with the "host game" highlighted.
Again, if anyone else is having this problem it would be useful to know, otherwise I will have to assume that this proprietary to my machine.
#5
The crash occurs in GameType::AddClient()
The problem is when it tries to extract the number of players in a team
U32 minPlayers = mTeams[0].numPlayers;
it crashes because mTeams is NULL;
05/06/2005 (4:29 am)
I have never been able to "host" (or indeed join) a game of Zap. I had a problem with 1.4 where it would crash as soon as you selected "host game". After getting 1.5 i tried again, and it does exactly the same thing. The crash occurs in GameType::AddClient()
The problem is when it tries to extract the number of players in a team
U32 minPlayers = mTeams[0].numPlayers;
it crashes because mTeams is NULL;
#6
05/06/2005 (11:54 pm)
Lots of little crash bugs in the open source version of Zap. We fixed a lot of them in the commercial version (unless Mark checked in the full version of Zap when I wasn't looking).
#7
I really should fix that one...
- Mark
05/08/2005 (12:12 am)
This bug happens if the executable directory is not properly set to ../exe in the debugger.I really should fix that one...
- Mark
Torque Owner Mark Frohnmayer
When one of the incompatible methods is remotely invoked from the master, it asserts on the client and something funky is keeping the assert window from popping up. I only tested zap 1.5 in release mode, which would simply have silently dropped the packets.
Ok, time to test.