I'm getting a segfault whenever switching cars to the C7. Here's the backtrace:
Code:
Car C7 has no gloss map for its glass; using a default contant shiny/reflective texture
Car C7 has no gloss map; using a default contant shiny/reflective texture
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47392797132176 (LWP 26635)]
0x00002b1a7b68fc8f in memcpy () from /lib/libc.so.6
(gdb) bt
#0 0x00002b1a7b68fc8f in memcpy () from /lib/libc.so.6
#1 0x00002b1a7af1d178 in std::string::append () from /usr/lib/libstdc++.so.6
#2 0x00000000004265e1 in std::operator+<char, std::char_traits<char>, std::allocator<char> > (__lhs=@0x7fff30e9db40,
__rhs=@0x7fff30e9db30) at /usr/include/c++/4.1.3/bits/basic_string.h:2070
#3 0x000000000048503e in TEXTURE_SDLGL::Load (this=0x24d30b0) at src/textures.cpp:373
#4 0x0000000000485c2e in TEXTURES::LoadTexture (this=0x8433c0, texinfo=@0x7fff30e9dfe0, w=@0x7fff30e9dd1c, h=@0x7fff30e9dd18)
at src/textures.cpp:684
#5 0x000000000048722d in TEXTURES::LoadTexture (this=0x8433c0, texinfo=@0x7fff30e9dfe0) at include/textures.h:133
#6 0x0000000000485d04 in TEXTURE_HANDLE::Load (this=0x1e616c0, texinfo=@0x7fff30e9dfe0) at src/textures.cpp:590
#7 0x0000000000451dc6 in DRAWABLE::SetMiscMap1 (this=0x2b3e7d0, tex=@0x7fff30e9dfe0) at include/scenegraph.h:86
#8 0x000000000052cfe8 in Vamos_Body::Wheel::set_paint (this=0x26b6960, diffuse=0x7fff30e9e000, misc1=0x7fff30e9dfe0)
at src/vamos/body/Wheel.cc:316
#9 0x000000000051a4e4 in Vamos_Body::Gl_Car::SetPaint (this=0x24d6520, pid=0) at src/vamos/body/Gl_Car.cc:1088
#10 0x000000000057683e in VGUI::SpinningCar::LoadCar (this=0x1de80d0) at src/gui/spinning_car.cpp:116
#11 0x0000000000576db8 in VGUI::SpinningCar::Draw (this=0x1de80d0, opacity=1) at src/gui/spinning_car.cpp:210
#12 0x000000000055ff68 in VGUI::Page::Draw (this=0x1e88da0, opacity=1) at src/gui/page.cpp:1469
#13 0x0000000000556707 in VGUI::Gui::Draw (this=0xd954e0) at src/gui/gui.cpp:151
#14 0x000000000041db66 in GAME::drawGLScene (this=0x8407c0) at src/game.cpp:886
#15 0x00000000004245ad in GAME::Start (this=0x8407c0, args=@0x7fff30e9f420) at src/game.cpp:1725
#16 0x000000000040c0ca in main (argc=1, argv=0x7fff30e9f548) at src/main.cpp:26
I can't see anything wrong with the C7's textures that would cause this. Can anyone else duplicate this? Joe, any ideas?
Along with this, I get an exception when switching to the CT:
Code:
Car CS has no gloss map for its glass; using a default contant shiny/reflective texture
Car CS has no gloss map; using a default contant shiny/reflective texture
[Thread 1082648912 (LWP 26599) exited]
EXCEPTION: src/textures.cpp, line 361: Tried to load a texture with an empty name
None of the other cars seem to do this.