I can reproduce a segmentation fault by clicking on a vase. Then I run scourge via gdb. Here is the full gdb session output:
$ gdb scourge
GNU gdb 6.4.90-debian
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 "i486-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) run -f
Starting program: /usr/local/bin/scourge -f
Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
[New Thread -1226766624 (LWP 9823)]
Constructing root path:
not using binreloc...
temp rootDir=/usr/local/share/scourge
*** Can't find local version of data dir. You're running a distribution.
Starting session. Final rootDir=/usr/local/share/scourge
Setting video mode: 1024x768x32
[New Thread -1244316752 (LWP 9826)]
*** Possible error: Width or Heigth not a power of 2: name=/usr/local/share/scourge/textures/highlight.bmp pitch=120 width=120 height=48
*** rootDir=/usr/local/share/scourge
*** s=/usr/local/share/scourge/world/shapes.txt
file: /usr/local/share/scourge/textures/cursor/cursor.bmp red=0 green=0 blue=0
...loaded! Bytes per pixel=3
file: /usr/local/share/scourge/textures/cursor/crosshair.bmp red=0 green=0 blue=0
...loaded! Bytes per pixel=3
file: /usr/local/share/scourge/textures/cursor/attack.bmp red=0 green=0 blue=0
...loaded! Bytes per pixel=3
file: /usr/local/share/scourge/textures/cursor/talk.bmp red=0 green=0 blue=0
...loaded! Bytes per pixel=3
file: /usr/local/share/scourge/textures/cursor/use.bmp red=0 green=0 blue=0
...loaded! Bytes per pixel=3
file: /usr/local/share/scourge/textures/cursor/forbidden.bmp red=0 green=0 blue=0
...loaded! Bytes per pixel=3
file: /usr/local/share/scourge/textures/cursor/ranged.bmp red=0 green=0 blue=0
...loaded! Bytes per pixel=3
file: /usr/local/share/scourge/textures/cursor/move.bmp red=0 green=0 blue=0
...loaded! Bytes per pixel=3
*** Possible error: Width or Heigth not a power of 2: file=/usr/local/share/scourge/textures/paperdoll.bmp w=123 h=240 bpp=24 byte/pix=3 pitch=372
*** Possible error: Width or Heigth not a power of 2: file=/usr/local/share/scourge/textures/logo2.bmp w=352 h=173 bpp=24 byte/pix=3 pitch=1056
*** Possible error: Width or Heigth not a power of 2: file=/usr/local/share/scourge/textures/scourge.bmp w=430 h=600 bpp=24 byte/pix=3 pitch=1292
loading map header: /usr/local/share/scourge/maps/thuzgol.map
loading map header: /usr/local/share/scourge/maps/tower.map
loading map header: /usr/local/share/scourge/maps/library.map
loading map header: /usr/local/share/scourge/maps/library3.map
loading map header: /usr/local/share/scourge/maps/temple.map
loading map header: /usr/local/share/scourge/maps/emeril.map
*** Possible error: Width or Heigth not a power of 2: file=/usr/local/share/scourge/textures/highlight.bmp w=120 h=48 bpp=24 byte/pix=3 pitch=360
Loading: /home/ronny/.scourge/save_1/savegame.dat
*** Possible error: Width or Heigth not a power of 2: file=/home/ronny/.scourge/save_1/screen.bmp w=160 h=120 bpp=24 byte/pix=3 pitch=480
Loading: /home/ronny/.scourge/save_2/savegame.dat
*** Possible error: Width or Heigth not a power of 2: file=/home/ronny/.scourge/save_2/screen.bmp w=160 h=120 bpp=24 byte/pix=3 pitch=480
Loading: /home/ronny/.scourge/save_3/savegame.dat
*** Possible error: Width or Heigth not a power of 2: file=/home/ronny/.scourge/save_3/screen.bmp w=160 h=120 bpp=24 byte/pix=3 pitch=480
Loading: /home/ronny/.scourge/save_4/savegame.dat
*** Possible error: Width or Heigth not a power of 2: file=/home/ronny/.scourge/save_4/screen.bmp w=160 h=120 bpp=24 byte/pix=3 pitch=480
Loading: /home/ronny/.scourge/save_5/savegame.dat
*** Possible error: Width or Heigth not a power of 2: file=/home/ronny/.scourge/save_5/screen.bmp w=160 h=120 bpp=24 byte/pix=3 pitch=480
Loading: /home/ronny/.scourge/save_6/savegame.dat
*** Possible error: Width or Heigth not a power of 2: file=/home/ronny/.scourge/save_6/screen.bmp w=160 h=120 bpp=24 byte/pix=3 pitch=480
Loading: /home/ronny/.scourge/save_7/savegame.dat
*** Possible error: Width or Heigth not a power of 2: file=/home/ronny/.scourge/save_7/screen.bmp w=160 h=120 bpp=24 byte/pix=3 pitch=480
Loading: /home/ronny/.scourge/save_8/savegame.dat
*** Possible error: Width or Heigth not a power of 2: file=/home/ronny/.scourge/save_8/screen.bmp w=160 h=120 bpp=24 byte/pix=3 pitch=480
Loading: /home/ronny/.scourge/save_9/savegame.dat
*** Possible error: Width or Heigth not a power of 2: file=/home/ronny/.scourge/save_9/screen.bmp w=160 h=120 bpp=24 byte/pix=3 pitch=480
Loading: /home/ronny/.scourge/save_a/savegame.dat
*** Possible error: Width or Heigth not a power of 2: file=/home/ronny/.scourge/save_a/screen.bmp w=160 h=120 bpp=24 byte/pix=3 pitch=480
Loading: /home/ronny/.scourge/save_b/savegame.dat
*** Possible error: Width or Heigth not a power of 2: file=/home/ronny/.scourge/save_b/screen.bmp w=160 h=120 bpp=24 byte/pix=3 pitch=480
Loading: /home/ronny/.scourge/save_c/savegame.dat
*** Possible error: Width or Heigth not a power of 2: file=/home/ronny/.scourge/save_c/screen.bmp w=160 h=120 bpp=24 byte/pix=3 pitch=480
Loading: /home/ronny/.scourge/save_d/savegame.dat
*** Possible error: Width or Heigth not a power of 2: file=/home/ronny/.scourge/save_d/screen.bmp w=160 h=120 bpp=24 byte/pix=3 pitch=480
Loading: /home/ronny/.scourge/save_e/savegame.dat
*** Possible error: Width or Heigth not a power of 2: file=/home/ronny/.scourge/save_e/screen.bmp w=160 h=120 bpp=24 byte/pix=3 pitch=480
Loading: /home/ronny/.scourge/save_f/savegame.dat
*** Possible error: Width or Heigth not a power of 2: file=/home/ronny/.scourge/save_f/screen.bmp w=160 h=120 bpp=24 byte/pix=3 pitch=480
Loading: /home/ronny/.scourge/save_10/savegame.dat
*** Possible error: Width or Heigth not a power of 2: file=/home/ronny/.scourge/save_10/screen.bmp w=160 h=120 bpp=24 byte/pix=3 pitch=480
Loading: /home/ronny/.scourge/save_11/savegame.dat
*** Possible error: Width or Heigth not a power of 2: file=/home/ronny/.scourge/save_11/screen.bmp w=160 h=120 bpp=24 byte/pix=3 pitch=480
Loading: /home/ronny/.scourge/save_12/savegame.dat
*** Possible error: Width or Heigth not a power of 2: file=/home/ronny/.scourge/save_12/screen.bmp w=160 h=120 bpp=24 byte/pix=3 pitch=480
Loading: /home/ronny/.scourge/save_13/savegame.dat
*** Possible error: Width or Heigth not a power of 2: file=/home/ronny/.scourge/save_13/screen.bmp w=160 h=120 bpp=24 byte/pix=3 pitch=480
Loading: /home/ronny/.scourge/save_14/savegame.dat
*** Possible error: Width or Heigth not a power of 2: file=/home/ronny/.scourge/save_14/screen.bmp w=160 h=120 bpp=24 byte/pix=3 pitch=480
Loading: /home/ronny/.scourge/save_15/savegame.dat
*** Possible error: Width or Heigth not a power of 2: file=/home/ronny/.scourge/save_15/screen.bmp w=160 h=120 bpp=24 byte/pix=3 pitch=480
Loading: /home/ronny/.scourge/save_16/savegame.dat
*** Possible error: Width or Heigth not a power of 2: file=/home/ronny/.scourge/save_16/screen.bmp w=160 h=120 bpp=24 byte/pix=3 pitch=480
Loading: /home/ronny/.scourge/save_17/savegame.dat
*** Possible error: Width or Heigth not a power of 2: file=/home/ronny/.scourge/save_17/screen.bmp w=160 h=120 bpp=24 byte/pix=3 pitch=480
Loading: /home/ronny/.scourge/save_18/savegame.dat
*** Possible error: Width or Heigth not a power of 2: file=/home/ronny/.scourge/save_18/screen.bmp w=160 h=120 bpp=24 byte/pix=3 pitch=480
Loading: /home/ronny/.scourge/save_19/savegame.dat
*** Possible error: Width or Heigth not a power of 2: file=/home/ronny/.scourge/save_19/screen.bmp w=160 h=120 bpp=24 byte/pix=3 pitch=480
Loading: /home/ronny/.scourge/save_1a/savegame.dat
*** Possible error: Width or Heigth not a power of 2: file=/home/ronny/.scourge/save_1a/screen.bmp w=160 h=120 bpp=24 byte/pix=3 pitch=480
Loading: /home/ronny/.scourge/save_1a/savegame.dat
Warning: can't find spell: Harming Dwarven steel ring
Warning: can't find spell: Attacking Dwarven steel ring
*** Possible error: Width or Heigth not a power of 2: file=/usr/local/share/scourge/models/character/sydney/sydney.bmp w=308 h=193 bpp=8 byte/pix=1 pitch=308
Loading 8 missions.
Loading mission with template: Haunted monastery: kill ${creature1}
Loading mission with template: Removing a heretical ${creature1}
Loading mission with template: Seek out the ${item1}
Loading mission with template: A vampire's quest: eliminate ${creature1}
Loading mission with template: Seek out the ${item1}
Loading mission with template: Haunted monastery: kill ${creature1}
Loading mission with template: Removing a heretical ${creature1}
Loading mission with template: Seek out the ${item1}
mission count=8
Looking for mission:
mission:Chapter 7: Tokens of the Gods
Starting on mission index=0 depth=4
Loading: /home/ronny/.scourge/save_1a/values.dat
Looking for map: /home/ronny/.scourge/save_1a/_sl6_4.map
*** Possible error: Width or Heigth not a power of 2: file=/usr/local/share/scourge/models/oldstyle/raptor/m113.bmp w=320 h=200 bpp=8 byte/pix=1 pitch=320
Looking for txt file: /home/ronny/.scourge/save_1a/_sl6_4.map
*** Opening: /home/ronny/.scourge/save_1a/_sl6_.txt in mode: r
Unable to find the file: /home/ronny/.scourge/save_1a/_sl6_.txt!
*** Opening: /home/ronny/.scourge/save_1a/_sl6_4.txt in mode: r
Unable to find the file: /home/ronny/.scourge/save_1a/_sl6_4.txt!
LOAD MAP result=Map loaded: /home/ronny/.scourge/save_1a/_sl6_4.map
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1226766624 (LWP 9823)]
0x080add9e in InfoGui::setItem (this=0x9e25310, item=0xb190d70) at infogui.cpp:93
93 int bx = win->getWidth() / 2;
(gdb) bt full
#0 0x080add9e in InfoGui::setItem (this=0x9e25310, item=0xb190d70) at infogui.cpp:93
bx = 134687498
by = 186191216
#1 0x080ae476 in InfoGui::handleEvent (this=0x9e25310, widget=0x9e27468, event=0xbff583e4) at infogui.cpp:141
n = 6.4030823e-33
key = "ID_ITEM.Nuirnabiolnil\000\n�\202�\n\b�\n\237\202�202�216pɷ\000\000\000\000�2\b\b\000\000\000\030Y�t\030Y�tp\224\025\b�202�\031\016\b�202�,\n\n\000\000\000\000\000\000\000\000\000)\000\001�2\b(x\002\n�2\b\024�\n]\001\000\000�2\b(x\002\n\030Y�t\202�016\026\016\b2\b \034\"\bX\203��025\bX(\b \034\"\b�203�\000\000\000]\001\000\0004h(\203�t�t\b�\b4"...
n = 0
#2 0x080dc288 in ScourgeHandler::handleEvent (this=0x828c240, widget=0x9e27468, event=0xbff583e4) at scourgehandler.cpp:326
n = 34
#3 0x080e0de5 in SDLHandler::processEvents (this=0x828b158, isActive=0xbff58433) at sdlhandler.cpp:571
widget = (class Widget *) 0x9e27468
res = false
event = {type = 6 '\006', active = {type = 6 '\006', gain = 0 '\0', state = 1 '\001'}, key = {type = 6 '\006', which = 0 '\0',
state = 1 '\001', keysym = {scancode = 54 '6', sym = SDLK_UNKNOWN, mod = KMOD_NONE, unicode = 0}}, motion = {type = 6 '\006',
which = 0 '\0', state = 1 '\001', x = 566, y = 555, xrel = 0, yrel = 0}, button = {type = 6 '\006', which = 0 '\0', button = 1 '\001',
state = 0 '\0', x = 566, y = 555}, jaxis = {type = 6 '\006', which = 0 '\0', axis = 1 '\001', value = 566}, jball = {type = 6 '\006',
which = 0 '\0', ball = 1 '\001', xrel = 566, yrel = 555}, jhat = {type = 6 '\006', which = 0 '\0', hat = 1 '\001', value = 0 '\0'},
jbutton = {type = 6 '\006', which = 0 '\0', button = 1 '\001', state = 0 '\0'}, resize = {type = 6 '\006', w = 36373046, h = 0},
expose = {type = 6 '\006'}, quit = {type = 6 '\006'}, user = {type = 6 '\006', code = 36373046, data1 = 0x0, data2 = 0x0}, syswm = {
type = 6 '\006', msg = 0x22b0236}}
mx = 566
my = 555
eventCount = 2
now = 53777
#4 0x080e0f15 in SDLHandler::mainLoop (this=0x828b158) at sdlhandler.cpp:446
isActive = true
#5 0x080cd8ca in Scourge::startMission (this=0x8289eb8, startInHq=false) at scourge.cpp:313
fromRandomMap = true
mapCreated = true
resetParty = false
lastMission = (Mission *) 0x0
#6 0x080ceb5c in Scourge::start (this=0x8289eb8) at scourge.cpp:230
loaded = true
failed = false
initMainMenu = true
value = 2
#7 0x080b68aa in Session::start (this=0x828aef8) at session.cpp:79
No locals.
---Type <return> to continue, or q <return> to quit---
#8 0x080b9dfa in Session::runGame (adapter=0x8289eb8, argc=2, argv=0xbff586f4) at session.cpp:533
err = 0
session = (Session *) 0x828aef8
#9 0x080913f2 in main (argc=2, argv=0xbff586f4) at main.cpp:53
error = BR_INIT_ERROR_DISABLED
userConfiguration = (class UserConfiguration *) 0x8287160
(gdb)