Package: freecraft
Version: 1:1.18-2.3
Severity: normal
This segfault frequently happens in the diablodarkwood PUD.
Program terminated with signal 11, Segmentation fault.
#0 0x080acbd1 in IsTileVisible (player=0x81b0340, x=120, y=-1) at
src/map/obj/../map_fog.c:220
#1 0x080c730d in DrawMissiles (vp=0x855032c) at
src/missile/obj/../missile.c:732
#2 0x0806100c in DrawMapArea () at src/clone/obj/../mainloop.c:376
#3 0x0806161a in UpdateDisplay () at src/clone/obj/../mainloop.c:452
#4 0x080619a0 in GameMainLoop () at src/clone/obj/../mainloop.c:786
#5 0x0805eb45 in MenuLoop (filename=0x823b540
"puds/multiple/(8)diablodarkwood.pud", map=0x823fb60)
at src/clone/obj/../clone.c:1122
#6 0x0805ee9b in main1 (argc=1, argv=0xbfbbe4f4) at
src/clone/obj/../clone.c:1295
#7 0x0805f045 in main (argc=<value optimized out>, argv=0xbfbbe4f4) at
src/clone/obj/../clone.c:1540
#0 0x080acbd1 in IsTileVisible (player=0x81b0340, x=120, y=-1) at
src/map/obj/../map_fog.c:220
220 if(
TheMap.Fields[y*TheMap.Width+x].Visible[player->Player]>1 ) {
TheMap.Width = 128
y*TheMap.Width+x = -8
TheMap.Fields[y*TheMap.Width+x] = Cannot access memory at address 0xb6378f28
Probably x and y should be > 0, so negative value should be avoided or
rounded to 0.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.20-1-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages freecraft depends on:
ii fcmp 1.18.20030311-2 Free media files for FreeCraft
ii libbz2-1.0 1.0.3-6 high-quality block-sorting file co
ii libc6 2.5-7 GNU C Library: Shared libraries
ii libpng12-0 1.2.15~beta5-1 PNG library - runtime
ii libsdl1.2debian 1.2.11-8 Simple DirectMedia Layer
ii libx11-6 2:1.0.3-7 X11 client-side library
ii zlib1g 1:1.2.3-13 compression library - runtime
freecraft recommends no packages.
-- no debconf information
--
Benoît Sibaud