Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85859 - compiling ffmpeg with pic use flag causes xine-lib to crash on asf/wmv files
Summary: compiling ffmpeg with pic use flag causes xine-lib to crash on asf/wmv files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-18 22:53 UTC by Tom Kiermaier
Modified: 2005-04-19 08:47 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Kiermaier 2005-03-18 22:53:40 UTC
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
Comment 1 Chris White (RETIRED) gentoo-dev 2005-03-19 18:54:14 UTC
try ffmpeg-0.4.9_p20050226-r2 please.
Comment 2 Tom Kiermaier 2005-03-20 10:17:52 UTC
Tried r2 and it has the same problem. 
Comment 3 Chris White (RETIRED) gentoo-dev 2005-03-26 22:57:09 UTC
Do you have a backtrace for this?
Comment 4 Tom Kiermaier 2005-03-27 08:04:55 UTC
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. 
Comment 5 Chris White (RETIRED) gentoo-dev 2005-03-31 13:35:33 UTC
Try the latest xine-lib again.  I had a problematic mmx pic patch that's been removed.  It will (hopefully) solve the issue.
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-04-18 17:26:43 UTC
Neither xine-lib nor ffmpeg has pic useflag in latest ebuilds, this should be closed now, i think.

Can you confirm this?
Comment 7 Tom Kiermaier 2005-04-19 08:47:33 UTC
The latest ffmpeg seems to have fixed the problem.