<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>43608</bug_id>
          
          <creation_ts>2004-03-03 07:35 0000</creation_ts>
          <short_desc>exult crashes</short_desc>
          <delta_ts>2004-03-06 07:39:35 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Games</component>
          <version>unspecified</version>
          <rep_platform>PPC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>rival@di.ens.fr</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          <cc>ppc@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>rival@di.ens.fr</who>
            <bug_when>2004-03-03 07:35:11 0000</bug_when>
            <thetext>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: &apos;./static/endgame.dat&apos;: no
is_installed: &apos;/home/rival/games/files/si//static/sispeech.spc&apos; : 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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2004-03-05 11:01:42 0000</bug_when>
            <thetext>Please, always include the output of emerge --info in your bug reports as
requested on the bug submission page.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rival@di.ens.fr</who>
            <bug_when>2004-03-05 11:06:09 0000</bug_when>
            <thetext>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=&quot;ppc&quot;
AUTOCLEAN=&quot;no&quot;
CFLAGS=&quot;-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec&quot;
CHOST=&quot;powerpc-unknown-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;ccache&quot;
GENTOO_MIRRORS=&quot;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/&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2004-03-05 11:45:27 0000</bug_when>
            <thetext>try it with just -pipe please.  exult seems to be very sensitive about which
flags are used.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rival@di.ens.fr</who>
            <bug_when>2004-03-05 12:18:45 0000</bug_when>
            <thetext>        I have re-emerged it with the CFLAGS definition in make.conf
replaced with CFLAGS=&quot;-pipe&quot; but it still uses -O2 (CXXFLAGS is also
&quot;pipe&quot;). 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=\&quot;/usr/share/games/exult\&quot;    -pipe -c ...

        And exult still crashes.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-03-05 20:39:19 0000</bug_when>
            <thetext>please try out exult-1.1.10_rc2</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rival@di.ens.fr</who>
            <bug_when>2004-03-06 02:04:08 0000</bug_when>
            <thetext>The new version, compiled with the optimiziation option O2 disabled worked fine for me (at least the beginning of the game)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-03-06 07:39:35 0000</bug_when>
            <thetext>cool, re-open if it does start crashing on you then :)</thetext>
          </long_desc>
      
    </bug>

</bugzilla>