Ticket #2400: valgrind

File valgrind, 11.7 KB (added by ylzs, 4 years ago)
Line 
1==30435== Memcheck, a memory error detector
2==30435== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
3==30435== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info
4==30435== Command: ./mencoder -ovc lavc -oac lavc -o /dev/null /home/jlx/crashes/testcase_0
5==30435==
6MEncoder SVN-r38374-9 (C) 2000-2022 MPlayer Team
7==30435== Conditional jump or move depends on uninitialised value(s)
8==30435== at 0x6F2ED26: __strncat_chk (strncat_chk.c:52)
9==30435== by 0x14DA08: strncat (string_fortified.h:136)
10==30435== by 0x14DA08: GetCpuFriendlyName (cpudetect.c:409)
11==30435== by 0x14DC0F: GetCpuCaps (cpudetect.c:315)
12==30435== by 0x15581E: print_version (mpcommon.c:75)
13==30435== by 0x13233E: main (mencoder.c:598)
14==30435==
15==30435== Conditional jump or move depends on uninitialised value(s)
16==30435== at 0x6F2ED37: __strncat_chk (strncat_chk.c:58)
17==30435== by 0x14DA08: strncat (string_fortified.h:136)
18==30435== by 0x14DA08: GetCpuFriendlyName (cpudetect.c:409)
19==30435== by 0x14DC0F: GetCpuCaps (cpudetect.c:315)
20==30435== by 0x15581E: print_version (mpcommon.c:75)
21==30435== by 0x13233E: main (mencoder.c:598)
22==30435==
23==30435== Conditional jump or move depends on uninitialised value(s)
24==30435== at 0x6F2ED48: __strncat_chk (strncat_chk.c:64)
25==30435== by 0x14DA08: strncat (string_fortified.h:136)
26==30435== by 0x14DA08: GetCpuFriendlyName (cpudetect.c:409)
27==30435== by 0x14DC0F: GetCpuCaps (cpudetect.c:315)
28==30435== by 0x15581E: print_version (mpcommon.c:75)
29==30435== by 0x13233E: main (mencoder.c:598)
30==30435==
31==30435== Conditional jump or move depends on uninitialised value(s)
32==30435== at 0x6F2ED67: __strncat_chk (strncat_chk.c:70)
33==30435== by 0x14DA08: strncat (string_fortified.h:136)
34==30435== by 0x14DA08: GetCpuFriendlyName (cpudetect.c:409)
35==30435== by 0x14DC0F: GetCpuCaps (cpudetect.c:315)
36==30435== by 0x15581E: print_version (mpcommon.c:75)
37==30435== by 0x13233E: main (mencoder.c:598)
38==30435==
39==30435== Conditional jump or move depends on uninitialised value(s)
40==30435== at 0x6F2ED7E: __strncat_chk (strncat_chk.c:52)
41==30435== by 0x14DA08: strncat (string_fortified.h:136)
42==30435== by 0x14DA08: GetCpuFriendlyName (cpudetect.c:409)
43==30435== by 0x14DC0F: GetCpuCaps (cpudetect.c:315)
44==30435== by 0x15581E: print_version (mpcommon.c:75)
45==30435== by 0x13233E: main (mencoder.c:598)
46==30435==
47==30435== Conditional jump or move depends on uninitialised value(s)
48==30435== at 0x6F2ECE8: __strncat_chk (strncat_chk.c:36)
49==30435== by 0x14DA08: strncat (string_fortified.h:136)
50==30435== by 0x14DA08: GetCpuFriendlyName (cpudetect.c:409)
51==30435== by 0x14DC0F: GetCpuCaps (cpudetect.c:315)
52==30435== by 0x15581E: print_version (mpcommon.c:75)
53==30435== by 0x13233E: main (mencoder.c:598)
54==30435==
55==30435== Conditional jump or move depends on uninitialised value(s)
56==30435== at 0x14DC19: GetCpuCaps (cpudetect.c:316)
57==30435== by 0x15581E: print_version (mpcommon.c:75)
58==30435== by 0x13233E: main (mencoder.c:598)
59==30435==
60success: format: 0 data: 0x0 - 0xd4dc
61libavformat version 58.29.100 (external)
62libavformat file format detected.
63[mov,mp4,m4a,3gp,3g2,mj2 @ 0x512e600]STSC entry 2 is invalid (first=4 count=14 id=1)
64[mov,mp4,m4a,3gp,3g2,mj2 @ 0x512e600]STSC entry 1 is invalid (first=918905090 count=15 id=1)
65[mov,mp4,m4a,3gp,3g2,mj2 @ 0x512e600]STSC entry 0 is invalid (first=1 count=109 id=-894264234)
66[mov,mp4,m4a,3gp,3g2,mj2 @ 0x512e600]Invalid sample size -16777051
67[mov,mp4,m4a,3gp,3g2,mj2 @ 0x512e600]error reading header
68LAVF_header: av_open_input_stream() failed
69Quicktime/MOV file format detected.
70MOV: durmap and chunkmap sample count differ (90 vs 654)
71MOV: durmap or chunkmap bigger than sample count (654 vs 90)
72[mov] Video stream found, -vid 0
73==30435== Invalid read of size 2
74==30435== at 0x1DFBF9: gen_sh_video (demux_mov.c:1100)
75==30435== by 0x1DFBF9: lschunks (demux_mov.c:1344)
76==30435== by 0x1E06D0: mov_read_header (demux_mov.c:1961)
77==30435== by 0x1BA796: demux_open_stream (demuxer.c:1173)
78==30435== by 0x1BB230: demux_open (demuxer.c:1294)
79==30435== by 0x132641: main (mencoder.c:707)
80==30435== Address 0xe2cb4d5 is 21 bytes after a block of size 64 in arena "client"
81==30435==
82==30435== Invalid read of size 2
83==30435== at 0x1DFC26: gen_sh_video (demux_mov.c:1101)
84==30435== by 0x1DFC26: lschunks (demux_mov.c:1344)
85==30435== by 0x1E06D0: mov_read_header (demux_mov.c:1961)
86==30435== by 0x1BA796: demux_open_stream (demuxer.c:1173)
87==30435== by 0x1BB230: demux_open (demuxer.c:1294)
88==30435== by 0x132641: main (mencoder.c:707)
89==30435== Address 0xe2cb4d5 is 21 bytes after a block of size 64 in arena "client"
90==30435==
91==30435== Invalid read of size 1
92==30435== at 0x1DFC4E: gen_sh_video (demux_mov.c:1103)
93==30435== by 0x1DFC4E: lschunks (demux_mov.c:1344)
94==30435== by 0x1E06D0: mov_read_header (demux_mov.c:1961)
95==30435== by 0x1BA796: demux_open_stream (demuxer.c:1173)
96==30435== by 0x1BB230: demux_open (demuxer.c:1294)
97==30435== by 0x132641: main (mencoder.c:707)
98==30435== Address 0xe2d3f40 is 21,568 bytes inside an unallocated block of size 996,576 in arena "client"
99==30435==
100==30435== Invalid read of size 2
101==30435== at 0x1DFC7F: gen_sh_video (demux_mov.c:1106)
102==30435== by 0x1DFC7F: lschunks (demux_mov.c:1344)
103==30435== by 0x1E06D0: mov_read_header (demux_mov.c:1961)
104==30435== by 0x1BA796: demux_open_stream (demuxer.c:1173)
105==30435== by 0x1BB230: demux_open (demuxer.c:1294)
106==30435== by 0x132641: main (mencoder.c:707)
107==30435== Address 0xe2d3f41 is 21,569 bytes inside an unallocated block of size 996,576 in arena "client"
108==30435==
109==30435== Invalid read of size 2
110==30435== at 0x1DFCAC: gen_sh_video (demux_mov.c:1107)
111==30435== by 0x1DFCAC: lschunks (demux_mov.c:1344)
112==30435== by 0x1E06D0: mov_read_header (demux_mov.c:1961)
113==30435== by 0x1BA796: demux_open_stream (demuxer.c:1173)
114==30435== by 0x1BB230: demux_open (demuxer.c:1294)
115==30435== by 0x132641: main (mencoder.c:707)
116==30435== Address 0xe2d3f41 is 21,569 bytes inside an unallocated block of size 996,576 in arena "client"
117==30435==
118[mov] Audio stream found, -aid 1
119VIDEO: [avc1] 320x240 24bpp 30.000 fps 0.0 kbps ( 0.0 kbyte/s)
120[V] filefmt:7 fourcc:0x31637661 size:320x240 fps:30.000 ftime:=0.0333
121==========================================================================
122Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
123libavcodec version 58.54.100 (external)
124==30435== Invalid read of size 4
125==30435== at 0x56BDCF7: ??? (in /usr/lib/x86_64-linux-gnu/libavcodec.so.58.54.100)
126==30435== by 0x525A545: ??? (in /usr/lib/x86_64-linux-gnu/libavcodec.so.58.54.100)
127==30435== by 0x51CE805: ??? (in /usr/lib/x86_64-linux-gnu/libavcodec.so.58.54.100)
128==30435== by 0x5886D5D: avcodec_open2 (in /usr/lib/x86_64-linux-gnu/libavcodec.so.58.54.100)
129==30435== by 0x2367E7: init (ad_ffmpeg.c:153)
130==30435== by 0x172E40: init_audio_codec (dec_audio.c:107)
131==30435== by 0x17325F: init_audio.constprop.0 (dec_audio.c:243)
132==30435== by 0x1734FF: init_best_audio_codec (dec_audio.c:296)
133==30435== by 0x1340CD: main (mencoder.c:787)
134==30435== Address 0xe8730c2 is 2 bytes inside a block of size 5 alloc'd
135==30435== at 0x483E0F0: memalign (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
136==30435== by 0x483E212: posix_memalign (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
137==30435== by 0x6756FFC: av_malloc (in /usr/lib/x86_64-linux-gnu/libavutil.so.56.31.100)
138==30435== by 0x2369E4: init (ad_ffmpeg.c:146)
139==30435== by 0x172E40: init_audio_codec (dec_audio.c:107)
140==30435== by 0x17325F: init_audio.constprop.0 (dec_audio.c:243)
141==30435== by 0x1734FF: init_best_audio_codec (dec_audio.c:296)
142==30435== by 0x1340CD: main (mencoder.c:787)
143==30435==
144==30435== Invalid read of size 4
145==30435== at 0x56BDD1D: ??? (in /usr/lib/x86_64-linux-gnu/libavcodec.so.58.54.100)
146==30435== by 0x525A545: ??? (in /usr/lib/x86_64-linux-gnu/libavcodec.so.58.54.100)
147==30435== by 0x51CE805: ??? (in /usr/lib/x86_64-linux-gnu/libavcodec.so.58.54.100)
148==30435== by 0x5886D5D: avcodec_open2 (in /usr/lib/x86_64-linux-gnu/libavcodec.so.58.54.100)
149==30435== by 0x2367E7: init (ad_ffmpeg.c:153)
150==30435== by 0x172E40: init_audio_codec (dec_audio.c:107)
151==30435== by 0x17325F: init_audio.constprop.0 (dec_audio.c:243)
152==30435== by 0x1734FF: init_best_audio_codec (dec_audio.c:296)
153==30435== by 0x1340CD: main (mencoder.c:787)
154==30435== Address 0xe8730c3 is 3 bytes inside a block of size 5 alloc'd
155==30435== at 0x483E0F0: memalign (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
156==30435== by 0x483E212: posix_memalign (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
157==30435== by 0x6756FFC: av_malloc (in /usr/lib/x86_64-linux-gnu/libavutil.so.56.31.100)
158==30435== by 0x2369E4: init (ad_ffmpeg.c:146)
159==30435== by 0x172E40: init_audio_codec (dec_audio.c:107)
160==30435== by 0x17325F: init_audio.constprop.0 (dec_audio.c:243)
161==30435== by 0x1734FF: init_best_audio_codec (dec_audio.c:296)
162==30435== by 0x1340CD: main (mencoder.c:787)
163==30435==
164[aac @ 0x5eea4c0]Multiple frames in a packet.
165[aac @ 0x5eea4c0]channel element 2.10 is not allocated
166[aac @ 0x5eea4c0]TYPE_FIL: Input buffer exhausted before END element found
167[aac @ 0x5eea4c0]Prediction is not allowed in AAC-LC.
168[aac @ 0x5eea4c0]skip_data_stream_element: Input buffer exhausted before END element found
169[aac @ 0x5eea4c0]Sample rate index in program config element does not match the sample rate index configured by the container.
170[aac @ 0x5eea4c0]Inconsistent channel configuration.
171[aac @ 0x5eea4c0]get_buffer() failed
172[aac @ 0x5eea4c0]Number of bands (12) exceeds limit (9).
173AUDIO: 44100 Hz, 1 ch, floatle, 705.6 kbit/50.00% (ratio: 88200->176400)
174Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
175==========================================================================
176Opening video filter: [expand osd=1]
177Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
178==========================================================================
179Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
180Could not open codec.
181VDecoder init failed :(
182Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
183Could not open codec.
184VDecoder init failed :(
185Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
186Cannot find codec 'h264_crystalhd' in libavcodec...
187VDecoder init failed :(
188Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
189Cannot find codec 'h264_vda' in libavcodec...
190VDecoder init failed :(
191Requested video codec family [coreavcwindows] (vfm=dshow) not available.
192Enable it at compilation.
193Cannot find codec matching selected -vo and video format 0x31637661.
194==========================================================================
195
196Exiting...
197==30435==
198==30435== HEAP SUMMARY:
199==30435== in use at exit: 18,669,676 bytes in 3,903 blocks
200==30435== total heap usage: 5,832 allocs, 1,929 frees, 21,556,527 bytes allocated
201==30435==
202==30435== LEAK SUMMARY:
203==30435== definitely lost: 0 bytes in 0 blocks
204==30435== indirectly lost: 0 bytes in 0 blocks
205==30435== possibly lost: 1,352 bytes in 18 blocks
206==30435== still reachable: 18,668,324 bytes in 3,885 blocks
207==30435== of which reachable via heuristic:
208==30435== newarray : 1,536 bytes in 16 blocks
209==30435== suppressed: 0 bytes in 0 blocks
210==30435== Rerun with --leak-check=full to see details of leaked memory
211==30435==
212==30435== Use --track-origins=yes to see where uninitialised values come from
213==30435== For lists of detected and suppressed errors, rerun with: -s
214==30435== ERROR SUMMARY: 156 errors from 14 contexts (suppressed: 0 from 0)