1
by brian
clean slate |
1 |
#
|
2 |
# Suppress some common (not fatal) errors in system libraries found by valgrind |
|
3 |
#
|
|
4 |
||
1530.5.1
by Monty Taylor
A totally new suppressions file. To the point, easy to read, and many, many fewer suppressions in it. |
5 |
{
|
6 |
dlopen memory leak |
|
7 |
Memcheck:Leak |
|
8 |
fun:*alloc |
|
9 |
...
|
|
10 |
fun:*dlopen* |
|
11 |
...
|
|
12 |
}
|
|
13 |
||
14 |
{
|
|
15 |
dlerror memory leak |
|
16 |
Memcheck:Leak |
|
17 |
fun:*alloc |
|
18 |
...
|
|
19 |
fun:*dlerror* |
|
20 |
...
|
|
21 |
}
|
|
22 |
||
23 |
{
|
|
24 |
dlclose memory leak |
|
25 |
Memcheck:Leak |
|
26 |
fun:*alloc |
|
27 |
...
|
|
28 |
fun:*dl_close* |
|
29 |
...
|
|
30 |
}
|
|
31 |
||
32 |
||
33 |
# Masking static allocation issues in InnoDB |
|
34 |
{
|
|
35 |
InnoDB Unclean Startup |
|
36 |
Memcheck:Cond |
|
37 |
...
|
|
38 |
fun:innobase_start_or_create_for_mysql |
|
39 |
...
|
|
40 |
}
|
|
41 |
||
42 |
{
|
|
43 |
InnoDB Unclean Startup |
|
44 |
Memcheck:Leak |
|
45 |
fun:*alloc |
|
46 |
...
|
|
47 |
fun:innobase_start_or_create_for_mysql |
|
48 |
...
|
|
49 |
}
|
|
50 |
||
51 |
{
|
|
52 |
InnoDB Unclean Startup |
|
53 |
Memcheck:Cond |
|
54 |
...
|
|
55 |
fun:srv_master_thread |
|
56 |
...
|
|
57 |
}
|
|
58 |
||
59 |
{
|
|
60 |
InnoDB Unclean Startup |
|
61 |
Memcheck:Leak |
|
62 |
fun:malloc |
|
63 |
...
|
|
64 |
fun:srv_master_thread |
|
65 |
...
|
|
66 |
}
|
|
67 |
||
1530.2.6
by Monty Taylor
Moved plugin::Context to module::Context. |
68 |
{
|
1471.1.2
by mordred
Added one more suppression. |
69 |
InnoDB allocing out of its internal heap is always confusing to valgrind |
70 |
Memcheck:Leak |
|
71 |
...
|
|
72 |
fun:mem_heap_create_block |
|
73 |
...
|
|
74 |
}
|
|
1518.1.1
by Monty Taylor
Fixed the wrong usage of libgcrypt in md5 module. This fixes the leak that |
75 |
|
76 |
{
|
|
1530.5.1
by Monty Taylor
A totally new suppressions file. To the point, easy to read, and many, many fewer suppressions in it. |
77 |
InnoDB Insert Row |
78 |
Memcheck:Cond |
|
79 |
...
|
|
80 |
fun:row_insert_for_mysql |
|
81 |
...
|
|
82 |
}
|
|
83 |
{
|
|
84 |
InnoDB Insert Row |
|
85 |
Memcheck:Value8 |
|
86 |
...
|
|
87 |
fun:row_insert_for_mysql |
|
88 |
...
|
|
89 |
}
|
|
90 |
{
|
|
91 |
InnoDB Insert Row |
|
92 |
Memcheck:Leak |
|
93 |
...
|
|
94 |
fun:row_insert_for_mysql |
|
95 |
...
|
|
96 |
}
|
|
97 |
{
|
|
98 |
InnoDB Insert Row |
|
99 |
Memcheck:Param |
|
100 |
...
|
|
101 |
fun:row_insert_for_mysql |
|
102 |
...
|
|
103 |
}
|
|
1530.5.2
by Monty Taylor
One more little suppression. |
104 |
{
|
105 |
InnoDB Insert Row |
|
106 |
Memcheck:Param |
|
107 |
write(buf) |
|
108 |
...
|
|
109 |
fun:row_insert_for_mysql |
|
110 |
...
|
|
111 |
}
|
|
1530.5.1
by Monty Taylor
A totally new suppressions file. To the point, easy to read, and many, many fewer suppressions in it. |
112 |
|
113 |
{
|
|
114 |
InnoDB Create Table |
|
115 |
Memcheck:Cond |
|
116 |
...
|
|
117 |
fun:row_create_table_for_mysql |
|
118 |
...
|
|
119 |
}
|
|
120 |
{
|
|
121 |
InnoDB Create Table |
|
122 |
Memcheck:Leak |
|
123 |
...
|
|
124 |
fun:row_create_table_for_mysql |
|
125 |
...
|
|
126 |
}
|
|
127 |
||
128 |
{
|
|
129 |
InnoDB Drop Table |
|
130 |
Memcheck:Cond |
|
131 |
...
|
|
132 |
fun:row_drop_table_for_mysql |
|
133 |
...
|
|
134 |
}
|
|
135 |
{
|
|
136 |
InnoDB Drop Table |
|
137 |
Memcheck:Leak |
|
138 |
...
|
|
139 |
fun:row_drop_table_for_mysql |
|
140 |
...
|
|
141 |
}
|
|
142 |
||
143 |
||
144 |
||
145 |
||
146 |
# Masking Leaks in System Libraries |
|
147 |
{
|
|
148 |
libnss static allocation |
|
149 |
Memcheck:Leak |
|
150 |
...
|
|
151 |
fun:getpwnam |
|
152 |
...
|
|
153 |
}
|
|
154 |
||
155 |
{
|
|
1518.1.1
by Monty Taylor
Fixed the wrong usage of libgcrypt in md5 module. This fixes the leak that |
156 |
Static buffer created on gcrypt library initialization. Not a leak. |
157 |
Memcheck:Leak |
|
158 |
fun:malloc |
|
159 |
...
|
|
160 |
obj:*libgcrypt.so.* |
|
1530.2.6
by Monty Taylor
Moved plugin::Context to module::Context. |
161 |
fun:_ZL10initializeRN8drizzled6module7ContextE |
1530.5.1
by Monty Taylor
A totally new suppressions file. To the point, easy to read, and many, many fewer suppressions in it. |
162 |
...
|
163 |
}
|
|
164 |
||
165 |
{
|
|
166 |
Static buffer in pcre. Not a leak. |
|
167 |
Memcheck:Leak |
|
168 |
fun:malloc |
|
169 |
fun:pcre_compile2 |
|
170 |
...
|
|
171 |
}
|
|
172 |
||
173 |
{
|
|
174 |
azflush issue in libazio |
|
175 |
Memcheck:Param |
|
176 |
pwrite64(buf) |
|
177 |
...
|
|
178 |
fun:azflush |
|
179 |
...
|
|
180 |
}
|
|
181 |
{
|
|
182 |
azflush issue in libazio |
|
183 |
Memcheck:Cond |
|
184 |
fun:deflate |
|
185 |
...
|
|
186 |
fun:azflush |
|
187 |
...
|
|
188 |
}
|
|
189 |
||
190 |
{
|
|
191 |
azclose issue in libazio |
|
192 |
Memcheck:Param |
|
193 |
pwrite64(buf) |
|
194 |
...
|
|
195 |
fun:azclose |
|
196 |
...
|
|
197 |
}
|
|
198 |
{
|
|
199 |
azclose issue in libazio |
|
200 |
Memcheck:Cond |
|
201 |
fun:deflate |
|
202 |
...
|
|
203 |
fun:azclose |
|
204 |
...
|
|
205 |
}
|
|
206 |
||
207 |
{
|
|
208 |
azwrite_row issue in libazio |
|
209 |
Memcheck:Cond |
|
210 |
fun:memcpy |
|
211 |
...
|
|
212 |
fun:deflate |
|
213 |
fun:azwrite_row |
|
214 |
...
|
|
215 |
}
|
|
216 |
{
|
|
217 |
azwrite_row issue in libazio |
|
218 |
Memcheck:Value8 |
|
219 |
fun:memcpy |
|
220 |
...
|
|
221 |
fun:deflate |
|
222 |
fun:azwrite_row |
|
223 |
...
|
|
224 |
}
|
|
225 |
{
|
|
226 |
azwrite_row issue in libazio |
|
227 |
Memcheck:Value4 |
|
228 |
fun:memcpy |
|
229 |
...
|
|
230 |
fun:deflate |
|
231 |
fun:azwrite_row |
|
232 |
...
|
|
233 |
}
|
|
234 |
||
235 |
||
236 |
# Things we don't like in Drizzle |
|
237 |
||
238 |
{
|
|
239 |
This whole codebase is going away, so suppress this annoyance. |
|
240 |
Memcheck:Cond |
|
241 |
fun:_ZN8drizzledL17construct_optionsEPNS_6memory4RootEPNS_6module6ModuleEPNS_6optionE |
|
242 |
fun:_ZN8drizzledL19test_plugin_optionsEPNS_6memory4RootEPNS_6module6ModuleEPiPPc |
|
243 |
fun:_ZN8drizzledL16plugin_load_listERNS_6module8RegistryEPNS_6memory4RootEPiPPcRKSt3setISsSt4lessISsESaISsEEb |
|
244 |
fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcb |
|
245 |
fun:_ZN8drizzled22init_server_componentsERNS_6module8RegistryE |
|
246 |
fun:main |
|
247 |
}
|
|
248 |
||
249 |
||
250 |
# https://bugs.launchpad.net/drizzle/+bug/582486 |
|
251 |
{
|
|
252 |
Bug 582486 - Conditional jump or move depends on uninitialised value |
|
253 |
Memcheck:Value8 |
|
254 |
...
|
|
255 |
fun:_ZN8drizzled10mysql_loadEPNS_7SessionEPNS_13file_exchangeEPNS_9TableListERNS_4ListINS_4ItemEEES9_S9_NS_15enum_duplicatesEb |
|
256 |
...
|
|
257 |
}
|
|
258 |
{
|
|
259 |
Bug 582486 - Conditional jump or move depends on uninitialised value |
|
260 |
Memcheck:Value4 |
|
261 |
...
|
|
262 |
fun:_ZN8drizzled10mysql_loadEPNS_7SessionEPNS_13file_exchangeEPNS_9TableListERNS_4ListINS_4ItemEEES9_S9_NS_15enum_duplicatesEb |
|
263 |
...
|
|
264 |
}
|
|
265 |
{
|
|
266 |
Bug 582486 - Conditional jump or move depends on uninitialised value |
|
267 |
Memcheck:Cond |
|
268 |
...
|
|
269 |
fun:_ZN8drizzled10mysql_loadEPNS_7SessionEPNS_13file_exchangeEPNS_9TableListERNS_4ListINS_4ItemEEES9_S9_NS_15enum_duplicatesEb |
|
270 |
...
|
|
271 |
}
|
|
272 |
||
273 |
# https://bugs.launchpad.net/drizzle/+bug/582495 |
|
274 |
{
|
|
275 |
Bug 582495 - Syscall param write(buf) points to uninitialised byte(s) |
|
276 |
Memcheck:Param |
|
277 |
write(buf) |
|
278 |
...
|
|
279 |
fun:_ZN8drizzled8internal8my_writeEiPKhmi |
|
280 |
...
|
|
281 |
fun:_ZN8drizzled8filesortEPNS_7SessionEPNS_5TableEPNS_13st_sort_fieldEjPNS_9optimizer9SqlSelectEmbPm |
|
282 |
...
|
|
283 |
}
|
|
284 |
||
285 |
# https://bugs.launchpad.net/drizzle/+bug/582498 |
|
286 |
{
|
|
287 |
Bug 582498 - Invalid read of size 8 |
|
288 |
Memcheck:Addr8 |
|
289 |
fun:_Z8hp_panicN8drizzled17ha_panic_functionE |
|
290 |
fun:_ZN10HeapEngineD0Ev |
|
291 |
...
|
|
292 |
}
|
|
293 |
{
|
|
294 |
Bug 582498 - Invalid read of size 4 |
|
295 |
Memcheck:Addr4 |
|
296 |
fun:_Z8hp_panicN8drizzled17ha_panic_functionE |
|
297 |
fun:_ZN10HeapEngineD0Ev |
|
298 |
...
|
|
299 |
}
|
|
300 |
||
301 |
# https://bugs.launchpad.net/drizzle/+bug/582526 |
|
302 |
{
|
|
303 |
Possibly lack of deallocation of a thread |
|
304 |
Memcheck:Leak |
|
305 |
fun:calloc |
|
306 |
...
|
|
307 |
fun:pthread_create* |
|
308 |
fun:_Z34initTransactionLogBackgroundWorkerv |
|
309 |
...
|
|
1518.1.1
by Monty Taylor
Fixed the wrong usage of libgcrypt in md5 module. This fixes the leak that |
310 |
}
|
311 |