[libav-bugs] [Bug 245] New: Reading already freed mem when using vfilters pad&settb

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Mon Mar 5 16:49:44 CET 2012


https://bugzilla.libav.org/show_bug.cgi?id=245

           Summary: Reading already freed mem when using vfilters
                    pad&settb
           Product: Libav
           Version: git HEAD
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: libavfilter
        AssignedTo: bugzilla at libav.org
        ReportedBy: andrey.krieger.utkin at gmail.com


Valgrind reports reading already freed memory. Sometimes i get crashes, and
core backtrace shows the same path.
See valgrind reports in bottom.
Workaround: insert 'fifo' filter between pad & settb.


LD_LIBRARY_PATH=. valgrind --log-file=valgrind.log --num-callers=50 ./avconv -i
http://sokolov.me/tmp/video-mpeg4_720x544-audio_ac3_48000_stereo.avi -an -c:v
mpeg4 -vf pad=740:600:8:0,settb=1/90000 -t 1 -y out.ts -loglevel debug
avconv version v0.8-906-g356ee8d, Copyright (c) 2000-2012 the Libav developers
  built on Mar  5 2012 17:36:56 with gcc 4.5.3
  configuration: --enable-shared --disable-static --enable-gpl
--enable-version3 --enable-avfilter --disable-doc --disable-avplay
--enable-gnutls --disable-vdpau --enable-libmp3lame --enable-libfaac
--enable-nonfree --enable-libvo-aacenc --enable-libvorbis --enable-libx264
--enable-libxvid --disable-indev=v4l --disable-indev=v4l2 --disable-indev=oss
--disable-indev=jack --disable-outdev=oss --enable-libfreetype
--disable-altivec --disable-avx --disable-vis --disable-neon --disable-iwmmxt
--enable-pic --cpu=core2 --enable-hardcoded-tables
  libavutil    51. 24. 0 / 51. 24. 0
  libavcodec   54.  7. 0 / 54.  7. 0
  libavformat  54.  2. 0 / 54.  2. 0
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 15. 0 /  2. 15. 0
  libswscale    2.  1. 0 /  2.  1. 0
[avi @ 0x9cc8d80] Probed with size=2048 and score=100
[avi @ 0x9cc8d80] All info found
Input #0, avi, from
'http://sokolov.me/tmp/video-mpeg4_720x544-audio_ac3_48000_stereo.avi':
  Metadata:
    encoder         : VirtualDubMod 1.5.4.1 (build 2178/release)
  Duration: 00:09:58.84, start: 0.000000, bitrate: 1952 kb/s
    Stream #0.0, 1, 1/25: Video: mpeg4 (Advanced Simple Profile), yuv420p,
720x544 [PAR 1:1 DAR 45:34], 1/25, 25 tbn, 25 tbc
    Stream #0.1, 3, 1/24000: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
[buffer @ 0xab90600] w:720 h:544 pixfmt:yuv420p
[pad @ 0xab91340] w:720 h:544 -> w:740 h:600 x:8 y:0 color:0x108080FF[yuva]
[settb @ 0xab921a0] tb:1/1000000 -> tb:1/90000
[mpeg4 @ 0xa08e300] detected 2 logical cores
[mpeg4 @ 0x9ce0e40] detected 2 logical cores
[mpegts @ 0xa08daa0] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt
every 40 pkts
Output #0, mpegts, to 'out.ts':
  Metadata:
    encoder         : Lavf54.2.0
    Stream #0.0, 0, 1/90000: Video: mpeg4, yuv420p, 740x600 [PAR 1:1 DAR
37:30], 1/25, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 -> mpeg4)
Press ctrl-c to stop encoding
[pad @ 0xab91340] Direct padding impossible allocating new frame
[settb @ 0xab921a0] tb:1/1000000 pts:40000 -> tb:1/90000 pts:3600
Direct padding impossible allocating new frame=0.04 bitrate=1729.6kbits/s    
[settb @ 0xab921a0] tb:1/1000000 pts:80000 -> tb:1/90000 pts:7200
[pad @ 0xab91340] Direct padding impossible allocating new frame
[settb @ 0xab921a0] tb:1/1000000 pts:120000 -> tb:1/90000 pts:10800
Direct padding impossible allocating new frame=0.12 bitrate=1754.7kbits/s    
[settb @ 0xab921a0] tb:1/1000000 pts:160000 -> tb:1/90000 pts:14400
[pad @ 0xab91340] Direct padding impossible allocating new frame
[settb @ 0xab921a0] tb:1/1000000 pts:200000 -> tb:1/90000 pts:18000
Direct padding impossible allocating new frame=0.20 bitrate=1947.7kbits/s    
[settb @ 0xab921a0] tb:1/1000000 pts:240000 -> tb:1/90000 pts:21600
[pad @ 0xab91340] Direct padding impossible allocating new frame
[settb @ 0xab921a0] tb:1/1000000 pts:280000 -> tb:1/90000 pts:25200
Direct padding impossible allocating new frame=0.28 bitrate=1815.5kbits/s    
[settb @ 0xab921a0] tb:1/1000000 pts:320000 -> tb:1/90000 pts:28800
[pad @ 0xab91340] Direct padding impossible allocating new frame
[settb @ 0xab921a0] tb:1/1000000 pts:360000 -> tb:1/90000 pts:32400
Direct padding impossible allocating new framee=0.36 bitrate=1700.4kbits/s    
[settb @ 0xab921a0] tb:1/1000000 pts:400000 -> tb:1/90000 pts:36000
[pad @ 0xab91340] Direct padding impossible allocating new frame
[settb @ 0xab921a0] tb:1/1000000 pts:440000 -> tb:1/90000 pts:39600
Direct padding impossible allocating new framee=0.44 bitrate=1613.4kbits/s    
[settb @ 0xab921a0] tb:1/1000000 pts:480000 -> tb:1/90000 pts:43200
[pad @ 0xab91340] Direct padding impossible allocating new frame
[settb @ 0xab921a0] tb:1/1000000 pts:520000 -> tb:1/90000 pts:46800
Direct padding impossible allocating new framee=0.52 bitrate=1515.6kbits/s    
[settb @ 0xab921a0] tb:1/1000000 pts:560000 -> tb:1/90000 pts:50400
[pad @ 0xab91340] Direct padding impossible allocating new frame
[settb @ 0xab921a0] tb:1/1000000 pts:600000 -> tb:1/90000 pts:54000
[pad @ 0xab91340] Direct padding impossible allocating new frame
[settb @ 0xab921a0] tb:1/1000000 pts:640000 -> tb:1/90000 pts:57600
Direct padding impossible allocating new framee=0.64 bitrate=1353.6kbits/s    
[settb @ 0xab921a0] tb:1/1000000 pts:680000 -> tb:1/90000 pts:61200
[pad @ 0xab91340] Direct padding impossible allocating new frame
[settb @ 0xab921a0] tb:1/1000000 pts:720000 -> tb:1/90000 pts:64800
[pad @ 0xab91340] Direct padding impossible allocating new frame
[settb @ 0xab921a0] tb:1/1000000 pts:760000 -> tb:1/90000 pts:68400
Direct padding impossible allocating new framee=0.76 bitrate=1151.7kbits/s    
[settb @ 0xab921a0] tb:1/1000000 pts:800000 -> tb:1/90000 pts:72000
[pad @ 0xab91340] Direct padding impossible allocating new frame
[settb @ 0xab921a0] tb:1/1000000 pts:840000 -> tb:1/90000 pts:75600
[pad @ 0xab91340] Direct padding impossible allocating new frame
[settb @ 0xab921a0] tb:1/1000000 pts:880000 -> tb:1/90000 pts:79200
Direct padding impossible allocating new framee=0.88 bitrate=1015.2kbits/s    
[settb @ 0xab921a0] tb:1/1000000 pts:920000 -> tb:1/90000 pts:82800
[pad @ 0xab91340] Direct padding impossible allocating new frame
[settb @ 0xab921a0] tb:1/1000000 pts:960000 -> tb:1/90000 pts:86400
[pad @ 0xab91340] Direct padding impossible allocating new frame
[settb @ 0xab921a0] tb:1/1000000 pts:1000000 -> tb:1/90000 pts:90000
Direct padding impossible allocating new framee=1.00 bitrate= 912.9kbits/s    
[settb @ 0xab921a0] tb:1/1000000 pts:1040000 -> tb:1/90000 pts:93600
[pad @ 0xab91340] Direct padding impossible allocating new frame
[settb @ 0xab921a0] tb:1/1000000 pts:1080000 -> tb:1/90000 pts:97200
*** 1 dup!
[pad @ 0xab91340] Direct padding impossible allocating new frame
[settb @ 0xab921a0] tb:1/1000000 pts:1120000 -> tb:1/90000 pts:100800
*** 2 dup!
[pad @ 0xab91340] Direct padding impossible allocating new frame
[settb @ 0xab921a0] tb:1/1000000 pts:1160000 -> tb:1/90000 pts:104400
*** 3 dup!
frame=   25 fps=  3 q=17.3 Lsize=     111kB time=1.00 bitrate= 912.9kbits/s
dup=6 drop=0    
video:0kB audio:0kB global headers:0kB muxing overhead inf%
[OK]
17:40krieger at utkin_desktop /usr/local/src/libav
 $ vim valgrind.log 
[OK]
17:41krieger at utkin_desktop /usr/local/src/libav
 $ cat valgrind.log                                                             
==7481== Memcheck, a memory error detector
==7481== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==7481== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==7481== Command: ./avconv -i
http://sokolov.me/tmp/video-mpeg4_720x544-audio_ac3_48000_stereo.avi -an -c:v
mpeg4 -vf pad=740:600:8:0,settb=1/90000 -t 1 -y out.ts -loglevel debug
==7481== Parent PID: 7194
==7481== 
==7481== Invalid read of size 8
==7481==    at 0x5046176: ff_draw_rectangle (drawutils.c:86)
==7481==    by 0x505031B: draw_slice (vf_pad.c:388)
==7481==    by 0x504485B: avfilter_draw_slice (avfilter.c:485)
==7481==    by 0x5054EEF: request_frame (vsrc_buffer.c:157)
==7481==    by 0x50442DF: avfilter_request_frame (avfilter.c:374)
==7481==    by 0x41373F: get_filtered_video_frame (cmdutils.c:1069)
==7481==    by 0x409D7E: output_packet (avconv.c:2028)
==7481==    by 0x41084E: main (avconv.c:2791)
==7481==  Address 0xe2be488 is 8 bytes inside a block of size 152 free'd
==7481==    at 0x4C280BC: free (vg_replace_malloc.c:427)
==7481==    by 0x50525A9: start_frame (vf_settb.c:118)
==7481==    by 0x50444D2: avfilter_start_frame (avfilter.c:427)
==7481==    by 0x50444D2: avfilter_start_frame (avfilter.c:427)
==7481==    by 0x5054EDD: request_frame (vsrc_buffer.c:156)
==7481==    by 0x50442DF: avfilter_request_frame (avfilter.c:374)
==7481==    by 0x41373F: get_filtered_video_frame (cmdutils.c:1069)
==7481==    by 0x409D7E: output_packet (avconv.c:2028)
==7481==    by 0x41084E: main (avconv.c:2791)
==7481== 
==7481== Invalid read of size 4
==7481==    at 0x50461A4: ff_draw_rectangle (drawutils.c:90)
==7481==    by 0x505031B: draw_slice (vf_pad.c:388)
==7481==    by 0x504485B: avfilter_draw_slice (avfilter.c:485)
==7481==    by 0x5054EEF: request_frame (vsrc_buffer.c:157)
==7481==    by 0x50442DF: avfilter_request_frame (avfilter.c:374)
==7481==    by 0x41373F: get_filtered_video_frame (cmdutils.c:1069)
==7481==    by 0x409D7E: output_packet (avconv.c:2028)
==7481==    by 0x41084E: main (avconv.c:2791)
==7481==  Address 0xe2be4c8 is 72 bytes inside a block of size 152 free'd
==7481==    at 0x4C280BC: free (vg_replace_malloc.c:427)
==7481==    by 0x50525A9: start_frame (vf_settb.c:118)
==7481==    by 0x50444D2: avfilter_start_frame (avfilter.c:427)
==7481==    by 0x50444D2: avfilter_start_frame (avfilter.c:427)
==7481==    by 0x5054EDD: request_frame (vsrc_buffer.c:156)
==7481==    by 0x50442DF: avfilter_request_frame (avfilter.c:374)
==7481==    by 0x41373F: get_filtered_video_frame (cmdutils.c:1069)
==7481==    by 0x409D7E: output_packet (avconv.c:2028)
==7481==    by 0x41084E: main (avconv.c:2791)
==7481== 
==7481== Invalid read of size 4
==7481==    at 0x5046224: ff_draw_rectangle (drawutils.c:94)
==7481==    by 0x505031B: draw_slice (vf_pad.c:388)
==7481==    by 0x504485B: avfilter_draw_slice (avfilter.c:485)
==7481==    by 0x5054EEF: request_frame (vsrc_buffer.c:157)
==7481==    by 0x50442DF: avfilter_request_frame (avfilter.c:374)
==7481==    by 0x41373F: get_filtered_video_frame (cmdutils.c:1069)
==7481==    by 0x409D7E: output_packet (avconv.c:2028)
==7481==    by 0x41084E: main (avconv.c:2791)
==7481==  Address 0xe2be4c8 is 72 bytes inside a block of size 152 free'd
==7481==    at 0x4C280BC: free (vg_replace_malloc.c:427)
==7481==    by 0x50525A9: start_frame (vf_settb.c:118)
==7481==    by 0x50444D2: avfilter_start_frame (avfilter.c:427)
==7481==    by 0x50444D2: avfilter_start_frame (avfilter.c:427)
==7481==    by 0x5054EDD: request_frame (vsrc_buffer.c:156)
==7481==    by 0x50442DF: avfilter_request_frame (avfilter.c:374)
==7481==    by 0x41373F: get_filtered_video_frame (cmdutils.c:1069)
==7481==    by 0x409D7E: output_packet (avconv.c:2028)
==7481==    by 0x41084E: main (avconv.c:2791)
==7481== 
==7481== Invalid read of size 8
==7481==    at 0x5046297: ff_copy_rectangle (drawutils.c:106)
==7481==    by 0x505042D: draw_slice (vf_pad.c:392)
==7481==    by 0x504485B: avfilter_draw_slice (avfilter.c:485)
==7481==    by 0x5054EEF: request_frame (vsrc_buffer.c:157)
==7481==    by 0x50442DF: avfilter_request_frame (avfilter.c:374)
==7481==    by 0x41373F: get_filtered_video_frame (cmdutils.c:1069)
==7481==    by 0x409D7E: output_packet (avconv.c:2028)
==7481==    by 0x41084E: main (avconv.c:2791)
==7481==  Address 0xe2be488 is 8 bytes inside a block of size 152 free'd
==7481==    at 0x4C280BC: free (vg_replace_malloc.c:427)
==7481==    by 0x50525A9: start_frame (vf_settb.c:118)
==7481==    by 0x50444D2: avfilter_start_frame (avfilter.c:427)
==7481==    by 0x50444D2: avfilter_start_frame (avfilter.c:427)
==7481==    by 0x5054EDD: request_frame (vsrc_buffer.c:156)
==7481==    by 0x50442DF: avfilter_request_frame (avfilter.c:374)
==7481==    by 0x41373F: get_filtered_video_frame (cmdutils.c:1069)
==7481==    by 0x409D7E: output_packet (avconv.c:2028)
==7481==    by 0x41084E: main (avconv.c:2791)
==7481== 
==7481== Invalid read of size 4
==7481==    at 0x50462CA: ff_copy_rectangle (drawutils.c:110)
==7481==    by 0x505042D: draw_slice (vf_pad.c:392)
==7481==    by 0x504485B: avfilter_draw_slice (avfilter.c:485)
==7481==    by 0x5054EEF: request_frame (vsrc_buffer.c:157)
==7481==    by 0x50442DF: avfilter_request_frame (avfilter.c:374)
==7481==    by 0x41373F: get_filtered_video_frame (cmdutils.c:1069)
==7481==    by 0x409D7E: output_packet (avconv.c:2028)
==7481==    by 0x41084E: main (avconv.c:2791)
==7481==  Address 0xe2be4c8 is 72 bytes inside a block of size 152 free'd
==7481==    at 0x4C280BC: free (vg_replace_malloc.c:427)
==7481==    by 0x50525A9: start_frame (vf_settb.c:118)
==7481==    by 0x50444D2: avfilter_start_frame (avfilter.c:427)
==7481==    by 0x50444D2: avfilter_start_frame (avfilter.c:427)
==7481==    by 0x5054EDD: request_frame (vsrc_buffer.c:156)
==7481==    by 0x50442DF: avfilter_request_frame (avfilter.c:374)
==7481==    by 0x41373F: get_filtered_video_frame (cmdutils.c:1069)
==7481==    by 0x409D7E: output_packet (avconv.c:2028)
==7481==    by 0x41084E: main (avconv.c:2791)
==7481== 
==7481== Invalid read of size 4
==7481==    at 0x5046370: ff_copy_rectangle (drawutils.c:114)
==7481==    by 0x505042D: draw_slice (vf_pad.c:392)
==7481==    by 0x504485B: avfilter_draw_slice (avfilter.c:485)
==7481==    by 0x5054EEF: request_frame (vsrc_buffer.c:157)
==7481==    by 0x50442DF: avfilter_request_frame (avfilter.c:374)
==7481==    by 0x41373F: get_filtered_video_frame (cmdutils.c:1069)
==7481==    by 0x409D7E: output_packet (avconv.c:2028)
==7481==    by 0x41084E: main (avconv.c:2791)
==7481==  Address 0xe2be4c8 is 72 bytes inside a block of size 152 free'd
==7481==    at 0x4C280BC: free (vg_replace_malloc.c:427)
==7481==    by 0x50525A9: start_frame (vf_settb.c:118)
==7481==    by 0x50444D2: avfilter_start_frame (avfilter.c:427)
==7481==    by 0x50444D2: avfilter_start_frame (avfilter.c:427)
==7481==    by 0x5054EDD: request_frame (vsrc_buffer.c:156)
==7481==    by 0x50442DF: avfilter_request_frame (avfilter.c:374)
==7481==    by 0x41373F: get_filtered_video_frame (cmdutils.c:1069)
==7481==    by 0x409D7E: output_packet (avconv.c:2028)
==7481==    by 0x41084E: main (avconv.c:2791)
==7481== 
==7481== Invalid read of size 8
==7481==    at 0x5046176: ff_draw_rectangle (drawutils.c:86)
==7481==    by 0x5050379: draw_slice (vf_pad.c:399)
==7481==    by 0x504485B: avfilter_draw_slice (avfilter.c:485)
==7481==    by 0x5054EEF: request_frame (vsrc_buffer.c:157)
==7481==    by 0x50442DF: avfilter_request_frame (avfilter.c:374)
==7481==    by 0x41373F: get_filtered_video_frame (cmdutils.c:1069)
==7481==    by 0x409D7E: output_packet (avconv.c:2028)
==7481==    by 0x41084E: main (avconv.c:2791)
==7481==  Address 0xe2be488 is 8 bytes inside a block of size 152 free'd
==7481==    at 0x4C280BC: free (vg_replace_malloc.c:427)
==7481==    by 0x50525A9: start_frame (vf_settb.c:118)
==7481==    by 0x50444D2: avfilter_start_frame (avfilter.c:427)
==7481==    by 0x50444D2: avfilter_start_frame (avfilter.c:427)
==7481==    by 0x5054EDD: request_frame (vsrc_buffer.c:156)
==7481==    by 0x50442DF: avfilter_request_frame (avfilter.c:374)
==7481==    by 0x41373F: get_filtered_video_frame (cmdutils.c:1069)
==7481==    by 0x409D7E: output_packet (avconv.c:2028)
==7481==    by 0x41084E: main (avconv.c:2791)
==7481== 
==7481== Invalid read of size 4
==7481==    at 0x50461A4: ff_draw_rectangle (drawutils.c:90)
==7481==    by 0x5050379: draw_slice (vf_pad.c:399)
==7481==    by 0x504485B: avfilter_draw_slice (avfilter.c:485)
==7481==    by 0x5054EEF: request_frame (vsrc_buffer.c:157)
==7481==    by 0x50442DF: avfilter_request_frame (avfilter.c:374)
==7481==    by 0x41373F: get_filtered_video_frame (cmdutils.c:1069)
==7481==    by 0x409D7E: output_packet (avconv.c:2028)
==7481==    by 0x41084E: main (avconv.c:2791)
==7481==  Address 0xe2be4c8 is 72 bytes inside a block of size 152 free'd
==7481==    at 0x4C280BC: free (vg_replace_malloc.c:427)
==7481==    by 0x50525A9: start_frame (vf_settb.c:118)
==7481==    by 0x50444D2: avfilter_start_frame (avfilter.c:427)
==7481==    by 0x50444D2: avfilter_start_frame (avfilter.c:427)
==7481==    by 0x5054EDD: request_frame (vsrc_buffer.c:156)
==7481==    by 0x50442DF: avfilter_request_frame (avfilter.c:374)
==7481==    by 0x41373F: get_filtered_video_frame (cmdutils.c:1069)
==7481==    by 0x409D7E: output_packet (avconv.c:2028)
==7481==    by 0x41084E: main (avconv.c:2791)
==7481== 
==7481== Invalid read of size 4
==7481==    at 0x5046224: ff_draw_rectangle (drawutils.c:94)
==7481==    by 0x5050379: draw_slice (vf_pad.c:399)
==7481==    by 0x504485B: avfilter_draw_slice (avfilter.c:485)
==7481==    by 0x5054EEF: request_frame (vsrc_buffer.c:157)
==7481==    by 0x50442DF: avfilter_request_frame (avfilter.c:374)
==7481==    by 0x41373F: get_filtered_video_frame (cmdutils.c:1069)
==7481==    by 0x409D7E: output_packet (avconv.c:2028)
==7481==    by 0x41084E: main (avconv.c:2791)
==7481==  Address 0xe2be4c8 is 72 bytes inside a block of size 152 free'd
==7481==    at 0x4C280BC: free (vg_replace_malloc.c:427)
==7481==    by 0x50525A9: start_frame (vf_settb.c:118)
==7481==    by 0x50444D2: avfilter_start_frame (avfilter.c:427)
==7481==    by 0x50444D2: avfilter_start_frame (avfilter.c:427)
==7481==    by 0x5054EDD: request_frame (vsrc_buffer.c:156)
==7481==    by 0x50442DF: avfilter_request_frame (avfilter.c:374)
==7481==    by 0x41373F: get_filtered_video_frame (cmdutils.c:1069)
==7481==    by 0x409D7E: output_packet (avconv.c:2028)
==7481==    by 0x41084E: main (avconv.c:2791)
==7481== 
==7481== Invalid read of size 8
==7481==    at 0x5046176: ff_draw_rectangle (drawutils.c:86)
==7481==    by 0x50501CB: draw_send_bar_slice.clone.0 (vf_pad.c:364)
==7481==    by 0x504485B: avfilter_draw_slice (avfilter.c:485)
==7481==    by 0x5054EEF: request_frame (vsrc_buffer.c:157)
==7481==    by 0x50442DF: avfilter_request_frame (avfilter.c:374)
==7481==    by 0x41373F: get_filtered_video_frame (cmdutils.c:1069)
==7481==    by 0x409D7E: output_packet (avconv.c:2028)
==7481==    by 0x41084E: main (avconv.c:2791)
==7481==  Address 0xe2be488 is 8 bytes inside a block of size 152 free'd
==7481==    at 0x4C280BC: free (vg_replace_malloc.c:427)
==7481==    by 0x50525A9: start_frame (vf_settb.c:118)
==7481==    by 0x50444D2: avfilter_start_frame (avfilter.c:427)
==7481==    by 0x50444D2: avfilter_start_frame (avfilter.c:427)
==7481==    by 0x5054EDD: request_frame (vsrc_buffer.c:156)
==7481==    by 0x50442DF: avfilter_request_frame (avfilter.c:374)
==7481==    by 0x41373F: get_filtered_video_frame (cmdutils.c:1069)
==7481==    by 0x409D7E: output_packet (avconv.c:2028)
==7481==    by 0x41084E: main (avconv.c:2791)
==7481== 
==7481== Invalid read of size 4
==7481==    at 0x50461A4: ff_draw_rectangle (drawutils.c:90)
==7481==    by 0x50501CB: draw_send_bar_slice.clone.0 (vf_pad.c:364)
==7481==    by 0x504485B: avfilter_draw_slice (avfilter.c:485)
==7481==    by 0x5054EEF: request_frame (vsrc_buffer.c:157)
==7481==    by 0x50442DF: avfilter_request_frame (avfilter.c:374)
==7481==    by 0x41373F: get_filtered_video_frame (cmdutils.c:1069)
==7481==    by 0x409D7E: output_packet (avconv.c:2028)
==7481==    by 0x41084E: main (avconv.c:2791)
==7481==  Address 0xe2be4c8 is 72 bytes inside a block of size 152 free'd
==7481==    at 0x4C280BC: free (vg_replace_malloc.c:427)
==7481==    by 0x50525A9: start_frame (vf_settb.c:118)
==7481==    by 0x50444D2: avfilter_start_frame (avfilter.c:427)
==7481==    by 0x50444D2: avfilter_start_frame (avfilter.c:427)
==7481==    by 0x5054EDD: request_frame (vsrc_buffer.c:156)
==7481==    by 0x50442DF: avfilter_request_frame (avfilter.c:374)
==7481==    by 0x41373F: get_filtered_video_frame (cmdutils.c:1069)
==7481==    by 0x409D7E: output_packet (avconv.c:2028)
==7481==    by 0x41084E: main (avconv.c:2791)
==7481== 
==7481== Invalid read of size 4
==7481==    at 0x5046224: ff_draw_rectangle (drawutils.c:94)
==7481==    by 0x50501CB: draw_send_bar_slice.clone.0 (vf_pad.c:364)
==7481==    by 0x504485B: avfilter_draw_slice (avfilter.c:485)
==7481==    by 0x5054EEF: request_frame (vsrc_buffer.c:157)
==7481==    by 0x50442DF: avfilter_request_frame (avfilter.c:374)
==7481==    by 0x41373F: get_filtered_video_frame (cmdutils.c:1069)
==7481==    by 0x409D7E: output_packet (avconv.c:2028)
==7481==    by 0x41084E: main (avconv.c:2791)
==7481==  Address 0xe2be4c8 is 72 bytes inside a block of size 152 free'd
==7481==    at 0x4C280BC: free (vg_replace_malloc.c:427)
==7481==    by 0x50525A9: start_frame (vf_settb.c:118)
==7481==    by 0x50444D2: avfilter_start_frame (avfilter.c:427)
==7481==    by 0x50444D2: avfilter_start_frame (avfilter.c:427)
==7481==    by 0x5054EDD: request_frame (vsrc_buffer.c:156)
==7481==    by 0x50442DF: avfilter_request_frame (avfilter.c:374)
==7481==    by 0x41373F: get_filtered_video_frame (cmdutils.c:1069)
==7481==    by 0x409D7E: output_packet (avconv.c:2028)
==7481==    by 0x41084E: main (avconv.c:2791)
==7481== 
==7481== 
==7481== HEAP SUMMARY:
==7481==     in use at exit: 3,392 bytes in 46 blocks
==7481==   total heap usage: 3,417 allocs, 3,371 frees, 176,454,861 bytes
allocated
==7481== 
==7481== LEAK SUMMARY:
==7481==    definitely lost: 0 bytes in 0 blocks
==7481==    indirectly lost: 0 bytes in 0 blocks
==7481==      possibly lost: 0 bytes in 0 blocks
==7481==    still reachable: 3,392 bytes in 46 blocks
==7481==         suppressed: 0 bytes in 0 blocks
==7481== Rerun with --leak-check=full to see details of leaked memory
==7481== 
==7481== For counts of detected and suppressed errors, rerun with: -v
==7481== ERROR SUMMARY: 98716 errors from 12 contexts (suppressed: 6 from 6)

-- 
Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list