Hi all, after emerging Wesnoth 0.8.2 on an Athlon XP with this compiler options "-O2 -march=athlon-xp -pipe -w" I get a segemntation fault when starting game: [ 22:16 haim@itchy ~ ] wesnoth started game: 3580103373 starting play_game Initialized true type fonts Segmentation fault Any ideas on this? Reproducible: Always Steps to Reproduce: just starting the game...
Reopen with the output of emerge --info please
[ 12:47 haim@itchy ~ ] emerge --info Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.4.26_pre6-gentoo) ================================================================= System uname: 2.4.26_pre6-gentoo i686 AMD Athlon(tm) XP 2100+ cat: /etc/gentoo-release: No such file or directory Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="" ARCH="x86" AUTOCLEAN="yes" BASH_ENV="/etc/portage/bashrc" CC="gcc" CFLAGS="-O2 -march=athlon-xp -pipe -w" CHOST="i686-pc-linux-gnu" CLASSPATH="." CLEAN_DELAY="5" COLORTERM="" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CRYSTAL="/opt/crystal" CVS_RSH="ssh" CXX="g++" CXXFLAGS="-O2 -march=athlon-xp -pipe -w" DISPLAY=":0.0" DISTDIR="/usr/portage/distfiles" EDITOR="/usr/bin/vim" FEATURES="autoaddcvs ccache sandbox" FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}" GDK_USE_XFT="1" GENTOO_MIRRORS="http://gentoo.inode.at/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo" GPG_AGENT_INFO="/tmp/gpg-TD4hP2/S.gpg-agent:9916:1" GRP_STAGE23_USE="ipv6 pam tcpd readline nls ssl gpm perl python berkdb acl ncurses" GS_LIB="/home/haim/.fonts" GTK2_RC_FILES="/etc/gtk-2.0/gtkrc:/home/haim/.gtkrc-2.0:/home/haim/.kde3.3/share/config/gtkrc" GTK_RC_FILES="/etc/gtk/gtkrc:/home/haim/.gtkrc:/home/haim/.kde3.3/share/config/gtkrc" GUILE_LOAD_PATH="/usr/share/guile/1.6" G_BROKEN_FILENAMES="1" HOME="/home/haim" HOSTNAME="itchy" INFODIR="/usr/share/info:/usr/X11R6/info" INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info" INPUTRC="/etc/inputrc" JAVAC="/opt/blackdown-jdk-1.4.1/bin/javac" JAVA_HOME="/opt/blackdown-jdk-1.4.1" JDK_HOME="/opt/blackdown-jdk-1.4.1" KDEDIR="/usr/kde/3.3" KDEDIRS="/usr" KDE_FULL_SESSION="true" KDE_MULTIHEAD="false" KONSOLE_DCOP="DCOPRef(konsole-22949,konsole)" KONSOLE_DCOP_SESSION="DCOPRef(konsole-22949,session-1)" LD_LIBRARY_PATH=":/usr/lib/wine/lib:/usr/lib/wine/lib" LESS="-r" LESSOPEN="|lesspipe.sh %s" LOGNAME="haim" LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.png=01;35:*.mpg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:" MAIL="/var/mail/haim" MAKEOPTS="-j2" MANPATH="/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man:/usr/X11R6/man:/opt/blackdown-jdk-1.4.1/man:/usr/qt/3/man:/usr/qt/3/doc/man:/opt/vmware/man" NOCOLOR="false" PAGER="/usr/bin/most" PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/usr/kde/3.3/bin:/usr/games/bin:/usr/bin/wrappers:/opt/blackdown-jdk-1.4.1_beta/bin" PKGDIR="/usr/portage/packages" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_CACHEDIR="/var/cache/edb/dep/" PORTAGE_CALLER="emerge" PORTAGE_GID="250" PORTAGE_MASTER_PID="22966" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PRELINK_PATH="" PRELINK_PATH_MASK="" PS1="\[\033[00m\][ \[\033[01;37m\]$(/bin/date +%H:%M) \[\033[01;32m\]\u@\h \[\033[01;34m\]$(ps1dir$PWD) \[\033[00m\]] " PWD="/home/haim" QMAKESPEC="linux-g++" QTDIR="/usr/qt/3" RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}" RPMDIR="/usr/portage/rpm" RSYNC_RETRIES="3" RSYNC_TIMEOUT="180" SESSION_MANAGER="local/itchy:/tmp/.ICE-unix/10006" SGML_CATALOG_FILES="/etc/sgml/sgml-ent.cat:/etc/sgml/sgml-docbook.cat:/etc/sgml/openjade-1.3.1.cat:/etc/sgml/sgml-docbook-3.1.cat:/etc/sgml/sgml-lite.cat:/etc/sgml/dsssl-docbook-stylesheets.cat" SHELL="/bin/bash" SHLVL="5" STDCXX_INCDIR="g++-v3" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" TERM="xterm" TMAKEPATH="/usr/lib/tmake/linux-g++" USE="3dnow X aalib arts avi bonobo cdr crypt cups dga doc encode esd fastcgi foomaticdb gdbm gif gphoto2 gtk2 gtkhtml guile hbci java jpeg kde kerberos libg++ libwww mad maildir md5sum motif mpeg mysql ncurses offensive opengl pam pdflib perl png python qt quicktime readline samba sdl slang sse ssl svga tcpd truetype usb videos x86 xine xml xml2 xmms xv zlib" USER="haim" USERLAND="GNU" USE_EXPAND="VIDEO_CARDS INPUT_DEVICES LINGUAS" WINDOWID="52428805" XARGS="xargs -r" XAUTHORITY="/home/haim/.Xauthority" XINITRC="/etc/X11/xinit/xinitrc" _="/usr/bin/emerge"
Try whacking ~/.wesnoth If there's still a problem, run it under strace and attach the output as text/plain please.
Need feedback...
sorry, had problems with my computer hardware... here it comes (see attachment)! greetings, Matthias
Created attachment 39331 [details] strace output of wesnoth segfault
Save the output of emerge -evp wesnoth to a file and attach it as text/plain please. No idea what the problem is yet.
Created attachment 39378 [details] some emerge output First emerge command was "emerge -evp wesnoth", second one was "emerge -pv wesnoth". HTH!
My guess at this point is something sound related. Try different things on your system in that direction.
I assume nothing will change with 0.8.4 but please give it a try anyhow.
try stuff...let me know.
I can't find an ebuild for 0.8.4! Should I install from source?
It's in portage.
try the latest please.
after installing wesnoth-0.8.4 I still get this error: [ 14:39 haim@itchy wesnoth ] wesnoth started game: 122716871 starting play_game initialized video... Initialized true type fonts Segmentation fault
kill artsd and see if that makes a difference.
how'd that go?
ok, killing artsd solved the problem. I can start wesnoth now and hear it's sound. But IMHO that's not the solution ... is there any workaround for it? I don't want to kill artsd every time I want to play the game :(
Works fine for me with both arts-1.3.0 and arts-1.2.3. just curious, what does artsd -A spit out for you?
[ 13:07 haim@itchy ~ ] artsd -A possible choices for the audio i/o method: toss Threaded Open Sound System esd Enlightened Sound Daemon null No Audio Input/Output oss Open Sound System
Does the same thing happen with 0.8.4?
Sigh. Does the same thing happen with 0.8.5?
I can't try it, because it depends on XFree86, but I've xorg-x11 installed: [ 11:41 haim@itchy ~ ] sudo emerge wesnoth -p These are the packages that I would merge, in order: Calculating dependencies ...done! [blocks B ] x11-base/xorg-x11 (from pkg x11-base/xfree-4.3.0-r7) [ebuild U ] sys-devel/patch-2.5.9 [2.5.4-r4] [ebuild N ] x11-base/xfree-4.3.0-r7 [ebuild U ] games-strategy/wesnoth-0.8.5 [0.8.4]
No it doesn't, it depends on virtual/x11. Just how messed up is your system?
Thanks Mr. Bones, that's a wise speech which helps me alot! Greets
Yeah, sorry, since you've done something to your system that I can't diagnose from here and you haven't or can't figure it out for yourself, I don't think there's anything else I can do for you.