Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69829 - Mplayer crashes when playing WMV files
Summary: Mplayer crashes when playing 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: Chris White (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-02 05:33 UTC by fabio oliveira
Modified: 2006-09-15 01:52 UTC (History)
2 users (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 fabio oliveira 2004-11-02 05:33:49 UTC
Recently, after some updates of emerge world, my mplayer started to crash when playing WMV files. Tried to re-emerge, to no avail

Reproducible: Always
Steps to Reproduce:
1.Use mplayer to play WMV files

Actual Results:  
I get this error:

Playing Desktop/myst.wmv.
Cache fill:  0,00% (0 bytes)    ASF file format detected.
VIDEO:  [WMV2]  480x320  24bpp
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders


MPlayer interrupted by signal 11 in module: init_audio_codec
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.


Expected Results:  
Watch the movie...

mplayer -> 1.0_pre5-r4
gcc -> 3.4.2-r3

Portage 2.0.51-r2 (default-x86-2004.0, gcc-3.4.2, glibc-2.3.4.20041021-r0,
2.6.8-gentoo-r10 i686)
=================================================================
System uname: 2.6.8-gentoo-r10 i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.5.3
distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -Os -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.gentoo-pt.org/pub/gentoo
ftp://ftp.rnl.ist.utl.pt/gentoo/ http://darkstar.ist.utl.pt/gentoo/
http://gentoo.felisberto.net/ http://ftp.dei.uc.pt/pub/Linux/gentoo
http://darkstar.ist.utl.pt/gentoo/ http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://mitra/gentoo-portage"
USE="3dnow 3dnowx X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dga
directfb divx4linux dvd dvdread encode esd ethereal f77 foomaticdb gdbm gif
gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod mmx mmx2 motif
mozilla mpeg msn ncurses nls nvidia oggvorbis opengl oss pam pdflib perl png
ppds python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd
tga truetype usb videos x86 xml2 xmms xosd xv xvid zlib"
Comment 1 Chris White (RETIRED) gentoo-dev 2004-11-05 17:19:05 UTC
It may be win32codecs.  I'd emerge sync and make sure the latest win32codecs
( 20040916-r1 I believe ) are installed.  Once that's done I'd re-emerge
MPlayer for good measure.  Let me know if there's still issues.
Comment 2 Chris White (RETIRED) gentoo-dev 2004-11-08 22:50:13 UTC
Played a .wmv file just now just fine.  Assuming the problem is fixed so I'm
closing the bug.
Comment 3 Peter Borgmann 2006-09-15 01:52:02 UTC
(In reply to comment #1)
> It may be win32codecs.

With mplayer-1.0_pre8-r1 using win32codecs-20060611 (all compiled with win32codecs USE-flag of course) I got a signal 11 as well, also only when playing *.wmv files, other video formats worked fine (strange enough since wmv seems to be a container, not a format of its own).
Eventually I found that the 'cpudetection' USE-flag was causing this error (doublechecked, I'm sure). Compiling mplayer with cpudetection off solved this problem which maybe a CPU-dependant error: 1Ghz Athlon T-bird.