When emerging xine-lib with ffmpeg use flag and ffmpeg with pic use flag, any media player that uses xine-lib to crash on playing wmv/asf files. Using ffmpeg-0.4.9_p20050226-r1 and xine-lib-1.0. I recompiled ffmpeg with -pic and it no longer crashed. Reproducible: Always Steps to Reproduce: 1. try playing any wmv file in xine-ui, kaffeine or any other xine based player 2. watch as it crashes 3. Actual Results: crash Expected Results: not crash raptor ~ # emerge info Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r4 i686) ================================================================= System uname: 2.6.11-gentoo-r4 i686 AMD Athlon(TM) XP 2600+ Gentoo Base System version 1.6.10 Python: dev-lang/python-2.2.3-r5,dev-lang/python-2.3.5 [2.3.5 (#1, Feb 17 2005, 15:40:43)] dev-lang/python: 2.2.3-r5, 2.3.5 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.5 sys-devel/binutils: 2.15.92.0.2-r6 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse -fprefetch-loop-arrays" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse -fprefetch-loop-arrays" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks prelink sandbox sfperms" GENTOO_MIRRORS="http://gentoo.seren.com/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo/ http://gentoo.oregonstate.edu http://gentoo.binarycompass.org/ http://gentoo.netnitco.net/ http://gentoo.mirrors.pair.com/" 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 3dnow X aac aalib acpi alsa apm arts artswrappersuid audiofile avi berkdb bidi bindist bitmap-fonts cdparanoia cdr crypt cups curl dba dbus dvd emboss encode esd faad fam ffmpeg flac font-server foomaticdb fortran freetype gd gd-external gdbm gif gimpprint gpm gstreamer gtk gtk2 hal imagemagick imlib java jpeg junit kde libcaca libg++ libvisual libwww live lm_sensors mad matroska mikmod mmx motif mozilla moznocompose moznoirc mp3 mpeg mysql nas ncurses nls no_wxgtk1 nptl nptlonly nvidia offensive ogg oggvorbis opengl oss pam pda pdflib perl pic png pwdb python qt quicktime rdesktop readline real samba sdl slang smime speex spell sse ssl stream svga tcltk tcpd theora tiff truetype truetype-fonts type1-fonts unicode vcd vorbis winbind wxwindows xine xml xml2 xmms xprint xscreensaver xv xvid zeroconf zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
try ffmpeg-0.4.9_p20050226-r2 please.
Tried r2 and it has the same problem.
Do you have a backtrace for this?
Unfortunately I don't (mine would be useless) but the only way I can get -r2 working is to comment out the libdir-pic patch in the ebuild.
Try the latest xine-lib again. I had a problematic mmx pic patch that's been removed. It will (hopefully) solve the issue.
Neither xine-lib nor ffmpeg has pic useflag in latest ebuilds, this should be closed now, i think. Can you confirm this?
The latest ffmpeg seems to have fixed the problem.