if data is send to the soundcard after xmms is started xmms segfaults segfaults Reproducible: Always Steps to Reproduce: 1. start xmms 2. send data to the soundcard 3. cry Actual Results: xmms segfaults Expected Results: play music konsole output bash-2.05b# xmms Segmentation fault You've probably found a bug in XMMS, please visit http://bugs.xmms.org and fill out a bug report. emerge info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r9 i686) ================================================================= System uname: 2.6.11-gentoo-r9 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.5 [2.3.5 (#1, May 19 2005, 17:33:17)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.4_p6, 1.6.3, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=i686 -pipe -march=athlon-xp -fomit-frame-pointer -fcaller-saves -falign-jumps -msse -mmmx" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe -march=athlon-xp -fomit-frame-pointer -fcaller-saves -falign-jumps -msse -mmmx" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://gentoo:password@192.168.1.2 http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow Bzlib X alsa apm arts ava avi berkdb bitmap-fonts cdparanoia cdr crypt cups directfb divx4linux dvd emboss emlimit encode fam foomaticdb fortran ftp gdbm gif gpm gtk2 hal ieee1394 imap imlib ine ithread jpeg kde kdeenablefinal kerberos krb4 libg++ libwww mad mbox mhash mikmod mmx motif mozilla mp3 mpeg ncurses nis nls oggvorbis opengl pam pdflib perl pm png posix python qt quicktime readline samba sdl sockets spell sse ssl svga symlink tcpd threads tidy tiff truetype truetype-fonts type1-fonts unicode usb videos vorbis wxwindows xinerama xml2 xmms xosd xv xvid zlib linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY soundcard 0000:01:09.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 0a) (internal pci) strace result poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=9, events=POLLIN}], 3, 9) = 0 gettimeofday({1116632070, 456773}, NULL) = 0 read(11, "\0\0\0\0\3\0\0\0N\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0EMU10K1"..., 72) = 72 ioctl(11, USBDEVFS_CONNECTINFO, 0xbffff0a0) = 0 ioctl(11, USBDEVFS_IOCTL, 0xbfffe940) = 0 ioctl(11, USBDEVFS_IOCTL, 0xbfffe940) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb67a6000 write(1, "\n", 1 ) = 1 write(1, "Segmentation fault\n", 19Segmentation fault ) = 19 write(1, "\n", 1 ) = 1 write(1, "You\'ve probably found a bug in X"..., 50You've probably found a bug in XMMS, please visit ) = 50 write(1, "http://bugs.xmms.org and fill ou"..., 48http://bugs.xmms.org and fill out a bug report. ) = 48 write(1, "\n", 1 ) = 1 write(3, "+\0\1\0", 4) = 4 read(3, 0xbfffeeb0, 32) = -1 EAGAIN (Resource temporarily unavailable) select(4, [3], NULL, NULL, NULL) = 1 (in [3]) read(3, "\1\1:\17\0\0\0\0\5\0\200\1\0\0\0\0\1\0\0\0\34\0\0\0\360"..., 32) = 32 shmdt(0xb718b000) = 0 write(3, "\222\2\2\0\2\0 \2f\0\3\0\200\0\0\0\1\0\0\0<\30\2\0\0\0"..., 40) = 40 read(3, "\1\1?\17\0\0\0\0\5\0\200\1\0\0\0\0\0\0\0\0\34\0\0\0\360"..., 32) = 32 shutdown(3, 2 /* send and receive */) = 0 close(3) = 0 write(6, "\300\370\24\10\2\0\0\0\1\0\0\0000U\341\267\260W\341\267"..., 148) = 148 rt_sigprocmask(SIG_SETMASK, NULL, [SEGV RTMIN], 8) = 0 rt_sigsuspend([SEGV] <unfinished ...> --- SIGRTMIN (Unknown signal 32) @ 0 (0) --- <... rt_sigsuspend resumed> ) = -1 EINTR (Interrupted system call) sigreturn() = ? (mask now [SEGV RTMIN]) waitpid(31411, NULL, __WCLONE) = 31411 munmap(0xb67a6000, 4096) = 0 exit_group(1) = ? and running xmms with valgrind (e.g. valgrind --tool=memcheck xmms) makes it work very slow but it doesn't segfault
I was experiencing this exact same problem; turns out it's a problem with alsa-lib-1.0.8 (the default x86 stable version). I was able to resolve this by unmasking alsa-lib-1.0.9 and alsa-headers-1.0.9 in package.keywords and re-emerging. See the following thread and bug for details: http://forums.gentoo.org/viewtopic-t-313030.html (Be sure to read through a bit) http://bugs.gentoo.org/show_bug.cgi?id=87099 If this is indeed the cause, this is certainly safe to mark as a dupe and/or resolved.
*** This bug has been marked as a duplicate of 87099 ***