Anton Khirnov <[email protected]> added the comment:
The giant malloc happens in matroskadec:ebml_read_binary(), here's the backtrace
#0 av_malloc (size=1954769095) at libavutil/mem.c:128
#1 0x0808fe36 in ebml_parse_elem (matroska=<value optimized out>, syntax=0xc,
data=<value optimized out>) at libavformat/matroskadec.c:656
#2 0x0809004b in ebml_parse_id (matroska=<value optimized out>, syntax=0xc,
data=<value optimized out>) at libavformat/matroskadec.c:739
#3 ebml_parse_elem (matroska=<value optimized out>, syntax=0xc, data=<value
optimized out>) at libavformat/matroskadec.c:814
#4 0x0808f77c in ebml_parse_id (matroska=warning: Cannot convert floating-point
register value to non-floating-point type.
Unhandled dwarf expression opcode 0x0
) at libavformat/matroskadec.c:739
#5 ebml_parse (matroska=warning: Cannot convert floating-point register value
to non-floating-point type.
Unhandled dwarf expression opcode 0x0
) at libavformat/matroskadec.c:752
#6 0x0808ff6e in ebml_parse_nest (matroska=<value optimized out>, syntax=0xc,
data=<value optimized out>) at libavformat/matroskadec.c:775
#7 ebml_parse_elem (matroska=<value optimized out>, syntax=0xc, data=<value
optimized out>) at libavformat/matroskadec.c:813
#8 0x0808f77c in ebml_parse_id (matroska=warning: Cannot convert floating-point
register value to non-floating-point type.
Unhandled dwarf expression opcode 0x0
) at libavformat/matroskadec.c:739
#9 ebml_parse (matroska=warning: Cannot convert floating-point register value
to non-floating-point type.
Unhandled dwarf expression opcode 0x0
) at libavformat/matroskadec.c:752
#10 0x0808e4b8 in matroska_parse_cluster (matroska=<value optimized out>) at
libavformat/matroskadec.c:1831
#11 0x0808de74 in matroska_read_packet (s=0x8abe3f0, pkt=0xbfffd670) at
libavformat/matroskadec.c:1855
#12 0x080e681d in av_read_packet (pkt=0xbfffd670, s=0x9354560) at
libavformat/utils.c:686
#13 0x080e71e5 in av_read_frame_internal (s=<value optimized out>, pkt=<value
optimized out>) at libavformat/utils.c:1126
#14 0x080ea06d in av_find_stream_info (ic=0x9354560) at libavformat/utils.c:2265
#15 0x08054e04 in opt_input_file (filename=0xbffff281 "/home/wiskas/zzuf2.mkv")
at ffmpeg.c:3081
#16 0x080573c7 in parse_options (parse_arg_function=0x804f140 <opt_output_file>,
options=0x84dd4e0, argv=0xbffff074, argc=3)
at cmdutils.c:204
#17 0x0804c1aa in main (argv=0xbffff074, argc=3) at ffmpeg.c:4197
----------
title: zzuf crashes in Matroska demuxing, memory leak in Vorbis decoding ->
zzuf crashes, allocates over 1GB in Matroska demuxing
topic: -avcodec
________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2328>
________________________________________________