Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8673 - xmms seg faults as non-root user
Summary: xmms seg faults as non-root user
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-03 01:55 UTC by Modig
Modified: 2003-09-01 16:17 UTC (History)
2 users (show)

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


Attachments
strace -f -s 4096 xmms >& stracelog (stracelog,565.86 KB, text/plain)
2002-10-03 17:20 UTC, Modig
Details
strace -f -s 4096 xmms >& stracelog (again) (stracelog,563.94 KB, text/plain)
2002-10-03 21:35 UTC, Modig
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Modig 2002-10-03 01:55:33 UTC
 
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-10-03 03:30:37 UTC
what gcc version? 
which compiler optimisations?
Comment 2 SpanKY gentoo-dev 2002-10-03 10:31:10 UTC
could you post a strace of it ? 
if you start xmms from a terminal as a non-root user does it show anything 
helpful ? 
Comment 3 Modig 2002-10-03 16:35:45 UTC
(modig@lucidia:~)$ xmms

Segmentation fault

You've probably found a bug in XMMS, please visit
http://bugs.xmms.org and fill out a bug report.

(modig@lucidia:~)$ 

-----

CFLAGS="-march=athlon-tbird -O3 -pipe"

-----
(modig@lucidia:~)$ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs
Configured with: /var/tmp/portage/gcc-3.2-r1/work/gcc-3.2/configure
--prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i686-pc-linux-gnu
--with-system-zlib --enable-languages=c,c++,ada,f77,objc,java
--enable-threads=posix --enable-long-long --disable-checking
--enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit
--enable-version-specific-runtime-libs
--with-gxx-include-dir=/usr/include/g++-v32 --with-local-prefix=/usr/local
--enable-shared --enable-nls --without-included-gettext
Thread model: posix
gcc version 3.2
Comment 4 SpanKY gentoo-dev 2002-10-03 16:49:38 UTC
so do this ... 
`strace -f -s 4096 xmms >& stracelog` 
then post that stracelog file as an attachment to this bug report 
Comment 5 Modig 2002-10-03 17:20:34 UTC
Created attachment 4391 [details]
strace -f -s 4096 xmms >& stracelog
Comment 6 Modig 2002-10-03 19:16:44 UTC
Added the stracelog you requested
Comment 7 SpanKY gentoo-dev 2002-10-03 19:53:55 UTC
what is your USE variable ? 
Comment 8 Modig 2002-10-03 20:05:57 UTC
USE="X gtk gtk2 gnome alsa mmx 3dnow cdr perl pythong opengl sdl 
dga xv -kde -qt -qtmt -arts bonobo evo gtkhtml gif jpeg png 
tiff gd mpeg avi quicktime oggvorbis oss readline svga
nas dvd xmms flash encode ggz ipv6 mozilla 
mozaccess-builtin -mozirc -mozxmlterm
spell truetype xml xml2 pdflib plotutils tetex 
ruby samba mysql -postgres -oci8 -obdc -innodb
-gdbm samba gpm"
Comment 9 SpanKY gentoo-dev 2002-10-03 20:22:37 UTC
try emerging w/out cflags 
`env CFLAGS= CXXFLAGS= emerge xmms` 
 
if it still segfaults, try w/out USE variable 
`env USE= emerge xmms` 
 
if either of these works report which one ;) 
Comment 10 Modig 2002-10-03 21:35:06 UTC
Created attachment 4396 [details]
strace -f -s 4096 xmms >& stracelog (again)

this is after  'env USE= CFLAGS= CXXFLAGS= emerge xmms'
Comment 11 Modig 2002-10-03 21:39:35 UTC
I tried these:
----
emerge unmerge xmms
env USE= emerge xmms
----
emerge unmerge xmms
env CFLAGS= CXXFLAGS= emerge xmms
----
emerge unmerge xmms
env USE= CFLAGS= CXXFLAGS= emerge xmms
----

Same behavior as far as I can tell, I included a new strace incase that shows
anything new.
Comment 12 SpanKY gentoo-dev 2002-10-03 21:46:34 UTC
do you have some freaky USB device attached ?
Comment 13 Modig 2002-10-03 22:28:52 UTC
I have a USB mouse, it doesn't scare me.  But XMMS may be light of heart. 
Here's all the info I know how to get on it:

I think these modules are involved:

hid                    12168   0  (unused)
mousedev                3960   1 
usbmouse                1880   0  (unused)
input                   3328   0  [hid mousedev usbmouse]

from /proc/ioports
1460-147f : VIA Technologies, Inc. UHCI USB
  1460-147f : usb-uhci
1480-149f : VIA Technologies, Inc. UHCI USB (#2)
  1480-149f : usb-uhci

its on /dev/input/mouse0

Comment 14 SpanKY gentoo-dev 2002-10-03 22:52:28 UTC
so what if you unplug the mouse and then remove the modules, then start up 
xmms ?
Comment 15 Modig 2002-10-04 00:46:44 UTC
I removed hid and usbmouse and unplugged the mouse and xmms still didnt work. 
If you want I can figure out how to get mousedev and input removed and try again
with those gone.  Or would an strace in any other these situations be useful?
Comment 16 Thomas Nilsson 2002-10-22 16:41:18 UTC
H
Comment 17 Thomas Nilsson 2002-10-22 16:41:18 UTC
Håvard wrote this on the reported xmms bug
http://bugs.xmms.org/show_bug.cgi?id=851

*snip*
This might be caused by the crystality plugin that will segfault xmms on start
if there is no config file (bug 922), this will usually make gtk+ output an
assertion failure though (this might be configured away when you compile gtk+ so
that might still be the issue).
Another guess would be the alsa plugin.

I would try to delete these two plugins and see if that helps.  If that doesn't
help, a gdb backtrace might give us a better idea about what is up.
*snip*
Comment 18 Thomas Nilsson 2002-10-22 16:42:48 UTC
Crystality report:
http://bugs.xmms.org/show_bug.cgi?id=922 
Comment 19 Thomas Nilsson 2002-10-23 15:29:24 UTC
Date: 22 Oct 2002 18:54:54 -0700
From: Galen O'Neil <goneil@scu.edu>
To: thomas@xmms.org
Subject: xmms seg faults as non-root user

Thomas,
Hehe sorry ditch out on you but I removed my gentoo installation so I
can't try either of these things.
--Galen


Unless you decide to keep this bug open for reference, I suggest it's tossed,
since the original author won't be able to help you anymore.
Comment 20 SpanKY gentoo-dev 2002-10-23 19:31:30 UTC
weak