gcompris 4.2 does not start after emerge and gives a message: Application "gcompris" (process ..number is ofcourse different everytime) has crashed due to a fatal error (Segmentation fault) Reproducible: Always Steps to Reproduce: 1. start gcompris 2. 3. Actual Results: see Details Expected Results: gcompris application starts
Please post the output of: emerge info
emerge info: Gentoo Base System version 1.4.3.10p1 Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.0-test11-gentoo-r2) ================================================================= System uname: 2.6.0-test11-gentoo-r2 i686 Mobile Pentium II distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.2/share/config /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs distcc fixpackages" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.easynet.nl/mirror/gentoo ftp://ftp.easynet.nl/mirror/gentoo" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg gnome libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts tetex aalib svga tcltk java X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl -alsa ppds acpi pcmcia acpi4linux doc gphoto2 gtk2 ldap pda usb apache2"
Can you attach the output of strace -o out `which gcompris` as a text/plain file please? I just tried it and it works fine for me. You might try CFLAGS="-pipe" emerge gcompris and see if that works. If that helps, we'll need to filter the CFLAGS.
Ok, tried CFLAGS="-pipe" emerge gcompris and the result is the same: segmentation fault, I tried strace -o out 'which gcompris' but that does not work on my machine :(
oh, right. Forgot one detail. emerge strace first, then try it again. ;-)
Created attachment 21986 [details] strace which gcompris
Ok, try it again, but this time make sure `which gcompris` actually returns the right answer. It looks like you didn't have /usr/games/bin/ in your path.
Created attachment 22017 [details] strace which gcompris now with correct path ok now i issued the command with the path: strace -o gcompris2.txt which /usr/games/bin/gcompris
uhh what i think he wants is `strace -o gcompris.txt /usr/games/bin/gcompris` make sure you're in the games group and you `source /etc/profile`
Created attachment 22019 [details] strace -o gcompris3.txt /usr/games/bin/gcompris ok, hope this one does the trick
Nope. please try again. Make sure the file you're planning to attach is more than just one line. ;-)
Created attachment 22023 [details] gcompris output with more than one line oops
fyi: qpkg -l orbit | grep etc gives no result at all
Created attachment 22484 [details, diff] Fix segfault on startup when LC_ALL,LC_MESSAGES,LANG are not exported The problem (segfault) happens when LC_ALL,LC_MESSAGES,LANG are not exported - 'locale' var become NULL and strcmp(locale,"C")
4.2-r1 has the patch, thanks sasha