Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420601 - media-video/mplayer-1.1 fails to play all video and most audio
Summary: media-video/mplayer-1.1 fails to play all video and most audio
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal critical (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-10 23:25 UTC by Stuart W. Finlayson
Modified: 2012-06-12 00:33 UTC (History)
6 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 Stuart W. Finlayson 2012-06-10 23:25:00 UTC
I have tried playing various container types (avi, mkv, and mp4) with various encodings (divx, xvid, h264, ogg, au) and all have failed with the same error message:

$ mplayer /tmp/test.mkv 
MPlayer 1.1-4.5.3 (C) 2000-2012 MPlayer Team

Playing /tmp/test.mkv.
libavformat version 53.32.100 (external)
Mismatching header version 54.6.101
libavformat file format detected.


MPlayer interrupted by signal 11 in module: demux_open
- 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.

It should be noted that this problem, for some reason, does not extend to mp3 files--they seem to play just fine.

Here's my emerge --info:

Portage 2.1.10.49 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r3, 3.2.12-gentoo x86_64)
=================================================================
System uname: Linux-3.2.12-gentoo-x86_64-Intel-R-_Core-TM-2_CPU_6700_@_2.66GHz-with-gentoo-2.1
Timestamp of tree: Sun, 10 Jun 2012 18:15:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r1, 3.2.3
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.mirrors.pair.com/ http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.mirrors.tds.net/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac alsa amd64 amr apng bash-completion berkdb bzip2 cairo cli corefonts cracklib crypt curl cxx dbus dri dvd encode fam ffmpeg flac fortran gdbm gif gnutls gpm iconv ieee1394 imlib ipv6 jpeg kde kipi lame mad matroska mmx mmxext mng modules mp3 mudflap multilib ncurses nls nptl ogg opengl openmp pam pcap pcre png policykit ppds pppd python qt3support qt4 readline rtc sdl semantic-desktop session smi smp spell srt sse sse2 sse3 ssl ssse3 symlink tcpd threads truetype unicode usb vdpau vim-with-x vorbis x264 xcomposite xmp xorg xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm armeb i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="dummy fbdev nvidia vesa vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Comment 1 Michael Weber (RETIRED) gentoo-dev 2012-06-11 07:53:59 UTC
Can you please provide the output of `emerge -pv media-video/mplayer` and
run revdeapp-rebuild (from portage/gentoolkit). Thanks
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2012-06-11 08:29:17 UTC
I can confirm this problem. revdep-rebuild doesn't show anything being broken.


# emerge -qpv mplayer
[ebuild   R   ] media-video/mplayer-1.1  USE="3dnow 3dnowext X a52 -aalib alsa (-altivec) (-aqua) ass -bidi -bindist -bl -bluray -bs2b -cddb cdio -cdparanoia -cpudetection -debug -dga -directfb -doc dts dv -dvb dvd dvdnav -dxr3 enca encode -faac faad -fbcon ftp -ggi gif -gsm iconv -ipv6 -jack -joystick jpeg jpeg2k -ladspa -libcaca -libmpeg2 -lirc live -lzo mad -md5sum mmx mmxext mng mp3 -nas network -nut -openal opengl osdmenu -oss png -pnm -pulseaudio -pvr quicktime -radio rar real rtc rtmp -samba sdl shm speex sse sse2 -ssse3 -tga theora toolame tremor truetype twolame unicode -v4l -vdpau (-vidix) vorbis (-win32codecs) x264 -xanim xinerama xscreensaver xv xvid xvmc -zoran" VIDEO_CARDS="-mga -s3virge -tdfx"
Comment 3 Sven 2012-06-11 10:41:54 UTC
(In reply to comment #0)
> libavformat version 53.32.100 (external)
> Mismatching header version 54.6.101

Same problem here. This could be a clue.
Comment 4 octoploid 2012-06-11 11:25:14 UTC
(In reply to comment #3)
> (In reply to comment #0)
> > libavformat version 53.32.100 (external)
> > Mismatching header version 54.6.101
> 
> Same problem here. This could be a clue.

Yes. From gdb:
...
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff60b012f in av_dict_get () from /usr/lib/libavutil.so.51
Comment 5 octoploid 2012-06-11 11:46:14 UTC
It looks like mplayer-1.1 needs the masked ffmpeg-0.11.1.ebuild.
With ffmpeg-0.11.1 unmasked mplayer no longer crashes.
Comment 6 Sven 2012-06-11 11:59:08 UTC
(In reply to comment #5)
> It looks like mplayer-1.1 needs the masked ffmpeg-0.11.1.ebuild.
> With ffmpeg-0.11.1 unmasked mplayer no longer crashes.

So the dependency needs fixing. Dear maintainer, please change
>=media-video/ffmpeg-0.10.3
into
>=media-video/ffmpeg-0.11.1
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2012-06-11 12:16:33 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > It looks like mplayer-1.1 needs the masked ffmpeg-0.11.1.ebuild.
> > With ffmpeg-0.11.1 unmasked mplayer no longer crashes.
> 
> So the dependency needs fixing. Dear maintainer, please change
> >=media-video/ffmpeg-0.10.3
> into
> >=media-video/ffmpeg-0.11.1

Which would require masking >=mplayer-1.1 as long as >=ffmpeg-0.11 is masked as well.
Comment 8 Alexis Ballier gentoo-dev 2012-06-11 12:49:09 UTC
should be fixed in 1.1-r1, thanks for reporting
Comment 9 John J. Aylward 2012-06-11 23:23:00 UTC
I just did an emerge --sync but the -r1 depends still shows >=media-video/ffmpeg-0.10.3

what was the fix for this?
Comment 10 Stuart W. Finlayson 2012-06-12 00:33:32 UTC
According to the ChangeLog, it was being built with the ffmpeg headers bundled in the mplayer tarball and now it is using the ones installed by media-video/ffmpeg.  It appears the changes were made to files/dump_ffmpeg.sh and by the addition of a patch (files/mplayer-1.1-ffmpeg.patch), not the content of the ebuild.