[MPlayer-users] DTS audio causing crash

Josh joshf87 at live.com
Sat Oct 13 05:56:51 CEST 2012


When playing files with DTS audio, MPlayer crashes with signal 11 
init_audio_codecs. Others like AAC, AC-3 etc play fime. This may have 
been a result of FFmpeg e88ca80dc325a0291c64e1dd3245c4943397cfa3 but I 
had compiled FFmpeg by itself and doesn't crash playing it through 
FFmpeg. I compiled a debug version but the 'disass' command suggested by 
the mplayer website didn't work (incorrect syntax) so I don't know how 
useful it is going to be.

I uploaded a 5MB sample to the mplayer ftp by the name of 
'H264_DTS_sig11_initaudiocodecs.mkv'. MPlayer r35243 / FFmpeg 
5a75924dfd432c0ada79a9f489889dc92d53b481 / MinGW GCC 4.6.2 on Windows

MPlayer Redxii-SVN-r35243-4.6.2 (C) 2000-2012 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 13
CPU: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz (Family: 6, Model: 42, 
Stepping: 7)
extended cpuid-level: 8
extended cache-info: 16801856
Detected cache-line size is 64 bytes
Testing OS support for SSE... yes.
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
Compiled with runtime CPU detection.
Setting PATH to E:\Buildsys\release\releases\mplayer-svn-35243\codecs
get_path('codecs.conf') -> 
'E:/Buildsys/release/releases/mplayer-svn-35243/mplayer/codecs.conf'
Reading optional codecs config file 
E:/Buildsys/release/releases/mplayer-svn-35243/mplayer/codecs.conf: 199 
audio & 413 video codecs
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> 
'E:/Buildsys/release/releases/mplayer-svn-35243/mplayer/fonts'
Configuration: 
--extra-cflags=-I/E/Buildsys/MinGW/msys/home/Joshua/live-10.04.2012 
--prefix=e:/buildsys/release/mplayer-dev-r35243 --enable-static 
--enable-runtime-cpudetection --disable-mp3lib 
--disable-libmpeg2-internal --disable-mng --disable-libopencore_amrnb 
--disable-libopencore_amrwb --disable-tv --disable-vidix --disable-faac-lavc
CommandLine: '-vo' 'direct3d' '-v' 
'J:\TV\Anime\Paprika\[B-G]_Paprika.BRD(x264_720p.DTS_5.1)_[93CA247E].mkv'
Using Windows native timing
get_path('input.conf') -> 
'E:/Buildsys/release/releases/mplayer-svn-35243/mplayer/input.conf'
Parsing input config file 
E:/Buildsys/release/releases/mplayer-svn-35243/mplayer/input.conf
Input config file 
E:/Buildsys/release/releases/mplayer-svn-35243/mplayer/input.conf 
parsed: 92 binds
get_path('[B-G]_Paprika.BRD(x264_720p.DTS_5.1)_[93CA247E].mkv.conf') -> 
'E:/Buildsys/release/releases/mplayer-svn-35243/mplayer/[B-G]_Paprika.BRD(x264_720p.DTS_5.1)_[93CA247E].mkv.conf'

Playing 
J:\TV\Anime\Paprika\[B-G]_Paprika.BRD(x264_720p.DTS_5.1)_[93CA247E].mkv.
get_path('sub/') -> 
'E:/Buildsys/release/releases/mplayer-svn-35243/mplayer/sub/'
WINSOCK2 init: 0
WINSOCK2 init: 0
[file] File size is 1537271522 bytes
STREAM: [file] 
J:\TV\Anime\Paprika\[B-G]_Paprika.BRD(x264_720p.DTS_5.1)_[93CA247E].mkv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
libavformat version 54.32.100 (internal)
Configuration: --enable-gpl --enable-postproc
LAVF_check: Matroska / WebM
libavformat file format detected.
st:0 removing common factor 1000000 from timebase
st:1 removing common factor 1000000 from timebase
st:2 removing common factor 1000000 from timebase
[matroska,webm @ 012ba940]File position before 
avformat_find_stream_info() is 83911
[h264 @ 012e1140]Using externally provided dimensions
[h264 @ 012e1140]no picture
[dca @ 012e1140]Stream with high frequencies VQ coding
[matroska,webm @ 012ba940]All info found
[matroska,webm @ 012ba940]File position after 
avformat_find_stream_info() is 276338
==> Found video stream: 0
======= VIDEO Format ======
   biSize 80
   biWidth 1280
   biHeight 688
   biPlanes 0
   biBitCount 0
   biCompression 875967048='H264'
   biSizeImage 0
Unknown extra header dump: [1] [64] [0] [33] [ff] [e1] [0] [19] [67] 
[64] [0] [33] [ac] [34] [e1] [10] [14] [1] [5e] [84] [0] [6] [5d] [3c] 
[1] [31] [2d] [2] [3c] [60] [c6] [11] [80] [1] [0] [4] [68] [ee] [bc] [b0]
===========================
[lavf] stream 0: video (h264), -vid 0, 720p x264 R2
==> Found audio stream: 1
======= WAVE Format =======
Format Tag: 8193 (0x2001)
Channels: 6
Samplerate: 48000
avg byte/sec: 96000
Block align: 1
bits/sample: 0
cbSize: 0
==========================================================================
[lavf] stream 1: audio (dca), -aid 0, -alang jpn, 5.1 DTS
[lavf] stream 2: subtitle (ass), -sid 0, -slang eng, Styled Subtitles
LAVF: 1 audio and 1 video streams found
LAVF: build 3547236
VIDEO:  [H264]  1280x688  0bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:44  fourcc:0x34363248  size:1280x688  fps:23.976 ftime:=0.0417
Clip info:
  creation_time: 2007-06-11 19:17:21
Load subtitles in J:\TV\Anime\Paprika\
get_path('sub/') -> 
'E:/Buildsys/release/releases/mplayer-svn-35243/mplayer/sub/'
<vo_direct3d>Setting backbuffer dimensions to (1680x1050).
<vo_direct3d>device_caps_power2_only 0, device_caps_square_only 0
<vo_direct3d>device_texture_sys 0
<vo_direct3d>max_texture_width 8192, max_texture_height 8192
vo: win32: running at 1680x1050 with depth 32
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.65.100 (internal)
Configuration: --enable-gpl --enable-postproc
INFO: libavcodec init OK!
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 1536000 + 131072 = 1667072 bytes for output buffer.
FFmpeg's libavcodec audio codec
INFO: libavcodec "dca" init OK!
[dca @ 012e1140]Stream with high frequencies VQ coding



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.

---------------------------------------------------------------------------


(gdb) bt
#0  synth_filter_float (imdct=0x106873e4, synth_buf_ptr=0x10645f40, 
synth_buf_offset=0x10649ac0,
     synth_buf2=0x10649740, window=0x116f960, out=0x0, in=0x10649ae0, 
scale=7.62939453e-006)
     at libavcodec/synth_filter.c:51
#1  0x00850383 in qmf_32_subbands (samples_out=0x0, 
samples_in=<optimized out>, chans=0, s=0x1063fec0,
     scale=<optimized out>) at libavcodec/dcadec.c:1128
#2  dca_filter_channels (block_index=0, s=0x1063fec0) at 
libavcodec/dcadec.c:1441
#3  dca_decode_frame (avctx=0x1063fae0, data=0x106876c0, 
got_frame_ptr=0x28ec88, avpkt=0x28eb60)
     at libavcodec/dcadec.c:2350
#4  0x00661476 in avcodec_decode_audio4 (avctx=0x1063fae0, 
frame=0x106876c0, got_frame_ptr=0x28ec88, avpkt=0x28ec30)
     at libavcodec/utils.c:1693
#5  0x00525c1f in decode_audio (sh_audio=0x105bb340, buf=0x13840040 "", 
minlen=1, maxlen=1667072)
     at libmpcodecs/ad_ffmpeg.c:291
#6  0x005263b6 in init (sh_audio=0x105bb340) at libmpcodecs/ad_ffmpeg.c:163
#7  0x00451bec in init_audio_codec (sh_audio=0x105bb340) at 
libmpcodecs/dec_audio.c:107
#8  init_audio (sh_audio=<optimized out>, codecname=0x0, afm=0x0, 
status=1, selected=0x28edec)
     at libmpcodecs/dec_audio.c:229
#9  0x00451fea in init_best_audio_codec (sh_audio=0x105bb340, 
audio_codec_list=0x28ede8, audio_fm_list=0x0)
     at libmpcodecs/dec_audio.c:282
#10 0x0040c8a5 in reinit_audio_chain () at mplayer.c:1660
#11 0x00f2a2be in main (argc=3, argv=0x32fe8) at mplayer.c:3634

(gdb) info all-registers
eax            0x10     16
ecx            0x10645f44       275013444
edx            0x0      0
ebx            0xd      13
esp            0x28e9c0 0x28e9c0
ebp            0x1f     0x1f
esi            0x10645f78       275013496
edi            0x10649740       275027776
eip            0x99a8ba 0x99a8ba <synth_filter_float+378>
eflags         0x210206 [ PF IF RF ID ]
cs             0x23     35
ss             0x2b     43
ds             0x2b     43
es             0x2b     43
fs             0x53     83
gs             0x2b     43
st0            0        (raw 0x00000000000000000000)
st1            0        (raw 0x00000000000000000000)
st2            0        (raw 0x00000000000000000000)
st3            0        (raw 0x00000000000000000000)
st4            7.62939453125e-006       (raw 0x3fee8000000000000000)
st5            -nan(0x150a1e500ec)      (raw 0xffff00000150a1e500ec)
st6            -nan(0x400000009)        (raw 0xffff0000000400000009)
st7            0        (raw 0x00000000000000000000)
fctrl          0x37f    895
fstat          0x1820   6176
ftag           0x157f   5503
fiseg          0x23     35
fioff          0x99a8a3 10070179
foseg          0x2b     43
fooff          0x106466bc       275015356
fop            0x0      0
xmm0           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
     0x0, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80}, v8_int16 = 
{0x0, 0x0, 0x0, 0x8000, 0x0, 0x0, 0x0, 0x8000},
   v4_int32 = {0x0, 0x80000000, 0x0, 0x80000000}, v2_int64 = 
{0x8000000000000000, 0x8000000000000000},
   uint128 = 0x80000000000000008000000000000000}
xmm1           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
v16_int8 = {0x0, 0x0, 0x0, 0x80, 0x0, 0x0,
     0x0, 0x80, 0x0, 0x0, 0x0, 0x80, 0x0, 0x0, 0x0, 0x80}, v8_int16 = 
{0x0, 0x8000, 0x0, 0x8000, 0x0, 0x8000, 0x0,
     0x8000}, v4_int32 = {0x80000000, 0x80000000, 0x80000000, 
0x80000000}, v2_int64 = {0x8000000080000000,
     0x8000000080000000}, uint128 = 0x80000000800000008000000080000000}
xmm2           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
     0x0, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80}, v8_int16 = 
{0x0, 0x0, 0x0, 0x8000, 0x0, 0x0, 0x0, 0x8000},
   v4_int32 = {0x0, 0x80000000, 0x0, 0x80000000}, v2_int64 = 
{0x8000000000000000, 0x8000000000000000},
   uint128 = 0x80000000000000008000000000000000}
xmm3           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
v16_int8 = {0x0 <repeats 16 times>},
   v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 
0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
   uint128 = 0x00000000000000000000000000000000}
xmm4           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
     0x0, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80}, v8_int16 = 
{0x0, 0x0, 0x0, 0x8000, 0x0, 0x0, 0x0, 0x8000},
   v4_int32 = {0x0, 0x80000000, 0x0, 0x80000000}, v2_int64 = 
{0x8000000000000000, 0x8000000000000000},
   uint128 = 0x80000000000000008000000000000000}
xmm5           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
v16_int8 = {0x0, 0x0, 0x0, 0x80, 0x0, 0x0,
     0x0, 0x80, 0x0, 0x0, 0x0, 0x80, 0x0, 0x0, 0x0, 0x80}, v8_int16 = 
{0x0, 0x8000, 0x0, 0x8000, 0x0, 0x8000, 0x0,
     0x8000}, v4_int32 = {0x80000000, 0x80000000, 0x80000000, 
0x80000000}, v2_int64 = {0x8000000080000000,
     0x8000000080000000}, uint128 = 0x80000000800000008000000080000000}
xmm6           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
     0x0, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80}, v8_int16 = 
{0x0, 0x0, 0x0, 0x8000, 0x0, 0x0, 0x0, 0x8000},
   v4_int32 = {0x0, 0x80000000, 0x0, 0x80000000}, v2_int64 = 
{0x8000000000000000, 0x8000000000000000},
   uint128 = 0x80000000000000008000000000000000}
xmm7           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
v16_int8 = {0x0, 0x0, 0x0, 0x80, 0x0, 0x0,
     0x0, 0x80, 0x0, 0x0, 0x0, 0x80, 0x0, 0x0, 0x0, 0x80}, v8_int16 = 
{0x0, 0x8000, 0x0, 0x8000, 0x0, 0x8000, 0x0,
     0x8000}, v4_int32 = {0x80000000, 0x80000000, 0x80000000, 
0x80000000}, v2_int64 = {0x8000000080000000,
     0x8000000080000000}, uint128 = 0x80000000800000008000000080000000}
mxcsr          0x1fa0   [ PE IM DM ZM OM UM PM ]
mm0            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 
0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0,
     0x0, 0x0, 0x0, 0x0}}
mm1            {uint64 = 0x8000000000000000, v2_int32 = {0x0, 
0x80000000}, v4_int16 = {0x0, 0x0, 0x0, 0x8000},
   v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80}}
mm2            {uint64 = 0x150a1e500ec, v2_int32 = {0xa1e500ec, 0x150}, 
v4_int16 = {0xec, 0xa1e5, 0x150, 0x0},
   v8_int8 = {0xec, 0x0, 0xe5, 0xa1, 0x50, 0x1, 0x0, 0x0}}
mm3            {uint64 = 0x400000009, v2_int32 = {0x9, 0x4}, v4_int16 = 
{0x9, 0x0, 0x4, 0x0}, v8_int8 = {0x9, 0x0,
     0x0, 0x0, 0x4, 0x0, 0x0, 0x0}}
mm4            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 
0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0,
     0x0, 0x0, 0x0, 0x0}}
mm5            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 
0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0,
     0x0, 0x0, 0x0, 0x0}}
mm6            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 
0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0,
     0x0, 0x0, 0x0, 0x0}}
mm7            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 
0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0,
     0x0, 0x0, 0x0, 0x0}}


More information about the MPlayer-users mailing list