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



Forums
Spa crash - 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: Spa crash (/showthread.php?tid=545)



Spa crash - thelusiv - 03-07-2007

pwp71 pointed this out to me today in IRC. Here's how to reproduce it.

First start a practice game with most any car (I used the T73) on Spa-Francorchamps. Then Pause the game and select Leave Game, and Yes when asked to confirm. Then back at the main menu, select Practice Game again, and start the game with the same car & track selection. When it gets to "Loading...Done" it will segfault. In gdb I found that it didn't segfault right away, first I got a Simulation Error, then the next time I started a practice game it segfaulted. Here's the backtrace I got:
Code:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1223403824 (LWP 3984)]
0x080712cb in AABB::GetCenter (this=0x3f7fdf5e) at include/quat.h:159
159             VERTEX GetCenter() {return center;}
(gdb) bt
#0  0x080712cb in AABB::GetCenter (this=0x3f7fdf5e) at include/quat.h:159
#1  0x08080296 in OBJECTS::DrawObject (this=0x8435cc0, object=0x925af60, max_view_dist=2500, envmap=false, lightmap=false, cubelighting=true) at src/objects.cpp:91
#2  0x08080b13 in OBJECTS::Draw (this=0x8435cc0, cull=true, viewdist=2500, FOV=45, hwratio=1.25, envmap=false, lightmap=false) at src/objects.cpp:250
#3  0x0805b6b2 in OBJECTS::Draw (this=0x8435cc0, cull=true, maxrange=2500, FOV=45, hwratio=1.25) at include/objects.h:171
#4  0x08080ee6 in OBJECTS::Draw (this=0x8435cc0, cull=true) at src/objects.cpp:160
#5  0x08050a6b in drawGLScene () at src/main.cpp:1188
#6  0x080580c5 in main (argc=Cannot access memory at address 0x0
) at src/main.cpp:2071

Looks like it's related to the object/collision code somehow.


- joevenzon - 03-08-2007

Should be fixed, R1603. I added a new cached object list for blended skyboxes and wasn't clearing it when loading a new track. Whoops!