what gcc version? which compiler optimisations?
could you post a strace of it ? if you start xmms from a terminal as a non-root user does it show anything helpful ?
(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
so do this ... `strace -f -s 4096 xmms >& stracelog` then post that stracelog file as an attachment to this bug report
Created attachment 4391 [details] strace -f -s 4096 xmms >& stracelog
Added the stracelog you requested
what is your USE variable ?
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"
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 ;)
Created attachment 4396 [details] strace -f -s 4096 xmms >& stracelog (again) this is after 'env USE= CFLAGS= CXXFLAGS= emerge xmms'
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.
do you have some freaky USB device attached ?
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
so what if you unplug the mouse and then remove the modules, then start up xmms ?
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?
H
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*
Crystality report: http://bugs.xmms.org/show_bug.cgi?id=922
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.
weak