Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33717 - tuxracer segfault with a voodoo3
Summary: tuxracer segfault with a voodoo3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 All
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-17 17:14 UTC by Philippe Coulonges
Modified: 2004-06-21 10:37 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 Philippe Coulonges 2003-11-17 17:14:15 UTC
tuxracer-0.61-r3

emerge info 
Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test6)
=================================================================
System uname: 2.6.0-test6 i686 Pentium III (Katmai)
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe"
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="/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /etc/init_d.old /etc/modules.autoload.d /etc/foomatic /etc/sound/events /etc/gnome-vfs-2.0 /etc/gtk-2.0 /etc/vim /etc/rc.d/init.d /etc/init.d /etc/fonts /etc/gpm /etc/ssmtp /etc/sane.d /etc/postfix/sample /etc/X11/xdm /etc/X11/de/app-defaults /etc/X11/it/app-defaults /etc/X11/fr/app-defaults /etc/X11/app-defaults /etc/X11/de_DE.UTF-8/app-defaults /etc/X11/starthere /etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
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=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 avi cups encode foomaticdb gif libg++ libwww mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xv zlib gdbm berkdb slang readline ggi tcltk guile X sdl tcpd pam ssl perl python imlib oggvorbis gnome gtk qt kde opengl mozilla scanner 3dfx alsa apm crypt gtk2 java jpeg kerberos ldap svga tiff voodoo3 xface xml xml2 -3dnow -arts -cjk -esd -gpm -motif -oss -samba -xinerama -xmms"

melodie root # ll /dev/dri
total 0
crwxrwx---    1 root     games    226,   0 Nov 13 20:56 card0

Without the rights on the dri, tuxracer runs (i.e. crawl) without acceleration, with the permissions, it segfaults.

Here comes the end of the strace 

readv(4, [{"PCI:1:0:0", 9}, {"\0\0\0", 3}], 2) = 12
geteuid32()                             = 1030
stat64("/dev/dri", {st_mode=S_IFDIR|0770, st_size=0, ...}) = 0
stat64("/dev/dri/card0", {st_mode=S_IFCHR|0770, st_rdev=makedev(226, 0), ...}) = 0
open("/dev/dri/card0", O_RDWR)          = 5
ioctl(5, DECODER_GET_CAPABILITIES, 0xbfffeea0) = 0
ioctl(5, DECODER_GET_CAPABILITIES, 0xbfffeea0) = 0
ioctl(5, DECODER_GET_STATUS, 0xbfffeedc) = 0
ioctl(5, DEVFSDIOC_GET_PROTO_REV, 0x82c5628) = 0
ioctl(5, DEVFSDIOC_GET_PROTO_REV, 0x82c5628) = 0
write(4, "\217\v\3\0\0\0\0\0\10\0\0\0", 12) = 12
read(4, "\1\t\21\0\0\0\0\0\1\0\0\0\355\0359\0108\266\243\10\0\0"..., 32) = 32
...
read(3, "\1\317E\0\0\0\0\0\354\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0x\246"..., 32) = 32
write(3, "\23\0\3\0\16\0\300\1\354\0\0\0\20\1\7\0\22\0\0\0KWM_WI"..., 40) = 40
read(3, "\1kG\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0x\246\254"..., 32) = 32
write(3, "\20\1\5\0\n\0\300\1_WIN_HINTS\0\0", 20) = 20
read(3, "\1\0H\0\0\0\0\0+\1\0\0\0\0\0\0\1\0\0\0\0\0\0\0x\246\254"..., 32) = 32
write(3, "\23\1\3\0\16\0\300\1+\1\0\0\fH\5\0\16\0\300\1\f\0M_\0\4"..., 96) = 96
read(3, "\1\1M\0\0\0\0\0\24\0@\1\0\0\0\0\0\0\0\0\0\0\0\0x\246\254"..., 32) = 32
mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x44992000
write(4, "\217\5\4\0\0\0\0\0?\0\0\0\1\0\340\1", 16) = 16
read(4, "\1\0\30\0\0\0\0\0\2\0\0\0008\266\243\10\210\t\247\10\0"..., 32) = 32
brk(0)                                  = 0x82c9000
brk(0x82ca000)                          = 0x82ca000
write(4, "\217\5\4\0\0\0\0\0?\0\0\0\2\0\340\1", 16) = 16
read(4, "\1\0\31\0\0\0\0\0\3\0\0\0008\266\243\10\210\t\247\10\0"..., 32) = 32
brk(0)                                  = 0x82ca000
brk(0x82de000)                          = 0x82de000
rt_sigaction(SIGILL, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGFPE, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGILL, {0x402ae0b0, [ILL], SA_RESTORER|SA_RESTART, 0x405237d8}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGFPE, {0x402ae0b0, [FPE], SA_RESTORER|SA_RESTART, 0x405237d8}, {SIG_DFL}, 8) = 0
--- SIGFPE (Floating point exception) @ 0 (0) ---
sigreturn()                             = ? (mask now [RTMIN])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

The AGP is an Intel 440/BX if it makes a difference.

Just to enerve, tuxracer worked fine on the same machine when it was a mandrake.
Comment 1 SpanKY gentoo-dev 2003-12-30 22:26:24 UTC
what opengl implementation do you use ?
Comment 2 Philippe Coulonges 2004-01-01 11:52:58 UTC
xfree of course.
I could not use nvidia with a voodoo3, I think.
I didn't try. Do you think I should ?
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-06-11 18:43:28 UTC
Is this still an issue?
Comment 4 Philippe Coulonges 2004-06-21 09:54:00 UTC
No. It works now.

How did you know ?
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2004-06-21 10:37:33 UTC
I didn't.  I was just checking old bugs.  Thanks for the feedback.  I'll
go ahead and close this bug.