I've updated a few packages (mplayer, mplayerbin, win32codecs and ffmpeg) and now mplayer-bin doesn't work anymore. Mplayer (the compiled one) works ok, but I use mplayer-bin for wmv files and when I start it I get this: ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 44100 Hz, 2 ch, s16le, 224.0 kbit/15.87% (ratio: 28000->176400) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== Loop: PANIC! Unmanaged case '1941045248' while handling negotiation. Error: Unmanaged case '1941045248' while handling negotiation. MPlayer interrupted by signal 11 in module: preinit_libvo - 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. I've tried it with several normal avi,mpg files too but I get the same thing. Is this a mplayer bug or is something wrong with the ebuild? # emerge --info Portage 2.1_pre7-r4 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r1 x86_64) ================================================================= System uname: 2.6.16-gentoo-r1 x86_64 AMD Sempron(tm) Processor 3100+ Gentoo Base System version 1.12.0_pre16 dev-lang/python: 2.3.5-r2, 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="" ANT_HOME="/usr/share/ant-core" ARCH="amd64" AUTOCLEAN="yes" BASH_ENV="/etc/spork/is/not/valid/profile.env" CBUILD="x86_64-pc-linux-gnu" CDEFINE_amd64="__x86_64__" CDEFINE_x86="__i386__" CFLAGS="-march=k8 -O2 -pipe" CFLAGS_x86="-m32 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib" CHOST="x86_64-pc-linux-gnu" CHOST_amd64="x86_64-pc-linux-gnu" CHOST_x86="i686-pc-linux-gnu" CLASSPATH="." CLEAN_DELAY="5" COLORTERM="" CONFIG_PROTECT="/etc /usr/NX/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.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d" CVS_RSH="ssh" CXXFLAGS="-march=k8 -O2 -pipe" DCCC_PATH="/usr/lib/distcc/bin" DEFAULT_ABI="amd64" DISPLAY=":0" DISTCC_LOG="" DISTCC_VERBOSE="0" DISTDIR="/usr/portage/distfiles" EDITOR="/bin/nano" ELIBC="glibc" EMERGE_WARNING_DELAY="10" FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict" FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}" FLTK_DOCDIR="/usr/share/doc/fltk-1.1.7/html" GCC_SPECS="" GDK_USE_XFT="1" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo" G_BROKEN_FILENAMES="1" HOME="/root" HOSTNAME="ecchi" INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.16.1/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.5/info" INPUT_DEVICES="evdev" JAVAC="/opt/blackdown-jdk-1.4.2.03/bin/javac" JAVA_HOME="/opt/blackdown-jdk-1.4.2.03" JDK_HOME="/opt/blackdown-jdk-1.4.2.03" KDEDIRS="/usr" KDE_NO_IPV6="1" KERNEL="linux" KONSOLE_DCOP="DCOPRef(konsole-3890,konsole)" KONSOLE_DCOP_SESSION="DCOPRef(konsole-3890,session-1)" LANG="en_US.UTF-8" LC_ALL="sl_SI.UTF-8" LDFLAGS_x86="-m elf_i386 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib" LESS="-R" LESSOPEN="|lesspipe.sh %s" LIBDIR_amd64="lib64" LIBDIR_x86="lib32" LINGUAS="en sl" LOGNAME="root" LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.xcf=01;35:*.pcx=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.avi=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.mov=01;35:*.qt=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.mp3=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36:*.ogg=00;36:*.flac=00;36:*.aac=00;36:" MAKEOPTS="-j2 -s" MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.16.1/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.5/man::/opt/blackdown-jdk-1.4.2.03/man:/usr/qt/3/doc/man:/opt/vmware/player/man" MOZILLA_FIVE_HOME="/usr/lib64/mozilla" MULTILIB_ABIS="x86 amd64" MULTILIB_STRICT_DENY="64-bit.*shared object" MULTILIB_STRICT_DIRS="/lib /usr/lib /usr/kde/*/lib /usr/qt/*/lib /usr/X11R6/lib" MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|eclipse-3|debug|portage)" OPENGL_PROFILE="nvidia" PAGER="/usr/bin/less" PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.5:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/kde/3.4/sbin:/usr/kde/3.4/bin:/usr/NX/bin:/opt/vmware/player/bin" PKGDIR="/usr/portage/packages" PORTAGE_ARCHLIST="ppc s390 amd64 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha ppc-macos hppa x86" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_CALLER="emerge" PORTAGE_GID="250" PORTAGE_INST_GID="0" PORTAGE_INST_UID="0" PORTAGE_MASTER_PID="3932" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_RSYNC_RETRIES="3" PORTAGE_TMPDIR="/var/tmp" PORTAGE_WORKDIR_MODE="0700" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" PORT_LOGDIR="/var/log/portage" PRELINK_PATH="" PRELINK_PATH_MASK="/usr/lib/gstreamer-0.10:/usr/lib/gstreamer-0.8" PWD="/root" PYTHONPATH="/usr/lib/portage/pym" QMAKESPEC="linux-g++" QTDIR="/usr/qt/3" RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}" RPMDIR="/usr/portage/rpm" SEARCH_DIRS_MASK="/opt/opera/lib/opera/plugins" SHELL="/bin/bash" SHLVL="2" SYMLINK_LIB="yes" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" TERM="xterm" USE="7zip X a52 aac aalib acpi alsa amd64 arts audiofile avi bash-completition bitmap-fonts bzip2 cdparanoia cdr cli crypt cups dbus divx divx4linux dri dts dv dvb dvd dvdr dvdread eds emboss emerge encode exif fame ffmpeg flac foomaticdb fortran gcc gif gpm gstreamer gtk2 gzip hal ieee1394 imlib ipv6 isdnlog java jpeg jpeg2k kde lhz logitech-mouse lzw lzw-tiff lzx matroska mng mp3 mpeg nas ncurses nls nvidia ogg oggvorbis opengl pam pcre pdf pdflib perl png pppd psd psp python qt quicktime rar readline reflection reiserfs sdl session spell spl ssl subtitles tar tcpd tga theora thumbnail tiff truetype truetype-fonts type1-fonts usb vcd vorbis wmf x264 xine xmms xpm xprint xv xvid xvmc zip zlib elibc_glibc input_devices_evdev kernel_linux linguas_en linguas_sl userland_GNU" USER="root" USERLAND="GNU" USE_EXPAND="DVB_CARDS ELIBC FCDSL_CARDS FRITZCAPI_CARDS INPUT_DEVICES KERNEL LINGUAS USERLAND VIDEO_CARDS" USE_EXPAND_HIDDEN="" USE_ORDER="env:pkg:conf:defaults" WINDOWID="60817415" XARGS="xargs -r" XAUTHORITY="/root/.xauthyG0eoB" XINITRC="/etc/X11/xinit/xinitrc" _="/usr/bin/emerge"
I forgot to put here the versions and use flags of the files: Calculating dependencies... done! [ebuild R ] media-video/mplayer-bin-1.0.20060415 USE="-lirc" 0 kB [ebuild R ] media-video/ffmpeg-0.4.9_p20060302 USE="a52 aac dts encode ieee1394 imlib ogg sdl theora truetype vorbis x264 xvid zlib -amr -debug -doc -network -oss -test -threads -v4l" 0 kB [ebuild R ] media-libs/win32codecs-20050412 USE="quicktime" 0 kB
did this file work before you upgraded? can you provide a link to a file that doesn't work? Does any file work with mplayer-bin?
Basically nothing works. It's strange that with some files (smaller files) it starts to play but after 1 second it crashes. All the files I've tried to play worked before I upgraded. I don't know what is this case 1941045248? example video: http://www.clickhere.gr/content/fun/skijump.wmv
(In reply to comment #3) > http://www.clickhere.gr/content/fun/skijump.wmv I just used wget to get that file, and mplayer-bin played it just fine, someone eating a bunch of snow ;) [ebuild R ] media-video/mplayer-bin-1.0.20060415 -lirc 0 kB [ebuild R ] media-video/ffmpeg-0.4.9_p20051216 -a52 +aac (-altivec) -debug -doc -dts +encode +ieee1394 +imlib (-mmx) +network +ogg +oss +sdl -test +theora +threads +truetype -v4l +vorbis +xvid +zlib 0 kB [ebuild R ] media-libs/win32codecs-20050412 +quicktime (-real)* 0 kB
I've just emerged mplayer in my 32bit chroot and there it works! It plays wmv files, but when I transferred that 32bit mplayer outside chroot it crashes the same as the mplayer-bin :( ok now I get Unmanaged case '203705481', but it's the same. I don't know what are these numbers. It seems like some other thing is wrong on my system but I don't know what is it.
I've downgraded to pre7-r3, that works. Thanks to tabanus that gave me the tip: http://forums.gentoo.org/viewtopic-p-3274618.html#3274618
As far as I know, nothing is wrong with mplayer-bin. The fact that your 32-bit chroot build worked fine inside but failed outside indicates to me a problem with your emul system. Try re-emerging all the emul-linux-x86 packages you have installed?
I've already tried that before posting the bug because I thought too that was the problem. Its probably some other thing on my system but I don't know what. Well the important thing for me is that the 1.0-pre7 works so I can play all the funny movies I get by email.
(In reply to comment #8) > I've already tried that before posting the bug because I thought too that was > the problem. Its probably some other thing on my system but I don't know what. > Well the important thing for me is that the 1.0-pre7 works so I can play all > the funny movies I get by email. 1.0-pre7 has a security hole. On my system, mplayer perfectly works with this previous version. But with the last version it stops and/or freezes when reading some wmv videos. After some testing, I realized that using alsa plugin with device default configuration (to be able to mix sounds from multiple apps)causes the bug. If you use ogg the video plays fine but it will interferes with others sounds apps. I think what causes the bugs is an incompatibility between the version of alsa plugin included in mplayer-bin and the version of alsa installed in my system (the one fron gentoo-sources 2.6.16-r7.
"If you use ogg the video plays fine..." I meant "oss"
Yes, but it's not mplayer-bin, it's emul-linux-x86-soundlibs. It needs to have it's alsa libs updated to match the stable alsa-lib/driver from portage (which is 1.0.11 now)
Note that mplayer-bin has never worked well with alsa playback, as the 32/64 bit transition code for alsa has not been good. I don't consider this a regression, as I've always had to use oss playback for mplayer-bin. It would be very nice if alsa worked, but I'm not holding my breath.
Which version of alsa is in soundlibs? if your alsa-lib and alsa-driver versions are not aligned, you _will_ have plenty of problems.
1.0.10 last I checked.
So the solution would be to upgrade emul-linux-x86-soundlibs or downgrade alsa-lib? I've tried using mplayer -ao oss, -ao pcm and -ao null and it crashes with each one of them.
I have 1.0.11 alsa-lib/driver which is the last stable for amd64. But, like Daniel Gryniewicz said, emul-linux-x86-soundlibs probably needs to have its 32bits alsa-libs updated to match the current driver. Or maybe, with settings it can works like doom3-demo with alsa. Is there a way to have a version alsa-updated of emul-linux-x86-soundlibs?
It's possible, although unlikely, that downgrading alsa would work. -ao alsa has never worked for me (it always resulted in bad sound and/or bad sync and/or hangs) and there have been several reports by other that this is also the case. Historically, alsa has had a broken 32-bit emulation layer in the kernel. Upgrading the alsa in soundlibs may help, if they've fixed the 32-bit emulation problems. It needs to be done regardless, now that 1.0.11 is stable on amd64. -ao oss has always worked fine for me, except for software mixing of course. Do you have alsa-oss installed (or, if you're using the in-kernel drivers, do you have oss emulation built for your kernel)?
Is it a good idea to open a bug for emul-linux-x86-soundlibs asking an update of alsa-libs?
> Do you have alsa-oss installed (or, if you're using the in-kernel drivers, do > you have oss emulation built for your kernel)? I have oss emulation built in my kernel. For me, mplayer -ao alsa worked fine before. I want to be able to mix sounds from various apps.
I've added emul-linux-x86-soundlibs-2.4. With it, -ao alsa appears to work fine.
Loop: PANIC! Unmanaged case '1941045248' while handling negotiation. Error: Unmanaged case '1941045248' while handling negotiation. MPlayer interrupted by signal 11 in module: preinit_libvo - 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. with: [ebuild R ] media-video/mplayer-bin-1.0.20060415 USE="-lirc" 0 kB [ebuild R ] app-emulation/emul-linux-x86-soundlibs-2.4 0 kB maybe I should recompile mplayer in the chroot with the --enable-debug, but I don't know how to use this gdb
Does this happen generally? Or only with specific media files? Does it work with mplayer (if it's not using win32codecs)? Do you have an x86 you could try with? Is it possible to post a file that causes the problem?
It happens for all the files I have, it's just that I didn't use mplayer-bin for files other than wmv, because I can watch other files with the normal mplayer (that is working). I've already posted a link to a file (comment #3). I don't know how can I find out what exactly is the problem. I don't know why can't it write something more useful than "Error: Unmanaged case '1941045248' while handling negotiation."...
(In reply to comment #20) > I've added emul-linux-x86-soundlibs-2.4. With it, -ao alsa appears to work > fine. > Thanks!! I've emerged emul-linux-x86-soundlibs-2.4 and now my mplayer-bin -ao alsa works fine.
Anyone know what does this mean: ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8005->176400) Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg)) ========================================================================== Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 9582)] 0xf74aa1f9 in NXTransPrepare () from /usr/NX/lib/libXcomp.so.1 (gdb) bt #0 0xf74aa1f9 in NXTransPrepare () from /usr/NX/lib/libXcomp.so.1 #1 0xf7946c4a in _XSelect () from /usr/NX/lib/libX11.so.6 #2 0xf7946eb2 in _XSelect () from /usr/NX/lib/libX11.so.6 #3 0xf7947314 in _XRead () from /usr/NX/lib/libX11.so.6 #4 0xf79354f6 in XOpenDisplay () from /usr/NX/lib/libX11.so.6 #5 0x080a7a5e in vo_init () at x11_common.c:402 #6 0x080ad7b9 in preinit (arg=0x8be58955 <Address 0x8be58955 out of bounds>) at vo_xv.c:839 #7 0x080a3612 in init_best_video_out (vo_list=0x0) at video_out.c:307 #8 0x080781ca in main (argc=2, argv=0xffffccd4) at mplayer.c:3210
It means NX broke your emul-linux-x86-xlibs. There's another bug about that somewhere, but I'm not sure they found a solution. I don't use NX, so I don't personally care, so I haven't payed close attention to that bug.
(In reply to comment #26) > It means NX broke your emul-linux-x86-xlibs. There's another bug about that > somewhere, but I'm not sure they found a solution. I don't use NX, so I don't > personally care, so I haven't payed close attention to that bug. > I didn't find that other bug, but I've tried unemerging all the freenx packages and now mplayer-bin works! :)