Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57003 - xmms-1.2.10-r5 open("/dev/zero", O_RDWR) Segmentation Fault
Summary: xmms-1.2.10-r5 open("/dev/zero", O_RDWR) Segmentation Fault
Status: RESOLVED DUPLICATE of bug 55891
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-14 03:16 UTC by Michael Crawford (ali3nx)
Modified: 2005-07-17 13:06 UTC (History)
3 users (show)

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


Attachments
xmms strace log (xmms-1.2.10-r5.strace,65.25 KB, application/octet-stream)
2004-07-14 03:18 UTC, Michael Crawford (ali3nx)
Details
glx not working for quake3 (quake3dies.txt,2.58 KB, text/plain)
2004-07-15 12:11 UTC, Aaron Peterson
Details
xinedies.txt opengl relaited, strace (xinedies.txt,83 bytes, text/plain)
2004-07-15 12:17 UTC, Aaron Peterson
Details
a relaited compile failure? (libglademmfailstocompile.txt,8.71 KB, text/plain)
2004-07-15 13:37 UTC, Aaron Peterson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Crawford (ali3nx) 2004-07-14 03:16:17 UTC
xmms-1.2.10-r5 dies with segmentation fault.. i've straced and found /dev/zero to be curiously at fault

Reproducible: Always
Steps to Reproduce:
1.ACCEPT_KEYWORDS="~x86" emerge xmms
2. execute xmms from konsole or a launcher
3. xmms exit's with a segmentation fault

Actual Results:  
bash-2.05b$ xmms
Segmentation fault
bash-2.05b$

Expected Results:  
Music ~:p Lots of it =)

a ptrace of the process originally whined about the path changes of nvidia-glx
for the new drivers that support 6800's.... I did spot those in a ptrace,
re-emerged nvidia-glx then re-emerged  xmms against the fixed glx libraries
fixing that issue  however xmms is segfaulting on requiring mmap2 to _i think_
read the rand from /dev/zero which is failing.

emerge info below

bash-2.05b$ emerge info
Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.4.1, glibc-2.3.3.20040420-r0,
2.6.7-gentoo-r8)
=================================================================
System uname: 2.6.7-gentoo-r8 i686 Pentium III (Coppermine)
Gentoo Base System version 1.5.1
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -pipe"
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.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -pipe"
DISTDIR="/storage/distfiles/distfiles/"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://gentoo.ccccom.com http://mirror.tucdemonic.org/gentoo/
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://mirror.datapipe.net/gentoo
ftp://gentoo.blueyonder.co.uk/mirrors/gentoo
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/
ftp://mirror.pacific.net.au/linux/Gentoo http://gentoo.gg3.net/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.eliteitminds.com/gentoo-portage/"
USE="S3TC X X509 aac aalib acl acpi activefilter adns aim alsa amd antlr apache2
apm arts auctex audiofile autofs avantgo avi bcel berkdb bidi bluetooth bonobo
bsf bsh bzlib canna cap cddb cdf cdr cgi chasen chroot cjk clamav clanJavaScript
clanVoice cle266 clisp cmucl crypt cscope cups curl dga dillo directfb
distribution divx4linux dnd doc dv dvb dvd dvdr emacs emacs-w3 encode erandom
escreen esd ethereal evo expat ext-png ext-zlib f77 faac faad fam fastcgi fbcon
fbdev ffmpeg fftw flac flash flood fluidsynth foomaticdb freetds freetype
freewnn fs fullrpc gb gcj gcl gd gdbm geoip ggi gif gimp gimpprint ginac glade
glgd glut gmp gmtfull gmtsuppl gmttria gnome gnomedb gnuplot gphoto2 gpm gps gs
gsl gstreamer gtk gtk2 gtkhtml guile hbci hdf hdf5 icq idl ieee1394 image
imagemagick imap imlib imlib2 informix innodb ipalias ipcs irda irmc jabber java
javacomm javamail javascript jbig jboss jdepend jmx joystick jp2 jpeg jsch jta
junit jython kadu-modules kadu-voice kakasi kde kerberos krb4 lcms ldap leim
libcaca libdsk libg++ libgda libsamplerate libwww lids live log4j ltsp lua
lufsusermount lzw lzw-tiff mad maildir matroska mbox mcal mdb memlimit migemo
mikmod milter mixer mldonkeypango mmap mmx mng monkey mono motif mozcalendar
mozdomi mozilla mozinterfaceinfo moznoirc mozp3p mozsvg mozxmlterm mpeg mpeg4
mpi mplayer msn mssql mule music mysql nagios-dns nagios-ntp nagios-ping
nagios-ssh nas native ncurses neXt net netcdf nls nntp nocd nowin nptl ntlm
nvidia nviz oav objc ocaml oci8 odbc offensive ofx oggvorbis openal opengl opie
optional-tasks oracle orathreads oro oscar ospfapi pam parse-clocks pcap pcre
pdflib perl pg-hier pg-intdatetime pg-vacuumdelay php physfs pic plotutils png
portaudio postgres ppds prelude psyco pthreads python qt quicktime quotes radius
readline regexp rhino rogue rplay ruby samba sasl scanner sdl serial server
servlet-2.3 servlet-2.4 silc skk slang slp smartcard sndfile snmp socks5 sox
speedo speex spell src sse ssl stats stencil-buffer stroke struts svg svga szip
t1lib tcltk tcpd tcsim tetex theora tiff timidity tlen tools transcode
transparent-proxy truetype type1 ucs4 unicode usagi usb v4l v4l2 vda vhosts
videos vim-with-x wmf wxwin wxwindows x86 xalan xatrix xchattext xemacs xerces
xface xine xml xml2 xmms xosd xprint xv xvid yahoo yaz yv12 zeo zlib zvbi"
Comment 1 Michael Crawford (ali3nx) 2004-07-14 03:18:12 UTC
Created attachment 35385 [details]
xmms strace log
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-07-14 03:23:22 UTC
Please tell me the output of 'qpkg -I -v -f /usr/lib/xmms'

Asssuming it is a plugin, try moving them out of /usr/lib/xmms to figure out which one causes the problem...

If nobody else can get to this, I'll take a look next week.
Comment 3 Michael Crawford (ali3nx) 2004-07-14 03:29:00 UTC
h3x4g0n root # qpkg -I -v -f /usr/lib/xmms
media-libs/faad2-2.0-r2 *
media-libs/flac-1.1.0-r2 *
media-plugins/xmms-infopipe-1.3 *
media-plugins/xmms-liveice-1.0.0 *
media-sound/normalize-0.7.6-r2 *
media-sound/xmms-1.2.10-r5 *
h3x4g0n root #
Comment 4 Michael Crawford (ali3nx) 2004-07-14 03:35:10 UTC
Removing the plugins helped... xmms executed. i'll have this traced in an hour or so and report the offender =]
Comment 5 Michael Crawford (ali3nx) 2004-07-14 03:40:39 UTC
h3x4g0n root #ls xmmsplugin/Visualization/lib
libbscope.la        libogl_spectrum.la  libsanalyzer.la
libbscope.so        libogl_spectrum.so  libsanalyzer.so
h3x4g0n root # mv xmmsplugin/Visualization /usr/lib/xmms
h3x4g0n root # xmms
Segmentation fault
h3x4g0n root #

Appears to be one of the Visualization libraries causing the error.
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2004-07-14 03:44:43 UTC
can you please figure out which one it is and recompile that plugin?
Comment 7 Michael Crawford (ali3nx) 2004-07-14 04:05:41 UTC
I'm fairly certain the opengl_specral analyser is the offender. I did try to find an ebuild for it but it's now a portage package separate from xmms. since i just recompiled xmms with USE="opengl"  the plugin was added. Seems it's got issues possiblt with media-video/nvidia-glx-1.0.6106

-rwxr-xr-x  1 root root    953 Jul 14 00:54 libogl_spectrum.la
-rwxr-xr-x  1 root root  18944 Jul 14 00:54 libogl_spectrum.so
Comment 8 Aaron Peterson 2004-07-15 12:08:19 UTC
my bug appears to be almost a dupe of this.

I got rid of libogl_spectrum, and xmms fired right up... but I still don't know what to do about xine.. and I guess I should ... test quake3! (yay!)

mv libogl_spectrum.* garbage/

... well.. my quake3 doesn't work either!!!! OH  NO, what whill I ever DO!!?!!!

(and I bet kde's opengl screen saver stuff won't work either)
Comment 9 Aaron Peterson 2004-07-15 12:11:41 UTC
Created attachment 35495 [details]
 glx not working for quake3 

NOOOOOOOOO!!! save me from my quake3 not working!
Comment 10 Aaron Peterson 2004-07-15 12:16:12 UTC
I'm adding games@gentoo.org (hope it's valid)

and.. I can't seem to add another attachment... I'm gonna try again.. but I don't see the link to that form...
Comment 11 Aaron Peterson 2004-07-15 12:17:35 UTC
Created attachment 35498 [details]
xinedies.txt  opengl relaited, strace

found it. oh happy strace
(rem, I'm using the masked gcc 3.4.1-r1 ebuild)
Comment 12 Aaron Peterson 2004-07-15 13:37:06 UTC
Created attachment 35503 [details]
a relaited compile failure?
Comment 13 Aaron Peterson 2004-07-15 14:10:00 UTC
http://bugs.gentoo.org/show_bug.cgi?id=55897

removing /usr/lib/opengl/nvidia/lib/libnvidia-tls.so.1* worked for me too.
-- me too!
Comment 14 Aaron Peterson 2004-07-15 14:12:37 UTC
my games not working appeard to be due to temporarily not having nvidia as my xfree driver :(  (nv was it)

as my modprobe wasn't working for a while, and I recompiled my kernel with everything built in... so I could get networking.. so I could get module-init-tools again...  but I forgot to switch the video driver back
Comment 15 Chris Gianelloni (RETIRED) gentoo-dev 2004-07-16 03:41:46 UTC
There was no reason to add us, since the problem has been with the nvidia drivers for you both all along.  Reassigning to media-video.
Comment 16 Andrew Bevitt 2004-07-16 23:39:16 UTC
TLS install issue.

Please merge nvidia-glx-1.0.6106-r1 then recompile xmms

*** This bug has been marked as a duplicate of 55891 ***