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 "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
Assertion in VDrift-git - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Help (https://www.vdrift.net/Forum/forumdisplay.php?fid=5)
+--- Thread: Assertion in VDrift-git (/showthread.php?tid=1737)



Assertion in VDrift-git - tomlowshang - 07-29-2013

I'm getting an assertion in VDrift git-f7abbf, data svn-r1236.

Code:
vdrift: src/graphics/graphics_gl2.cpp:957: void GRAPHICS_GL2::DisableShaders(const string&, std::ostream&): Assertion `0' failed.
Aborted

.vdrift/log.txt:
Code:
INFO: Dumping the frame-rate to log.
INFO: Multithreading enabled: 8 processors
INFO: Starting VDrift: development-full, Revision: Unversioned directory, O/S: Unix
INFO: Home directory: /home/tlow
INFO: Settings file: /home/tlow/.vdrift/VDrift.config
INFO: Data directory: data
      DATA_DIR: /usr/local/share/games/vdrift/data
INFO: Temporary directory: /home/tlow/.vdrift/tmp
INFO: Log file: /home/tlow/.vdrift/log.txt
INFO: Disabling antialiasing
INFO: Display change was successful: 800x600x32 24z fullscreen=0
INFO: Using GLEW 1.7.0
INFO: Video card information:
      GL Vendor: X.Org
      GL Renderer: Gallium 0.4 on AMD CAYMAN
      GL Version: 3.0 Mesa 9.3.0-devel (git-e847b5a)
      Texture units: 8 full, 16 partial
      Maximum texture size: 16384
      Maximum varying floats: 128
ERROR: Graphics card or driver does not support required GL_VERSION_3_3
ERROR: Initialization of GL3 failed.
INFO: Maximum anisotropy: 16
INFO: Maximum color attachments: 8
INFO: Maximum draw buffers (1 required): 8
ERROR: Unable to open graphics config file: data/shaders/gl2/
ERROR: Error loading render configuration file: data/shaders/gl2/
ERROR: Disabling shaders due to shader loading error
ERROR: Unable to open graphics config file: data/shaders/gl2/noshaders.conf
ERROR: Error loading non-shader render configuration file: data/shaders/gl2/noshaders.conf

Removed .vdrift/VDrift.config but it did not change anything.

OS: Debian sid
CPU: AMD 8150
Graphics: see log


RE: Assertion in VDrift-git - NaN - 07-30-2013

Yes, there have been changes to shaders. Latest data rev is 1252.


RE: Assertion in VDrift-git - tomlowshang - 07-31-2013

Somehow my svn checkout was stuck at r1236. No idea how that happened, but blowing away the data directory and getting a fresh checkout worked... almost. If VDrift.config has an existing renderer=gl1 line, the crash still happens. When I remove the renderer=gl1 line, the file is updated with renderer=gl3/vdrift1.rhr and the crash is avoided.


RE: Assertion in VDrift-git - NaN - 07-31-2013

(07-31-2013, 12:18 AM)tomlowshang Wrote: If VDrift.config has an existing renderer=gl1 line, the crash still happens. When I remove the renderer=gl1 line, the file is updated with renderer=gl3/vdrift1.rhr and the crash is avoided.
Somehow missed this one. Thanks for reporting.