First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 35443
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Edward Montezinos <e.montezinos@hccnet.nl>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gcompris.txt strace which gcompris text/plain Edward Montezinos 2003-12-10 11:51 0000 3.07 KB Details
gcompris2.txt strace which gcompris now with correct path text/plain Edward Montezinos 2003-12-10 22:52 0000 2.04 KB Details
gcompris3.txt strace -o gcompris3.txt /usr/games/bin/gcompris text/plain Edward Montezinos 2003-12-10 23:23 0000 28 bytes Details
gcompris3.txt gcompris output with more than one line text/plain Edward Montezinos 2003-12-11 00:33 0000 57.73 KB Details
gcompris.patch Fix segfault on startup when LC_ALL,LC_MESSAGES,LANG are not exported patch Sasha Khapyorsky 2003-12-20 09:09 0000 511 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 35443 depends on: Show dependency tree
Show dependency graph
Bug 35443 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-12-09 06:51 0000
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 From Radoslaw Szkodzinski 2003-12-09 11:13:26 0000 -------
Please post the output of:
emerge info

------- Comment #2 From Edward Montezinos 2003-12-10 00:39:08 0000 -------
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 From Mr. Bones. 2003-12-10 01:42:53 0000 -------
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 From Edward Montezinos 2003-12-10 06:03:33 0000 -------
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 From Mr. Bones. 2003-12-10 11:01:10 0000 -------
oh, right.  Forgot one detail.

emerge strace first, then try it again. ;-)

------- Comment #6 From Edward Montezinos 2003-12-10 11:51:34 0000 -------
Created an attachment (id=21986) [edit]
strace which gcompris

------- Comment #7 From Mr. Bones. 2003-12-10 12:55:06 0000 -------
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 From Edward Montezinos 2003-12-10 22:52:38 0000 -------
Created an attachment (id=22017) [edit]
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 From SpanKY 2003-12-10 23:05:50 0000 -------
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 From Edward Montezinos 2003-12-10 23:23:26 0000 -------
Created an attachment (id=22019) [edit]
strace -o gcompris3.txt /usr/games/bin/gcompris


ok, hope this one does the trick

------- Comment #11 From Mr. Bones. 2003-12-10 23:54:07 0000 -------
Nope.

please try again.  Make sure the file you're planning to attach is more than just one line. ;-)

------- Comment #12 From Edward Montezinos 2003-12-11 00:33:18 0000 -------
Created an attachment (id=22023) [edit]
gcompris output with more than one line

oops

------- Comment #13 From Edward Montezinos 2003-12-11 04:42:47 0000 -------
fyi:

qpkg -l orbit | grep etc

gives no result at all


------- Comment #14 From Sasha Khapyorsky 2003-12-20 09:09:46 0000 -------
Created an attachment (id=22484) [edit]
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 From SpanKY 2003-12-31 10:41:45 0000 -------
4.2-r1 has the patch, thanks sasha

First Last Prev Next    No search results available      Search page      Enter new bug