ACMhUnTeR Wrote:- What version of vdrift was installed? Please paste me the output of ls -ld /var/db/pkg/vdrift*
If you want, you could compile vdrift, selecting the DEBUG option and you could paste us the gdb backtrace.
evgen@beasty> ls -ld /var/db/pkg/vdrift*
drwxr-xr-x 2 root wheel 512 9 Ð°Ð¿Ñ 21:01 /var/db/pkg/vdrift-20070323
drwxr-xr-x 2 root wheel 512 9 Ð°Ð¿Ñ 21:00 /var/db/pkg/vdrift-data-20070323
evgen@beasty> gdb vdrift
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...
(gdb) ru
Starting program: /usr/local/bin/vdrift
warning: Unable to get location for thread creation breakpoint: generic error
[New LWP 100084]
No data_dir found in VDrift.config, using /usr/local/share/vdrift
Found config file /home/evgen/.vdrift/controls.
Found config file /home/evgen/.vdrift/VDrift.config.
No data_dir found in VDrift.config, using /usr/local/share/vdrift
Version of game: development
Skin name not found in config file...
Warning: option-47 is missing its default value. Assuming "".
[New Thread 0x86e3000 (LWP 100084)]
Run with -verbose for troubleshooting.
Run with -nosound to disable sound.
Run with -benchmark to play a replay and output benchmark data.
0 joystick(s) found:
gdb in realloc(): warning: chunk is already free
/usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/utils.c:1030:
internal-error: virtual memory exhausted: can't allocate 13392 bytes.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) n
/usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/utils.c:1030:
internal-error: virtual memory exhausted: can't allocate 13392 bytes.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) n
(gdb) bt
#0 0x2816e1c0 in r_debug_state () from /libexec/ld-elf.so.1
#1 0x28170f03 in dlopen () from /libexec/ld-elf.so.1
#2 0x2821ec04 in SDL_LoadObject () from /usr/local/lib/libSDL.so.11
#3 0x28315e27 in IMG_InitPNG () from /usr/local/lib/libSDL_image.so.1
#4 0x283161e6 in IMG_LoadPNG_RW () from /usr/local/lib/libSDL_image.so.1
#5 0x28312c37 in IMG_LoadTyped_RW () from /usr/local/lib/libSDL_image.so.1
#6 0x28312d23 in IMG_Load () from /usr/local/lib/libSDL_image.so.1
#7 0x080af883 in UTILITY::TexLoad (this=0x81a3760, filename=
{static npos = 4294967295, _M_dataplus = {<std::allocator<char>> =
{<__gnu_cxx::new_allocator<char>> = {<No>}, <No>},
_M_p = 0x874548c "/usr/local/share/vdrift/skins/simple/fonts/default.png"}},
format=6408, mipmap=true, cube=false, w=@0x873c994, h=@0x873c998,
supressederror=false, err=@0xbfbfd91f, attempt=0) at src/utility.cpp:157
#8 0x080af5c9 in UTILITY::TexLoad (this=0x81a3760, filename=
{static npos = 4294967295, _M_dataplus = {<std::allocator<char>> =
{<__gnu_cxx::new_allocator<char>> = {<No>}, <No>},
_M_p = 0x874548c "/usr/local/share/vdrift/skins/simple/fonts/default.png"}},
format=6408, mipmap=true, cube=false, w=@0x873c994, h=@0x873c998,
supressederror=false, err=@0xbfbfd91f) at src/utility.cpp:117
#9 0x080a91bd in TEXTURE::Load (this=0x873c988) at src/textures.cpp:47
#10 0x080a969e in TEXTURES::LoadTexture (this=0x81a363c, new_tex_file=
{static npos = 4294967295, _M_dataplus = {<std::allocator<char>> =
{<__gnu_cxx::new_allocator<char>> = {<No>}, <No>},
_M_p = 0x874548c "/usr/local/share/vdrift/skins/simple/fonts/default.png"}},
surface=0x0, mipmap=true, cube=false, w=@0xbfbfdaa8, h=@0xbfbfdaa4)
at src/textures.cpp:214
---Type <return> to continue, or q <return> to quit---
#11 0x080a936b in TEXTURE_HANDLE::Load (this=0x874880c, new_tex_file=
{static npos = 4294967295, _M_dataplus = {<std::allocator<char>> =
{<__gnu_cxx::new_allocator<char>> = {<No>}, <No>},
_M_p = 0x874548c "/usr/local/share/vdrift/skins/simple/fonts/default.png"}},
surface=0x0, mipmap=true, cube=false, w=@0xbfbfdaa8, h=@0xbfbfdaa4)
at src/textures.cpp:121
#12 0x0805f617 in TEXTURE_HANDLE::Load (this=0x874880c, new_tex_file=
{static npos = 4294967295, _M_dataplus = {<std::allocator<char>> =
{<__gnu_cxx::new_allocator<char>> = {<No>}, <No>},
_M_p = 0x0}}, mipmap=true, w=@0xbfbfdaa8, h=@0xbfbfdaa4) at textures.h:97
#13 0x0805f595 in TEXTURE_HANDLE::Load (this=0x874880c, new_tex_file=
{static npos = 4294967295, _M_dataplus = {<std::allocator<char>> =
{<__gnu_cxx::new_allocator<char>> = {<No>}, <No>},
_M_p = 0x0}}, mipmap=true) at textures.h:96
#14 0x080661f8 in FONT::Load (this=0x8748808, newfontname=@0xbfbfe660)
at src/font.cpp:523
#15 0x0806657d in FONTMANAGER::LoadFont (this=0x81a374c,
newfontname=@0xbfbfe660) at src/font.cpp:544
#16 0x08066faf in FONTMANAGER::Load (this=0x81a374c) at src/font.cpp:805
#17 0x0804e407 in ChangeDisplay (w=800, h=600, bpp=16, fullscreen=true,
reloadtextures=true) at src/main.cpp:353
#18 0x08055d5e in main (argc=1, argv=0xbfbfe9bc) at src/main.cpp:1810
(gdb)