Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 61902

Summary: Mplayer 1.0 Pre5 Crashing Due to "init_audio_codec"
Product: Gentoo Linux Reporter: Kevin Leong <zigen5>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kevin Leong 2004-08-27 02:26:16 UTC
Whenever I try to open up a file, I get this message:



Playing m-flo_loves_boa_-_the_love_bug_[viewsic_vbr6m-320k].mpg.
Cache fill:  0.00% (0 bytes)    MPEG-PS file format detected.
VIDEO:  MPEG2  720x480  (aspect 2)  29.970 fps  9800.0 kbps (1225.0 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done


MPlayer interrupted by signal 4 in module: init_audio_codec
- MPlayer crashed by an 'Illegal Instruction'.
  It usually happens when you run it on a CPU different than the one it was
  compiled/optimized for.
  Verify this!
- 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.


Reproducible: Always
Steps to Reproduce:
1.Open up a file in mplayer
2.
3.




Portage 2.0.50-r10 (2.6, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r1)
=================================================================
System uname: 2.6.8-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mtune=pentium4 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /media-1/glftpd/etc /usr/X11R6/lib/X11/xkb
/usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mtune=pentium4 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox sfperms"
GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo
http://gentoo.oregonstate.edu"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acpi aim alsa avi berkdb bonobo cjk crypt directfb divx4linux doc
dvd encode esd gdbm gif gnome gpm gstreamer gtk gtk2 imlib jpeg libg++ libwww
mad mikmod mmx motif mpeg ncurses nls nptl oggvorbis opengl pam pdflib perl png
python quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd truetype
x86 xml2 xmms xv xvid zlib"
Comment 1 Sig Lange 2004-08-27 09:30:36 UTC
Portage 2.0.50-r10 (default-x86-1.4, gcc-3.3.3, glibc-2.3.4.20040808-r0, 2.6.5)
=================================================================
System uname: 2.6.5 i686 Intel(R) XEON(TM) CPU 2.20GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i686 -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/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /                                                            usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bin                                                            d /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo                                                             ftp://mirrors.tds.net/gentoo ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source                                                            /"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apache2 apm arts avi berkdb bonobo cdr crypt cups direct                                                            fb dvd encode esd foomaticdb gd gdbm gif gimp gimpprint gnome gpm gtk gtk2 gtkht                                                            ml guile imap imlib java jpeg kde libg++ libwww mad mikmod mmx mmx2 motif mozill                                                            a mpeg mysql nas ncurses nls oggvorbis opengl oss pam pdflib perl png postgres p                                                            ython qt quicktime readline ruby samba sdl slang spell sse ssl svga tcpd tiff tr                                                            uetype x86 xml2 xmms xv zlib"

* removed --enable-3dnow --disable-3dnowex --enable-sse --disable-sse2 --disable-mmx --disable-mmx2 --enable-3dnow  from ${myconf} and that resolved the issue.

basically the ebuild works if you enable USE="mmx mmx2"



Comment 2 Chris White (RETIRED) gentoo-dev 2004-08-27 17:35:55 UTC
See comment 9 of the bug that this is a duplicate of.

*** This bug has been marked as a duplicate of 60839 ***