| 1 | tod@Arch:~/src/FFmpeg$ valgrind ./ffmpeg_g -i ~/Pictures/bz5057-01-600x891.jpg -vf unsharp=6 test.png
|
|---|
| 2 | ==40105== Memcheck, a memory error detector
|
|---|
| 3 | ==40105== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
|
|---|
| 4 | ==40105== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info
|
|---|
| 5 | ==40105== Command: ./ffmpeg_g -i /home/tod/Pictures/bz5057-01-600x891.jpg -vf unsharp=6 test.png
|
|---|
| 6 | ==40105==
|
|---|
| 7 | ffmpeg version git-2019-11-30-e5db2e9 Copyright (c) 2000-2019 the FFmpeg developers
|
|---|
| 8 | built with gcc 9.2.0 (GCC)
|
|---|
| 9 | configuration: --enable-debug --enable-ffplay
|
|---|
| 10 | libavutil 56. 36.101 / 56. 36.101
|
|---|
| 11 | libavcodec 58. 64.101 / 58. 64.101
|
|---|
| 12 | libavformat 58. 35.100 / 58. 35.100
|
|---|
| 13 | libavdevice 58. 9.101 / 58. 9.101
|
|---|
| 14 | libavfilter 7. 67.100 / 7. 67.100
|
|---|
| 15 | libswscale 5. 6.100 / 5. 6.100
|
|---|
| 16 | libswresample 3. 6.100 / 3. 6.100
|
|---|
| 17 | Input #0, image2, from '/home/tod/Pictures/bz5057-01-600x891.jpg':
|
|---|
| 18 | Duration: 00:00:00.04, start: 0.000000, bitrate: 73946 kb/s
|
|---|
| 19 | Stream #0:0: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 600x891 [SAR 1:1 DAR 200:297], 25 tbr, 25 tbn, 25 tbc
|
|---|
| 20 | Stream mapping:
|
|---|
| 21 | Stream #0:0 -> #0:0 (mjpeg (native) -> png (native))
|
|---|
| 22 | Press [q] to stop, [?] for help
|
|---|
| 23 | [Parsed_unsharp_0 @ 0x548a580] Invalid even size for luma matrix size 6x5
|
|---|
| 24 | [Parsed_unsharp_0 @ 0x548a580] Failed to configure input pad on Parsed_unsharp_0
|
|---|
| 25 | ==40105== Invalid read of size 8
|
|---|
| 26 | ==40105== at 0xF84820: av_freep (mem.c:231)
|
|---|
| 27 | ==40105== by 0x20BA67: free_filter_param (vf_unsharp.c:262)
|
|---|
| 28 | ==40105== by 0x20BA93: uninit (vf_unsharp.c:271)
|
|---|
| 29 | ==40105== by 0x2CDA04: avfilter_free (avfilter.c:771)
|
|---|
| 30 | ==40105== by 0x2CFB5B: avfilter_graph_free (avfiltergraph.c:126)
|
|---|
| 31 | ==40105== by 0x29531F: cleanup_filtergraph (ffmpeg_filter.c:1002)
|
|---|
| 32 | ==40105== by 0x29531F: configure_filtergraph (ffmpeg_filter.c:1181)
|
|---|
| 33 | ==40105== by 0x2A67F7: ifilter_send_frame (ffmpeg.c:2180)
|
|---|
| 34 | ==40105== by 0x2A67F7: send_frame_to_filters (ffmpeg.c:2261)
|
|---|
| 35 | ==40105== by 0x2A6FB0: decode_video (ffmpeg.c:2460)
|
|---|
| 36 | ==40105== by 0x2A6FB0: process_input_packet (ffmpeg.c:2614)
|
|---|
| 37 | ==40105== by 0x2AA117: process_input (ffmpeg.c:4509)
|
|---|
| 38 | ==40105== by 0x2AA117: transcode_step (ffmpeg.c:4629)
|
|---|
| 39 | ==40105== by 0x2AA117: transcode (ffmpeg.c:4683)
|
|---|
| 40 | ==40105== by 0x28924D: main (ffmpeg.c:4885)
|
|---|
| 41 | ==40105== Address 0x0 is not stack'd, malloc'd or (recently) free'd
|
|---|
| 42 | ==40105==
|
|---|
| 43 | ==40105==
|
|---|
| 44 | ==40105== Process terminating with default action of signal 11 (SIGSEGV): dumping core
|
|---|
| 45 | ==40105== Access not within mapped region at address 0x0
|
|---|
| 46 | ==40105== at 0xF84820: av_freep (mem.c:231)
|
|---|
| 47 | ==40105== by 0x20BA67: free_filter_param (vf_unsharp.c:262)
|
|---|
| 48 | ==40105== by 0x20BA93: uninit (vf_unsharp.c:271)
|
|---|
| 49 | ==40105== by 0x2CDA04: avfilter_free (avfilter.c:771)
|
|---|
| 50 | ==40105== by 0x2CFB5B: avfilter_graph_free (avfiltergraph.c:126)
|
|---|
| 51 | ==40105== by 0x29531F: cleanup_filtergraph (ffmpeg_filter.c:1002)
|
|---|
| 52 | ==40105== by 0x29531F: configure_filtergraph (ffmpeg_filter.c:1181)
|
|---|
| 53 | ==40105== by 0x2A67F7: ifilter_send_frame (ffmpeg.c:2180)
|
|---|
| 54 | ==40105== by 0x2A67F7: send_frame_to_filters (ffmpeg.c:2261)
|
|---|
| 55 | ==40105== by 0x2A6FB0: decode_video (ffmpeg.c:2460)
|
|---|
| 56 | ==40105== by 0x2A6FB0: process_input_packet (ffmpeg.c:2614)
|
|---|
| 57 | ==40105== by 0x2AA117: process_input (ffmpeg.c:4509)
|
|---|
| 58 | ==40105== by 0x2AA117: transcode_step (ffmpeg.c:4629)
|
|---|
| 59 | ==40105== by 0x2AA117: transcode (ffmpeg.c:4683)
|
|---|
| 60 | ==40105== by 0x28924D: main (ffmpeg.c:4885)
|
|---|
| 61 | ==40105== If you believe this happened as a result of a stack
|
|---|
| 62 | ==40105== overflow in your program's main thread (unlikely but
|
|---|
| 63 | ==40105== possible), you can try to increase the size of the
|
|---|
| 64 | ==40105== main thread stack using the --main-stacksize= flag.
|
|---|
| 65 | ==40105== The main thread stack size used in this run was 8388608.
|
|---|
| 66 | ==40105==
|
|---|
| 67 | ==40105== HEAP SUMMARY:
|
|---|
| 68 | ==40105== in use at exit: 1,724,264 bytes in 182 blocks
|
|---|
| 69 | ==40105== total heap usage: 2,011 allocs, 1,829 frees, 2,861,256 bytes allocated
|
|---|
| 70 | ==40105==
|
|---|
| 71 | ==40105== LEAK SUMMARY:
|
|---|
| 72 | ==40105== definitely lost: 0 bytes in 0 blocks
|
|---|
| 73 | ==40105== indirectly lost: 0 bytes in 0 blocks
|
|---|
| 74 | ==40105== possibly lost: 1,152 bytes in 4 blocks
|
|---|
| 75 | ==40105== still reachable: 1,723,112 bytes in 178 blocks
|
|---|
| 76 | ==40105== suppressed: 0 bytes in 0 blocks
|
|---|
| 77 | ==40105== Rerun with --leak-check=full to see details of leaked memory
|
|---|
| 78 | ==40105==
|
|---|
| 79 | ==40105== For lists of detected and suppressed errors, rerun with: -s
|
|---|
| 80 | ==40105== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
|
|---|
| 81 | Segmentation fault (core dumped)
|
|---|
| 82 | tod@Arch:~/src/FFmpeg$
|
|---|
| 83 |
|
|---|