[MPlayer-dev-eng] Balance keys crash ac3 playback

Ingo Brückl ib at wupperonline.de
Mon Mar 24 16:50:33 CET 2014


With plain MPlayer and an ac3 audio file, pressing the balance keys '(' or
')' results in a crash.

Ingo
-------------- next part --------------
MPlayer UNKNOWN-4.3.4 (C) 2000-2014 MPlayer Team

Spiele /media/cdrom/AC3/prologe.AC3.
libavformat version 55.19.104 (external)
libavformat-Dateiformat erkannt!
[ac3 @ 0xb796f220]Estimating duration from bitrate, this may be inaccurate
[lavf] stream 0: audio (ac3), -aid 0
Load subtitles in /media/cdrom/AC3/
==========================================================================
Erzwungener Audiocodec: hwac3
Öffne Audiodecoder: [hwac3] AC3/DTS pass-through S/PDIF
hwac3: switched to AC3, 448000 bps, 48000 Hz

AUDIO: 48000 Hz, 2 ch, ac3be, 448.0 kbit/29.17% (ratio: 56000->192000)
Ausgewählter Audiocodec: [hwac3] afm: hwac3 (AC3 through S/PDIF)
==========================================================================
[AO_ALSA] Format ac3be wird von der Hardware nicht unterstützt, versuche Standard.
AO: [alsa] 48000Hz 2ch ac3le (2 bytes per sample)
Video: kein Video
Starte Wiedergabe...
A:   1.1 (01.1) of 262.8 (04:22.7)  0.2%
[format] Sample format big-endian AC3 not yet supported
[Mixer] Keine Regelung für Balance verfügbar.
*** glibc detected *** /var/tmp/mp/mplayer: malloc(): memory corruption: 0xb80acd40 ***
======= Backtrace: =========
/lib/libc.so.6[0xb661e8bb]
/lib/libc.so.6[0xb6620ee8]
/lib/libc.so.6(__libc_malloc+0x96)[0xb6622b46]
/var/tmp/mp/mplayer[0xb7d45ccf]
/var/tmp/mp/mplayer[0xb7d4c287]
/var/tmp/mp/mplayer[0xb7d45961]
/var/tmp/mp/mplayer[0xb7d5a681]
/var/tmp/mp/mplayer[0xb7cf17a0]
/lib/libc.so.6(__libc_start_main+0xe5)[0xb65ca685]
/var/tmp/mp/mplayer[0xb7ce2f81]
======= Memory map: ========
b5b00000-b5b21000 rw-p b5b00000 00:00 0
b5b21000-b5c00000 ---p b5b21000 00:00 0
b5c1e000-b5c2a000 r-xp 00000000 03:41 90162      /usr/lib/libgcc_s.so.1
b5c2a000-b5c2b000 rw-p 0000b000 03:41 90162      /usr/lib/libgcc_s.so.1
b5c30000-b5c55000 rw-p b5c30000 00:00 0
b5c55000-b5c56000 r-xp 00000000 03:41 112413     /usr/lib/gconv/ISO8859-1.so
b5c56000-b5c57000 r--p 00000000 03:41 112413     /usr/lib/gconv/ISO8859-1.so
b5c57000-b5c58000 rw-p 00001000 03:41 112413     /usr/lib/gconv/ISO8859-1.so
b5c58000-b5c8f000 r--p 00000000 03:41 10128      /usr/share/locale/de/LC_CTYPE
b5c8f000-b5cf4000 rw-p b5c8f000 00:00 0
b5cf4000-b5cf5000 r-xp 00000000 03:41 90147      /usr/lib/libnvidia-tls.so.96.43.11
b5cf5000-b5cf6000 rw-p 00000000 03:41 90147      /usr/lib/libnvidia-tls.so.96.43.11
b5cf6000-b6543000 r-xp 00000000 03:41 68097      /usr/lib/libGLcore.so.96.43.11
b6543000-b6578000 rwxp 0084d000 03:41 68097      /usr/lib/libGLcore.so.96.43.11
b6578000-b657c000 rwxp b6578000 00:00 0
b657c000-b657e000 r-xp 00000000 03:41 105992     /usr/lib/libXau.so.6.0.0
b657e000-b657f000 rw-p 00001000 03:41 105992     /usr/lib/libXau.so.6.0.0
b657f000-b6583000 r-xp 00000000 03:41 93723      /usr/lib/libXdmcp.so.6.0.0
b6583000-b6584000 rw-p 00003000 03:41 93723      /usr/lib/libXdmcp.so.6.0.0
b6584000-b6585000 rw-p b6584000 00:00 0
b6585000-b65a9000 r-xp 00000000 03:41 90172      /usr/lib/libexpat.so.1.5.2
b65a9000-b65ab000 rw-p 00023000 03:41 90172      /usr/lib/libexpat.so.1.5.2
b65ab000-b65b2000 r-xp 00000000 03:41 132846     /lib/librt-2.9.so
b65b2000-b65b3000 r--p 00006000 03:41 132846     /lib/librt-2.9.so
b65b3000-b65b4000 rw-p 00007000 03:41 132846     /lib/librt-2.9.so
b65b4000-b66ee000 r-xp 00000000 03:41 19162      /lib/libc-2.9.so
b66ee000-b66ef000 ---p 0013a000 03:41 19162      /lib/libc-2.9.so
b66ef000-b66f1000 r--p 0013a000 03:41 19162      /lib/libc-2.9.so
b66f1000-b66f2000 rw-p 0013c000 03:41 19162      /lib/libc-2.9.so
b66f2000-b66f5000 rw-p b66f2000 00:00 0
b66f5000-b66fa000 r-xp 00000000 03:41 111706     /usr/lib/liblirc_client.so.0.2.1
b66fa000-b66fb000 rw-p 00004000 03:41 111706     /usr/lib/liblirc_client.so.0.2.1
b66fb000-b676b000 r-xp 00000000 03:41 68112      /usr/lib/libGL.so.96.43.11
b676b000-b6785000 rwxp 0006f000 03:41 68112      /usr/lib/libGL.so.96.43.11
b6785000-b6786000 rwxp b6785000 00:00 0
b6786000-b6787000 rw-p b6786000 00:00 0
b6787000-b6789000 r-xp 00000000 03:41 89861      /usr/lib/libXinerama.so.1.0.0
b6789000-b678a000 rw-p 00001000 03:41 89861      /usr/lib/libXinerama.so.1.0.0
b678a000-b678e000 r-xp 00000000 03:41 68103      /usr/lib/libXv.so.1.0.0
b678e000-b678f000 rw-p 00003000 03:41 68103      /usr/lib/libXv.so.1.0.0
b678f000-b68aa000 r-xp 00000000 03:41 122398     /usr/lib/libX11.so.6.2.0
b68aa000-b68ae000 rw-p 0011a000 03:41 122398     /usr/lib/libX11.so.6.2.0
b68ae000-b68bb000 r-xp 00000000 03:41 106040     /usr/lib/libXext.so.6.4.0
b68bb000-b68bc000 rw-p 0000d000 03:41 106040     /usr/lib/libXext.so.6.4.0
b68bc000-b68e0000 r-xp 00000000 03:41 19148      /lib/libm-2.9.so
b68e0000-b68e1000 r--p 00023000 03:41 19148      /lib/libm-2.9.so
b68e1000-b68e2000 rw-p 00024000 03:41 19148      /lib/libm-2.9.so
b68e2000-b691a000 r-xp 00000000 03:41 89904      /usr/lib/libpostproc.so.52.3.100
b691a000-b691b000 rw-p 00037000 03:41 89904      /usr/lib/libpostproc.so.52.3.100
b691b000-b691c000 rw-p b691b000 00:00 0
b691c000-b6966000 r-xp 00000000 03:41 90636      /usr/lib/libavutil.so.52.47.101
b6966000-b6967000 rw-p 00049000 03:41 90636      /usr/lib/libavutil.so.52.47.101
b6967000-b6977000 rw-p b6967000 00:00 0
b6977000-b71e3000 r-xp 00000000 03:41 89899      /usr/lib/libavcodec.so.55.38.101
b71e3000-b71f7000 rw-p 0086c000 03:41 89899      /usr/lib/libavcodec.so.55.38.101
b71f7000-b7801000 rw-p b71f7000 00:00 0
b7801000-b7981000 r-xp 00000000 03:41 89893      /usr/lib/libavformat.so.55.19.104
b7981000-b798b000 rw-p 0017f000 03:41 89893      /usr/lib/libavformat.so.55.19.104
b798b000-b79f4000 r-xp 00000000 03:41 89918      /usr/lib/libswscale.so.2.5.101
b79f4000-b79f5000 rw-p 00069000 03:41 89918      /usr/lib/libswscale.so.2.5.101
b79f5000-b79fd000 rw-p b79f5000 00:00 0
b79fd000-b7a0c000 r-xp 00000000 03:41 91661      /usr/lib/libbz2.so.1.0.6
b7a0c000-b7a0d000 rw-p 0000f000 03:41 91661      /usr/lib/libbz2.so.1.0.6
b7a0d000-b7a0e000 rw-p b7a0d000 00:00 0
b7a0e000-b7a38000 r-xp 00000000 03:41 122400     /usr/lib/libfontconfig.so.1.3.0
b7a38000-b7a39000 rw-p 0002a000 03:41 122400     /usr/lib/libfontconfig.so.1.3.0
b7a39000-b7aaa000 r-xp 00000000 03:41 93713      /usr/lib/libfreetype.so.6.3.20
b7aaa000-b7aae000 rw-p 00071000 03:41 93713      /usr/lib/libfreetype.so.6.3.20
b7aae000-b7ab5000 r-xp 00000000 03:41 89786      /usr/lib/libcdda_paranoia.so.0.10.2
b7ab5000-b7ab6000 rw-p 00006000 03:41 89786      /usr/lib/libcdda_paranoia.so.0.10.2
b7ab6000-b7ac4000 r-xp 00000000 03:41 89785      /usr/lib/libcdda_interface.so.0.10.2
b7ac4000-b7ac5000 rw-p 0000e000 03:41 89785      /usr/lib/libcdda_interface.so.0.10.2
b7ac5000-b7ad9000 r-xp 00000000 03:41 132844     /lib/libpthread-2.9.so
b7ad9000-b7ada000 r--p 00013000 03:41 132844     /lib/libpthread-2.9.so
b7ada000-b7adb000 rw-p 00014000 03:41 132844     /lib/libpthread-2.9.so
b7adb000-b7ade000 rw-p b7adb000 00:00 0
b7ade000-b7ae0000 r-xp 00000000 03:41 19165      /lib/libdl-2.9.so
b7ae0000-b7ae1000 r--p 00001000 03:41 19165      /lib/libdl-2.9.so
b7ae1000-b7ae2000 rw-p 00002000 03:41 19165      /lib/libdl-2.9.so
b7ae2000-b7b96000 r-xp 00000000 03:41 90123      /usr/lib/libasound.so.2.0.0
b7b96000-b7b9a000 rw-p 000b4000 03:41 90123      /usr/lib/libasound.so.2.0.0
b7b9a000-b7bb9000 r-xp 00000000 03:41 90639      /usr/lib/libjpeg.so.62.0.0
b7bb9000-b7bba000 rw-p 0001e000 03:41 90639      /usr/lib/libjpeg.so.62.0.0
b7bba000-b7bcf000 r-xp 00000000 03:41 46593      /usr/lib/libz.so.1.2.5
b7bcf000-b7bd0000 rw-p 00014000 03:41 46593      /usr/lib/libz.so.1.2.5
b7bd0000-b7bf2000 r-xp 00000000 03:41 91671      /usr/lib/libpng12.so.0.47.0
b7bf2000-b7bf3000 rw-p 00022000 03:41 91671      /usr/lib/libpng12.so.0.47.0
b7bf3000-b7c3c000 r-xp 00000000 03:41 122415     /usr/lib/libncursesw.so.5.7
b7c3c000-b7c3f000 rw-p 00049000 03:41 122415     /usr/lib/libncursesw.so.5.7
b7c3f000-b7c40000 rw-p b7c3f000 00:00 0
b7c40000-b7c41000 rw-s 81000000 00:0a 174        /dev/snd/pcmC0D2p
b7c41000-b7c42000 r--s 80000000 00:0a 174        /dev/snd/pcmC0D2p
b7c42000-b7c43000 rw-p b7c42000 00:00 0
b7c43000-b7c45000 rwxp 00000000 00:0a 433        /dev/zero
b7c45000-b7c46000 r-xp b7c45000 00:00 0          [vdso]
b7c46000-b7c62000 r-xp 00000000 03:41 19149      /lib/ld-2.9.so
b7c62000-b7c63000 r--p 0001b000 03:41 19149      /lib/ld-2.9.so
b7c63000-b7c64000 rw-p 0001c000 03:41 19149      /lib/ld-2.9.so
b7c64000-b8000000 r-xp 00000000 03:41 56750      /var/tmp/mp/mplayer
b8000000-b8006000 rw-p 0039b000 03:41 56750      /var/tmp/mp/mplayer
b8006000-b8127000 rw-p b8006000 00:00 0          [heap]
bffeb000-c0000000 rwxp bffeb000 00:00 0          [stack]

Program received signal SIGABRT, Aborted.
0xb7c45424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7c45424 in __kernel_vsyscall ()
#1  0xb65de4d0 in raise () from /lib/libc.so.6
#2  0xb65dfd96 in abort () from /lib/libc.so.6
#3  0xbfffda70 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) disass $pc-32,$pc+32
Dump of assembler code from 0xb7c45404 to 0xb7c45444:
   0xb7c45404 <__kernel_sigreturn+4>:   add    %al,(%eax)
   0xb7c45406 <__kernel_sigreturn+6>:   int    $0x80
   0xb7c45408 <__kernel_sigreturn+8>:   nop
   0xb7c45409:  lea    0x0(%esi),%esi
   0xb7c4540c <__kernel_rt_sigreturn+0>:        mov    $0xad,%eax
   0xb7c45411 <__kernel_rt_sigreturn+5>:        int    $0x80
   0xb7c45413 <__kernel_rt_sigreturn+7>:        nop
   0xb7c45414 <__kernel_vsyscall+0>:    push   %ecx
   0xb7c45415 <__kernel_vsyscall+1>:    push   %edx
   0xb7c45416 <__kernel_vsyscall+2>:    push   %ebp
   0xb7c45417 <__kernel_vsyscall+3>:    mov    %esp,%ebp
   0xb7c45419 <__kernel_vsyscall+5>:    sysenter
   0xb7c4541b <__kernel_vsyscall+7>:    nop
   0xb7c4541c <__kernel_vsyscall+8>:    nop
   0xb7c4541d <__kernel_vsyscall+9>:    nop
   0xb7c4541e <__kernel_vsyscall+10>:   nop
   0xb7c4541f <__kernel_vsyscall+11>:   nop
   0xb7c45420 <__kernel_vsyscall+12>:   nop
   0xb7c45421 <__kernel_vsyscall+13>:   nop
   0xb7c45422 <__kernel_vsyscall+14>:   jmp    0xb7c45417 <__kernel_vsyscall+3>
=> 0xb7c45424 <__kernel_vsyscall+16>:   pop    %ebp
   0xb7c45425 <__kernel_vsyscall+17>:   pop    %edx
   0xb7c45426 <__kernel_vsyscall+18>:   pop    %ecx
---Type <return> to continue, or q <return> to quit---
   0xb7c45427 <__kernel_vsyscall+19>:   ret
   0xb7c45428:  add    %ch,(%esi)
   0xb7c4542a:  jae    0xb7c45494
   0xb7c4542c:  jae    0xb7c454a2
   0xb7c4542e:  jb     0xb7c454a4
   0xb7c45430:  popa
   0xb7c45431:  bound  %eax,(%eax)
   0xb7c45433:  cs
   0xb7c45434:  push   $0x687361
   0xb7c45439:  cs
   0xb7c4543a:  fs
   0xb7c4543b:  jns    0xb7c454ab
   0xb7c4543d:  jae    0xb7c454b8
   0xb7c4543f:  insl   (%dx),%es:(%edi)
   0xb7c45440:  add    %ch,(%esi)
   0xb7c45442:  fs
   0xb7c45443:  jns    0xb7c454b3
End of assembler dump.
(gdb) info all-registers
eax            0x0      0
ecx            0x4b6e   19310
edx            0x6      6
ebx            0x4b6e   19310
esp            0xbfffd9b8       0xbfffd9b8
ebp            0xbfffd9d0       0xbfffd9d0
esi            0x0      0
edi            0xb66f0ff4       -1234235404
eip            0xb7c45424       0xb7c45424 <__kernel_vsyscall+16>
eflags         0x200202 [ IF ID ]
cs             0x73     115
ss             0x7b     123
ds             0x7b     123
es             0x7b     123
fs             0x0      0
gs             0x33     51
st0            -nan(0xce18e7dd35094046) (raw 0xffffce18e7dd35094046)
st1            -nan(0x9510f25e95b6a5b8) (raw 0xffff9510f25e95b6a5b8)
st2            -nan(0x1a40503034180525) (raw 0xffff1a40503034180525)
st3            -nan(0xe5c57cef1e203024) (raw 0xffffe5c57cef1e203024)
st4            -nan(0x1005c5edb369a5d)  (raw 0xffff01005c5edb369a5d)
st5            -nan(0xed3845f2a6e0aaa9) (raw 0xffffed3845f2a6e0aaa9)
st6            8        (raw 0x40028000000000000000)
st7            8457     (raw 0x400c8424000000000000)
---Type <return> to continue, or q <return> to quit---
fctrl          0x37f    895
fstat          0x20     32
ftag           0xffff   65535
fiseg          0x0      0
fioff          0x0      0
foseg          0x0      0
fooff          0x0      0
fop            0x0      0
xmm0           {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}
xmm1           {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}
xmm2           {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}
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}
---Type <return> to continue, or q <return> to quit---
xmm4           {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}
xmm5           {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}
xmm6           {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}
xmm7           {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}
mxcsr          0x9f80   [ IM DM ZM OM UM PM FZ ]
mm0            {uint64 = 0xce18e7dd35094046, v2_int32 = {0x35094046,
    0xce18e7dd}, v4_int16 = {0x4046, 0x3509, 0xe7dd, 0xce18}, v8_int8 = {0x46,
    0x40, 0x9, 0x35, 0xdd, 0xe7, 0x18, 0xce}}
mm1            {uint64 = 0x9510f25e95b6a5b8, v2_int32 = {0x95b6a5b8,
    0x9510f25e}, v4_int16 = {0xa5b8, 0x95b6, 0xf25e, 0x9510}, v8_int8 = {0xb8,
    0xa5, 0xb6, 0x95, 0x5e, 0xf2, 0x10, 0x95}}
mm2            {uint64 = 0x1a40503034180525, v2_int32 = {0x34180525,
---Type <return> to continue, or q <return> to quit---
    0x1a405030}, v4_int16 = {0x525, 0x3418, 0x5030, 0x1a40}, v8_int8 = {0x25,
    0x5, 0x18, 0x34, 0x30, 0x50, 0x40, 0x1a}}
mm3            {uint64 = 0xe5c57cef1e203024, v2_int32 = {0x1e203024,
    0xe5c57cef}, v4_int16 = {0x3024, 0x1e20, 0x7cef, 0xe5c5}, v8_int8 = {0x24,
    0x30, 0x20, 0x1e, 0xef, 0x7c, 0xc5, 0xe5}}
mm4            {uint64 = 0x1005c5edb369a5d, v2_int32 = {0xdb369a5d,
    0x1005c5e}, v4_int16 = {0x9a5d, 0xdb36, 0x5c5e, 0x100}, v8_int8 = {0x5d,
    0x9a, 0x36, 0xdb, 0x5e, 0x5c, 0x0, 0x1}}
mm5            {uint64 = 0xed3845f2a6e0aaa9, v2_int32 = {0xa6e0aaa9,
    0xed3845f2}, v4_int16 = {0xaaa9, 0xa6e0, 0x45f2, 0xed38}, v8_int8 = {0xa9,
    0xaa, 0xe0, 0xa6, 0xf2, 0x45, 0x38, 0xed}}
mm6            {uint64 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000},
  v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x80}}
mm7            {uint64 = 0x8424000000000000, v2_int32 = {0x0, 0x84240000},
  v4_int16 = {0x0, 0x0, 0x0, 0x8424}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
    0x24, 0x84}}


More information about the MPlayer-dev-eng mailing list