[FFmpeg-trac] #8150(undetermined:closed): memory leaks from mem.c
FFmpeg
trac at avcodec.org
Thu Sep 19 04:05:24 EEST 2019
#8150: memory leaks from mem.c
-------------------------------------+-------------------------------------
Reporter: Suhwan | Owner:
Type: defect | Status: closed
Priority: normal | Component:
| undetermined
Version: git-master | Resolution: invalid
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by jamrial):
* status: new => closed
* resolution: => invalid
Comment:
Can't reproduce with GCC 9, so probably a miscompilation bug from Clang
{{{
[jamrial at ArchVM build]$ valgrind --error-exitcode=1 --malloc-fill=0x2a
--track-origins=yes --leak-check=full --gen-suppressions=all
--suppressions=../ffmpeg/tests/fate-valgrind.supp ./ffmpeg_g -y -r 95 -i
gizmo-frag-2.mp4 -map 0 -c copy -c: a:75 dnxhd -c: v:3 pcm_s24le
-disposition: s:12 h261 -aframes 110 -ac 6 -strict 3 tmp.mpc8
==44883== Memcheck, a memory error detector
==44883== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==44883== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright
info
==44883== Command: ./ffmpeg_g -y -r 95 -i gizmo-frag-2.mp4 -map 0 -c copy
-c: a:75 dnxhd -c: v:3 pcm_s24le -disposition: s:12 h261 -aframes 110 -ac
6 -strict 3 tmp.mpc8
==44883==
ffmpeg version N-94969-gc2ab998ff3 Copyright (c) 2000-2019 the FFmpeg
developers
built with gcc 9.1.0 (GCC)
configuration: --enable-gpl --enable-debug
libavutil 56. 35.100 / 56. 35.100
libavcodec 58. 57.100 / 58. 57.100
libavformat 58. 32.104 / 58. 32.104
libavdevice 58. 9.100 / 58. 9.100
libavfilter 7. 58.102 / 7. 58.102
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x4fd26c0] Incorrect number of samples in
encryption info
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x4fd26c0] Could not find codec parameters for
stream 0 (Video: h264 (avc1 / 0x31637661), none(bt709), 560x320, 151
kb/s): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'gizmo-frag-2.mp4':
Metadata:
major_brand : iso5
minor_version : 1
compatible_brands: avc1iso5dash
creation_time : 2014-03-26T00:20:53.000000Z
encoder : HandBrake 0.9.9 2013052900
Duration: 00:00:02.00, bitrate: 608 kb/s
Stream #0:0(und): Video: h264 (avc1 / 0x31637661), none(bt709),
560x320, 151 kb/s, SAR 1:1 DAR 7:4, 30 fps, 90k tbr, 90k tbn, 180k tbc
(default)
Metadata:
creation_time : 2014-03-26T00:20:53.000000Z
encoder : JVT/AVC Coding
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, mono,
fltp, 65 kb/s (default)
Metadata:
creation_time : 2014-03-26T00:20:53.000000Z
Side data:
unknown side data type 24 (68 bytes)
[NULL @ 0x52183c0] Unable to find a suitable output format for 'dnxhd'
dnxhd: Invalid argument
==44883==
==44883== HEAP SUMMARY:
==44883== in use at exit: 1,044 bytes in 43 blocks
==44883== total heap usage: 826 allocs, 783 frees, 2,258,152 bytes
allocated
==44883==
==44883== LEAK SUMMARY:
==44883== definitely lost: 0 bytes in 0 blocks
==44883== indirectly lost: 0 bytes in 0 blocks
==44883== possibly lost: 0 bytes in 0 blocks
==44883== still reachable: 1,044 bytes in 43 blocks
==44883== suppressed: 0 bytes in 0 blocks
==44883== Reachable blocks (those to which a pointer was found) are not
shown.
==44883== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==44883==
==44883== For counts of detected and suppressed errors, rerun with: -v
==44883== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8150#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list