[libav-bugs] [Bug 1041] New: Corrupt .flv file segfaults `avprobe -show_streams corrupt.flv`

bugzilla at libav.org bugzilla at libav.org
Thu Mar 23 23:26:27 CET 2017


https://bugzilla.libav.org/show_bug.cgi?id=1041

            Bug ID: 1041
           Summary: Corrupt .flv file segfaults `avprobe -show_streams
                    corrupt.flv`
           Product: Libav
           Version: git HEAD
          Hardware: X86
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: ---
         Component: utilities
          Assignee: bugzilla at libav.org
          Reporter: bb5vmx7j at meo.ws

Created attachment 659
  --> https://bugzilla.libav.org/attachment.cgi?id=659&action=edit
Corrupt .flv file

corrupt.flv:

00000000  46 4c 56 01 30 00 00 00  09 30 30 30 30 30 00 01  |FLV.0....00000..|
00000010  25 30 30 30 30 30 30 30  30 30 30 30 30 30 30 30  |%000000000000000|
00000020  30 30 30 30 30 30 30 30  30 30 30 30 30 30 30 30  |0000000000000000|
*
00000140  30 09 00 00 02 30 30 30  30 30 30 30 17           |0....0000000.|
0000014d


GDB:

Program received signal SIGSEGV, Segmentation fault.
__memcpy_sse2_unaligned () at
../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:152
152     ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: No such file or
directory.
(gdb) bt
#0  __memcpy_sse2_unaligned () at
../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:152
#1  0x0000000001460513 in avcodec_parameters_to_context (codec=0x27db540,
par=0x27db9c0) at libavcodec/utils.c:1682
#2  0x00000000008e1ac0 in update_stream_avctx (s=<optimized out>, s=<optimized
out>) at libavformat/utils.c:273
#3  read_frame_internal (s=0x27da8e0, pkt=0x7fffffffe760) at
libavformat/utils.c:1008
#4  0x00000000008ed999 in avformat_find_stream_info (ic=0x27da8e0,
options=0x27dbe80) at libavformat/utils.c:2336
#5  0x00000000004c0763 in open_input_file (filename=<optimized out>,
ifile=<optimized out>) at avtools/avprobe.c:878
#6  probe_file (filename=<optimized out>) at avtools/avprobe.c:956
#7  main (argc=3, argv=0x7fffffffebe8) at avtools/avprobe.c:1190
(gdb) l
147     in ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S
(gdb) disass $pc-32,$pc+32
Dump of assembler code from 0x7ffff75a51e0 to 0x7ffff75a5220:
   0x00007ffff75a51e0 <__memcpy_sse2_unaligned+448>:    (bad)
   0x00007ffff75a51e1 <__memcpy_sse2_unaligned+449>:    test   $0x2,%dl
   0x00007ffff75a51e4 <__memcpy_sse2_unaligned+452>:    mov    %al,(%rdi)
   0x00007ffff75a51e6 <__memcpy_sse2_unaligned+454>:    je     0x7ffff75a505e
<__memcpy_sse2_unaligned+62>
   0x00007ffff75a51ec <__memcpy_sse2_unaligned+460>:    movzwl
-0x2(%rsi,%rdx,1),%eax
   0x00007ffff75a51f1 <__memcpy_sse2_unaligned+465>:    mov   
%ax,-0x2(%rdi,%rdx,1)
   0x00007ffff75a51f6 <__memcpy_sse2_unaligned+470>:    jmpq   0x7ffff75a505e
<__memcpy_sse2_unaligned+62>
   0x00007ffff75a51fb <__memcpy_sse2_unaligned+475>:    lea    -0x1(%rdx),%rax
   0x00007ffff75a51ff <__memcpy_sse2_unaligned+479>:    nop
=> 0x00007ffff75a5200 <__memcpy_sse2_unaligned+480>:    movzbl
(%rsi,%rax,1),%edx
   0x00007ffff75a5204 <__memcpy_sse2_unaligned+484>:    mov   
%dl,(%rdi,%rax,1)
   0x00007ffff75a5207 <__memcpy_sse2_unaligned+487>:    sub    $0x1,%rax
   0x00007ffff75a520b <__memcpy_sse2_unaligned+491>:    jmp    0x7ffff75a5200
<__memcpy_sse2_unaligned+480>
   0x00007ffff75a520d <__memcpy_sse2_unaligned+493>:    mov    (%rsi),%rax
   0x00007ffff75a5210 <__memcpy_sse2_unaligned+496>:    mov    %rax,(%rdi)
   0x00007ffff75a5213 <__memcpy_sse2_unaligned+499>:    mov   
-0x8(%rsi,%rdx,1),%rax
   0x00007ffff75a5218 <__memcpy_sse2_unaligned+504>:    mov   
%rax,-0x8(%rdi,%rdx,1)
   0x00007ffff75a521d <__memcpy_sse2_unaligned+509>:    jmpq   0x7ffff75a505e
<__memcpy_sse2_unaligned+62>
End of assembler dump.
(gdb) info all-registers
rax            0xffffffffff9d117f       -6483585
rbx            0x27db9c0        41793984
rcx            0xfffffffffffffffa       -6
rdx            0x20     32
rsi            0x27dbe80        41795200
rdi            0x27dbec0        41795264
rbp            0x27db540        0x27db540
rsp            0x7fffffffe618   0x7fffffffe618
r8             0x1      1
r9             0x27dbee0        41795296
r10            0x2      2
r11            0x2      2
r12            0x0      0
r13            0xfffffffffffffffd       -3
r14            0x27db2e0        41792224
r15            0xa0464f45       2688962373
rip            0x7ffff75a5200   0x7ffff75a5200 <__memcpy_sse2_unaligned+480>
eflags         0x10292  [ AF SF IF RF ]
cs             0x33     51
ss             0x2b     43
ds             0x0      0
es             0x0      0
fs             0x0      0
gs             0x0      0
st0            0        (raw 0x00000000000000000000)
st1            0        (raw 0x00000000000000000000)
st2            0        (raw 0x00000000000000000000)
st3            0        (raw 0x00000000000000000000)
st4            0        (raw 0x00000000000000000000)
st5            0        (raw 0x00000000000000000000)
st6            0        (raw 0x00000000000000000000)
st7            0        (raw 0x00000000000000000000)
fctrl          0x37f    895
fstat          0x0      0
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 =
{0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>},
v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff},
v4_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 =
{0xffffffffffffffff, 0xffffffffffffffff},
  uint128 = 0xffffffffffffffffffffffffffffffff}
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, 0x1, 0x0, 0x0}, v2_double = {0x1, 0x0},
v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x3ff0, 0x0, 0x0, 0x0, 0x0},
v4_int32 = {0x0, 0x3ff00000, 0x0, 0x0}, v2_int64 = {0x3ff0000000000000, 0x0},
uint128 = 0x00000000000000003ff0000000000000}
xmm3           {v4_float = {0x0, 0x1, 0x0, 0x0}, v2_double = {0x1, 0x0},
v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x3ff0, 0x0, 0x0, 0x0, 0x0},
v4_int32 = {0x0, 0x3ff00000, 0x0, 0x0}, v2_int64 = {0x3ff0000000000000, 0x0},
uint128 = 0x00000000000000003ff0000000000000}
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,
0x8000000000000000}, v16_int8 = {0x70, 0x70, 0x69, 0x6e, 0x67, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x54, 0x72, 0x69, 0x65, 0x64}, v8_int16 = {0x7070, 0x6e69, 0x67,
0x0, 0x0, 0x5400, 0x6972, 0x6465}, v4_int32 = {0x6e697070, 0x67, 0x54000000,
0x64656972}, v2_int64 = {0x676e697070,
    0x6465697254000000}, uint128 = 0x6465697254000000000000676e697070}
xmm6           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double =
{0x8000000000000000, 0x8000000000000000}, v16_int8 = {0x61, 0x63, 0x6b, 0x65,
0x74, 0x73, 0x0, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x63, 0x72, 0x6f},
v8_int16 = {0x6361, 0x656b, 0x7374, 0x6100, 0x7070, 0x796c, 0x635f, 0x6f72},
v4_int32 = {0x656b6361, 0x61007374, 0x796c7070,
    0x6f72635f}, v2_int64 = {0x61007374656b6361, 0x6f72635f796c7070}, uint128 =
0x6f72635f796c707061007374656b6361}
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}
xmm8           {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}
xmm9           {v4_float = {0x0, 0x1, 0x0, 0x0}, v2_double = {0x1, 0x0},
v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x3ff0, 0x0, 0x0, 0x0, 0x0},
v4_int32 = {0x0, 0x3ff00000, 0x0, 0x0}, v2_int64 = {0x3ff0000000000000, 0x0},
uint128 = 0x00000000000000003ff0000000000000}
xmm10          {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0, 0x0, 0x46, 0x84, 0x24, 0x59, 0xd6, 0x3e, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x8446, 0x5924, 0x3ed6, 0x0, 0x0, 0x0,
0x0}, v4_int32 = {0x84460000, 0x3ed65924, 0x0, 0x0}, v2_int64 =
{0x3ed6592484460000, 0x0},
  uint128 = 0x00000000000000003ed6592484460000}
xmm11          {v4_float = {0x9689a800, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x6a, 0xa2, 0x65, 0x50, 0xf2, 0xea, 0x8f, 0xbd, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xa26a, 0x5065, 0xeaf2, 0xbd8f, 0x0, 0x0, 0x0,
0x0}, v4_int32 = {0x5065a26a, 0xbd8feaf2, 0x0, 0x0}, v2_int64 =
{0xbd8feaf25065a26a, 0x0},
  uint128 = 0x0000000000000000bd8feaf25065a26a}
xmm12          {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc4, 0x3c, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x3cc4, 0x0, 0x0, 0x0, 0x0},
v4_int32 = {0x0, 0x3cc40000, 0x0, 0x0}, v2_int64 = {0x3cc4000000000000, 0x0},
uint128 = 0x00000000000000003cc4000000000000}
xmm13          {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x80, 0x59, 0xbc, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x8000, 0xbc59, 0x0, 0x0, 0x0, 0x0},
v4_int32 = {0x0, 0xbc598000, 0x0, 0x0}, v2_int64 = {0xbc59800000000000, 0x0},
  uint128 = 0x0000000000000000bc59800000000000}
xmm14          {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x8e, 0x85, 0x83, 0xe8, 0xf0, 0x24, 0x53, 0x3c, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x858e, 0xe883, 0x24f0, 0x3c53, 0x0, 0x0, 0x0,
0x0}, v4_int32 = {0xe883858e, 0x3c5324f0, 0x0, 0x0}, v2_int64 =
{0x3c5324f0e883858e, 0x0},
  uint128 = 0x00000000000000003c5324f0e883858e}
xmm15          {v4_float = {0x0, 0x3, 0x0, 0x0}, v2_double = {0x2d, 0x0},
v16_int8 = {0xc0, 0x9, 0xf2, 0x16, 0xb5, 0xdf, 0x46, 0x40, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x9c0, 0x16f2, 0xdfb5, 0x4046, 0x0, 0x0, 0x0,
0x0}, v4_int32 = {0x16f209c0, 0x4046dfb5, 0x0, 0x0}, v2_int64 =
{0x4046dfb516f209c0, 0x0},
  uint128 = 0x00000000000000004046dfb516f209c0}
mxcsr          0x1fa0   [ PE IM DM ZM OM UM PM ]
(gdb) up
#1  0x0000000001460513 in avcodec_parameters_to_context (codec=0x27db540,
par=0x27db9c0) at libavcodec/utils.c:1682
1682            memcpy(codec->extradata, par->extradata, par->extradata_size);
(gdb) bt
#0  __memcpy_sse2_unaligned () at
../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:152
#1  0x0000000001460513 in avcodec_parameters_to_context (codec=0x27db540,
par=0x27db9c0) at libavcodec/utils.c:1682
#2  0x00000000008e1ac0 in update_stream_avctx (s=<optimized out>, s=<optimized
out>) at libavformat/utils.c:273
#3  read_frame_internal (s=0x27da8e0, pkt=0x7fffffffe760) at
libavformat/utils.c:1008
#4  0x00000000008ed999 in avformat_find_stream_info (ic=0x27da8e0,
options=0x27dbe80) at libavformat/utils.c:2336
#5  0x00000000004c0763 in open_input_file (filename=<optimized out>,
ifile=<optimized out>) at avtools/avprobe.c:878
#6  probe_file (filename=<optimized out>) at avtools/avprobe.c:956
#7  main (argc=3, argv=0x7fffffffebe8) at avtools/avprobe.c:1190
(gdb) l
1677        if (par->extradata) {
1678            av_freep(&codec->extradata);
1679            codec->extradata = av_mallocz(par->extradata_size +
AV_INPUT_BUFFER_PADDING_SIZE);
1680            if (!codec->extradata)
1681                return AVERROR(ENOMEM);
1682            memcpy(codec->extradata, par->extradata, par->extradata_size);
1683            codec->extradata_size = par->extradata_size;
1684        }
1685
1686        return 0;


Valgrind:

==9514== Invalid read of size 8
==9514==    at 0x4C2D940: memcpy@@GLIBC_2.14 (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9514==    by 0x1460512: avcodec_parameters_to_context (utils.c:1682)
==9514==    by 0x8E1ABF: update_stream_avctx (utils.c:273)
==9514==    by 0x8E1ABF: read_frame_internal (utils.c:1008)
==9514==    by 0x8ED998: avformat_find_stream_info (utils.c:2336)
==9514==    by 0x4C0762: open_input_file (avprobe.c:878)
==9514==    by 0x4C0762: probe_file (avprobe.c:956)
==9514==    by 0x4C0762: main (avprobe.c:1190)
==9514==  Address 0x5730940 is 0 bytes inside a block of size 5 alloc'd
==9514==    at 0x4C2B1B6: memalign (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9514==    by 0x4C2B2D1: posix_memalign (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9514==    by 0x1CACDB8: av_malloc (mem.c:71)
==9514==    by 0x1CACDB8: av_mallocz (mem.c:190)
==9514==    by 0x5B4A81: flv_get_extradata (flvdec.c:598)
==9514==    by 0x5B4A81: flv_read_packet (flvdec.c:932)
==9514==    by 0x8D8E34: ff_read_packet (utils.c:447)
==9514==    by 0x8E0A10: read_frame_internal (utils.c:932)
==9514==    by 0x8ED998: avformat_find_stream_info (utils.c:2336)
==9514==    by 0x4C0762: open_input_file (avprobe.c:878)
==9514==    by 0x4C0762: probe_file (avprobe.c:956)
==9514==    by 0x4C0762: main (avprobe.c:1190)
==9514==
==9514== Invalid write of size 8
==9514==    at 0x4C2D943: memcpy@@GLIBC_2.14 (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9514==    by 0x1460512: avcodec_parameters_to_context (utils.c:1682)
==9514==    by 0x8E1ABF: update_stream_avctx (utils.c:273)
==9514==    by 0x8E1ABF: read_frame_internal (utils.c:1008)
==9514==    by 0x8ED998: avformat_find_stream_info (utils.c:2336)
==9514==    by 0x4C0762: open_input_file (avprobe.c:878)
==9514==    by 0x4C0762: probe_file (avprobe.c:956)
==9514==    by 0x4C0762: main (avprobe.c:1190)
==9514==  Address 0x57309e0 is 0 bytes inside a block of size 5 alloc'd
==9514==    at 0x4C2B1B6: memalign (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9514==    by 0x4C2B2D1: posix_memalign (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9514==    by 0x1CACDB8: av_malloc (mem.c:71)
==9514==    by 0x1CACDB8: av_mallocz (mem.c:190)
==9514==    by 0x14604B8: avcodec_parameters_to_context (utils.c:1679)
==9514==    by 0x8E1ABF: update_stream_avctx (utils.c:273)
==9514==    by 0x8E1ABF: read_frame_internal (utils.c:1008)
==9514==    by 0x8ED998: avformat_find_stream_info (utils.c:2336)
==9514==    by 0x4C0762: open_input_file (avprobe.c:878)
==9514==    by 0x4C0762: probe_file (avprobe.c:956)
==9514==    by 0x4C0762: main (avprobe.c:1190)
==9514==
==9514== Invalid read of size 8
==9514==    at 0x4C2D94E: memcpy@@GLIBC_2.14 (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9514==    by 0x1460512: avcodec_parameters_to_context (utils.c:1682)
==9514==    by 0x8E1ABF: update_stream_avctx (utils.c:273)
==9514==    by 0x8E1ABF: read_frame_internal (utils.c:1008)
==9514==    by 0x8ED998: avformat_find_stream_info (utils.c:2336)
==9514==    by 0x4C0762: open_input_file (avprobe.c:878)
==9514==    by 0x4C0762: probe_file (avprobe.c:956)
==9514==    by 0x4C0762: main (avprobe.c:1190)
==9514==  Address 0x5730950 is 11 bytes after a block of size 5 alloc'd
==9514==    at 0x4C2B1B6: memalign (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9514==    by 0x4C2B2D1: posix_memalign (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9514==    by 0x1CACDB8: av_malloc (mem.c:71)
==9514==    by 0x1CACDB8: av_mallocz (mem.c:190)
==9514==    by 0x5B4A81: flv_get_extradata (flvdec.c:598)
==9514==    by 0x5B4A81: flv_read_packet (flvdec.c:932)
==9514==    by 0x8D8E34: ff_read_packet (utils.c:447)
==9514==    by 0x8E0A10: read_frame_internal (utils.c:932)
==9514==    by 0x8ED998: avformat_find_stream_info (utils.c:2336)
==9514==    by 0x4C0762: open_input_file (avprobe.c:878)
==9514==    by 0x4C0762: probe_file (avprobe.c:956)
==9514==    by 0x4C0762: main (avprobe.c:1190)
==9514==
==9514==
==9514== Process terminating with default action of signal 11 (SIGSEGV)
==9514==  Access not within mapped region at address 0x5AFE000
==9514==    at 0x4C2D943: memcpy@@GLIBC_2.14 (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9514==    by 0x1460512: avcodec_parameters_to_context (utils.c:1682)
==9514==    by 0x8E1ABF: update_stream_avctx (utils.c:273)
==9514==    by 0x8E1ABF: read_frame_internal (utils.c:1008)
==9514==    by 0x8ED998: avformat_find_stream_info (utils.c:2336)
==9514==    by 0x4C0762: open_input_file (avprobe.c:878)
==9514==    by 0x4C0762: probe_file (avprobe.c:956)
==9514==    by 0x4C0762: main (avprobe.c:1190)
==9514==  If you believe this happened as a result of a stack
==9514==  overflow in your program's main thread (unlikely but
==9514==  possible), you can try to increase the size of the
==9514==  main thread stack using the --main-stacksize= flag.
==9514==  The main thread stack size used in this run was 8388608.
==9514==
==9514== HEAP SUMMARY:
==9514==     in use at exit: 63,982 bytes in 25 blocks
==9514==   total heap usage: 185 allocs, 160 frees, 179,324 bytes allocated
==9514==
==9514== LEAK SUMMARY:
==9514==    definitely lost: 0 bytes in 0 blocks
==9514==    indirectly lost: 0 bytes in 0 blocks
==9514==      possibly lost: 0 bytes in 0 blocks
==9514==    still reachable: 63,982 bytes in 25 blocks
==9514==         suppressed: 0 bytes in 0 blocks
==9514== Rerun with --leak-check=full to see details of leaked memory
==9514==
==9514== For counts of detected and suppressed errors, rerun with: -v
==9514== ERROR SUMMARY: 996746 errors from 3 contexts (suppressed: 0 from 0)
Segmentation fault

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libav.org/pipermail/libav-bugs/attachments/20170323/6d330f87/attachment-0001.html>


More information about the libav-bugs mailing list