Hi, n00b here, got a segfault and i was hoping some of you guys could help me fix it?
I have only very basic knowledge with linux and none with debugging, so just tell me the commands you want me to run so i can provide more details.
\'gdb walktest\' in the CS Dir
crystalspace.canvas.openglcommon.driverdb:
Applied: GeForce setting: Texture Compression
crystalspace.canvas.openglcommon:
OpenGL renderer: GeForce4 460 Go/AGP/SSE2 (vendor: NVIDIA Corporation)
version 1.5.2 NVIDIA 66.29
Using windowed mode at resolution 640x480.
Pixel format: Color: 24 Alpha: 0 Depth: 24 Stencil: 8 AccumColor: 24
AccumAlpha: 0 MultiSamples: 0
crystalspace.system:
Loading map \'flarge\'.
Load TYPE plugin crystalspace.mesh.object.emit
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1076300512 (LWP 10866)]
0x410e3a49 in csImageFile::Rescale (this=0x8288d18, newwidth=-1, newheight=-1) at libs/csgfx/csimage.cpp:218
218 RESIZE (csRGBpixel, Image)
(gdb) bt
#0 0x410e3a49 in csImageFile::Rescale (this=0x8288d18, newwidth=-1, newheight=-1) at libs/csgfx/csimage.cpp:218
#1 0x4038729a in csGLTextureHandle::AdjustSizePo2 (this=0x8288d58) at plugins/video/render3d/opengl/gl_txtmgr.cpp:486
#2 0x40386e43 in csGLTextureHandle::PrepareInt (this=0x8288d58) at plugins/video/render3d/opengl/gl_txtmgr.cpp:424
#3 0x4038681e in csGLTextureHandle::GetMipMapDimensions (this=0x8288d58, mipmap=0, w=@0xbffff47c, h=@0xbffff478) at plugins/video/render3d/opengl/gl_txtmgr.cpp:317
#4 0x419e135b in csPolygon3DStatic::CreateBoundingTextureBox (this=0x8433b08) at plugins/mesh/thing/object/polygon.cpp:529
#5 0x419e1e4b in csPolygon3DStatic::Finish (this=0x8433b08, thing_logparent=0x846dad8) at plugins/mesh/thing/object/polygon.cpp:598
#6 0x419c2ff5 in csThingStatic::Prepare (this=0x846dc68, thing_logparent=0x846dad8) at plugins/mesh/thing/object/thing.cpp:267
#7 0x419c964d in csThing::Prepare (this=0x846de98) at plugins/mesh/thing/object/thing.cpp:1813
#8 0x419cb587 in csThing::ReadFromCache (this=0x846de98, cache_mgr=0x8416a68) at plugins/mesh/thing/object/thing.cpp:2340
#9 0x419dc85a in csThing::LightingInfo::ReadFromCache (this=0x846df94, cache_mgr=0x8416a68) at thing.h:1004
#10 0x4061d6a9 in csEngine::ShineLights (this=0x81b7c00, region=0x0, meter=0x85b8320) at plugins/engine/3d/engine.cpp:1581
#11 0x4061c9b0 in csEngine::Prepare (this=0x81b7c00, meter=0x85b8320) at plugins/engine/3d/engine.cpp:1291
#12 0x080b6746 in WalkTest::Initialize (this=0x8194008, argc=1, argv=0xbffffcc4, iConfigName=0x8171850 \"/config/walktest.cfg\") at apps/walktest/walktest.cpp:1430
#13 0x080b71f4 in main (argc=1, argv=0xbffffcc4) at apps/walktest/walktest.cpp:1589
(gdb)