Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 143674

Summary: Burgerspace : segmentation fault
Product: Gentoo Linux Reporter: Percival Bartlebooth <bartlebooth>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: sarrazip
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Percival Bartlebooth 2006-08-12 07:12:44 UTC
burgerspace gives a segmenteation fault

$ burgerspace
seed = 1155391870
init-level-no = 1
ms-per-frame = 55
Segmentation fault

$ emerge --info
Portage 2.1.1_pre4-r2 (default-linux/x86/2005.1, gcc-3.4.6/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer -fforce-addr -frename-registers -fprefetch-loop-arrays -falign-functions=64"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer -fforce-addr -frename-registers -fprefetch-loop-arrays -falign-functions=64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://chod.cwru.edu/gentoo http://chod.cwru.edu/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage"
SYNC="rsync://rsync.be.gentoo.org/gentoo-portage/"
USE="x86 X alsa apache2 apm arts avi bitmap-fonts browserplugin cdr cli crypt cups divx4linux dlloader dri dvd eds emboss encode firefox foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib innodb ipv6 isdnlog jpeg kde libg++ libwww mad mikmod motif mozdevelop mozilla mp3 mpeg ncurses nls no-esd no-seamonkey nptl nptlonly ogg oggvorbis opengl oss pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline real reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts vorbis win32codecs xml2 xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2006-08-15 10:52:45 UTC
Attach the output of "emerge -evp burgerspace" as text/plain
Comment 2 Tristan Heaven (RETIRED) gentoo-dev 2006-08-15 14:14:22 UTC
works with <media-libs/sdl-image-1.2.5
Comment 3 Pierre Sarrazin 2006-08-15 15:22:33 UTC
This crash may be similar to that one:

http://bugzilla.libsdl.org/show_bug.cgi?id=284

That bug report contains a patch for SDL_image 1.2.5 that reportedly fixes the problem.

I am the author of BurgerSpace and I did not get the bug mentioned there with SDL_image 1.2.4, but I did with 1.2.5.  I develop under Fedora Core 5.

Comment 4 Tristan Heaven (RETIRED) gentoo-dev 2006-08-15 15:48:13 UTC
That is it.

0xb7e835a1 in load_xpm (xpm=0xb7f11320, src=0x0) at IMG_xpm.c:329
329             start = SDL_RWtell(src);
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2006-08-15 16:11:43 UTC
Should be fixed with sdl-image-1.2.5-r1

Thanks for the bug report and pointers to the upstream bug.
Comment 6 Percival Bartlebooth 2006-08-31 07:24:03 UTC
(In reply to comment #5)
> Should be fixed with sdl-image-1.2.5-r1
> 
> Thanks for the bug report and pointers to the upstream bug.
> 

Works indeed.
Sorry for not responding earlier to your question. 

Thanks to all who looked into it.