Bug 43608 - exult crashes
|
Bug#:
43608
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: PPC
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: games@gentoo.org
|
Reported By: rival@di.ens.fr
|
|
Component: Games
|
|
|
URL:
|
|
Summary: exult crashes
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-03-03 07:35 0000
|
exult crashes when I launch it with any ultima data file but the serpentisle
version.
The crash occurs after a few screens, and results in a segmentation fault. Here
is the output in the terminal :
Built at: Feb 12 2004 14:42:32
Compile-time options: HAVE_TIMIDITY_BIN, USE_EXULTSTUDIO, HAVE_ZIP_SUPPORT
Compiler: gcc, version: 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r4, propolice)
Platform: Linux version 2.6.1-benh1
Data path = /usr/share/games/exult
Internal cheapass forked timidity synthesiser
is_installed: './static/endgame.dat': no
is_installed: '/home/rival/games/files/si//static/sispeech.spc' : yes
Creating new player thread
Starting a SERPENT ISLE game
Current path settings:
Static : /home/rival/games/files/si//static
Gamedat : /home/rival//.exult/serpentisle/gamedat
Savegame: /home/rival//.exult/serpentisle
Patch : none
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
I run :
. a 2.6.1 kernel (patch benh1)
. libsdl, last update 1.2.6-r3
. exult 1.00
Please, always include the output of emerge --info in your bug reports as
requested on the bug submission page.
Emerge info :
Portage 2.0.50-r1 (default-ppc-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.6.1-benh1)
=================================================================
System uname: 2.6.1-benh1 ppc 0
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1,sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="no"
CFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1 /share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/confi g /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/ qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="http://212.219.247.21/sites/www.ibiblio.org/gentoo/ http://212.2 19.247.14/sites/www.ibiblio.org/gentoo/ http://212.219.247.15/sites/www.ibiblio. org/gentoo/ http://212.219.247.10/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa arts berkdb cdr cups dvd esd foomaticdb gdbm gif gnome gnome-libs gp m gtk gtk2 guile imlib jpeg kde libwww mitshm motif mozilla nls oggvorbis opengl oss pam perl png ppc python qt readline sdl slang ssl tcltk tcpd tetex truetype xv"
try it with just -pipe please. exult seems to be very sensitive about which
flags are used.
I have re-emerged it with the CFLAGS definition in make.conf
replaced with CFLAGS="-pipe" but it still uses -O2 (CXXFLAGS is also
"pipe"). There is something I do not understand here.
Here are the comopilation which are apparently used :
g++ -DHAVE_CONFIG_H -I. -I. -I. -I. -I./headers -I./imagewin -I./shapes -I./server -I./data -I./objs -I./conf -I./files -I./gumps -I./audio -I./pathfinder -I./usecode -I/usr/include/SDL -D_REENTRANT -DXWIN -O2 -Wno-long-long -DEXULT_DATADIR=\"/usr/share/games/exult\" -pipe -c ...
And exult still crashes.
please try out exult-1.1.10_rc2
The new version, compiled with the optimiziation option O2 disabled worked fine
for me (at least the beginning of the game)
cool, re-open if it does start crashing on you then :)