When trying to play any wma file with the xmms-wma plugin, xmms closes with segmentation fault. Reproducible: Always Steps to Reproduce: 1. Add *.wma file to playlist 2. Play wma file Actual Results: Xmms closes with error in terminal window "Segmentation fault" Expected Results: Played the sound file Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6-3 i686) ================================================================= System uname: 2.6.10-gentoo-r6-3 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, 14:11:27)] ccache version 2.3 [enabled] 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-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" 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="-march=pentium4 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://mirrors.blueyonder.co.uk/mirrors/gentoo ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X aac aalib alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl directfb divx4linux dvd dvdr encode esd f77 fam flac font-server foomaticdb fortran gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg ldap libg++ libwww mad mikmod mng motif mpeg ncurses nls nptl nptlonly oggvorbis openal opengl oss pam pdflib perl pic png python qt quicktime readline samba sdl slang spell sse ssl svg svga tcltk tcpd tiff truetype truetype-fonts type1-fonts wmf xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
I used to get this too but only sometimes. I've just bumped the version up to 1.0.4 and it seems to be working fine now. The ffmpeg patch from the previous version still works so it's just a simple version bump that's needed. Just as well this got fixed, I use XMMS to DJ and I've got my biggest ever night on Saturday. All my Metallica songs are in WMA format and I plan to play a few of them! I haven't got the original CDs to hand at the moment.
Ah nuts. Spoke too soon.
Have you tried re-emerging xmms-wma? Some libraries may have changed, specifically ffmpeg, since the last compile.
I haven't tried re-emerging xms-wma. I downloaded the newest version of xmms-wma 1.0.4 (not yet available in portage) and much the same error occurred (but this time just loading a wma file would crash xmms - before I had to load and play one). I notice a new version of ffmpeg is available today, so I'll upgrade to it this afternoon and re-emerge xmms-wma.
Okay, upgraded ffmpeg and tried to re-emerge xmms-wma. Received the following error: xmms-wma.c: In function `wma_play_loop': xmms-wma.c:347: error: too few arguments to function `av_seek_frame' make[1]: *** [obj/xmms-wma.o] Error 1 make: *** [all] Error 2
In that case this is a dupe of bug #84583 - it's been fixed in CVS.
No, this is still a bug. Emerged xmms-wma-1.0.4 and is closes with a Segmentation fault when I try and play a wma file. Erlend
what version of ffmpeg do you have on your system? What happens when you 'ffplay <file>'?
ffmpeg version (with use flags): media-video/ffmpeg-0.4.9_p20050226-r4 -a52 +aac (-altivec) -debug -doc -dts +encode -ieee1394 +imlib +mmx -network +ogg +oss +sdl -threads +truetype -v4l +vorbis +xvid +zlib When I try and play a .wma file with ffmpeg, I get: "could not open codecs"
hmm... ok, this looks like an ffmpeg problem compounded by the fact that the xmms plugin doesn't have great error handling. So, could you try recompiling with CFLAGS='-O2 -march=pentium3 -fomit-frame-pointer -pipe'? That's what I used. Also, could you post the .wma somewhere so I can get it to test on my end. Thanks.
Same problem after recompiling ffmpeg and xmms-wma with -O2. Applies to any wma file.
Well please provide me one that you are using to trigger the bug. There may be a common traight among all your wma files (sample rate, bitrate, etc). Also, please provide a backtrace of the xmms crash
Closing due to lack of response.
Created attachment 58022 [details] Output of mplayer file.wma > working_wma For a wma file which plays in xmms-wma
Created attachment 58023 [details] Output of mplayer file2.wma > not_working_wma For a wma file which does not play with xmms-wma.
Created attachment 58024 [details] Output of mplayer file3.wma > not_working_wma2 For a wma file which does not play with xmms-wma
Okay, it isn't actually a problem with every wma... seems that if the wma file has tag info it breaks. I tried three files. Two of them don't play with xmms-wma, one of them does. All of the play fine with mplayer (so the ffmpeg codecs should be fine). I ran the command "mplayer [file].wma > outputfile" to look at the differences between the files. These are below. I've attached these files as working_wma, not_working_wma, and not_working_wma2. Erlend
Please test them with ffplay, not mplayer, and please provide me with a link to a wma file that causes the breakage.