First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 37474
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Aben Siatris <aben@webcom.sk>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 37474 depends on: Show dependency tree
Show dependency graph
Bug 37474 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: 2004-01-07 05:09 0000
Could not find Setup.txt in /usr/share/egoboo/
here is only setup.txt, not Setup.txt!

Reproducible: Always
Steps to Reproduce:
1.emerge -kuv egoboo
2.egoboo

Actual Results:  
Egoboo, Copyright (C) 2000 Aaron Bishop
ERROR: Could not find Setup.txt

Segmentation fault



Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.0-mm1)
=================================================================
System uname: 2.6.0-mm1 i686 Intel(R) Celeron(TM) CPU                1300MHz
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -fprefetch-loop-arrays
-ffast-math -fforce-addr -falign-functions=4 -fprefetch-loop-arrays
-funroll-loops -pipe -msse -mmmx"
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="-O3 -march=pentium3 -fomit-frame-pointer -fprefetch-loop-arrays
-ffast-math -fforce-addr -falign-functions=4 -fprefetch-loop-arrays
-funroll-loops -pipe -msse -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ http://gentoo.inode.at/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
http://212.219.247.18/sites/www.ibiblio.org/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 aalib acl apm arts avi berkdb bindist cdr cjk crypt cups curl dga
directfb dvb encode esd fbcon flash foomaticdb gdbm ggi gif gnome gpm gtk gtk2
guile icc imlib java javascript jpeg kde libg++ libwww lirc mad maildir mikmod
mmx motif mozilla mpeg nas ncurses nls nv nvidia odbc oggvorbis opengl oss pam
pdflib perl png python qt quicktime readline ruby ruby18 samba sdl slang spell
sse ssl svga tcltk tcpd threads tiff truetype x86 xkb xml xml2 xmms xv zlib"

------- Comment #1 From Aben Siatris 2004-01-07 05:18:56 0000 -------
after renaming setup.txt to Setup.txt same error.
also using strace... egoboo opening setup.txt, and writing about Setup.txt
renaming Setup.txt to setup.txt

strace ./egoboo in /usr/share/egoboo (as normal user in group games)
write(1, "Egoboo, Copyright (C) 2000 Aaron"..., 40Egoboo, Copyright (C) 2000 Aaron Bishop
) = 40
open("basicdat/netlog.txt", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EACCES (Permission denied)
open("setup.txt", O_RDWR)               = -1 EACCES (Permission denied)
write(2, "ERROR: Could not find Setup.txt\n"..., 33ERROR: Could not find Setup.txt

) = 33
open("errorlog.txt", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EACCES (Permission denied)
rt_sigaction(SIGSEGV, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGSEGV, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGBUS, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGBUS, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGFPE, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGFPE, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_DFL}, 8) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

ok, "su" into user root

Egoboo, Copyright (C) 2000 Aaron Bishop
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Unable to set video mode:

------- Comment #2 From Mr. Bones. 2004-01-08 03:14:02 0000 -------
Strange that it worked at all.  Resync, remerge and try it again please.

------- Comment #3 From Mr. Bones. 2004-01-11 19:25:47 0000 -------
Works for me and no input for three days.  Closing as WORKSFORME.  Reopen if
it's
still a problem.

------- Comment #4 From Aben Siatris 2004-01-12 03:24:58 0000 -------
It has been few days since my last report. Rsynced/Rebuild => same errors...
game can run only as user root, but crashed on selecting video mode.

why is the binary in /usr/bin?
-rwxr-xr-x 1 root root egoboo

------- Comment #5 From SpanKY 2004-01-12 13:31:28 0000 -------
root@vapier 2 root # strings /usr/games/bin/egoboo | grep /usr/
cd /usr/share/games/egoboo

the fact you're using -k and the binary is in /usr/bin/ scares me

so do this to fix your system:
emerge -C egoboo
rm /usr/bin/egoboo
emerge egoboo

------- Comment #6 From Aben Siatris 2004-01-13 01:57:41 0000 -------
bash-2.05b$ more /var/db/pkg/games-rpg/egoboo-2.22/CONTENTS
dir /usr
dir /usr/bin
obj /usr/bin/egoboo e7b50c0d2ed611fcc240bed0d000a9b3 1073562435
dir /usr/share
dir /usr/share/doc
dir /usr/share/doc/egoboo-2.22
...


after reemerging...:

bash-2.05b$ more /var/db/pkg/games-rpg/egoboo-2.22/CONTENTS
dir /usr
dir /usr/games
dir /usr/games/bin
obj /usr/games/bin/egoboo 8fdd536c285db946dda0e0f0dc303f3b 1073989042
dir /usr/share
dir /usr/share/doc
dir /usr/share/doc/egoboo-2.22
...

now is all ok, and game is stable running, thank you.

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