New submission from Carl Eugen Hoyos <[email protected]>:
(gdb) r -i combined_22_16_1_64000_0_29.wma -f null -
FFmpeg version SVN-r26313, Copyright (c) 2000-2011 the FFmpeg developers
built on Jan 12 2011 00:18:28 with gcc 4.4.5
configuration: --cc=/usr/local/gcc-4.4.5/bin/gcc --disable-optimizations
--disable-asm
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 0 / 0.16. 0
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.92. 0 / 52.92. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.72. 0 / 1.72. 0
libswscale 0.12. 0 / 0.12. 0
Input #0, asf, from 'combined_22_16_1_64000_0_29.wma':
Metadata:
WMFSDKVersion : 11.0.5705.5043
WMFSDKNeeded : 0.0.0.0000
IsVBR : 0
Duration: 00:03:49.43, start: 1.579000, bitrate: 64 kb/s
Stream #0.0(eng): Audio: wmapro, 22050 Hz, mono, flt, 64 kb/s
Output #0, null, to 'pipe:':
Metadata:
WMFSDKVersion : 11.0.5705.5043
WMFSDKNeeded : 0.0.0.0000
IsVBR : 0
encoder : Lavf52.92.0
Stream #0.0(eng): Audio: pcm_s16le, 22050 Hz, mono, s16, 352 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
Multiple frames in a packet from stream 0
Program received signal SIGSEGV, Segmentation fault.
0x0000000001214dac in ?? ()
(gdb) bt
#0 0x0000000001214dac in ?? ()
#1 0x00000000007ac1a2 in ff_imdct_half (s=0x121ccc8, output=0x1223860,
input=0x121cf70)
at libavcodec/fft.h:142
#2 0x00000000007afa49 in decode_subframe (s=0x1212d00) at
libavcodec/wmaprodec.c:1236
#3 0x00000000007afe3f in decode_frame (s=0x1212d00) at
libavcodec/wmaprodec.c:1337
#4 0x00000000007b06a2 in decode_packet (avctx=0x11b7d90, data=0x1256de0,
data_size=0x7fffffffcf2c,
avpkt=0x7fffffffcf30) at libavcodec/wmaprodec.c:1537
#5 0x0000000000750c2e in avcodec_decode_audio3 (avctx=0x11b7d90,
samples=0x1256de0,
frame_size_ptr=0x7fffffffcf2c, avpkt=0x7fffffffcf30) at
libavcodec/utils.c:686
#6 0x000000000040900e in output_packet (ist=0x11b8690, ist_index=0,
ost_table=0x11b8730, nb_ostreams=1,
pkt=0x7fffffffd260) at ffmpeg.c:1526
#7 0x000000000040d8b2 in transcode (output_files=0xc6e7e0, nb_output_files=1,
input_files=0xc6dcc0,
nb_input_files=1, stream_maps=0x0, nb_stream_maps=0) at ffmpeg.c:2643
#8 0x0000000000411ff8 in main (argc=6, argv=0x7fffffffdde8) at ffmpeg.c:4365
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x1214d8c to 0x1214dcc:
0x0000000001214d8c: fxch %st(3)
0x0000000001214d8e: cmp 0x1fe45281(%rdx),%dh
0x0000000001214d94: inc %ebx
0x0000000001214d96: add %al,0x64(%rdx)
0x0000000001214d99: (bad)
0x0000000001214d9a: pushfq
0x0000000001214d9b: xchg %eax,%ebx
0x0000000001214d9c: pop %rbp
0x0000000001214d9d: mov $0x2d,%ch
0x0000000001214d9f: rex.WX xor $0x354a0d1b,%rax
0x0000000001214da5: scas %es:(%rdi),%al
0x0000000001214da6: movslq -0x27(%rdx),%ebx
0x0000000001214da9: rex.WXB mov $0xffef,%r12
0x0000000001214db3: add %al,(%rax)
0x0000000001214db5: add %al,(%rax)
0x0000000001214db7: add %al,(%rax)
0x0000000001214db9: add %al,(%rax)
0x0000000001214dbb: add %al,(%rax)
0x0000000001214dbd: add %al,(%rax)
0x0000000001214dbf: add %al,(%rax)
0x0000000001214dc1: add %al,(%rax)
0x0000000001214dc3: add %al,(%rax)
0x0000000001214dc5: add %al,(%rax)
0x0000000001214dc7: add %al,(%rax)
0x0000000001214dc9: add %al,(%rax)
0x0000000001214dcb: add %al,(%rax)
End of assembler dump.
(gdb) info register
rax 0x121ccc8 18992328
rbx 0x1214dac 18959788
rcx 0x1223860 19019872
rdx 0x121cf70 18993008
rsi 0x1223860 19019872
rdi 0x121ccc8 18992328
rbp 0x7fffffffcb50 0x7fffffffcb50
rsp 0x7fffffffcb18 0x7fffffffcb18
r8 0x7ffff76e39c0 140737344584128
r9 0x7ffff76e3580 140737344583040
r10 0x7ff0000000000000 9218868437227405312
r11 0x0 0
r12 0x404d20 4214048
r13 0x7fffffffdde0 140737488346592
r14 0x0 0
r15 0x0 0
rip 0x1214dac 0x1214dac
eflags 0x10202 [ IF RF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
fctrl 0x37f 895
fstat 0x0 0
ftag 0xffff 65535
fiseg 0x0 0
fioff 0x0 0
foseg 0x0 0
fooff 0x0 0
fop 0x0 0
mxcsr 0x1fa0 [ PE IM DM ZM OM UM PM ]
----------
messages: 13376
priority: normal
status: open
substatus: open
title: wmapro: crash in imdct
topic: avcodec
type: bug
________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2537>
________________________________________________