1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232 | ==5038== Memcheck, a memory error detector
==5038== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==5038== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==5038== Command: /usr/lib/gvfs/gvfsd-mtp.bin --spawner :1.22 /org/gtk/gvfs/exec_spaw/1
==5038== Parent PID: 5037
==5038==
--5038--
--5038-- Valgrind options:
--5038-- -v
--5038-- --tool=memcheck
--5038-- --leak-check=no
--5038-- --log-file=/tmp/gvfs.%p
--5038-- Contents of /proc/version:
--5038-- Linux version 4.13.0-16-generic (buildd@lcy01-02) (gcc version 7.2.0 (Ubuntu 7.2.0-8ubuntu2)) #19-Ubuntu SMP Wed Oct 11 18:35:14 UTC 2017
--5038--
--5038-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-avx-avx2-bmi
--5038-- Page sizes: currently 4096, max supported 4096
--5038-- Valgrind library directory: /usr/lib/valgrind
--5038-- Reading syms from /usr/lib/gvfs/gvfsd-mtp.bin
--5038-- object doesn't have a symbol table
--5038-- Reading syms from /lib/x86_64-linux-gnu/ld-2.26.so
--5038-- Considering /lib/x86_64-linux-gnu/ld-2.26.so ..
--5038-- .. CRC mismatch (computed 8e133c77 wanted 4706bdfa)
--5038-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.26.so ..
--5038-- .. CRC is valid
--5038-- Reading syms from /usr/lib/valgrind/memcheck-amd64-linux
--5038-- Considering /usr/lib/valgrind/memcheck-amd64-linux ..
--5038-- .. CRC mismatch (computed eb774b19 wanted 9c8eee1f)
--5038-- object doesn't have a symbol table
--5038-- object doesn't have a dynamic symbol table
--5038-- Scheduler: using generic scheduler lock implementation.
--5038-- Reading suppressions file: /usr/lib/valgrind/default.supp
==5038== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-5038-by-till-on-???
==5038== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-5038-by-till-on-???
==5038== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-5038-by-till-on-???
==5038==
==5038== TO CONTROL THIS PROCESS USING vgdb (which you probably
==5038== don't want to do, unless you know exactly what you're doing,
==5038== or are doing some strange experiment):
==5038== /usr/lib/valgrind/../../bin/vgdb --pid=5038 ...command...
==5038==
==5038== TO DEBUG THIS PROCESS USING GDB: start GDB like this
==5038== /path/to/gdb /usr/lib/gvfs/gvfsd-mtp.bin
==5038== and then give GDB the following command
==5038== target remote | /usr/lib/valgrind/../../bin/vgdb --pid=5038
==5038== --pid is optional if only one valgrind process is running
==5038==
--5038-- REDIR: 0x401f7b0 (ld-linux-x86-64.so.2:strlen) redirected to 0x58060901 (???)
--5038-- REDIR: 0x401f590 (ld-linux-x86-64.so.2:index) redirected to 0x5806091b (???)
--5038-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so
--5038-- Considering /usr/lib/valgrind/vgpreload_core-amd64-linux.so ..
--5038-- .. CRC mismatch (computed 03b2196b wanted a4aa32fd)
--5038-- object doesn't have a symbol table
--5038-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so
--5038-- Considering /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so ..
--5038-- .. CRC mismatch (computed 830dc4ed wanted 1b335a81)
--5038-- object doesn't have a symbol table
==5038== WARNING: new redirection conflicts with existing -- ignoring it
--5038-- old: 0x0401f7b0 (strlen ) R-> (0000.0) 0x58060901 ???
--5038-- new: 0x0401f7b0 (strlen ) R-> (2007.0) 0x04c32db0 strlen
--5038-- REDIR: 0x401d820 (ld-linux-x86-64.so.2:strcmp) redirected to 0x4c33ee0 (strcmp)
--5038-- REDIR: 0x401fcf0 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x4c374f0 (mempcpy)
--5038-- Reading syms from /usr/lib/x86_64-linux-gnu/gvfs/libgvfsdaemon.so
--5038-- object doesn't have a symbol table
--5038-- Reading syms from /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so
--5038-- object doesn't have a symbol table
--5038-- Reading syms from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.5400.1
--5038-- object doesn't have a symbol table
--5038-- Reading syms from /usr/lib/x86_64-linux-gnu/libmtp.so.9.3.0
--5038-- object doesn't have a symbol table
--5038-- Reading syms from /lib/x86_64-linux-gnu/libusb-1.0.so.0.1.0
--5038-- object doesn't have a symbol table
--5038-- Reading syms from /usr/lib/x86_64-linux-gnu/libgudev-1.0.so.0.2.0
--5038-- object doesn't have a symbol table
--5038-- Reading syms from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.5400.1
--5038-- object doesn't have a symbol table
--5038-- Reading syms from /lib/x86_64-linux-gnu/libglib-2.0.so.0.5400.1
--5038-- object doesn't have a symbol table
--5038-- Reading syms from /lib/x86_64-linux-gnu/libpthread-2.26.so
--5038-- Considering /usr/lib/debug/.build-id/4a/08084aa956dcb4ad3e4c2295b927f237767bfe.debug ..
--5038-- .. build-id is valid
--5038-- Reading syms from /lib/x86_64-linux-gnu/libc-2.26.so
--5038-- Considering /lib/x86_64-linux-gnu/libc-2.26.so ..
--5038-- .. CRC mismatch (computed cc2bbe88 wanted e29f45fb)
--5038-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.26.so ..
--5038-- .. CRC is valid
--5038-- Reading syms from /usr/lib/x86_64-linux-gnu/libsecret-1.so.0.0.0
--5038-- object doesn't have a symbol table
--5038-- Reading syms from /usr/lib/x86_64-linux-gnu/libgcr-base-3.so.1.0.0
--5038-- object doesn't have a symbol table
--5038-- Reading syms from /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.5400.1
--5038-- object doesn't have a symbol table
--5038-- Reading syms from /lib/x86_64-linux-gnu/libz.so.1.2.11
--5038-- object doesn't have a symbol table
--5038-- Reading syms from /lib/x86_64-linux-gnu/libselinux.so.1
--5038-- object doesn't have a symbol table
--5038-- Reading syms from /lib/x86_64-linux-gnu/libresolv-2.26.so
--5038-- Considering /lib/x86_64-linux-gnu/libresolv-2.26.so ..
--5038-- .. CRC mismatch (computed 2f05920e wanted b60231d6)
--5038-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libresolv-2.26.so ..
--5038-- .. CRC is valid
--5038-- Reading syms from /lib/x86_64-linux-gnu/libmount.so.1.1.0
--5038-- object doesn't have a symbol table
--5038-- Reading syms from /lib/x86_64-linux-gnu/libgcrypt.so.20.1.8
--5038-- object doesn't have a symbol table
--5038-- Reading syms from /lib/x86_64-linux-gnu/libudev.so.1.6.6
--5038-- object doesn't have a symbol table
--5038-- Reading syms from /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
--5038-- object doesn't have a symbol table
--5038-- Reading syms from /lib/x86_64-linux-gnu/libpcre.so.3.13.3
--5038-- Considering /lib/x86_64-linux-gnu/libpcre.so.3.13.3 ..
--5038-- .. CRC mismatch (computed 39dfe97e wanted 835fd1fa)
--5038-- object doesn't have a symbol table
--5038-- Reading syms from /usr/lib/x86_64-linux-gnu/libgck-1.so.0.0.0
--5038-- object doesn't have a symbol table
--5038-- Reading syms from /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.3.0
--5038-- object doesn't have a symbol table
--5038-- Reading syms from /lib/x86_64-linux-gnu/libdl-2.26.so
--5038-- Considering /lib/x86_64-linux-gnu/libdl-2.26.so ..
--5038-- .. CRC mismatch (computed 955eacd9 wanted 658a4628)
--5038-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libdl-2.26.so ..
--5038-- .. CRC is valid
--5038-- Reading syms from /lib/x86_64-linux-gnu/libblkid.so.1.1.0
--5038-- object doesn't have a symbol table
--5038-- Reading syms from /lib/x86_64-linux-gnu/librt-2.26.so
--5038-- Considering /lib/x86_64-linux-gnu/librt-2.26.so ..
--5038-- .. CRC mismatch (computed c1cf01a6 wanted 30e48b9c)
--5038-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/librt-2.26.so ..
--5038-- .. CRC is valid
--5038-- Reading syms from /lib/x86_64-linux-gnu/libgpg-error.so.0.22.0
--5038-- object doesn't have a symbol table
--5038-- Reading syms from /lib/x86_64-linux-gnu/libuuid.so.1.3.0
--5038-- object doesn't have a symbol table
--5038-- REDIR: 0x64e9ef0 (libc.so.6:memmove) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x64e8fb0 (libc.so.6:strncpy) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x64ea1d0 (libc.so.6:strcasecmp) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x64e8a00 (libc.so.6:strcat) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x64e8fe0 (libc.so.6:rindex) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x64ebb50 (libc.so.6:rawmemchr) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x64ea060 (libc.so.6:mempcpy) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x64e9e80 (libc.so.6:bcmp) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x64e8f70 (libc.so.6:strncmp) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x64e8a70 (libc.so.6:strcmp) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x64e9fc0 (libc.so.6:memset) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x6507eb0 (libc.so.6:wcschr) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x64e8f10 (libc.so.6:strnlen) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x64e8ae0 (libc.so.6:strcspn) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x64ea220 (libc.so.6:strncasecmp) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x64e8ab0 (libc.so.6:strcpy) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x64ea360 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x64e9010 (libc.so.6:strpbrk) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x64e8a30 (libc.so.6:index) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x64e8ee0 (libc.so.6:strlen) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x64f44b0 (libc.so.6:memrchr) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x64ea270 (libc.so.6:strcasecmp_l) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x64e9e50 (libc.so.6:memchr) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x6508c60 (libc.so.6:wcslen) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x64e92f0 (libc.so.6:strspn) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x64ea1a0 (libc.so.6:stpncpy) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x64ea170 (libc.so.6:stpcpy) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x64ebb80 (libc.so.6:strchrnul) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x64ea2c0 (libc.so.6:strncasecmp_l) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x6579370 (libc.so.6:__memcpy_chk) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x64e9d90 (libc.so.6:strstr) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--5038-- REDIR: 0x65d36a0 (libc.so.6:__strrchr_avx2) redirected to 0x4c32730 (rindex)
--5038-- REDIR: 0x65d3870 (libc.so.6:__strlen_avx2) redirected to 0x4c32cf0 (strlen)
--5038-- REDIR: 0x64e3e90 (libc.so.6:malloc) redirected to 0x4c2faa0 (malloc)
--5038-- REDIR: 0x65d3db0 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4c366e0 (memmove)
--5038-- REDIR: 0x65af060 (libc.so.6:__strcmp_ssse3) redirected to 0x4c33da0 (strcmp)
--5038-- REDIR: 0x65ca810 (libc.so.6:__strncmp_sse42) redirected to 0x4c33570 (__strncmp_sse42)
--5038-- REDIR: 0x65d0260 (libc.so.6:__strcasecmp_avx) redirected to 0x4c335f0 (strcasecmp)
--5038-- REDIR: 0x65cf4b0 (libc.so.6:__strpbrk_sse42) redirected to 0x4c37860 (strpbrk)
--5038-- REDIR: 0x64e54f0 (libc.so.6:calloc) redirected to 0x4c31a70 (calloc)
--5038-- REDIR: 0x64e49b0 (libc.so.6:realloc) redirected to 0x4c31cb0 (realloc)
--5038-- REDIR: 0x65d3280 (libc.so.6:__strchr_avx2) redirected to 0x4c32950 (index)
--5038-- REDIR: 0x64fd7b0 (libc.so.6:__strcat_ssse3) redirected to 0x4c32990 (strcat)
--5038-- REDIR: 0x64e4390 (libc.so.6:free) redirected to 0x4c30cd0 (free)
--5038-- REDIR: 0x65d4230 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4c365d0 (memset)
--5038-- REDIR: 0x64e97f0 (libc.so.6:__GI_strstr) redirected to 0x4c37760 (__strstr_sse2)
--5038-- REDIR: 0x65cf700 (libc.so.6:__memchr_avx2) redirected to 0x4c33f80 (memchr)
--5038-- REDIR: 0x6490b60 (libc.so.6:setenv) redirected to 0x4c37de0 (setenv)
--5038-- REDIR: 0x65d3d90 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4c37130 (mempcpy)
--5038-- REDIR: 0x65d34b0 (libc.so.6:__strchrnul_avx2) redirected to 0x4c37020 (strchrnul)
--5038-- REDIR: 0x65c4f80 (libc.so.6:__stpcpy_ssse3) redirected to 0x4c35f60 (stpcpy)
--5038-- REDIR: 0x65d0270 (libc.so.6:__strcasecmp_l_avx) redirected to 0x4c33890 (strcasecmp_l)
--5038-- REDIR: 0x65c2400 (libc.so.6:__strncpy_ssse3) redirected to 0x4c32fb0 (strncpy)
--5038-- REDIR: 0x65c0c50 (libc.so.6:__strcpy_ssse3) redirected to 0x4c32dd0 (strcpy)
--5038-- REDIR: 0x65cf5e0 (libc.so.6:__strspn_sse42) redirected to 0x4c37990 (strspn)
--5038-- REDIR: 0x65d3da0 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x4c375e0 (__memcpy_chk)
--5038-- REDIR: 0x65cf370 (libc.so.6:__strcspn_sse42) redirected to 0x4c378d0 (strcspn)
--5038-- REDIR: 0x65cfe80 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4c35e00 (bcmp)
--5038-- REDIR: 0x65d3a00 (libc.so.6:__strnlen_avx2) redirected to 0x4c32c90 (strnlen)
--5038-- REDIR: 0x65cf9d0 (libc.so.6:__rawmemchr_avx2) redirected to 0x4c37050 (rawmemchr)
==5038== Thread 8 pool:
==5038== Conditional jump or move depends on uninitialised value(s)
==5038== at 0x65D48A7: __wmemchr_avx2 (memchr-avx2.S:250)
==5038== by 0x6533E70: internal_fnwmatch (fnmatch_loop.c:171)
==5038== by 0x6537268: fnmatch@@GLIBC_2.2.5 (fnmatch.c:440)
==5038== by 0x53B3F3D: ??? (in /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.5400.1)
==5038== by 0x539193F: g_content_type_guess (in /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.5400.1)
==5038== by 0x10E3B4: ??? (in /usr/lib/gvfs/gvfsd-mtp.bin)
==5038== by 0x112679: ??? (in /usr/lib/gvfs/gvfsd-mtp.bin)
==5038== by 0x4E4C7C9: g_vfs_job_run (in /usr/lib/x86_64-linux-gnu/gvfs/libgvfsdaemon.so)
==5038== by 0x4E46B7E: ??? (in /usr/lib/x86_64-linux-gnu/gvfs/libgvfsdaemon.so)
==5038== by 0x5F9500F: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.5400.1)
==5038== by 0x5F94644: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.5400.1)
==5038== by 0x623D7FB: start_thread (pthread_create.c:465)
==5038==
==5038==
==5038== HEAP SUMMARY:
==5038== in use at exit: 361,998 bytes in 3,791 blocks
==5038== total heap usage: 34,521 allocs, 30,730 frees, 10,251,407 bytes allocated
==5038==
==5038== Use --track-origins=yes to see where uninitialised values come from
==5038== ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 0 from 0)
==5038==
==5038== 2 errors in context 1 of 1:
==5038== Conditional jump or move depends on uninitialised value(s)
==5038== at 0x65D48A7: __wmemchr_avx2 (memchr-avx2.S:250)
==5038== by 0x6533E70: internal_fnwmatch (fnmatch_loop.c:171)
==5038== by 0x6537268: fnmatch@@GLIBC_2.2.5 (fnmatch.c:440)
==5038== by 0x53B3F3D: ??? (in /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.5400.1)
==5038== by 0x539193F: g_content_type_guess (in /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.5400.1)
==5038== by 0x10E3B4: ??? (in /usr/lib/gvfs/gvfsd-mtp.bin)
==5038== by 0x112679: ??? (in /usr/lib/gvfs/gvfsd-mtp.bin)
==5038== by 0x4E4C7C9: g_vfs_job_run (in /usr/lib/x86_64-linux-gnu/gvfs/libgvfsdaemon.so)
==5038== by 0x4E46B7E: ??? (in /usr/lib/x86_64-linux-gnu/gvfs/libgvfsdaemon.so)
==5038== by 0x5F9500F: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.5400.1)
==5038== by 0x5F94644: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.5400.1)
==5038== by 0x623D7FB: start_thread (pthread_create.c:465)
==5038==
==5038== ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 0 from 0)
|