Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35443 - gcompris 4.2 does not start after emerge
Summary: gcompris 4.2 does not start after emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-09 06:51 UTC by Edward Montezinos
Modified: 2003-12-31 10:41 UTC (History)
0 users

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


Attachments
strace which gcompris (gcompris.txt,3.07 KB, text/plain)
2003-12-10 11:51 UTC, Edward Montezinos
Details
strace which gcompris now with correct path (gcompris2.txt,2.04 KB, text/plain)
2003-12-10 22:52 UTC, Edward Montezinos
Details
strace -o gcompris3.txt /usr/games/bin/gcompris (gcompris3.txt,28 bytes, text/plain)
2003-12-10 23:23 UTC, Edward Montezinos
Details
gcompris output with more than one line (gcompris3.txt,57.73 KB, text/plain)
2003-12-11 00:33 UTC, Edward Montezinos
Details
Fix segfault on startup when LC_ALL,LC_MESSAGES,LANG are not exported (gcompris.patch,511 bytes, patch)
2003-12-20 09:09 UTC, Sasha Khapyorsky
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Edward Montezinos 2003-12-09 06:51:46 UTC
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
Comment 1 Radoslaw Szkodzinski 2003-12-09 11:13:26 UTC
Please post the output of:
emerge info
Comment 2 Edward Montezinos 2003-12-10 00:39:08 UTC
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"
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2003-12-10 01:42:53 UTC
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.
Comment 4 Edward Montezinos 2003-12-10 06:03:33 UTC
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 :(
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2003-12-10 11:01:10 UTC
oh, right.  Forgot one detail.

emerge strace first, then try it again. ;-)
Comment 6 Edward Montezinos 2003-12-10 11:51:34 UTC
Created attachment 21986 [details]
strace which gcompris
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2003-12-10 12:55:06 UTC
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.
Comment 8 Edward Montezinos 2003-12-10 22:52:38 UTC
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
Comment 9 SpanKY gentoo-dev 2003-12-10 23:05:50 UTC
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`
Comment 10 Edward Montezinos 2003-12-10 23:23:26 UTC
Created attachment 22019 [details]
strace -o gcompris3.txt /usr/games/bin/gcompris



ok, hope this one does the trick
Comment 11 Mr. Bones. (RETIRED) gentoo-dev 2003-12-10 23:54:07 UTC
Nope.

please try again.  Make sure the file you're planning to attach is more than just one line. ;-)
Comment 12 Edward Montezinos 2003-12-11 00:33:18 UTC
Created attachment 22023 [details]
gcompris output with more than one line

oops
Comment 13 Edward Montezinos 2003-12-11 04:42:47 UTC
fyi:

qpkg -l orbit | grep etc

gives no result at all

Comment 14 Sasha Khapyorsky 2003-12-20 09:09:46 UTC
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")
Comment 15 SpanKY gentoo-dev 2003-12-31 10:41:45 UTC
4.2-r1 has the patch, thanks sasha