All pastes #468156 Raw Edit

Untitled

public text v1 · immutable
·published 2007-05-02 22:48 UTC
rendered paste body
[kcbanner@kc mk]$ gdb ./ttogl
GNU gdb 6.6
Copyright (C) 2006 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 "i686-pc-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /home/kcbanner/programming/tto/taketwo/mk/ttogl 
[Thread debugging using libthread_db enabled]
[New Thread -1235159312 (LWP 5680)]
Starting
Creating SDL OpenGL window
  done (width=800 height=600)
Initializing SDLRenderArea
World description loaded successfully:
  width=45 height=45
  cellsize=129 scale=2 texscale=3
  viewdist=1 bufferdist =2
Loading terrain texture
failed to load terrain texture
Creating terrain threading resources
[New Thread -1266529392 (LWP 5683)]
0 triggerLoading()
Running main loop...
Loading terrain cell 'terrain/raw/x19y20.raw'
The assertion item failed!
File: nvsg/TextureAttribute.cpp, Line: 70
Function: bindTextureAttributeItem

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread -1266529392 (LWP 5683)]
nvutil::AssertionFailed (assertion=0xb7e23277 "item", 
    file=0xb7e2325d "nvsg/TextureAttribute.cpp", line=70, 
    function=0xb7e23244 "bindTextureAttributeItem") at nvutil/Assert.cpp:48
48	nvutil/Assert.cpp: No such file or directory.
	in nvutil/Assert.cpp
(gdb) bt
#0  nvutil::AssertionFailed (assertion=0xb7e23277 "item", 
    file=0xb7e2325d "nvsg/TextureAttribute.cpp", line=70, 
    function=0xb7e23244 "bindTextureAttributeItem") at nvutil/Assert.cpp:48
#1  0xb7c71f78 in nvsg::TextureAttribute::bindTextureAttributeItem (
    this=0xa1febfc, item=0x0, unit=0) at nvsg/TextureAttribute.cpp:70
#2  0x08064fc2 in TerrainCell::load (this=0xa277248, 
    filename=0xa277274 "terrain/raw/x19y20.raw", ix=19, iy=20, rlock=true)
    at ../Terrain/TerrainCell.cpp:182
#3  0x0806b1fb in Terrain::cellWorker (this=0xa25a300, area=@0xb4824318)
    at ../Terrain/Terrain.cpp:264
#4  0x0806babf in Terrain::worker (this=0xa25a300)
    at ../Terrain/Terrain.cpp:201
#5  0x0806badb in Terrain::sdl_worker (ptr=0xa25a300)
    at ../Terrain/Terrain.cpp:183
#6  0xb76dde9b in SDL_RunThread () from /usr/lib/libSDL-1.2.so.0
#7  0xb7727d7d in RunThread () from /usr/lib/libSDL-1.2.so.0
#8  0xb73e94a2 in start_thread () from /lib/libpthread.so.0
#9  0xb754e52e in clone () from /lib/libc.so.6
(gdb)