10-29-2006, 05:59 PM,
|
|
RJARRRPCGP
Junior Member
|
Posts: 44
Threads: 10
Joined: Jul 2006
|
|
VDrift crashes if the car hits an object real hard!
VDrift usually crashes if I hit an object real hard when I run VDrift for the first time after installing it, it actually seems less likely to crash when VDrift is loaded for the second time and beyond. That's strange.
Update:
Ruudskogen, is the place where it's the most likely to crash.
Also, Ruudskogen is the place where you're the most likely to get video corruption, if you been at the track selection menu item.
How VDrift crashes is a lock up with a sound being repeated.
Thus I'm required to terminate VDrift with Task Manager.
This is with Windows 2000 Pro SP4 and Windows XP Pro 2002 SP2.
|
|
10-29-2006, 06:16 PM,
|
|
RJARRRPCGP
Junior Member
|
Posts: 44
Threads: 10
Joined: Jul 2006
|
|
thelusiv Wrote:This is a known bug, sometimes you'll see the speedometer read "NAN" when this happens, and the screen turn black. There's probably a better way to catch this problem and handle it so users can still quit the game...I'll see if we can find a solution...
I can't recall it displaying "NAN", also, it usually just freezes.
|
|
10-31-2006, 04:16 AM,
|
|
thelusiv
Administrator
|
Posts: 2,346
Threads: 223
Joined: Jun 2005
|
|
One idea for finding the problem is, whatever we throw when the errors occur, should contain some information collected about the error. Then this info should be recorded on disk, and the user should be told where it is so they can post it here. What kind of info would be useful? I'm guessing track and car, position of car...heck actually a replay would have the data we'd need to reproduce it...right? The only problem now is, if this problem occurs the replay will not be stopped and written to disk. If we could handle this problem correctly then we could record the problem as it happened, and use that as a test case when trying to fix the problem. However it still might be useful to record some data besides just a replay, like the place where the error occurred, and the values that caused the problem, or something like that...
|
|
11-02-2006, 12:10 PM,
|
|
thelusiv
Administrator
|
Posts: 2,346
Threads: 223
Joined: Jun 2005
|
|
In the latest SVN (r1315) I have implemented a simple try/catch in main.cpp, and a few throw statements in track.cpp, so that if we encounter the NAN problem we can put an error menu on the screen, and then leave the current game. This works, but the car engine sound continues looping after the game has been stopped, and never stops playing until a new game is started or VDrift is exited.
This might be a good point to think about reintroducing Matthew's logging class(es). We need a more complex error class to throw, instead of just std: tring, that can contain more information about the problem.
|
|
03-01-2011, 06:54 PM,
|
|
RJARRRPCGP
Junior Member
|
Posts: 44
Threads: 10
Joined: Jul 2006
|
|
OK, I tried this version, even though generations old, because I miss the tach gauge that this version has.
But, strangely, I just discovered recently that hitting a wall can crash Windows! Yes, Windows!
Yes, literally the OS!
It will cause Windows to give STOP: 0x000000D1 DRIVER_IRQL_NOT_LESS_OR_EQUAL
or Windows just freezes!
But this has to be something driver related, but this didn't occur before!
This occurs on my old schooler, my Asus A7N8X-X and Barton 3000+ with XP Pro SP3.
|
|
|