when using xine-lib + xine-ui (latest versions in portage ~x86) it crashes when attempting to play any mp3. reproducibility: always "xine *.mp3 This is xine (X11 gui) - a free video player v0.99.4. (c) 2000-2004 The xine Team. xiTK received SIGSEGV signal, RIP. Abort " Portage 2.1_pre5-r1 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.14 .6 i686) ================================================================= System uname: 2.6.14.6 i686 Intel(R) Pentium(R) M processor 1.86GHz Gentoo Base System version 1.12.0_pre16 dev-lang/python: 2.3.5, 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-mtune=pentium-m -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X1 1/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mtune=pentium-m -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/ distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acpi alsa apache2 apm avi berkdb bitmap-fonts emboss encode esd fooma ticdb fortran gdbm gif gstreamer gtk gtk2 imlib jpeg libg++ libwww mikmod mmx mp 3 mpeg ncurses nptl nptlonly opengl oss pam pdflib png quicktime readline sdl ss e sse2 tcpd truetype truetype-fonts type1-fonts udev userlocales xml xmms xv eli bc_glibc kernel_linux userland_GNU video_cards_nvidia" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
Please, reopen with a backtrace... http://www.gentoo.org/doc/en/bugzilla-howto.xml
[Thread debugging using libthread_db enabled] [New Thread -1481468240 (LWP 21131)] This is xine (X11 gui) - a free video player v0.99.4. (c) 2000-2004 The xine Team. [New Thread -1482134608 (LWP 21134)] [New Thread -1490687056 (LWP 21135)] [New Thread -1499079760 (LWP 21136)] [New Thread -1525392464 (LWP 21137)] [New Thread -1538024528 (LWP 21138)] [New Thread -1546417232 (LWP 21141)] [New Thread -1555080272 (LWP 21142)] [New Thread -1569178704 (LWP 21143)] [New Thread -1579459664 (LWP 21144)] [New Thread -1592091728 (LWP 21145)] [New Thread -1600754768 (LWP 21146)] [New Thread -1609147472 (LWP 21147)] [New Thread -1621640272 (LWP 21148)] [New Thread -1630032976 (LWP 21149)] [New Thread -1642525776 (LWP 21150)] Program received signal SIG33, Real-time event 33. [Switching to Thread -1546417232 (LWP 21141)] 0xffffe410 in __kernel_vsyscall () (gdb) bt #0 0xffffe410 in __kernel_vsyscall () #1 0xa7bdbc34 in poll () from /lib/libc.so.6 #2 0xa625657f in ao_alsa_handle_event_thread () from /usr/lib/xine/plugins/1.1.1/xineplug_ao_out_alsa.so #3 0x00000001 in ?? () #4 0x0000014d in ?? () #5 0x00000000 in ?? () (gdb)
Have you any ~/.asounrc file or /etc/asound.conf ?
(In reply to comment #3) > Have you any ~/.asounrc file or /etc/asound.conf ? > no, but i don't see how it affects xine-lib or xine-ui... i'm able to play mp3s in mplayer, xmms, etc just fine. i do have alsa-lib, etc installed, but i don't think it uses /etc/asound.conf or ~/.asound (they don't exist and i don't use any other sound driver.)
Well the asound.conf and .asoundrc files are ALSA configuration files. Is mad useflag enabled in xine-lib?
(In reply to comment #5) > Well the asound.conf and .asoundrc files are ALSA configuration files. > > Is mad useflag enabled in xine-lib? > media-libs/xine-lib-1.1.1-r4 USE="X alsa asf dvd esd mng opengl oss sdl win32codecs xv -a52 -aac -aalib -arts -debug -directfb -dts -dxr3 -fbcon -ffmpeg -flac -gnome -imagemagick -ipv6 -libcaca -mad -modplug -nls -samba -speex -theora -v4l -vcd -vidix -vorbis -xinerama -xvmc" VIDEO_CARDS="nvidia -i810 -via" 0 kB
if ! use mad; then einfo "MAD decoding library is disabled." einfo "This mean that playing mp3 will not be possible with xine-lib" einfo "based players. amaroK will crash trying to." einfo "" einfo "To be able to play mp3 files, please add mad useflag." fi this is in postinst. Seems like it's not just amaroK that crashes (Kaffeine iirc is able to abort playing gracefully). Enable mad useflag and try again.
(In reply to comment #7) > if ! use mad; then > einfo "MAD decoding library is disabled." > einfo "This mean that playing mp3 will not be possible with > xine-lib" > einfo "based players. amaroK will crash trying to." > einfo "" > einfo "To be able to play mp3 files, please add mad useflag." > fi > > this is in postinst. Seems like it's not just amaroK that crashes (Kaffeine > iirc is able to abort playing gracefully). > > Enable mad useflag and try again. > it doesn't crash or crash gracefully it simply locks up without playing a sound. the ui comes up and the visualization is active for a few moments then it locks up. this is with the mad useflag and esd/ffmpeg disabled.
fixed: media-libs/xine-lib-1.1.1-r4 USE="X asf dvd mad opengl oss sdl win32codecs xv -a52 -aac -aalib -alsa -arts -debug -directfb -dts -dxr3 -esd -fbcon -ffmpeg -flac -gnome -imagemagick -ipv6 -libcaca -mng -modplug -nls -samba -speex -theora -v4l -vcd -vidix -vorbis -xinerama -xvmc" VIDEO_CARDS="nvidia -i810 -via" basically my SigmaTel C-Major works much better with oss (emulation from the alsa driver.) i disabled alsa, ffmpeg, esd and enabled mad useflags. this resulted in expected operation of xine.