[MPlayer-users] Crash in init_audio_codec with some files under Mac OS X since r27940

Martin Bor mcbor.mpl at xs4all.nl
Thu Nov 20 23:11:19 CET 2008


Hi,

I recently noticed that some files that used to play fine now crashed  
the latest SVN versions of mplayer under Mac OS X. The error message I  
get is "MPlayer interrupted by signal 11 in module: init_audio_codec".  
The crash usually happens with .mkv's with a Vorbis or DTS audio track  
or .wmv's. I uploaded a 1 MB sample (COLORS.mkv) to ftp://upload.mplayerhq.hu/MPlayer/incoming/ 
  The full mplayer output is attached as output_mkv.txt and  
output_wmv.txt

I tried to compile mplayer with --enable-debug=3, which unfortunately  
resulted in a compile error in i386/cavsdsp_mmx.c (can't find a  
register in class 'GENERAL_REGS' while reloading 'asm'). So I added - 
g3 to the CFLAGS, OPTFLAGS and CXXFLAGS in config.mak. Running mplayer  
with gdb didn't reveal much, but the output is attached as mplayer.gdb

Checking out and compiling several revisions from Subversion, I found  
out that problem started with r27940, which added Yasm support to the  
build system. When I compiled r27940 and r27969 without Yasm, mplayer  
didn't crash anymore.

When I compared the Makefile of x264 (which also uses yasm) and  
mplayer, I noticed that the flags for Yasm differed. x264 uses "-f  
macho", while mplayer uses "-f macho32". When I changed this in  
configure and recompiled, mplayer didn't crash anymore. I attached the  
svn diff as configure.patch

So, while changing the configure worked for me, I don't really know if  
this a solution to the problem, considering what vmrsss wrote in http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2008-November/058948.html 
.

I hope that this is enough information. If there are any question I'll  
be more than happy to answer them. Below is an overview of my system.

Kind regards,
Martin
--

System Information
------------------

OS: Mac OS X 10.5.5 (9F2114)

$ uname -a
Darwin amaterasu.local 9.5.1 Darwin Kernel Version 9.5.1: Fri Sep 19  
16:19:24 PDT 2008; root:xnu-1228.8.30~1/RELEASE_I386 i386

$ gcc -v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5488~2/src/configure --disable- 
checking -enable-werror --prefix=/usr --mandir=/share/man --enable- 
languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/ 
$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/ 
lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic -- 
host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5488)

$ ld -v
@(#)PROGRAM:ld  PROJECT:ld64-85.2.1

$ as -v
Apple Inc version cctools-698.1~1, GNU assembler version 1.38

$ yasm --version
yasm 0.7.2.2153
Compiled on Nov  6 2008.
Copyright (c) 2001-2008 Peter Johnson and other Yasm developers.
Run yasm --license for licensing overview and summary.

Hardware and drivers
--------------------
MacBook (late 2008)
CPU: Intel Core 2 Duo 2.4 GHz (P8600)
Video card: NVIDIA GeForce 9400M
Sound Card: Intel High Definition Audio (not further specified in  
System Profiler)

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: output_mkv.txt
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20081120/8da6e5bd/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: output_wmv.txt
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20081120/8da6e5bd/attachment-0001.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer.gdb
Type: application/octet-stream
Size: 11984 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20081120/8da6e5bd/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.patch
Type: application/octet-stream
Size: 404 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20081120/8da6e5bd/attachment-0001.obj>


More information about the MPlayer-users mailing list