Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 35926

Summary: Pachi crashes immediately
Product: Gentoo Linux Reporter: Charles Goodwin <charlie>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Strace output of 'pachi'

Description Charles Goodwin 2003-12-16 02:17:19 UTC
$ emerge pachi

...some time later...

$ pachi
can't read from file
can't read from file
can't read from file
Fatal signal: Segmentation Fault (SDL Parachute Deployed)

Yes, I'm in the 'games' group.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-12-16 02:39:01 UTC
What does the output of "strace /usr/games/bin/pachi" tell you?
Can you post that please?  Also, you didn't post the output of "emerge --info"
as request on the bug submission page.

Just for fun, please post the output of "id" as well.  Thanks.
Comment 2 Charles Goodwin 2003-12-16 03:14:46 UTC
Hmm well running Pachi directly from /usr/games/bin/pachi works!  But it doesn't if you run the available 'pachi' shortcut.

charlie@mightymax charlie $ id
uid=1000(charlie) gid=10(wheel) groups=10(wheel),18(audio),19(cdrom),21(ftp),27(video),35(games),60(mysql),70(postgres),80(cdrw),81(apache)

charlie@mightymax charlie $ emerge --info
 
*** You are not in the portage group. You may experience cache problems
*** due to permissions preventing the creation of the on-disk cache.
*** Please add this user to the portage group if you wish to use portage.
 
Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031212-r0, 2.6.0-test11-love2)
=================================================================
System uname: 2.6.0-test11-love2 i686 Celeron (Coppermine)
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apache2 arts avi berkdb bonobo crypt cups dnd dvd encode esd evo fbcon foomaticdb gdbm ggi gif gnome gpm gtk gtk2 gtkhtml guile imap imlib innodb java jpeg kde ldap libg++ libwww mad maildir mbox mikmod mng mozilla moznoirc moznomail mozp3p mozsvg mozxmlterm mpeg mysql nas ncurses nls oggvorbis openal opengl pam pdflib perl plotutils png postgres python qt quicktime readline samba sasl sdl slang spell sse ssl svga tcltk tcpd truetype usb wmf wxwindows x86 xml2 xmms xv xvid zlib"
Comment 3 Charles Goodwin 2003-12-16 03:15:32 UTC
Created attachment 22288 [details]
Strace output of 'pachi'
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2003-12-16 03:20:42 UTC
Looks likes you have a version of pachi installed in 
/usr/local/bin/pachi

There is no "shortcut" installed for the pachi package.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2003-12-16 03:24:00 UTC
It's clear from the strace output that the binary in /usr/local/bin is
trying (and failing) to read data files from /usr/local.  This is probably
some hand-installed package or something.  Nothing to do with Gentoo so
I'm going to mark this bug INVALID.  If you have problems with the
package as installed by "emerge pachi" feel free to re-open.  Thanks.
Comment 6 Charles Goodwin 2003-12-16 03:42:48 UTC
Nope, you're completely right.  My bad - I apologise.