The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5308 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5308 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1474 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1474 errorHandler->error
/inc/functions.php 1429 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key 1 - Line: 866 - File: inc/class_parser.php PHP 8.1.27 (Linux)
File Line Function
/inc/class_parser.php 866 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key 1 - Line: 885 - File: inc/class_parser.php PHP 8.1.27 (Linux)
File Line Function
/inc/class_parser.php 885 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forums
VDrift crashes if the car hits an object real hard! - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Bugs (https://www.vdrift.net/Forum/forumdisplay.php?fid=7)
+--- Thread: VDrift crashes if the car hits an object real hard! (/showthread.php?tid=382)



VDrift crashes if the car hits an object real hard! - RJARRRPCGP - 10-29-2006

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.


- thelusiv - 10-29-2006

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...


- RJARRRPCGP - 10-29-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.


- thelusiv - 10-30-2006

Talking to Joe today, he said we can probably throw an error this when it happens in TRACK::ElevationSeg and then catch it in the Gui where we can then display an error message, and return the user to the main menu where they can quit. I'll look into fixing this soon.


- cotharyus - 10-30-2006

Yea, I've actually searched the code for NAN trying to see if there isn't some way to catch whatever causes that and do something besides lock up. I found several instances, but haven't researched it yet.


- joevenzon - 10-31-2006

I have no problem detecting the error, I just need to handle it better. The plan will be to throw something that we can catch and handle elegantly.

As for what's CAUSING the error, I'm not sure what it is, and I haven't tried pinning it down because I can't reproduce it reliably.


- thelusiv - 10-31-2006

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...


- thelusiv - 11-02-2006

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:Confusedtring, that can contain more information about the problem.


- joevenzon - 11-02-2006

The error class should also contain the file and line that did the throwing, and those should be settable in the constructor so we can do something like:

throw EXCEPTION(__FILE__, __LINE__, "Some descriptive text!");

I did this for another project and it's very handy.


- joevenzon - 11-04-2006

Quote: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.

I've fixed this in SVN. All of the resources (including sound) should now be unloaded when this occurs.


- thelusiv - 11-05-2006

Cool, this works well for me now, if anyone comes across an instance where VDrift crashes or hangs (with the SVN version) without presenting a Simulation Error menu please report it...


- RJARRRPCGP - 03-01-2011

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.