All pastes #615261 Raw Edit

Untitled

public text v1 · immutable
·published 2007-07-12 01:12 UTC
rendered paste body
kraken@tao:~/y/ffmpeg$ ./ffmpeg_g -i sample.ts -y -vcodec libx264 -acodec libfaac -f mp4 -mbd rd -flags 4mv+trell+aic+qprd+mv0 -cmp 2 -subcmp 2 -flags2 dct8x8+skiprd -level 41 -b 80000 -bf 3 -ac 6 -ab 384 -threads 2 -pass 1 output.mp4
FFmpeg version SVN-r9606, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --incdir=/usr/include/ffmpeg --enable-shared --enable-libmp3lame --enable-gpl --enable-libfaad --mandir=/usr/share/man --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-pp --enable-libamr-nb --enable-libamr-wb --enable-x11grab --enable-libogg --enable-libgsm --enable-libx264 --enable-liba52 --enable-libtheora --enable-swscaler --extra-cflags=-fPIC -DPIC
  libavutil version: 49.4.1
  libavcodec version: 51.40.4
  libavformat version: 51.12.1
  built on Jul 11 2007 17:48:30, gcc: 4.1.3 20070629 (prerelease) (Debian 4.1.2-13)
Segmentation fault (core dumped)

kraken@tao:~/y/ffmpeg$ gdb ./ffmpeg_g core.7600 
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /home/kraken/y/ffmpeg/libavformat/libavformat.so.51...done.
Loaded symbols for ./libavformat/libavformat.so.51
Reading symbols from /home/kraken/y/ffmpeg/libavcodec/libavcodec.so.51...done.
Loaded symbols for ./libavcodec/libavcodec.so.51
Reading symbols from /home/kraken/y/ffmpeg/libavutil/libavutil.so.49...done.
Loaded symbols for ./libavutil/libavutil.so.49
Reading symbols from /lib/i686/cmov/libm.so.6...done.
Loaded symbols for /lib/i686/cmov/libm.so.6
Reading symbols from /home/kraken/y/ffmpeg/libswscale/libswscale.so.0...done.
Loaded symbols for ./libswscale/libswscale.so.0
Reading symbols from /lib/i686/cmov/libpthread.so.0...done.
Loaded symbols for /lib/i686/cmov/libpthread.so.0
Reading symbols from /lib/i686/cmov/libc.so.6...done.
Loaded symbols for /lib/i686/cmov/libc.so.6
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libogg.so.0...done.
Loaded symbols for /usr/lib/libogg.so.0
Reading symbols from /usr/lib/libX11.so.6...done.
Loaded symbols for /usr/lib/libX11.so.6
Reading symbols from /usr/lib/libXext.so.6...done.
Loaded symbols for /usr/lib/libXext.so.6
Reading symbols from /usr/lib/liba52-0.7.4.so...done.
Loaded symbols for /usr/lib/liba52-0.7.4.so
Reading symbols from /usr/lib/libamrnb.so.2...done.
Loaded symbols for /usr/lib/libamrnb.so.2
Reading symbols from /usr/lib/libamrwb.so.2...done.
Loaded symbols for /usr/lib/libamrwb.so.2
Reading symbols from /usr/lib/libgsm.so.1...done.
Loaded symbols for /usr/lib/libgsm.so.1
Reading symbols from /usr/lib/libmp3lame.so.0...done.
Loaded symbols for /usr/lib/libmp3lame.so.0
Reading symbols from /usr/lib/libtheora.so.0...done.
Loaded symbols for /usr/lib/libtheora.so.0
Reading symbols from /usr/lib/libvorbis.so.0...done.
Loaded symbols for /usr/lib/libvorbis.so.0
Reading symbols from /usr/lib/libvorbisenc.so.2...done.
Loaded symbols for /usr/lib/libvorbisenc.so.2
Reading symbols from /usr/lib/libx264.so.55...done.
Loaded symbols for /usr/lib/libx264.so.55
Reading symbols from /usr/lib/libxvidcore.so.4...done.
Loaded symbols for /usr/lib/libxvidcore.so.4
Reading symbols from /usr/lib/libfaac.so.0...done.
Loaded symbols for /usr/lib/libfaac.so.0
Reading symbols from /usr/lib/libfaad.so.0...done.
Loaded symbols for /usr/lib/libfaad.so.0
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libXau.so.6...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib/libXdmcp.so.6...done.
Loaded symbols for /usr/lib/libXdmcp.so.6
Reading symbols from /lib/i686/cmov/libdl.so.2...done.
Loaded symbols for /lib/i686/cmov/libdl.so.2
Core was generated by `./ffmpeg_g -i sample.ts -y -vcodec libx264 -acodec libfaac -f mp4 -mbd rd -flag'.
Program terminated with signal 11, Segmentation fault.
#0  0xb7ec2280 in pmt_cb (filter=0x8074c10, section=0x8074c60 "\002�\035", section_len=32) at mpegts.c:543
543                     st= pes->st;
(gdb) bt
#0  0xb7ec2280 in pmt_cb (filter=0x8074c10, section=0x8074c60 "\002�\035", section_len=32) at mpegts.c:543
#1  0xb7ec081d in write_section_data (s=<value optimized out>, tss1=0x8074c10, buf=<value optimized out>, buf_size=183, is_start=1) at mpegts.c:185
#2  0xb7ec0a9b in handle_packet (ts=0x806aaa0, packet=<value optimized out>) at mpegts.c:975
#3  0xb7ec2877 in mpegts_read_header (s=0x8061aa0, ap=0xbf98447c) at mpegts.c:1054
#4  0xb7e85645 in av_open_input_stream (ic_ptr=0xbf9844b4, pb=0xbf9843b4, filename=0xbf985c69 "sample.ts", fmt=0xb7efed00, ap=0xbf98447c) at utils.c:380
#5  0xb7e88c3e in av_open_input_file (ic_ptr=0xbf9844b4, filename=0xbf985c69 "sample.ts", fmt=<value optimized out>, buf_size=0, ap=0xbf98447c) at utils.c:482
#6  0x0804c4fa in opt_input_file (filename=0xbf985c69 "sample.ts") at ffmpeg.c:2523
#7  0x08055d3b in parse_options (argc=35, argv=0xbf984c44, options=0x8059020) at cmdutils.c:112
#8  0x080536b9 in main (argc=35, argv=0xbf984c44) at ffmpeg.c:3764

(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0xb7f71260 to 0xb7f712a0:
0xb7f71260 <pmt_cb+1584>:       (bad)  
0xb7f71261 <pmt_cb+1585>:       cmp    $0x81,%eax
0xb7f71266 <pmt_cb+1590>:       jne    0xb7f711f8 <pmt_cb+1480>
0xb7f71268 <pmt_cb+1592>:       movl   $0x1,0x38(%esp)
0xb7f71270 <pmt_cb+1600>:       movl   $0x15004,0x34(%esp)
0xb7f71278 <pmt_cb+1608>:       jmp    0xb7f7111f <pmt_cb+1263>
0xb7f7127d <pmt_cb+1613>:       mov    0x10(%eax),%eax
0xb7f71280 <pmt_cb+1616>:       mov    0x14(%eax),%ebp
0xb7f71283 <pmt_cb+1619>:       test   %ebp,%ebp
0xb7f71285 <pmt_cb+1621>:       jne    0xb7f7117e <pmt_cb+1358>
0xb7f7128b <pmt_cb+1627>:       jmp    0xb7f70f24 <pmt_cb+756>
0xb7f71290 <mpegts_read_close+0>:       push   %ebp
0xb7f71291 <mpegts_read_close+1>:       push   %edi
0xb7f71292 <mpegts_read_close+2>:       xor    %edi,%edi
0xb7f71294 <mpegts_read_close+4>:       push   %esi
0xb7f71295 <mpegts_read_close+5>:       push   %ebx
0xb7f71296 <mpegts_read_close+6>:       sub    $0xc,%esp
0xb7f71299 <mpegts_read_close+9>:       mov    0x20(%esp),%eax
0xb7f7129d <mpegts_read_close+13>:      call   0xb7f31557 <__i686.get_pc_thunk.bx>
End of assembler dump.
(gdb) info all-registers
eax            0x0      0
ecx            0x806aaa0        134654624
edx            0x11     17
ebx            0xb7fab780       -1208305792
esp            0xbff13220       0xbff13220
ebp            0xb7     0xb7
esi            0x8074c7c        134696060
edi            0x8074c10        134695952
eip            0xb7f71280       0xb7f71280 <pmt_cb+1616>
eflags         0x10202  [ IF RF ]
cs             0x73     115
ss             0x7b     123
ds             0x7b     123
es             0x7b     123
fs             0x0      0
gs             0x33     51
st0            0        (raw 0x00000000000000000000)
st1            0        (raw 0x00000000000000000000)
st2            0        (raw 0x00000000000000000000)
st3            0        (raw 0x00000000000000000000)
st4            0        (raw 0x00000000000000000000)
st5            3000000  (raw 0x4014b71b000000000000)
st6            1        (raw 0x3fff8000000000000000)
st7            1        (raw 0x3fff8000000000000000)
fctrl          0x37f    895
fstat          0x120    288
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}
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          0x1f80   [ 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 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm2            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm3            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 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 = 0xb71b000000000000, v2_int32 = {0x0, 0xb71b0000}, v4_int16 = {0x0, 0x0, 0x0, 0xb71b}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1b, 0xb7}}
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 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000}, v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80}}