xmms-1.2.10-r13 seg faults when alsa output is used. I observed the same behaviour with xmms-1.2.10-r12. Both -r12 and -r13 work fine with OSS but NOT when alsa is selected. Alsa output works fine with xmms-1.2.10-r5. Here's what I get when I try to play using alsa output (both -r12 and -r13): $ xmms Gdk-WARNING **: Missing charsets in FontSet creation Gdk-WARNING **: MICROSOFT-CP1251 gsdrums.cfg: line 155: bad patch option # gssfx.cfg: line 12: bad patch option # xgmap2.cfg: line 29: bad patch option # Segmentation fault You've probably found a bug in XMMS, please visit http://bugs.xmms.org and fill out a bug report. Reproducible: Always Steps to Reproduce: 1. xmms 2. set output to alsa 3. play something Actual Results: Segmentation fault Expected Results: Play music without crashing Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-LNX i686) ================================================================= System uname: 2.6.10-LNX i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.6.9 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 7 2005, 20:06:13)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -mfpmath=sse -msse2 -mmmx -O3 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -mfpmath=sse -msse2 -mmmx -O3 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo" LANG="bg_BG" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/bmg-main" SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage" USE="x86 X aalib alsa apm arts avi berkdb bitmap-fonts bonobo breakme cdr crypt cups curl divx4linux dvb dvd dvdread encode esd f77 fam flac font-server foomaticdb fortran gdbm gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal imagemagick imlib ipv6 jack java jpeg junit kde ldap libg++ libwww lirc lzw-tiff mad mikmod mmx motif mozilla mp3 mpeg ncurses nls nptl nptlonly nvidia oggvorbis opengl oss pam pdflib perl png ppds python quicktime readline real samba scanner sdl slang spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts usb v4l v4l2 winbind wmf xml xml2 xmms xorg xorg-x11 xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
can you give a backtrace and strace of the problem? Can youu try xmms-1.2.10-r13 + xmms-alsa-1.2.10? Also, please try xmms-1.2.10-r5 + xmms-alsa-1.2.10-r1
Created attachment 51396 [details] backtrace for xmms-1.2.10-r13 + xmms-alsa-1.2.10-r1 (BROKEN)
Created attachment 51397 [details] strace for xmms-1.2.10-r13 + xmms-alsa-1.2.10-r1 (BROKEN)
Created attachment 51398 [details] backtrace for xmms-1.2.10-r5 + xmms-alsa-1.2.10-r1 (BROKEN)
Created attachment 51399 [details] strace for xmms-1.2.10-r5 + xmms-alsa-1.2.10-r1 (BROKEN)
Created attachment 51400 [details] backtrace for xmms-1.2.10-r5 WITHOUT xmms-alsa (WORKS)
Created attachment 51401 [details] strace for xmms-1.2.10-r5 WITHOUT xmms-alsa (WORKS)
Also: xmms-1.2.10-r5 + xmms-alsa-1.2.10 = works xmms-1.2.10-r13 + xmms-alsa-1.2.10 = works Seems to be a problem with xmms-alsa-1.2.10-r1
I actually get: *** glibc detected *** double free or corruption (out): 0xb6cd9a40 *** with or without alsa. On two different machines. On my laptop with some soundmax soundboard, it appears to be working normally. I still have to sync and update that one. Will do that tonight. Other machines are synced and up to date...
node, that's an unrelated issue. Re-emerge all your xmms plugins
I did. Many times. I installed all xmms versions all the way back to 1.2.8. I unset ALL use flags that xmms 1.2.10 and 1.2.8 use. I did emerge -C on all the plugins I had installed (xmms-mpg123, xmms-oggvorbis etc etc.) same thing. Also my friend just installed gentoo just last night. Freshly installed system with freshly emerged xmms, fails. That's what triggerd me actually.
Yea that happens here as well since I did emerge -u world yesterday. However, this is totally unrelated to the initial bug.
please open up new bugs with your other issues.
ok, I still can't reproduce this, but the segfault is occurring in alsa-lib, so does it help to change alsa-lib versions? There were some playback changes mage to xmms-alsa which use different calls to alsa-lib now for pause/playback and other areas.
I've been having similar problems with xmms crashing whenever using alsa output, and also xine crashes whenever using alsa output. Switching both to oss output works fine. This is after an emerge -uD world two or three days ago. This is with alsa-lib version 1.0.8. Alsa-lib version 1.0.7 works, so I'm sticking with that for now.
pleasse try -r2.
Seems to be alright with xmms-1.2.10-r14 and xmms-alsa-1.2.10-r2.
thanks. closing, then =)