Skip to content

Instantly share code, notes, and snippets.

@quink-black
Created November 1, 2021 12:01
Show Gist options
  • Save quink-black/a5a2d0c83ae73c4080a71bd08f56b5cd to your computer and use it in GitHub Desktop.
Save quink-black/a5a2d0c83ae73c4080a71bd08f56b5cd to your computer and use it in GitHub Desktop.
ffmpeg hlsenc leak
=================================================================
==28728==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 528 byte(s) in 2 object(s) allocated from:
#0 0x5648c5aae5e0 in __interceptor_posix_memalign (/mnt/src/src/ffmpeg-build/build/ffmpeg/ffmpeg+0x5d85e0)
#1 0x5648c8b9532a in av_malloc src/libavutil/mem.c:87
#2 0x5648c63daa09 in avio_alloc_context src/libavformat/aviobuf.c:140
#3 0x5648c63dfc8b in ffio_fdopen src/libavformat/aviobuf.c:1002
#4 0x5648c63e1287 in ffio_open_whitelist src/libavformat/aviobuf.c:1171
#5 0x5648c66cfaca in io_open_default src/libavformat/options.c:124
#6 0x5648c649d67e in hlsenc_io_open src/libavformat/hlsenc.c:251
#7 0x5648c64abbeb in hls_start src/libavformat/hlsenc.c:1717
#8 0x5648c64b27d1 in hls_write_packet src/libavformat/hlsenc.c:2456
#9 0x5648c663dcd4 in write_packet src/libavformat/mux.c:747
#10 0x5648c66423b9 in av_interleaved_write_frame src/libavformat/mux.c:1238
#11 0x5648c5b38da6 in write_packet src/fftools/ffmpeg.c:816
#12 0x5648c5b3943d in output_packet src/fftools/ffmpeg.c:887
#13 0x5648c5b3a4e5 in do_audio_out src/fftools/ffmpeg.c:962
#14 0x5648c5b406dd in reap_filters src/fftools/ffmpeg.c:1514
#15 0x5648c5b640cf in transcode_step src/fftools/ffmpeg.c:4650
#16 0x5648c5b64345 in transcode src/fftools/ffmpeg.c:4694
#17 0x5648c5b657e7 in main src/fftools/ffmpeg.c:4896
#18 0x7f9fa192dbf6 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21bf6)
Direct leak of 264 byte(s) in 1 object(s) allocated from:
#0 0x5648c5aae5e0 in __interceptor_posix_memalign (/mnt/src/src/ffmpeg-build/build/ffmpeg/ffmpeg+0x5d85e0)
#1 0x5648c8b9532a in av_malloc src/libavutil/mem.c:87
#2 0x5648c63daa09 in avio_alloc_context src/libavformat/aviobuf.c:140
#3 0x5648c63dfc8b in ffio_fdopen src/libavformat/aviobuf.c:1002
#4 0x5648c63e1287 in ffio_open_whitelist src/libavformat/aviobuf.c:1171
#5 0x5648c66cfaca in io_open_default src/libavformat/options.c:124
#6 0x5648c649d67e in hlsenc_io_open src/libavformat/hlsenc.c:251
#7 0x5648c64abbeb in hls_start src/libavformat/hlsenc.c:1717
#8 0x5648c64b6d37 in hls_init src/libavformat/hlsenc.c:2946
#9 0x5648c6639a53 in init_muxer src/libavformat/mux.c:418
#10 0x5648c663a38e in avformat_init_output src/libavformat/mux.c:492
#11 0x5648c663a5c1 in avformat_write_header src/libavformat/mux.c:515
#12 0x5648c5b50294 in check_init_output_file src/fftools/ffmpeg.c:2984
#13 0x5648c5b58410 in init_output_stream src/fftools/ffmpeg.c:3642
#14 0x5648c5b3f952 in reap_filters src/fftools/ffmpeg.c:1443
#15 0x5648c5b640cf in transcode_step src/fftools/ffmpeg.c:4650
#16 0x5648c5b64345 in transcode src/fftools/ffmpeg.c:4694
#17 0x5648c5b657e7 in main src/fftools/ffmpeg.c:4896
#18 0x7f9fa192dbf6 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21bf6)
Indirect leak of 524288 byte(s) in 2 object(s) allocated from:
#0 0x5648c5aae5e0 in __interceptor_posix_memalign (/mnt/src/src/ffmpeg-build/build/ffmpeg/ffmpeg+0x5d85e0)
#1 0x5648c8b9532a in av_malloc src/libavutil/mem.c:87
#2 0x5648c63dfb26 in ffio_fdopen src/libavformat/aviobuf.c:992
#3 0x5648c63e1287 in ffio_open_whitelist src/libavformat/aviobuf.c:1171
#4 0x5648c66cfaca in io_open_default src/libavformat/options.c:124
#5 0x5648c649d67e in hlsenc_io_open src/libavformat/hlsenc.c:251
#6 0x5648c64abbeb in hls_start src/libavformat/hlsenc.c:1717
#7 0x5648c64b27d1 in hls_write_packet src/libavformat/hlsenc.c:2456
#8 0x5648c663dcd4 in write_packet src/libavformat/mux.c:747
#9 0x5648c66423b9 in av_interleaved_write_frame src/libavformat/mux.c:1238
#10 0x5648c5b38da6 in write_packet src/fftools/ffmpeg.c:816
#11 0x5648c5b3943d in output_packet src/fftools/ffmpeg.c:887
#12 0x5648c5b3a4e5 in do_audio_out src/fftools/ffmpeg.c:962
#13 0x5648c5b406dd in reap_filters src/fftools/ffmpeg.c:1514
#14 0x5648c5b640cf in transcode_step src/fftools/ffmpeg.c:4650
#15 0x5648c5b64345 in transcode src/fftools/ffmpeg.c:4694
#16 0x5648c5b657e7 in main src/fftools/ffmpeg.c:4896
#17 0x7f9fa192dbf6 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21bf6)
Indirect leak of 262144 byte(s) in 1 object(s) allocated from:
#0 0x5648c5aae5e0 in __interceptor_posix_memalign (/mnt/src/src/ffmpeg-build/build/ffmpeg/ffmpeg+0x5d85e0)
#1 0x5648c8b9532a in av_malloc src/libavutil/mem.c:87
#2 0x5648c63dfb26 in ffio_fdopen src/libavformat/aviobuf.c:992
#3 0x5648c63e1287 in ffio_open_whitelist src/libavformat/aviobuf.c:1171
#4 0x5648c66cfaca in io_open_default src/libavformat/options.c:124
#5 0x5648c649d67e in hlsenc_io_open src/libavformat/hlsenc.c:251
#6 0x5648c64abbeb in hls_start src/libavformat/hlsenc.c:1717
#7 0x5648c64b6d37 in hls_init src/libavformat/hlsenc.c:2946
#8 0x5648c6639a53 in init_muxer src/libavformat/mux.c:418
#9 0x5648c663a38e in avformat_init_output src/libavformat/mux.c:492
#10 0x5648c663a5c1 in avformat_write_header src/libavformat/mux.c:515
#11 0x5648c5b50294 in check_init_output_file src/fftools/ffmpeg.c:2984
#12 0x5648c5b58410 in init_output_stream src/fftools/ffmpeg.c:3642
#13 0x5648c5b3f952 in reap_filters src/fftools/ffmpeg.c:1443
#14 0x5648c5b640cf in transcode_step src/fftools/ffmpeg.c:4650
#15 0x5648c5b64345 in transcode src/fftools/ffmpeg.c:4694
#16 0x5648c5b657e7 in main src/fftools/ffmpeg.c:4896
#17 0x7f9fa192dbf6 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21bf6)
Indirect leak of 336 byte(s) in 2 object(s) allocated from:
#0 0x5648c5aae5e0 in __interceptor_posix_memalign (/mnt/src/src/ffmpeg-build/build/ffmpeg/ffmpeg+0x5d85e0)
#1 0x5648c8b9532a in av_malloc src/libavutil/mem.c:87
#2 0x5648c8b95e2f in av_mallocz src/libavutil/mem.c:238
#3 0x5648c63d59ea in url_alloc_for_protocol src/libavformat/avio.c:94
#4 0x5648c63d7a07 in ffurl_alloc src/libavformat/avio.c:297
#5 0x5648c63d7ba6 in ffurl_open_whitelist src/libavformat/avio.c:314
#6 0x5648c63e1230 in ffio_open_whitelist src/libavformat/aviobuf.c:1168
#7 0x5648c66cfaca in io_open_default src/libavformat/options.c:124
#8 0x5648c649d67e in hlsenc_io_open src/libavformat/hlsenc.c:251
#9 0x5648c64abbeb in hls_start src/libavformat/hlsenc.c:1717
#10 0x5648c64b27d1 in hls_write_packet src/libavformat/hlsenc.c:2456
#11 0x5648c663dcd4 in write_packet src/libavformat/mux.c:747
TEST filter-fps-up
#12 0x5648c66423b9 in av_interleaved_write_frame src/libavformat/mux.c:1238
#13 0x5648c5b38da6 in write_packet src/fftools/ffmpeg.c:816
#14 0x5648c5b3943d in output_packet src/fftools/ffmpeg.c:887
#15 0x5648c5b3a4e5 in do_audio_out src/fftools/ffmpeg.c:962
#16 0x5648c5b406dd in reap_filters src/fftools/ffmpeg.c:1514
#17 0x5648c5b640cf in transcode_step src/fftools/ffmpeg.c:4650
#18 0x5648c5b64345 in transcode src/fftools/ffmpeg.c:4694
#19 0x5648c5b657e7 in main src/fftools/ffmpeg.c:4896
#20 0x7f9fa192dbf6 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21bf6)
Indirect leak of 168 byte(s) in 1 object(s) allocated from:
#0 0x5648c5aae5e0 in __interceptor_posix_memalign (/mnt/src/src/ffmpeg-build/build/ffmpeg/ffmpeg+0x5d85e0)
#1 0x5648c8b9532a in av_malloc src/libavutil/mem.c:87
#2 0x5648c8b95e2f in av_mallocz src/libavutil/mem.c:238
#3 0x5648c63d59ea in url_alloc_for_protocol src/libavformat/avio.c:94
#4 0x5648c63d7a07 in ffurl_alloc src/libavformat/avio.c:297
#5 0x5648c63d7ba6 in ffurl_open_whitelist src/libavformat/avio.c:314
#6 0x5648c63e1230 in ffio_open_whitelist src/libavformat/aviobuf.c:1168
#7 0x5648c66cfaca in io_open_default src/libavformat/options.c:124
#8 0x5648c649d67e in hlsenc_io_open src/libavformat/hlsenc.c:251
#9 0x5648c64abbeb in hls_start src/libavformat/hlsenc.c:1717
#10 0x5648c64b6d37 in hls_init src/libavformat/hlsenc.c:2946
#11 0x5648c6639a53 in init_muxer src/libavformat/mux.c:418
#12 0x5648c663a38e in avformat_init_output src/libavformat/mux.c:492
#13 0x5648c663a5c1 in avformat_write_header src/libavformat/mux.c:515
#14 0x5648c5b50294 in check_init_output_file src/fftools/ffmpeg.c:2984
#15 0x5648c5b58410 in init_output_stream src/fftools/ffmpeg.c:3642
#16 0x5648c5b3f952 in reap_filters src/fftools/ffmpeg.c:1443
#17 0x5648c5b640cf in transcode_step src/fftools/ffmpeg.c:4650
#18 0x5648c5b64345 in transcode src/fftools/ffmpeg.c:4694
#19 0x5648c5b657e7 in main src/fftools/ffmpeg.c:4896
#20 0x7f9fa192dbf6 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21bf6)
Indirect leak of 80 byte(s) in 2 object(s) allocated from:
#0 0x5648c5aae5e0 in __interceptor_posix_memalign (/mnt/src/src/ffmpeg-build/build/ffmpeg/ffmpeg+0x5d85e0)
#1 0x5648c8b9532a in av_malloc src/libavutil/mem.c:87
#2 0x5648c8b95e2f in av_mallocz src/libavutil/mem.c:238
#3 0x5648c63d5c34 in url_alloc_for_protocol src/libavformat/avio.c:107
#4 0x5648c63d7a07 in ffurl_alloc src/libavformat/avio.c:297
#5 0x5648c63d7ba6 in ffurl_open_whitelist src/libavformat/avio.c:314
#6 0x5648c63e1230 in ffio_open_whitelist src/libavformat/aviobuf.c:1168
#7 0x5648c66cfaca in io_open_default src/libavformat/options.c:124
#8 0x5648c649d67e in hlsenc_io_open src/libavformat/hlsenc.c:251
#9 0x5648c64abbeb in hls_start src/libavformat/hlsenc.c:1717
#10 0x5648c64b27d1 in hls_write_packet src/libavformat/hlsenc.c:2456
#11 0x5648c663dcd4 in write_packet src/libavformat/mux.c:747
#12 0x5648c66423b9 in av_interleaved_write_frame src/libavformat/mux.c:1238
#13 0x5648c5b38da6 in write_packet src/fftools/ffmpeg.c:816
#14 0x5648c5b3943d in output_packet src/fftools/ffmpeg.c:887
#15 0x5648c5b3a4e5 in do_audio_out src/fftools/ffmpeg.c:962
#16 0x5648c5b406dd in reap_filters src/fftools/ffmpeg.c:1514
#17 0x5648c5b640cf in transcode_step src/fftools/ffmpeg.c:4650
#18 0x5648c5b64345 in transcode src/fftools/ffmpeg.c:4694
#19 0x5648c5b657e7 in main src/fftools/ffmpeg.c:4896
#20 0x7f9fa192dbf6 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21bf6)
Indirect leak of 40 byte(s) in 1 object(s) allocated from:
#0 0x5648c5aae5e0 in __interceptor_posix_memalign (/mnt/src/src/ffmpeg-build/build/ffmpeg/ffmpeg+0x5d85e0)
#1 0x5648c8b9532a in av_malloc src/libavutil/mem.c:87
#2 0x5648c8b95e2f in av_mallocz src/libavutil/mem.c:238
#3 0x5648c63d5c34 in url_alloc_for_protocol src/libavformat/avio.c:107
#4 0x5648c63d7a07 in ffurl_alloc src/libavformat/avio.c:297
#5 0x5648c63d7ba6 in ffurl_open_whitelist src/libavformat/avio.c:314
#6 0x5648c63e1230 in ffio_open_whitelist src/libavformat/aviobuf.c:1168
#7 0x5648c66cfaca in io_open_default src/libavformat/options.c:124
#8 0x5648c649d67e in hlsenc_io_open src/libavformat/hlsenc.c:251
#9 0x5648c64abbeb in hls_start src/libavformat/hlsenc.c:1717
#10 0x5648c64b6d37 in hls_init src/libavformat/hlsenc.c:2946
#11 0x5648c6639a53 in init_muxer src/libavformat/mux.c:418
#12 0x5648c663a38e in avformat_init_output src/libavformat/mux.c:492
#13 0x5648c663a5c1 in avformat_write_header src/libavformat/mux.c:515
#14 0x5648c5b50294 in check_init_output_file src/fftools/ffmpeg.c:2984
#15 0x5648c5b58410 in init_output_stream src/fftools/ffmpeg.c:3642
#16 0x5648c5b3f952 in reap_filters src/fftools/ffmpeg.c:1443
#17 0x5648c5b640cf in transcode_step src/fftools/ffmpeg.c:4650
#18 0x5648c5b64345 in transcode src/fftools/ffmpeg.c:4694
#19 0x5648c5b657e7 in main src/fftools/ffmpeg.c:4896
#20 0x7f9fa192dbf6 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21bf6)
Indirect leak of 24 byte(s) in 2 object(s) allocated from:
#0 0x5648c5aadd80 in realloc (/mnt/src/src/ffmpeg-build/build/ffmpeg/ffmpeg+0x5d7d80)
#1 0x5648c8b95482 in av_realloc src/libavutil/mem.c:144
#2 0x5648c8b95eda in av_strdup src/libavutil/mem.c:256
#3 0x5648c63d6c6f in ffurl_connect src/libavformat/avio.c:193
#4 0x5648c63d8045 in ffurl_open_whitelist src/libavformat/avio.c:348
#5 0x5648c63e1230 in ffio_open_whitelist src/libavformat/aviobuf.c:1168
#6 0x5648c66cfaca in io_open_default src/libavformat/options.c:124
#7 0x5648c649d67e in hlsenc_io_open src/libavformat/hlsenc.c:251
#8 0x5648c64abbeb in hls_start src/libavformat/hlsenc.c:1717
#9 0x5648c64b27d1 in hls_write_packet src/libavformat/hlsenc.c:2456
#10 0x5648c663dcd4 in write_packet src/libavformat/mux.c:747
#11 0x5648c66423b9 in av_interleaved_write_frame src/libavformat/mux.c:1238
#12 0x5648c5b38da6 in write_packet src/fftools/ffmpeg.c:816
#13 0x5648c5b3943d in output_packet src/fftools/ffmpeg.c:887
#14 0x5648c5b3a4e5 in do_audio_out src/fftools/ffmpeg.c:962
#15 0x5648c5b406dd in reap_filters src/fftools/ffmpeg.c:1514
#16 0x5648c5b640cf in transcode_step src/fftools/ffmpeg.c:4650
#17 0x5648c5b64345 in transcode src/fftools/ffmpeg.c:4694
#18 0x5648c5b657e7 in main src/fftools/ffmpeg.c:4896
#19 0x7f9fa192dbf6 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21bf6)
Indirect leak of 24 byte(s) in 2 object(s) allocated from:
#0 0x5648c5aadd80 in realloc (/mnt/src/src/ffmpeg-build/build/ffmpeg/ffmpeg+0x5d7d80)
#1 0x5648c8b95482 in av_realloc src/libavutil/mem.c:144
#2 0x5648c8b95eda in av_strdup src/libavutil/mem.c:256
#3 0x5648c63dfd3c in ffio_fdopen src/libavformat/aviobuf.c:1007
#4 0x5648c63e1287 in ffio_open_whitelist src/libavformat/aviobuf.c:1171
#5 0x5648c66cfaca in io_open_default src/libavformat/options.c:124
#6 0x5648c649d67e in hlsenc_io_open src/libavformat/hlsenc.c:251
#7 0x5648c64abbeb in hls_start src/libavformat/hlsenc.c:1717
#8 0x5648c64b27d1 in hls_write_packet src/libavformat/hlsenc.c:2456
#9 0x5648c663dcd4 in write_packet src/libavformat/mux.c:747
#10 0x5648c66423b9 in av_interleaved_write_frame src/libavformat/mux.c:1238
#11 0x5648c5b38da6 in write_packet src/fftools/ffmpeg.c:816
#12 0x5648c5b3943d in output_packet src/fftools/ffmpeg.c:887
#13 0x5648c5b3a4e5 in do_audio_out src/fftools/ffmpeg.c:962
#14 0x5648c5b406dd in reap_filters src/fftools/ffmpeg.c:1514
#15 0x5648c5b640cf in transcode_step src/fftools/ffmpeg.c:4650
#16 0x5648c5b64345 in transcode src/fftools/ffmpeg.c:4694
#17 0x5648c5b657e7 in main src/fftools/ffmpeg.c:4896
TEST filter-fps-up-round-down
#18 0x7f9fa192dbf6 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21bf6)
Indirect leak of 16 byte(s) in 2 object(s) allocated from:
#0 0x5648c5aae5e0 in __interceptor_posix_memalign (/mnt/src/src/ffmpeg-build/build/ffmpeg/ffmpeg+0x5d85e0)
#1 0x5648c8b9532a in av_malloc src/libavutil/mem.c:87
#2 0x5648c8b95e2f in av_mallocz src/libavutil/mem.c:238
#3 0x5648c63dfb6b in ffio_fdopen src/libavformat/aviobuf.c:996
#4 0x5648c63e1287 in ffio_open_whitelist src/libavformat/aviobuf.c:1171
#5 0x5648c66cfaca in io_open_default src/libavformat/options.c:124
#6 0x5648c649d67e in hlsenc_io_open src/libavformat/hlsenc.c:251
#7 0x5648c64abbeb in hls_start src/libavformat/hlsenc.c:1717
#8 0x5648c64b27d1 in hls_write_packet src/libavformat/hlsenc.c:2456
#9 0x5648c663dcd4 in write_packet src/libavformat/mux.c:747
#10 0x5648c66423b9 in av_interleaved_write_frame src/libavformat/mux.c:1238
#11 0x5648c5b38da6 in write_packet src/fftools/ffmpeg.c:816
#12 0x5648c5b3943d in output_packet src/fftools/ffmpeg.c:887
#13 0x5648c5b3a4e5 in do_audio_out src/fftools/ffmpeg.c:962
#14 0x5648c5b406dd in reap_filters src/fftools/ffmpeg.c:1514
#15 0x5648c5b640cf in transcode_step src/fftools/ffmpeg.c:4650
#16 0x5648c5b64345 in transcode src/fftools/ffmpeg.c:4694
#17 0x5648c5b657e7 in main src/fftools/ffmpeg.c:4896
#18 0x7f9fa192dbf6 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21bf6)
Indirect leak of 12 byte(s) in 1 object(s) allocated from:
#0 0x5648c5aadd80 in realloc (/mnt/src/src/ffmpeg-build/build/ffmpeg/ffmpeg+0x5d7d80)
#1 0x5648c8b95482 in av_realloc src/libavutil/mem.c:144
#2 0x5648c8b95eda in av_strdup src/libavutil/mem.c:256
#3 0x5648c63d6c6f in ffurl_connect src/libavformat/avio.c:193
#4 0x5648c63d8045 in ffurl_open_whitelist src/libavformat/avio.c:348
#5 0x5648c63e1230 in ffio_open_whitelist src/libavformat/aviobuf.c:1168
#6 0x5648c66cfaca in io_open_default src/libavformat/options.c:124
#7 0x5648c649d67e in hlsenc_io_open src/libavformat/hlsenc.c:251
#8 0x5648c64abbeb in hls_start src/libavformat/hlsenc.c:1717
#9 0x5648c64b6d37 in hls_init src/libavformat/hlsenc.c:2946
#10 0x5648c6639a53 in init_muxer src/libavformat/mux.c:418
#11 0x5648c663a38e in avformat_init_output src/libavformat/mux.c:492
#12 0x5648c663a5c1 in avformat_write_header src/libavformat/mux.c:515
#13 0x5648c5b50294 in check_init_output_file src/fftools/ffmpeg.c:2984
#14 0x5648c5b58410 in init_output_stream src/fftools/ffmpeg.c:3642
#15 0x5648c5b3f952 in reap_filters src/fftools/ffmpeg.c:1443
#16 0x5648c5b640cf in transcode_step src/fftools/ffmpeg.c:4650
#17 0x5648c5b64345 in transcode src/fftools/ffmpeg.c:4694
#18 0x5648c5b657e7 in main src/fftools/ffmpeg.c:4896
#19 0x7f9fa192dbf6 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21bf6)
Indirect leak of 12 byte(s) in 1 object(s) allocated from:
#0 0x5648c5aadd80 in realloc (/mnt/src/src/ffmpeg-build/build/ffmpeg/ffmpeg+0x5d7d80)
#1 0x5648c8b95482 in av_realloc src/libavutil/mem.c:144
#2 0x5648c8b95eda in av_strdup src/libavutil/mem.c:256
#3 0x5648c63dfd3c in ffio_fdopen src/libavformat/aviobuf.c:1007
#4 0x5648c63e1287 in ffio_open_whitelist src/libavformat/aviobuf.c:1171
#5 0x5648c66cfaca in io_open_default src/libavformat/options.c:124
#6 0x5648c649d67e in hlsenc_io_open src/libavformat/hlsenc.c:251
#7 0x5648c64abbeb in hls_start src/libavformat/hlsenc.c:1717
#8 0x5648c64b6d37 in hls_init src/libavformat/hlsenc.c:2946
#9 0x5648c6639a53 in init_muxer src/libavformat/mux.c:418
#10 0x5648c663a38e in avformat_init_output src/libavformat/mux.c:492
#11 0x5648c663a5c1 in avformat_write_header src/libavformat/mux.c:515
#12 0x5648c5b50294 in check_init_output_file src/fftools/ffmpeg.c:2984
#13 0x5648c5b58410 in init_output_stream src/fftools/ffmpeg.c:3642
#14 0x5648c5b3f952 in reap_filters src/fftools/ffmpeg.c:1443
#15 0x5648c5b640cf in transcode_step src/fftools/ffmpeg.c:4650
#16 0x5648c5b64345 in transcode src/fftools/ffmpeg.c:4694
#17 0x5648c5b657e7 in main src/fftools/ffmpeg.c:4896
#18 0x7f9fa192dbf6 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21bf6)
Indirect leak of 8 byte(s) in 1 object(s) allocated from:
#0 0x5648c5aae5e0 in __interceptor_posix_memalign (/mnt/src/src/ffmpeg-build/build/ffmpeg/ffmpeg+0x5d85e0)
#1 0x5648c8b9532a in av_malloc src/libavutil/mem.c:87
#2 0x5648c8b95e2f in av_mallocz src/libavutil/mem.c:238
#3 0x5648c63dfb6b in ffio_fdopen src/libavformat/aviobuf.c:996
#4 0x5648c63e1287 in ffio_open_whitelist src/libavformat/aviobuf.c:1171
#5 0x5648c66cfaca in io_open_default src/libavformat/options.c:124
#6 0x5648c649d67e in hlsenc_io_open src/libavformat/hlsenc.c:251
#7 0x5648c64abbeb in hls_start src/libavformat/hlsenc.c:1717
#8 0x5648c64b6d37 in hls_init src/libavformat/hlsenc.c:2946
#9 0x5648c6639a53 in init_muxer src/libavformat/mux.c:418
#10 0x5648c663a38e in avformat_init_output src/libavformat/mux.c:492
#11 0x5648c663a5c1 in avformat_write_header src/libavformat/mux.c:515
#12 0x5648c5b50294 in check_init_output_file src/fftools/ffmpeg.c:2984
#13 0x5648c5b58410 in init_output_stream src/fftools/ffmpeg.c:3642
#14 0x5648c5b3f952 in reap_filters src/fftools/ffmpeg.c:1443
#15 0x5648c5b640cf in transcode_step src/fftools/ffmpeg.c:4650
#16 0x5648c5b64345 in transcode src/fftools/ffmpeg.c:4694
#17 0x5648c5b657e7 in main src/fftools/ffmpeg.c:4896
#18 0x7f9fa192dbf6 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21bf6)
SUMMARY: AddressSanitizer: 787944 byte(s) leaked in 21 allocation(s).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment