~michihenning/thumbnailer/fix-warnings

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
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
# Leaks in valgrind itself with version 1:3.10.1-1ubuntu3
# TODO: Check periodically whether these go away with a later version.
{
    valgrind
    Memcheck:Leak
    match-leak-kinds: definite
    ...
    obj:/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so
}

# Assorted suppressions for other libraries below

{
    g_settings_new
    Memcheck:Leak
    match-leak-kinds: definite
    ...
    fun:g_settings_backend_get_default
    ...
    fun:g_object_new_valist
}

{
   g_file_new_for_path
   Memcheck:Leak
   match-leak-kinds: definite
    ...
   fun:g_type_create_instance
   ...
   fun:g_object_newv
   fun:g_object_new
   fun:g_io_module_new
   fun:g_io_modules_scan_all_in_directory_with_scope
   ...
   fun:g_file_new_for_path
   fun:_Z15filename_to_uriRKSs
}

{
    glib_main_loop
    Memcheck:Leak
    match-leak-kinds: definite
    fun:malloc
    ...
    fun:start_thread
    fun:clone
}

{
    glib_main_loop2
    Memcheck:Leak
    match-leak-kinds: definite
    fun:calloc
    ...
    fun:start_thread
    fun:clone
}

{
    QNetworkConfigurationManager
    Memcheck:Leak
    match-leak-kinds: definite
    ...
    fun:_ZN35QNetworkConfigurationManagerPrivate10initializeEv
    fun:_Z35qNetworkConfigurationManagerPrivatev
    fun:_ZN28QNetworkConfigurationManagerC1EP7QObject
}

{
    QNetworkConfigurationManager2
    Memcheck:Leak
    match-leak-kinds: definite
    fun:malloc
    ...
    fun:_ZN35QNetworkConfigurationManagerPrivate20updateConfigurationsEv
    fun:_ZN35QNetworkConfigurationManagerPrivate10initializeEv
    fun:_Z35qNetworkConfigurationManagerPrivatev
}

{
    QCoreApplication
    Memcheck:Leak
    match-leak-kinds: definite
    fun:calloc
    ...
    fun:_ZN7QObject5eventEP6QEvent
    fun:_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent
    fun:_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData
}

{
    QCoreApplication2
    Memcheck:Param
    writev(vector[...])
    ...
    fun:xcb_wait_for_reply
    ...
    fun:_ZN7QObject5eventEP6QEvent
    fun:_ZN16QCoreApplication6notifyEP7QObjectP6QEvent
    fun:_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent
    fun:_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData
    ...
    fun:g_main_context_dispatch
    ...
    fun:g_main_context_iteration
    fun:_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
    fun:_ZN16QCoreApplication13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEEi
}

{
    QProcess
    Memcheck:Leak
    match-leak-kinds: definite
    fun:malloc
    ...
    fun:_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE
    fun:_ZN7QThread4execEv
}

{
   QThread
   Memcheck:Leak
   match-leak-kinds: definite
    ...
   fun:_ZN10QEventLoopC1EP7QObject
   fun:_ZN7QThread4execEv
   ...
   fun:start_thread
   fun:clone
}

{
    QNetworkAccessManager
    Memcheck:Leak
    match-leak-kinds: definite
    ...
    fun:_ZN21QNetworkAccessManager13createRequestENS_9OperationERK15QNetworkRequestP9QIODevice
    fun:_ZN21QNetworkAccessManager3getERK15QNetworkRequest
    fun:_ZN5unity11thumbnailer8internal22UbuntuServerDownloader12download_urlERK4QUrlNSt6chrono8durationIlSt5ratioILl1ELl1000EEEE
}

{
    QHash
    Memcheck:Cond
    ...
    fun:_Z5qHashRK10QByteArrayj
}

{
    QHash_2
    Memcheck:Cond
    ...
    fun:_Z5qHashRK7QStringj
}

{
   QImageReader
   Memcheck:Cond
   ...
   obj:/usr/lib/x86_64-linux-gnu/qt5/plugins/imageformats/libqjpeg.so
   ...
   obj:/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.4.2
   fun:_ZNK12QImageReader4sizeEv
}

{
    QImage_uninitialized_jump
    Memcheck:Cond
    ...
    fun:_ZN12QImageReader4readEP6QImage
    fun:_ZN12QImageReader4readEv
    fun:_ZN6QImage8fromDataEPKhiPKc
    fun:_ZN6QImage8fromDataERK10QByteArrayPKc
    fun:_ZN5unity11thumbnailer2qt8internal11RequestImpl16dbusCallFinishedEv
}

{
    gst_plugin_load_file
    Memcheck:Leak
    match-leak-kinds: definite
    fun:malloc
    fun:dl_open_worker
    fun:_dl_catch_error
    fun:_dl_open
    fun:dlopen_doit
    fun:_dl_catch_error
    fun:_dlerror_run
    ...
    fun:g_module_open
    fun:gst_plugin_load_file
}

{
    gstreamer_uninitialized_jump
    Memcheck:Cond
    obj:/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvideoconvert.so
    obj:/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvideoconvert.so
    obj:/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvideoconvert.so
    obj:/usr/lib/x86_64-linux-gnu/libgstvideo-1.0.so.0.405.0
    obj:/usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0.405.0
    obj:/usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0.405.0
    obj:/usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.405.0
    obj:/usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0.405.0
    obj:/usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.405.0
    obj:/lib/x86_64-linux-gnu/libglib-2.0.so.0.4400.1
    obj:/lib/x86_64-linux-gnu/libglib-2.0.so.0.4400.1
    fun:start_thread
    fun:clone
}

{
    gstreamer_uninitialized_jump_2
    Memcheck:Cond
    fun:avcodec_open2
    obj:/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstlibav.so
}

{
    gdk_pixbuf_save_to_buffer
    Memcheck:Value8
    ...
    fun:jpeg_write_scanlines
    ...
    fun:gdk_pixbuf_save_to_callbackv
    fun:gdk_pixbuf_save_to_bufferv
    fun:gdk_pixbuf_save_to_buffer
}

{
    gdk_pixbuf_save_to_buffer2
    Memcheck:Cond
    ...
    fun:jpeg_write_scanlines
    ...
    fun:gdk_pixbuf_save_to_callbackv
    fun:gdk_pixbuf_save_to_bufferv
    fun:gdk_pixbuf_save_to_buffer
}

{
    gdk_pixbuf_loader_write
    Memcheck:Value8
    fun:_ZN7leveldb6crc32c6ExtendEjPKcm
    fun:_ZN7leveldb3log6Writer18EmitPhysicalRecordENS0_10RecordTypeEPKcm
    fun:_ZN7leveldb3log6Writer9AddRecordERKNS_5SliceE
    fun:_ZN7leveldb6DBImpl5WriteERKNS_12WriteOptionsEPNS_10WriteBatchE
}

{
    gdk_pixbuf_save
    Memcheck:Param
    write(buf)
    obj:/lib/x86_64-linux-gnu/libc-2.21.so
    fun:_IO_file_write@@GLIBC_2.2.5
    fun:new_do_write
    fun:_IO_file_xsputn@@GLIBC_2.2.5
    fun:fwrite
    obj:/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tiff.so
    obj:/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tiff.so
    fun:gdk_pixbuf_savev
    fun:gdk_pixbuf_save
}

{
    gdk_pixbuf_loader_write2
    Memcheck:Param
    write(buf)
    ...
    fun:_ZN7leveldb3log6Writer18EmitPhysicalRecordENS0_10RecordTypeEPKcm
    fun:_ZN7leveldb3log6Writer9AddRecordERKNS_5SliceE
    fun:_ZN7leveldb6DBImpl5WriteERKNS_12WriteOptionsEPNS_10WriteBatchE
}

{
    leveldb_write
    Memcheck:Param
    write(buf)
    obj:/lib/x86_64-linux-gnu/libc-2.21.so
    fun:_IO_file_write@@GLIBC_2.2.5
    fun:new_do_write
    fun:_IO_do_write@@GLIBC_2.2.5
    fun:_IO_file_sync@@GLIBC_2.2.5
    fun:fflush_unlocked
    obj:/usr/lib/x86_64-linux-gnu/libleveldb.so.1.17
    fun:_ZN7leveldb3log6Writer18EmitPhysicalRecordENS0_10RecordTypeEPKcm
    fun:_ZN7leveldb3log6Writer9AddRecordERKNS_5SliceE
    fun:_ZN7leveldb6DBImpl5WriteERKNS_12WriteOptionsEPNS_10WriteBatchE
}