Changes between Initial Version and Version 1 of Ticket #2802, comment 3


Ignore:
Timestamp:
Jul 22, 2013, 12:20:29 PM (3 years ago)
Author:
cehoyos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2802, comment 3

    initial v1  
    66For future tickets: If you believe it is unreasonable to provide all needed information (in this case: valgrind output), please provide at least a command line that allows to reproduce the problem. 
    77{{{ 
    8 $ valgrind ./ffmpeg_g -fflags nobuffer -i tests/lena.pnm 
    9 ==4039== Memcheck, a memory error detector 
    10 ==4039== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. 
    11 ==4039== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info 
    12 ==4039== Command: ./ffmpeg_g -fflags nobuffer -i tests/lena.pnm 
    13 ==4039== 
     8$ valgrind --leak-check=full ./ffmpeg_g -fflags nobuffer -i tests/lena.pnm 
     9==26854== Memcheck, a memory error detector 
     10==26854== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. 
     11==26854== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info 
     12==26854== Command: ./ffmpeg_g -fflags nobuffer -i tests/lena.pnm 
     13==26854== 
    1414ffmpeg version N-54868-g9d4dece Copyright (c) 2000-2013 the FFmpeg developers 
    15   built on Jul 22 2013 11:11:33 with gcc 4.7 (SUSE Linux) 
     15  built on Jul 22 2013 11:18:28 with gcc 4.7 (SUSE Linux) 
    1616  configuration: --enable-gpl --disable-indev=jack 
    1717  libavutil      52. 40.100 / 52. 40.100 
     
    2727    Stream #0:0: Video: ppm, rgb24, 256x256, 25 tbr, 25 tbn, 25 tbc 
    2828At least one output file must be specified 
    29 ==4039== 
    30 ==4039== HEAP SUMMARY: 
    31 ==4039==     in use at exit: 196,748 bytes in 3 blocks 
    32 ==4039==   total heap usage: 111 allocs, 108 frees, 591,027 bytes allocated 
    33 ==4039== 
    34 ==4039== LEAK SUMMARY: 
    35 ==4039==    definitely lost: 24 bytes in 1 blocks 
    36 ==4039==    indirectly lost: 196,724 bytes in 2 blocks 
    37 ==4039==      possibly lost: 0 bytes in 0 blocks 
    38 ==4039==    still reachable: 0 bytes in 0 blocks 
    39 ==4039==         suppressed: 0 bytes in 0 blocks 
    40 ==4039== Rerun with --leak-check=full to see details of leaked memory 
    41 ==4039== 
    42 ==4039== For counts of detected and suppressed errors, rerun with: -v 
    43 ==4039== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 2) 
     29==26854== 
     30==26854== HEAP SUMMARY: 
     31==26854==     in use at exit: 196,748 bytes in 3 blocks 
     32==26854==   total heap usage: 111 allocs, 108 frees, 591,027 bytes allocated 
     33==26854== 
     34==26854== 196,748 (24 direct, 196,724 indirect) bytes in 1 blocks are definitely lost in loss record 3 of 3 
     35==26854==    at 0x4C290FE: memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) 
     36==26854==    by 0x4C291A7: posix_memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) 
     37==26854==    by 0xBFF421: av_mallocz (mem.c:93) 
     38==26854==    by 0xBF3352: av_buffer_realloc (buffer.c:47) 
     39==26854==    by 0x602EED: av_new_packet (avpacket.c:80) 
     40==26854==    by 0x5296B0: img_read_packet (img2dec.c:387) 
     41==26854==    by 0x5C4371: ff_read_packet (utils.c:642) 
     42==26854==    by 0x5C628F: read_frame_internal (utils.c:1294) 
     43==26854==    by 0x5C973D: avformat_find_stream_info (utils.c:2772) 
     44==26854==    by 0x45FE8A: open_input_file (ffmpeg_opt.c:815) 
     45==26854==    by 0x45E9A1: open_files.isra.7 (ffmpeg_opt.c:2495) 
     46==26854==    by 0x465CC8: ffmpeg_parse_options (ffmpeg_opt.c:2532) 
     47==26854== 
     48==26854== LEAK SUMMARY: 
     49==26854==    definitely lost: 24 bytes in 1 blocks 
     50==26854==    indirectly lost: 196,724 bytes in 2 blocks 
     51==26854==      possibly lost: 0 bytes in 0 blocks 
     52==26854==    still reachable: 0 bytes in 0 blocks 
     53==26854==         suppressed: 0 bytes in 0 blocks 
     54==26854== 
     55==26854== For counts of detected and suppressed errors, rerun with: -v 
     56==26854== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2 from 2) 
    4457}}}