Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 27417
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Roman Valls <brainstorm@nopcode.org>
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 27417 depends on: Show dependency tree
Bug 27417 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

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


Not eligible to see or edit group visibility for this bug.






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


Description:   Opened: 2003-08-27 05:12 0000
gtetrinet 0.7.1 works perfectly but 0.7.3 segfaults. If I do a strace (output
simplified): 

... 
open("/usr/share/pixmaps/xfree/default/cursors/arrow", O_RDONLY) = -1 ENOENT
(No 
 such file or directory) 
open("/usr/share/games/pixmaps/gtetrinet/team.png", O_RDONLY) = -1 ENOENT (No
su                                
ch file or directory) 
--- SIGSEGV (Segmentation fault) --- 
... 

Reproducible: Always
Steps to Reproduce:
1. emerge gtetrinet (0.7.3) 
2. gtetrinet 
Actual Results:  
segfault. 

Expected Results:  
run flawlessly. 

Portage 2.0.49-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.2.5-r4,2.3.2-r1,
2.4.22_pre2-gss) 
================================================================= 
System uname: 2.4.22_pre2-gss i686 AMD Athlon(tm) Processor 
distcc 2.10 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] 
ccache version 2.2 [enabled] 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon -O2 -pipe -mmmx -m3dnow" 
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.1/share/config /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-march=athlon -O2 -pipe -mmmx -m3dnow" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="ccache autoaddcvs sandbox distcc userpriv usersandbox notitles cvs" 
GENTOO_MIRRORS="http://ftp.caliu.info/pub/gentoo" 
MAKEOPTS="-j4" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="x86 oss apm avi foomaticdb libg++ mad pdflib quicktime spell xml2 zlib
gdbm berkdb 
slang readline arts bono    bo svga guile pam python imlib oggvorbis motif
opengl scanner 
3dnow mmx acpi alsa xmms mikmod apache2 cdr dga dv    d esd fbcon flash gb
gphoto2 imap 
ldap maildir mbox mozilla nocardbus usb perl samba sasl ssl crypt truetype cup 
  s encode xv 
X tetex tcpd gpm tiff gif png jpeg mpeg gtk gtkhtml gtk+ qtmt qt kde gnome
tcltk wmf lcms xml 
java l    ibwww ncurses -nls socks5 sdl lirc gtk2 xinerama vim-with-x doc ipv6
debug" 

Additional strace info: 

close(14)                               = 0 
open("/lib/i686/mmx/libXcursor.so.1.0", O_RDONLY) = -1 ENOENT (No such file or
directory) 
stat64("/lib/i686/mmx", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 
open("/lib/i686/libXcursor.so.1.0", O_RDONLY) = -1 ENOENT (No such file or
directory) 
stat64("/lib/i686", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 
open("/lib/mmx/libXcursor.so.1.0", O_RDONLY) = -1 ENOENT (No such file or
directory) 
stat64("/lib/mmx", 0xbfffe8d0)          = -1 ENOENT (No such file or directory) 
open("/lib/libXcursor.so.1.0", O_RDONLY) = -1 ENOENT (No such file or
directory) 
stat64("/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 
open("/usr/lib/i686/mmx/libXcursor.so.1.0", O_RDONLY) = -1 ENOENT (No such file
or 
directory) 
stat64("/usr/lib/i686/mmx", 0xbfffe8d0) = -1 ENOENT (No such file or directory) 
open("/usr/lib/i686/libXcursor.so.1.0", O_RDONLY) = -1 ENOENT (No such file or
directory) 
stat64("/usr/lib/i686", 0xbfffe8d0)     = -1 ENOENT (No such file or directory) 
open("/usr/lib/mmx/libXcursor.so.1.0", O_RDONLY) = -1 ENOENT (No such file or
directory) 
stat64("/usr/lib/mmx", 0xbfffe8d0)      = -1 ENOENT (No such file or directory) 
open("/usr/lib/libXcursor.so.1.0", O_RDONLY) = -1 ENOENT (No such file or
directory) 
.... 
open("/usr/local/share/cursors/xfree/default/cursors/00000000000000000000000000000000", 
O_RDONLY) = -1 ENOENT (No such file or directory) 
open("/usr/local/share/cursors/xfree/default/index.theme", O_RDONLY) = -1
ENOENT (No such 
file or directory) 
open("/usr/share/cursors/xfree/default/cursors/00000000000000000000000000000000", 
O_RDONLY) = -1 ENOENT (No such file or directory) 
open("/usr/share/cursors/xfree/default/index.theme", O_RDONLY) = 14 
fstat64(14, {st_mode=S_IFREG|0755, st_size=27, ...}) = 0 
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40021000 
read(14, "[Icon Theme]\nInherits=core\n", 4096) = 27 
close(14)                               = 0 
munmap(0x40021000, 4096)                = 0 
open("/usr/share/pixmaps/xfree/default/cursors/00000000000000000000000000000000", 
O_RDONLY) = -1 ENOENT (No such file or directory) 
....

------- Comment #1 From SpanKY 2003-08-28 08:50:51 0000 -------
ok, i fixed the source so that it looks in /usr/share/pixmaps instead of
/usr/share/games/pixmaps ... try out -r1 :)

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug