[FFmpeg-trac] #1208(avcodec:open): EBP Modification
FFmpeg
trac at avcodec.org
Sat May 12 16:05:55 CEST 2012
#1208: EBP Modification
------------------------------------+-----------------------------------
Reporter: daybreak | Owner:
Type: defect | Status: open
Priority: important | Component: avcodec
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
------------------------------------+-----------------------------------
Changes (by cehoyos):
* priority: critical => important
* status: new => open
* version: unspecified => git-master
* reproduced: 0 => 1
Comment:
{{{
(gdb) r -i 702121h264-TTA.mkvtest82.mkv -vn out.mp3
Starting program: ffmpeg_g -i 702121h264-TTA.mkvtest82.mkv -vn out.mp3
[Thread debugging using libthread_db enabled]
[New Thread 0xb79bd6c0 (LWP 7569)]
ffmpeg version N-40602-g3b56324 Copyright (c) 2000-2012 the FFmpeg
developers
built on May 12 2012 09:13:48 with gcc 4.3.2
configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-
libopenjpeg --enable-libvorbis --enable-libspeex --enable-libmp3lame
--enable-libtheora --extra-ldflags=-lm
libavutil 51. 50.100 / 51. 50.100
libavcodec 54. 21.101 / 54. 21.101
libavformat 54. 4.100 / 54. 4.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 72.105 / 2. 72.105
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 11.100 / 0. 11.100
libpostproc 52. 0.100 / 52. 0.100
[tta @ 0x8f15660] CRC error
[tta @ 0x8f15660] Seek table missing or too small
[h264 @ 0x8f074a0] concealing 846 DC, 846 AC, 846 MV errors
[h264 @ 0x8f074a0] concealing 186 DC, 186 AC, 186 MV errors
[h264 @ 0x8f074a0] concealing 459 DC, 459 AC, 459 MV errors
Input #0, matroska,webm, from '702121h264-TTA.mkvtest82.mkv':
Metadata:
creation_time : 2006-12-23 15:47:16
Duration: 00:24:10.95, start: 0.000000, bitrate: 17 kb/s
Stream #0:0: Video: h264 (High), yuv420p, 848x480, SAR 1:1 DAR 53:30,
23.98 fps, 23.98 tbr, 1k tbn, 59.94 tbc (default)
Stream #0:1: Audio: tta, 48000 Hz, stereo, s16 (default)
Stream #0:2: Subtitle: ssa (default)
Stream #0:3: Subtitle: ssa
[tta @ 0x8f15660] CRC error
[tta @ 0x8f15660] Seek table missing or too small
Output #0, mp3, to 'out.mp3':
Metadata:
TDEN : 2006-12-23 15:47:16
TSSE : Lavf54.4.100
Stream #0:0: Audio: mp3, 48000 Hz, stereo, s16 (default)
Stream mapping:
Stream #0:1 -> #0:0 (tta -> libmp3lame)
Press [q] to stop, [?] for help
[tta @ 0x8f15660] CRC error
Error while decoding stream #0:1
[tta @ 0x8f15660] CRC error
Error while decoding stream #0:1
[tta @ 0x8f15660] CRC error
Error while decoding stream #0:1
[tta @ 0x8f15660] CRC error
Error while decoding stream #0:1
[tta @ 0x8f15660] CRC error
Error while decoding stream #0:1
[tta @ 0x8f15660] CRC error
Error while decoding stream #0:1
[tta @ 0x8f15660] CRC error
Error while decoding stream #0:1
[tta @ 0x8f15660] CRC error
Error while decoding stream #0:1
[matroska,webm @ 0x8eff3c0] Read error
[libmp3lame @ 0x8f57900] Trying to remove 1152 samples, but que empty
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb79bd6c0 (LWP 7569)]
0x086dd1b7 in ff_af_queue_remove (afq=0x8f5d0e4, nb_samples=1152,
pts=0xbfa48780, duration=0xbfa487a8)
at libavcodec/audio_frame_queue.c:103
103 if(afq->frames[0].pts != AV_NOPTS_VALUE)
(gdb) bt
#0 0x086dd1b7 in ff_af_queue_remove (afq=0x8f5d0e4, nb_samples=1152,
pts=0xbfa48780, duration=0xbfa487a8)
at libavcodec/audio_frame_queue.c:103
#1 0x084383ba in mp3lame_encode_frame (avctx=0x8f57900, avpkt=0xbfa48780,
frame=0x0,
got_packet_ptr=0xbfa48844) at libavcodec/libmp3lame.c:265
#2 0x0857cf9a in avcodec_encode_audio2 (avctx=0xbfa48844,
avpkt=0xbfa48780, frame=0x0, got_packet_ptr=0x0)
at libavcodec/utils.c:1106
#3 0x08056713 in encode_audio_frame (s=0x8f4fd80, ost=0x8f250a0, buf=0x0,
buf_size=0) at ffmpeg.c:1535
#4 0x0805bb2f in transcode () at ffmpeg.c:2352
#5 0x0805ca96 in main (argc=150305024, argv=0x451) at ffmpeg.c:5931
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x86dd197 to 0x86dd1d7:
0x086dd197 <ff_af_queue_remove+343>: decl -0x74bfdbac(%ebx)
0x086dd19d <ff_af_queue_remove+349>: inc %edx
0x086dd19e <ff_af_queue_remove+350>: adc %ch,(%ecx)
0x086dd1a0 <ff_af_queue_remove+352>: fadds 0x104289ed(%ebp)
0x086dd1a6 <ff_af_queue_remove+358>: je 0x86dd1f8
<ff_af_queue_remove+440>
0x086dd1a8 <ff_af_queue_remove+360>: test %eax,%eax
0x086dd1aa <ff_af_queue_remove+362>: jne 0x86dd2c4
<ff_af_queue_remove+644>
0x086dd1b0 <ff_af_queue_remove+368>: mov 0x40(%esp),%ecx
0x086dd1b4 <ff_af_queue_remove+372>: mov 0xc(%ecx),%esi
0x086dd1b7 <ff_af_queue_remove+375>: mov 0x4(%esi),%ebx
0x086dd1ba <ff_af_queue_remove+378>: mov (%esi),%ecx
0x086dd1bc <ff_af_queue_remove+380>: lea -0x80000000(%ebx),%eax
0x086dd1c2 <ff_af_queue_remove+386>: or %ecx,%eax
0x086dd1c4 <ff_af_queue_remove+388>: je 0x86dd1d6
<ff_af_queue_remove+406>
0x086dd1c6 <ff_af_queue_remove+390>: mov %ebp,%eax
0x086dd1c8 <ff_af_queue_remove+392>: mov %ebp,%edx
0x086dd1ca <ff_af_queue_remove+394>: sar $0x1f,%edx
0x086dd1cd <ff_af_queue_remove+397>: add %ecx,%eax
0x086dd1cf <ff_af_queue_remove+399>: adc %ebx,%edx
0x086dd1d1 <ff_af_queue_remove+401>: mov %eax,(%esi)
0x086dd1d3 <ff_af_queue_remove+403>: mov %edx,0x4(%esi)
0x086dd1d6 <ff_af_queue_remove+406>: mov 0x40(%esp),%edx
End of assembler dump.
(gdb) info register
eax 0x0 0
ecx 0x8f5d0e4 150327524
edx 0x8f5d0e4 150327524
ebx 0x0 0
esp 0xbfa48490 0xbfa48490
ebp 0x480 0x480
esi 0x0 0
edi 0x8f57900 150305024
eip 0x86dd1b7 0x86dd1b7 <ff_af_queue_remove+375>
eflags 0x10246 [ PF ZF IF RF ]
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1208#comment:9>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list