Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57345 - chickens emerges ok but segment faults on execution
Summary: chickens emerges ok but segment faults on execution
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 57438 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-16 18:13 UTC by Matthew Gleed
Modified: 2004-07-21 10:11 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Gleed 2004-07-16 18:13:50 UTC
I am able to emerge the package but when i execute chickens I get the follow message reported to the console:

Shutting down Allegro due to signal #11
Segmentation fault



Reproducible: Always
Steps to Reproduce:
1.emerge chickens
2./usr/games/bin/chickens
3.

Actual Results:  
segmentation fault

Expected Results:  
Let me blast some chickens!

Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp-mirror.internap.com/pub/gentoo 
http://mirror.datapipe.net/gentoo  ftp://ibiblio.org/pub/Linux/distribution/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa avi berkdb bonobo cdr crypt cups dedicated dvd dvdr encode esd
foomaticdb ftp gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imap imlib jpeg
libg++ libwww mad mikmod mmx motif mozilla mpeg msn nas ncurses nls oggvorbis
opengl pam pdflib perl png python qt quicktime readline sdl slang speex spell
sse ssl svga tcltk tcpd tiff truetype usb videos x86 xinerama xml2 xmms xv zlib"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-07-16 18:23:46 UTC
Try remerging with CFLAGS and CXXFLAGS set to "-pipe" please.
Comment 2 Matthew Gleed 2004-07-16 22:25:57 UTC
I wasn't sure if you were asking me to to add -pipe (which I already had in my make.conf) or to try only -pipe.  I set my CFLAGS/CXXFLAGS to only -pipe and re-emerged allegro (because chickens seems to depend on it) and chickens.  I get the same error message.  Thanks.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-07-16 22:44:35 UTC
Couple things:

First, run it under strace and attach the output as a text/plain.
Second, try remerging allegro with your use flags set to "+X -alsa +arts +esd -fbcon +mmx +oss +sse -static -svga -tetex" and see if that makes a difference.

I'm suspecting some kind of alsa error at this point, but it's hard to say.
Works fine for me here.
Comment 4 Andrew Bevitt 2004-07-17 19:09:58 UTC
*** Bug 57438 has been marked as a duplicate of this bug. ***
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2004-07-21 01:03:00 UTC
Should be fixed in 0.2.4.  Go ahead and reopen if there's still a problem.