Page 1 of 1

Segfault while moving into the Tulimshar map.

Posted: 27 Mar 2007, 10:32
by Pauan

Code: Select all

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1220692304 (LWP 9400)]
0x080f5ee3 in Graphics::drawImage (this=0x814ecc0, image=0x0, x=382, y=-125)
    at graphics.cpp:124
124         return drawImage(image, 0, 0, x, y, image->mBounds.w, image->mBounds.h);
(gdb) bt
#0  0x080f5ee3 in Graphics::drawImage (this=0x814ecc0, image=0x0, x=382, 
    y=-125) at graphics.cpp:124
#1  0x080f1935 in FloorItem::draw (this=0x82ff308, graphics=0x814ecc0, 
    offsetX=-1026, offsetY=-2269) at floor_item.h:94
#2  0x08100793 in Map::draw (this=0x82fbca8, graphics=0x814ecc0, scrollX=1026, 
    scrollY=2269, layer=1) at map.cpp:161
#3  0x080bf1c2 in Viewport::draw (this=0x8160000, gcnGraphics=0x814ecc0)
    at gui/viewport.cpp:197
#4  0xb78b7fd1 in gcn::BasicContainer::drawChildren ()
   from /usr/local/lib/libguichan.so.0
#5  0xb78c8227 in gcn::Container::draw () from /usr/local/lib/libguichan.so.0
#6  0x08075702 in Gui::draw (this=0x8163af0) at gui/gui.cpp:209
#7  0x080f3b45 in Game::logic (this=0x822b288) at game.cpp:368
#8  0x080fe867 in main (argc=5, argv=0xbfd61db4) at main.cpp:757

Posted: 27 Mar 2007, 10:51
by Crush
Looks like an attempt to draw an unloaded item icon.

Posted: 27 Mar 2007, 10:54
by Pauan
Crush wrote:Looks like an attempt to draw an unloaded item icon.
Item? But that is quite odd, for I was not messing with the item icons at all!