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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 103 forum_permissions
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 1439 fetch_forum_permissions
/inc/functions.php 3077 forum_permissions
/showthread.php 661 build_forum_jump
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 1439 fetch_forum_permissions
/inc/functions.php 3077 forum_permissions
/showthread.php 661 build_forum_jump
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 1439 fetch_forum_permissions
/inc/functions.php 3077 forum_permissions
/showthread.php 661 build_forum_jump
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 1439 fetch_forum_permissions
/inc/functions.php 3077 forum_permissions
/showthread.php 661 build_forum_jump
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 1439 fetch_forum_permissions
/inc/functions.php 3077 forum_permissions
/showthread.php 661 build_forum_jump
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 1439 fetch_forum_permissions
/inc/functions.php 3077 forum_permissions
/showthread.php 661 build_forum_jump
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 1439 fetch_forum_permissions
/inc/functions.php 3077 forum_permissions
/showthread.php 661 build_forum_jump
Warning [2] Undefined array key "mybb" - Line: 2121 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 2121 errorHandler->error
/inc/functions_indicators.php 41 my_set_array_cookie
/showthread.php 669 mark_thread_read
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(484) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(484) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 484 eval
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 672 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 672 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "showimages" - Line: 768 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 768 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 773 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 773 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "posttime" - Line: 9 - File: inc/functions_post.php(906) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(906) : eval()'d code 9 errorHandler->error
/inc/functions_post.php 906 eval
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "avatar_padding" - Line: 19 - File: inc/functions_post.php(906) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(906) : eval()'d code 19 errorHandler->error
/inc/functions_post.php 906 eval
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(484) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(484) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 484 eval
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 672 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 672 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "showimages" - Line: 768 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 768 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 773 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 773 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "posttime" - Line: 9 - File: inc/functions_post.php(906) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(906) : eval()'d code 9 errorHandler->error
/inc/functions_post.php 906 eval
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "avatar_padding" - Line: 19 - File: inc/functions_post.php(906) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(906) : eval()'d code 19 errorHandler->error
/inc/functions_post.php 906 eval
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(484) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(484) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 484 eval
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 672 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 672 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "showimages" - Line: 768 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 768 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 773 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 773 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "posttime" - Line: 9 - File: inc/functions_post.php(906) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(906) : eval()'d code 9 errorHandler->error
/inc/functions_post.php 906 eval
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "avatar_padding" - Line: 19 - File: inc/functions_post.php(906) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(906) : eval()'d code 19 errorHandler->error
/inc/functions_post.php 906 eval
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(484) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(484) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 484 eval
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 672 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 672 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "showimages" - Line: 768 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 768 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 773 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 773 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "posttime" - Line: 9 - File: inc/functions_post.php(906) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(906) : eval()'d code 9 errorHandler->error
/inc/functions_post.php 906 eval
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "avatar_padding" - Line: 19 - File: inc/functions_post.php(906) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(906) : eval()'d code 19 errorHandler->error
/inc/functions_post.php 906 eval
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "invisible" - Line: 1568 - File: showthread.php PHP 8.1.27 (Linux)
File Line Function
/showthread.php 1568 errorHandler->error
Warning [2] Undefined variable $threadnotesbox - Line: 33 - File: showthread.php(1600) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/showthread.php(1600) : eval()'d code 33 errorHandler->error
/showthread.php 1600 eval
Warning [2] Undefined variable $addremovesubscription - Line: 82 - File: showthread.php(1600) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/showthread.php(1600) : eval()'d code 82 errorHandler->error
/showthread.php 1600 eval
Warning [2] Undefined variable $thread_deleted - Line: 104 - File: showthread.php(1600) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/showthread.php(1600) : eval()'d code 104 errorHandler->error
/showthread.php 1600 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Segmentation faults on Linux
05-02-2008, 03:43 PM,
#1
Segmentation faults on Linux
Hi!

First of all sorry for the long post. But I tried to give you as much information as possible from the very beginning.

I get at least two segmentation faults when I run vdrift. I use Linux openSuse 10.2, 32bit, have a GeForce FX 5500 (with the latest nvidea driver installed, 3d acceleration turned on). The compiler is gcc (GCC) 4.1.2 20061115 (prerelease) (SUSE Linux).

What happens?

1.
The call
Code:
program = glCreateProgramObjectARB();
in src/shader.cpp:25
causes a segmentation fault.
Code:
0x00000000 in ?? ()
(gdb) up
#1  0x0811b536 in SHADER::Load (this=0x82d0ce4, name=@0xbfbe95d8) at src/shader.cpp:25
/home/ssager/solver/vdrift/src/shader.cpp:25:588:beg:0x811b536
2. If I set
Code:
shaders = off

in .vdrift/VDrift.config

I get a little further. Now the segfault is caused by

Code:
collisionbroadphase = new btAxisSweep3(worldAabbMin,worldAabbMax);

in PHYSICS::Init (this=0x8261394) at src/physics.cpp:17


Code:
*** glibc detected *** /home/ssager/solver/vdrift/build/vdrift: malloc(): memory corruption: 0x082e1d98 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7baf6e1]
/lib/libc.so.6[0xb7bb1671]
/lib/libc.so.6(__libc_malloc+0x85)[0xb7bb30c5]
/usr/lib/libstdc++.so.6(_Znwj+0x27)[0xb7d5b477]
/home/ssager/solver/vdrift/build/vdrift[0x811481a]
/home/ssager/solver/vdrift/build/vdrift[0x806403c]
/home/ssager/solver/vdrift/build/vdrift[0x80694bc]
/home/ssager/solver/vdrift/build/vdrift[0x8051959]
/lib/libc.so.6(__libc_start_main+0xdc)[0xb7b60f9c]
/home/ssager/solver/vdrift/build/vdrift[0x8051711]
======= Memory map: ========
08048000-0825b000 r-xp 00000000 03:04 665333     /home/ssager/solver/vdrift/build/vdrift
0825b000-0825d000 r--p 00213000 03:04 665333     /home/ssager/solver/vdrift/build/vdrift
0825d000-0825e000 rw-p 00215000 03:04 665333     /home/ssager/solver/vdrift/build/vdrift
0825e000-082f4000 rw-p 0825e000 00:00 0          [heap]
b4d00000-b4d21000 rw-p b4d00000 00:00 0
b4d21000-b4e00000 ---p b4d21000 00:00 0
b4e8e000-b77d0000 rw-p b4e8e000 00:00 0
b77d0000-b77d1000 r-xp 00000000 03:07 131550     /usr/lib/gconv/ISO8859-1.so
b77d1000-b77d3000 rw-p 00001000 03:07 131550     /usr/lib/gconv/ISO8859-1.so
b77d3000-b77da000 r--s 00000000 03:07 131603     /usr/lib/gconv/gconv-modules.cache
b77da000-b7889000 r-xp 00000000 03:07 104718     /usr/lib/libasound.so.2.0.0
b7889000-b788a000 r--p 000ae000 03:07 104718     /usr/lib/libasound.so.2.0.0
b788a000-b788e000 rw-p 000af000 03:07 104718     /usr/lib/libasound.so.2.0.0
b788e000-b7892000 r-xp 00000000 03:07 103751     /usr/lib/libXfixes.so.3.1.0
b7892000-b7894000 rw-p 00003000 03:07 103751     /usr/lib/libXfixes.so.3.1.0
b7894000-b789c000 r-xp 00000000 03:07 344114     /usr/lib/libXcursor.so.1.0.2
b789c000-b789e000 rw-p 00007000 03:07 344114     /usr/lib/libXcursor.so.1.0.2
b789e000-b78a4000 r--p 00000000 03:07 360541     /var/cache/libx11/compose/l4_024_20fca6bc_0e7768ba
b78a4000-b78c3000 r--p 00000000 03:07 102792     /usr/share/locale/de/LC_MESSAGES/libc.mo
b78c3000-b78c6000 r-xp 00000000 03:07 344134     /usr/lib/libXrandr.so.2.0.0
b78c6000-b78c8000 rw-p 00002000 03:07 344134     /usr/lib/libXrandr.so.2.0.0
b78c8000-b78cf000 r-xp 00000000 03:07 103753     /usr/lib/libXrender.so.1.3.0
b78cf000-b78d1000 rw-p 00006000 03:07 103753     /usr/lib/libXrender.so.1.3.0
b78d1000-b78d2000 r--p 00000000 03:07 148666     /usr/lib/locale/de_DE/LC_MESSAGES/SYS_LC_MESSAGES
b78d2000-b78d6000 rw-p b78d2000 00:00 0
b78d6000-b78da000 r-xp 00000000 03:07 103485     /usr/lib/libogg.so.0.5.3
b78da000-b78dc000 rw-p 00003000 03:07 103485     /usr/lib/libogg.so.0.5.3
b78dc000-b78f1000 r-xp 00000000 03:07 103005     /usr/lib/libICE.so.6.3.0
b78f1000-b78f3000 rw-p 00014000 03:07 103005     /usr/lib/libICE.so.6.3.0
b78f3000-b78f5000 rw-p b78f3000 00:00 0
b78f5000-b78fd000 r-xp 00000000 03:07 103176     /usr/lib/libSM.so.6.0.0
b78fd000-b78ff000 rw-p 00007000 03:07 103176     /usr/lib/libSM.so.6.0.0
b78ff000-b794b000 r-xp 00000000 03:07 103755     /usr/lib/libXt.so.6.0.0
b794b000-b794f000 rw-p 0004b000 03:07 103755     /usr/lib/libXt.so.6.0.0
b794f000-b7953000 r-xp 00000000 03:07 103009     /usr/lib/libXdmcp.so.6.0.0
b7953000-b7955000 rw-p 00003000 03:07 103009     /usr/lib/libXdmcp.so.6.0.0
b7955000-b7956000 rw-p b7955000 00:00 0
b7956000-b7958000 r-xp 00000000 03:07 103007     /usr/lib/libXau.so.6.0.0
b7958000-b795a000 rw-p 00001000 03:07 103007     /usr/lib/libXau.so.6.0.0
b795a000-b795f000 r-xp 00000000 03:07 104897     /usr/lib/libgpm.so.1.19.0
b795f000-b7961000 rw-p 00004000 03:07 104897     /usr/lib/libgpm.so.1.19.0
b7961000-b799c000 r-xp 00000000 03:07 32832      /lib/libncurses.so.5.5
b799c000-b79a3000 r--p 0003a000 03:07 32832      /lib/libncurses.so.5.5
b79a3000-b79a8000 rw-p 00041000 03:07 32832      /lib/libncurses.so.5.5
b79a8000-b79c2000 r-xp 00000000 03:07 103648     /usr/lib/libvorbis.so.0.3.1
b79c2000-b79d1000 rw-p 00019000 03:07 103648     /usr/lib/libvorbis.so.0.3.1
b79d1000-b79d8000 r-xp 00000000 03:07 344128     /usr/lib/libXi.so.6.0.0
b79d8000-b79da000 rw-p 00006000 03:07 344128     /usr/lib/libXi.so.6.0.0
b79da000-b79db000 rw-p b79da000 00:00 0
b79db000-b79ef000 r-xp 00000000 03:07 104653     /usr/lib/libXmu.so.6.2.0
b79ef000-b79f1000 rw-p 00014000 03:07 104653     /usr/lib/libXmu.so.6.2.0
b79f1000-b79f7000 r-xp 00000000 03:07 102853     /usr/lib/libdrm.so.2.0.0
b79f7000-b79f9000 rw-p 00005000 03:07 102853     /usr/lib/libdrm.so.2.0.0
b79f9000-b79fd000 r-xp 00000000 03:07 344148     /usr/lib/libXxf86vm.so.1.0.0
b79fd000-b79ff000 rw-p 00003000 03:07 344148     /usr/lib/libXxf86vm.so.1.0.0
b79ff000-b7a0c000 r-xp 00000000 03:07 103749     /usr/lib/libXext.so.6.4.0
b7a0c000-b7a0e000 rw-p 0000c000 03:07 103749     /usr/lib/libXext.so.6.4.0
b7a0e000-b7b26000 r-xp 00000000 03:07 103594     /usr/lib/libX11.so.6.2.0
b7b26000-b7b2a000 rw-p 00118000 03:07 103594     /usr/lib/libX11.so.6.2.0
b7b2a000-b7b2c000 rw-p b7b2a000 00:00 0
b7b2c000-b7b43000 r-xp 00000000 03:07 105945     /usr/lib/libaa.so.1.0.4
b7b43000-b7b45000 rw-p 00017000 03:07 105945     /usr/lib/libaa.so.1.0.4
b7b45000-b7b47000 rw-p b7b45000 00:00 0
b7b47000-b7b49000 r-xp 00000000 03:07 32786      /lib/libdl-2.5.so
b7b49000-b7b4b000 rw-p 00001000 03:07 32786      /lib/libdl-2.5.so
b7b4b000-b7c73000 r-xp 00000000 03:07 32780      /lib/libc-2.5.so
b7c73000-b7c74000 r--p 00128000 03:07 32780      /lib/libc-2.5.so
b7c74000-b7c76000 rw-p 00129000 03:07 32780      /lib/libc-2.5.so
b7c76000-b7c79000 rw-p b7c76000 00:00 0
b7c79000-b7c83000 r-xp 00000000 03:07 249865     /usr/local/irun/lib/libgcc_s.so.1
b7c83000-b7c84000 rw-p 00009000 03:07 249865     /usr/local/irun/lib/libgcc_s.so.1
b7c84000-b7ca8000 r-xp 00000000 03:07 32788      /lib/libm-2.5.so
b7ca8000-b7caa000 rw-p 00023000 03:07 32788      /lib/libm-2.5.so
b7caa000-b7cab000 rw-p b7caa000 00:00 0
b7cab000-b7d84000 r-xp 00000000 03:07 103109     /usr/lib/libstdc++.so.6.0.8
b7d84000-b7d87000 r--p 000d9000 03:07 103109     /usr/lib/libstdc++.so.6.0.8
b7d87000-b7d89000 rw-p 000dc000 03:07 103109     /usr/lib/libstdc++.so.6.0.8
b7d89000-b7d8f000 rw-p b7d89000 00:00 0
b7d8f000-b7d95000 r-xp 00000000 03:07 103652     /usr/lib/libvorbisfile.so.3.1.1
b7d95000-b7d97000 rw-p 00005000 03:07 103652     /usr/lib/libvorbisfile.so.3.1.1
b7d97000-b7da7000 r-xp 00000000 03:07 344911     /usr/lib/libSDL_gfx.so.13.0.0
b7da7000-b7da8000 r--p 0000f000 03:07 344911     /usr/lib/libSDL_gfx.so.13.0.0
b7da8000-b7da9000 rw-p 00010000 03:07 344911     /usr/lib/libSDL_gfx.so.13.0.0
b7da9000-b7daa000 rw-p b7da9000 00:00 0
b7daa000-b7dad000 r-xp 00000000 03:07 344654     /usr/lib/libSDL_net-1.2.so.0.0.5
b7dad000-b7daf000 rw-p 00002000 03:07 344654     /usr/lib/libSDL_net-1.2.so.0.0.5
b7daf000-b7db9000 r-xp 00000000 03:
Program received signal SIGABRT, Aborted.
[Switching to Thread -1215482160 (LWP 7711)]
0xb7f80410 in ?? ()

Here I get to see at least one tire on the screen. I ran valgrind on the executable and it seems there is something really not in order:

Code:
==7931== Conditional jump or move depends on uninitialised value(s)
==7931==    at 0x42922DC: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_int<long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, long) const (in /usr/lib/libstdc++.so.6.0.8)
==7931==    by 0x42925CF: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, long) const (in /usr/lib/libstdc++.so.6.0.8)
==7931==    by 0x429ADEC: std::ostream::operator<<(int) (in /usr/lib/libstdc++.so.6.0.8)
==7931==    by 0x80FE86C: CARDINFO::BuildCardInfo() (cardinfo.cpp:59)
==7931==    by 0x80693E3: GAME::Start(std::list<std::string, std::allocator<std> >&) (game.cpp:1495)
==7931==    by 0x8051958: main (main.cpp:26)
==7931==
==7931== Use of uninitialised value of size 4
==7931==    at 0x4281F29: (within /usr/lib/libstdc++.so.6.0.8)
==7931==    by 0x4292303: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_int<long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, long) const (in /usr/lib/libstdc++.so.6.0.8)
==7931==    by 0x42925CF: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, long) const (in /usr/lib/libstdc++.so.6.0.8)
==7931==    by 0x429ADEC: std::ostream::operator<<(int) (in /usr/lib/libstdc++.so.6.0.8)
==7931==    by 0x80FE86C: CARDINFO::BuildCardInfo() (cardinfo.cpp:59)
==7931==    by 0x80693E3: GAME::Start(std::list<std::string, std::allocator<std> >&) (game.cpp:1495)
==7931==    by 0x8051958: main (main.cpp:26)
==7931==
==7931== Conditional jump or move depends on uninitialised value(s)
==7931==    at 0x4281F32: (within /usr/lib/libstdc++.so.6.0.8)
==7931==    by 0x4292303: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_int<long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, long) const (in /usr/lib/libstdc++.so.6.0.8)
==7931==    by 0x42925CF: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, long) const (in /usr/lib/libstdc++.so.6.0.8)
==7931==    by 0x429ADEC: std::ostream::operator<<(int) (in /usr/lib/libstdc++.so.6.0.8)
==7931==    by 0x80FE86C: CARDINFO::BuildCardInfo() (cardinfo.cpp:59)
==7931==    by 0x80693E3: GAME::Start(std::list<std::string, std::allocator<std> >&) (game.cpp:1495)
==7931==    by 0x8051958: main (main.cpp:26)
==7931==
==7931== Conditional jump or move depends on uninitialised value(s)
==7931==    at 0x4292328: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_int<long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, long) const (in /usr/lib/libstdc++.so.6.0.8)
==7931==    by 0x42925CF: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, long) const (in /usr/lib/libstdc++.so.6.0.8)
==7931==    by 0x429ADEC: std::ostream::operator<<(int) (in /usr/lib/libstdc++.so.6.0.8)
==7931==    by 0x80FE86C: CARDINFO::BuildCardInfo() (cardinfo.cpp:59)
==7931==    by 0x80693E3: GAME::Start(std::list<std::string, std::allocator<std> >&) (game.cpp:1495)
==7931==    by 0x8051958: main (main.cpp:26)
Extension not supported: GL_ARB_multisample
==7931==
==7931== Conditional jump or move depends on uninitialised value(s)
==7931==    at 0x42922DC: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_int<long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, long) const (in /usr/lib/libstdc++.so.6.0.8)
==7931==    by 0x42925CF: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, long) const (in /usr/lib/libstdc++.so.6.0.8)
==7931==    by 0x429ADEC: std::ostream::operator<<(int) (in /usr/lib/libstdc++.so.6.0.8)
==7931==    by 0x80FEFFE: CARDINFO::BuildCardInfo() (cardinfo.cpp:122)
==7931==    by 0x80693E3: GAME::Start(std::list<std::string, std::allocator<std> >&) (game.cpp:1495)
==7931==    by 0x8051958: main (main.cpp:26)
==7931==
==7931== Conditional jump or move depends on uninitialised value(s)
==7931==    at 0x4292328: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_int<long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, long) const (in /usr/lib/libstdc++.so.6.0.8)
==7931==    by 0x42925CF: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, long) const (in /usr/lib/libstdc++.so.6.0.8)
==7931==    by 0x429ADEC: std::ostream::operator<<(int) (in /usr/lib/libstdc++.so.6.0.8)
==7931==    by 0x80FEFFE: CARDINFO::BuildCardInfo() (cardinfo.cpp:122)
==7931==    by 0x80693E3: GAME::Start(std::list<std::string, std::allocator<std> >&) (game.cpp:1495)
==7931==    by 0x8051958: main (main.cpp:26)
Card supports: drawbuf600 auxbuf4 anisotropy8 cubemapping shaders multitexturing134641289(4) texture_rectangle depth_texture shadow framebuffer_objects
Card does not support: antialiasing
Status: Using GLEW 1.3.6
==7931==
==7931== Invalid write of size 4
==7931==    at 0x81D1B77: btDefaultCollisionConfiguration::btDefaultCollisionConfiguration(btStackAlloc*, btPoolAllocator*, btPoolAllocator*) (btDefaultCollisionConfiguration.cpp:82)
==7931==  Address 0x4943F24 is 0 bytes after a block of size 92 alloc'd
==7931==    at 0x4023B95: operator new(unsigned) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==7931==    by 0x8114720: PHYSICS::Init() (physics.cpp:11)
==7931==    by 0x806403B: GAME::InitGameData() (game.cpp:566)
==7931==    by 0x80694BB: GAME::Start(std::list<std::string, std::allocator<std> >&) (game.cpp:1504)
==7931==    by 0x8051958: main (main.cpp:26)
==7931==
==7931== Invalid write of size 4
==7931==    at 0x81CA279: btCollisionDispatcher::btCollisionDispatcher(btCollisionConfiguration*) (btCollisionDispatcher.cpp:40)
==7931==  Address 0x490CCA8 is not stack'd, malloc'd or (recently) free'd
==7931==
==7931== Invalid read of size 4
==7931==    at 0x81CA2F4: btCollisionDispatcher::btCollisionDispatcher(btCollisionConfiguration*) (btCollisionDispatcher.cpp:54)
==7931==  Address 0x490CCA8 is not stack'd, malloc'd or (recently) free'd
==7931==
==7931== Invalid read of size 4
==7931==    at 0x81D0CBD: btDefaultCollisionConfiguration::getCollisionAlgorithmCreateFunc(int, int) (btDefaultCollisionConfiguration.cpp:234)
==7931==  Address 0x4943F24 is 0 bytes after a block of size 92 alloc'd
==7931==    at 0x4023B95: operator new(unsigned) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==7931==    by 0x8114720: PHYSICS::Init() (physics.cpp:11)
==7931==    by 0x806403B: GAME::InitGameData() (game.cpp:566)
==7931==    by 0x80694BB: GAME::Start(std::list<std::string, std::allocator<std> >&) (game.cpp:1504)
==7931==    by 0x8051958: main (main.cpp:26)
==7931==
==7931== Invalid write of size 4
==7931==    at 0x81CA30C: btCollisionDispatcher::btCollisionDispatcher(btCollisionConfiguration*) (btCollisionDispatcher.cpp:54)
==7931==  Address 0x490CBE8 is 0 bytes after a block of size 2,512 alloc'd
==7931==    at 0x4023B95: operator new(unsigned) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==7931==    by 0x811475B: PHYSICS::Init() (physics.cpp:12)
==7931==    by 0x806403B: GAME::InitGameData() (game.cpp:566)
==7931==    by 0x80694BB: GAME::Start(std::list<std::string, std::allocator<std> >&) (game.cpp:1504)
==7931==    by 0x8051958: main (main.cpp:26)
--7931-- VALGRIND INTERNAL ERROR: Valgrind received a signal 11 (SIGSEGV) - exiting
--7931-- si_code=1;  Faulting address: 0x9218CDC;  sp: 0x624EEE18

valgrind: the 'impossible' happened:
   Killed by fatal signal

I guess I either installed a wrong devel-library or the graphic card driver is messed up. Does this problem sound familiar to you? Any suggestions on how to find the problem?

Thanks for any help on this,

Sebastian
Reply
05-02-2008, 06:14 PM,
#2
Problem resolved
Hi!

I finally resolved the problem. I had bullet version 2.68 installed (via Yast), obviously VDrift does not like this version. Building the bullet 2.66 sources supplied with VDrift everything works fine now.

Except for the shaders problem. I still have to set shaders=off, otherwise I get the segmentation fault described above.

Thanks,

Sebastian
Reply
05-02-2008, 11:34 PM,
#3
 
Hey, you might want to check that your card supports shaders. I don't really know much about the FX5500s, I have a FX5200 that doesn't really do well with VDrift at all. It will run but I believe I had to turn shaders off as well.
Reply
05-05-2008, 07:48 PM,
#4
 
The geforce 5XXX series cards only support simple shaders (equivalent to directX PS2, I think), which apparently VDrift's aren't. You could try turning off shadows; that might make the shaders compatible with your card... but I'm not sure.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)