Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43608 - exult crashes
Summary: exult crashes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-03 07:35 UTC by Xavier Rival
Modified: 2004-03-06 07:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Rival 2004-03-03 07:35:11 UTC
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
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-03-05 11:01:42 UTC
Please, always include the output of emerge --info in your bug reports as
requested on the bug submission page.
Comment 2 Xavier Rival 2004-03-05 11:06:09 UTC
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"
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-03-05 11:45:27 UTC
try it with just -pipe please.  exult seems to be very sensitive about which
flags are used.
Comment 4 Xavier Rival 2004-03-05 12:18:45 UTC
        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.
Comment 5 SpanKY gentoo-dev 2004-03-05 20:39:19 UTC
please try out exult-1.1.10_rc2
Comment 6 Xavier Rival 2004-03-06 02:04:08 UTC
The new version, compiled with the optimiziation option O2 disabled worked fine for me (at least the beginning of the game)
Comment 7 SpanKY gentoo-dev 2004-03-06 07:39:35 UTC
cool, re-open if it does start crashing on you then :)