Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82051 - xmms-alsa-1.2.10-r1 segfaults
Summary: xmms-alsa-1.2.10-r1 segfaults
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High critical
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-14 16:14 UTC by Todor Zviskov
Modified: 2005-04-18 08:11 UTC (History)
5 users (show)

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


Attachments
backtrace for xmms-1.2.10-r13 + xmms-alsa-1.2.10-r1 (BROKEN) (gdb_xmms-1.2.10-r13_xmms-alsa-1.2.10-r1_BROKEN,1.02 KB, text/plain)
2005-02-16 21:05 UTC, Todor Zviskov
Details
strace for xmms-1.2.10-r13 + xmms-alsa-1.2.10-r1 (BROKEN) (strace_xmms-1.2.10-r13_xmms-alsa-1.2.10-r1_BROKEN,716.45 KB, text/plain)
2005-02-16 21:06 UTC, Todor Zviskov
Details
backtrace for xmms-1.2.10-r5 + xmms-alsa-1.2.10-r1 (BROKEN) (gdb_xmms-1.2.10-r5_xmms-alsa-1.2.10-r1_BROKEN,1.02 KB, text/plain)
2005-02-16 21:07 UTC, Todor Zviskov
Details
strace for xmms-1.2.10-r5 + xmms-alsa-1.2.10-r1 (BROKEN) (strace_xmms-1.2.10-r5_xmms-alsa-1.2.10-r1_BROKEN,749.84 KB, text/plain)
2005-02-16 21:08 UTC, Todor Zviskov
Details
backtrace for xmms-1.2.10-r5 WITHOUT xmms-alsa (WORKS) (gdb_xmms-1.2.10-r5_WITHOUT_xmms-alsa_WORKS,1.85 KB, text/plain)
2005-02-16 21:09 UTC, Todor Zviskov
Details
strace for xmms-1.2.10-r5 WITHOUT xmms-alsa (WORKS) (strace_xmms-1.2.10-r5_WITHOUT-xmms-alsa_WORKS,1.29 MB, text/plain)
2005-02-16 21:11 UTC, Todor Zviskov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Todor Zviskov 2005-02-14 16:14:26 UTC
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
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2005-02-16 10:56:16 UTC
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
Comment 2 Todor Zviskov 2005-02-16 21:05:37 UTC
Created attachment 51396 [details]
backtrace for xmms-1.2.10-r13 + xmms-alsa-1.2.10-r1 (BROKEN)
Comment 3 Todor Zviskov 2005-02-16 21:06:34 UTC
Created attachment 51397 [details]
strace for xmms-1.2.10-r13 + xmms-alsa-1.2.10-r1 (BROKEN)
Comment 4 Todor Zviskov 2005-02-16 21:07:33 UTC
Created attachment 51398 [details]
backtrace for xmms-1.2.10-r5 + xmms-alsa-1.2.10-r1 (BROKEN)
Comment 5 Todor Zviskov 2005-02-16 21:08:31 UTC
Created attachment 51399 [details]
strace for xmms-1.2.10-r5 + xmms-alsa-1.2.10-r1 (BROKEN)
Comment 6 Todor Zviskov 2005-02-16 21:09:43 UTC
Created attachment 51400 [details]
backtrace for xmms-1.2.10-r5 WITHOUT xmms-alsa (WORKS)
Comment 7 Todor Zviskov 2005-02-16 21:11:00 UTC
Created attachment 51401 [details]
strace for xmms-1.2.10-r5 WITHOUT xmms-alsa (WORKS)
Comment 8 Todor Zviskov 2005-02-16 21:51:20 UTC
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
Comment 9 Olliver Schinagl 2005-02-22 03:56:18 UTC
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...
Comment 10 Jeremy Huddleston (RETIRED) gentoo-dev 2005-02-22 04:09:17 UTC
node, that's an unrelated issue.  Re-emerge all your xmms plugins
Comment 11 Olliver Schinagl 2005-02-22 08:01:39 UTC
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.
Comment 12 Todor Zviskov 2005-02-22 11:53:31 UTC
Yea that happens here as well since I did emerge -u world yesterday. However, this is totally unrelated to the initial bug.
Comment 13 Jeremy Huddleston (RETIRED) gentoo-dev 2005-02-22 16:25:11 UTC
please open up new bugs with your other issues.
Comment 14 Jeremy Huddleston (RETIRED) gentoo-dev 2005-03-21 15:17:27 UTC
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.
Comment 15 Daniel 'Fremen' Llewellyn 2005-03-26 10:06:07 UTC
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.
Comment 16 Jeremy Huddleston (RETIRED) gentoo-dev 2005-04-15 17:48:33 UTC
pleasse try -r2.
Comment 17 Todor Zviskov 2005-04-16 19:35:10 UTC
Seems to be alright with xmms-1.2.10-r14 and xmms-alsa-1.2.10-r2.
Comment 18 Jeremy Huddleston (RETIRED) gentoo-dev 2005-04-18 08:11:38 UTC
thanks.  closing, then =)