~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/valgrind.supp

  • Committer: Stewart Smith
  • Date: 2008-11-21 16:06:07 UTC
  • mto: This revision was merged to the branch mainline in revision 593.
  • Revision ID: stewart@flamingspork.com-20081121160607-n6gdlt013spuo54r
remove mysql_frm_type
and fix engines to return correct value from delete_table when table doesn't exist.
(it should be ENOENT).

Also fix up some tests that manipulated frm files by hand. These tests are no longer valid and will need to be rewritten in the not too distant future.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#
2
 
# Suppress some common (not fatal) errors in system libraries found by valgrind
3
 
#
4
 
 
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
 
  dlpreload memory leak
34
 
  Memcheck:Leak
35
 
  ...
36
 
  fun:do_preload
37
 
  fun:dl_main
38
 
  ...
39
 
}
40
 
 
41
 
{
42
 
  dl_main issue
43
 
  Memcheck:Cond
44
 
  ...
45
 
  fun:dl_main
46
 
  ...
47
 
}
48
 
 
49
 
# Masking an issue in system tzset call
50
 
{
51
 
  tzset() on debian reports issues
52
 
  Memcheck:Cond
53
 
  ...
54
 
  fun:tzset
55
 
  fun:_ZN8drizzled21init_common_variablesEPKciPPcPS1_
56
 
  ...
57
 
}
58
 
{
59
 
  tzset() on debian reports issues
60
 
  Memcheck:Addr8
61
 
  ...
62
 
  fun:tzset
63
 
  fun:_ZN8drizzled21init_common_variablesEPKciPPcPS1_
64
 
  ...
65
 
}
66
 
{
67
 
  tzset() on debian reports issues
68
 
  Memcheck:Addr4
69
 
  ...
70
 
  fun:tzset
71
 
  fun:_ZN8drizzled21init_common_variablesEPKciPPcPS1_
72
 
  ...
73
 
}
74
 
{
75
 
  tzset() on debian reports issues
76
 
  Memcheck:Addr8
77
 
  ...
78
 
  fun:_ZN8drizzled21init_common_variablesEPKciPPcPS1_
79
 
  fun:main
80
 
}
81
 
{
82
 
  tzset() on debian reports issues
83
 
  Memcheck:Addr4
84
 
  ...
85
 
  fun:_ZN8drizzled21init_common_variablesEPKciPPcPS1_
86
 
  fun:main
87
 
}
88
 
 
89
 
 
90
 
 
91
 
# Masking static allocation issues in InnoDB
92
 
{
93
 
   InnoDB Unclean Startup
94
 
   Memcheck:Cond
95
 
   ...
96
 
   fun:innobase_start_or_create_for_mysql
97
 
   ...
98
 
}
99
 
 
100
 
{
101
 
   InnoDB Unclean Startup
102
 
   Memcheck:Leak
103
 
   fun:*alloc
104
 
   ...
105
 
   fun:innobase_start_or_create_for_mysql
106
 
   ...
107
 
}
108
 
 
109
 
{
110
 
   InnoDB Unclean Startup
111
 
   Memcheck:Cond
112
 
   ...
113
 
   fun:srv_master_thread
114
 
   ...
115
 
}
116
 
 
117
 
{
118
 
   InnoDB Unclean Startup
119
 
   Memcheck:Leak
120
 
   fun:malloc
121
 
   ...
122
 
   fun:srv_master_thread
123
 
   ...
124
 
}
125
 
 
126
 
{
127
 
   InnoDB allocing out of its internal heap is always confusing to valgrind
128
 
   Memcheck:Leak
129
 
   ...
130
 
   fun:mem_heap_create_block
131
 
   ...
132
 
}
133
 
 
134
 
{
135
 
   InnoDB Insert Row
136
 
   Memcheck:Cond
137
 
   ...
138
 
   fun:row_insert_for_mysql
139
 
   ...
140
 
}
141
 
{
142
 
   InnoDB Insert Row
143
 
   Memcheck:Value4
144
 
   ...
145
 
   fun:row_insert_for_mysql
146
 
   ...
147
 
}
148
 
{
149
 
   InnoDB Insert Row
150
 
   Memcheck:Value8
151
 
   ...
152
 
   fun:row_insert_for_mysql
153
 
   ...
154
 
}
155
 
{
156
 
   InnoDB Insert Row
157
 
   Memcheck:Leak
158
 
   ...
159
 
   fun:row_insert_for_mysql
160
 
   ...
161
 
}
162
 
{
163
 
   InnoDB Insert Row
164
 
   Memcheck:Param
165
 
   ...
166
 
   fun:row_insert_for_mysql
167
 
   ...
168
 
}
169
 
{
170
 
   InnoDB Insert Row
171
 
   Memcheck:Param
172
 
   write(buf)
173
 
   ...
174
 
   fun:row_insert_for_mysql
175
 
   ...
176
 
}
177
 
 
178
 
{
179
 
   InnoDB Create Table
180
 
   Memcheck:Cond
181
 
   ...
182
 
   fun:row_create_table_for_mysql
183
 
   ...
184
 
}
185
 
{
186
 
   InnoDB Create Table
187
 
   Memcheck:Leak
188
 
   ...
189
 
   fun:row_create_table_for_mysql
190
 
   ...
191
 
}
192
 
 
193
 
{
194
 
   InnoDB Drop Table
195
 
   Memcheck:Cond
196
 
   ...
197
 
   fun:row_drop_table_for_mysql
198
 
   ...
199
 
}
200
 
{
201
 
   InnoDB Drop Table
202
 
   Memcheck:Leak
203
 
   ...
204
 
   fun:row_drop_table_for_mysql
205
 
   ...
206
 
}
207
 
 
208
 
 
209
 
{
210
 
   HailDB Inherited some issues from InnoDB
211
 
   Memcheck:Cond
212
 
   fun:rw_lock_x_lock_func
213
 
   ...
214
 
   fun:innobase_start_or_create
215
 
   fun:_ZL20embedded_innodb_initRN8drizzled6module7ContextE
216
 
   fun:_ZN8drizzled15plugin_finalizeERNS_6module8RegistryE
217
 
   fun:_ZN8drizzled22init_server_componentsERNS_6module8RegistryE
218
 
   fun:main
219
 
}
220
 
 
221
 
{
222
 
   HailDB Inherited some issues from InnoDB
223
 
   Memcheck:Cond
224
 
   fun:rw_lock_x_lock_func
225
 
   ...
226
 
}
227
 
 
228
 
 
229
 
# Masking Leaks in System Libraries
230
 
{
231
 
   libnss static allocation
232
 
   Memcheck:Leak
233
 
   ...
234
 
   fun:getpwnam
235
 
   ...
236
 
}
237
 
 
238
 
{
239
 
  Static buffer created on gcrypt library initialization. Not a leak.
240
 
  Memcheck:Leak
241
 
  fun:malloc
242
 
  ...
243
 
  obj:*libgcrypt.so.*
244
 
  fun:_ZL10initializeRN8drizzled6module7ContextE
245
 
  ...
246
 
}
247
 
 
248
 
{
249
 
   Static buffer in pcre. Not a leak.
250
 
   Memcheck:Leak
251
 
   fun:malloc
252
 
   fun:pcre_compile2
253
 
   ...
254
 
}
255
 
 
256
 
{
257
 
   azflush issue in libazio
258
 
   Memcheck:Param
259
 
   pwrite64(buf)
260
 
   ...
261
 
   fun:azflush
262
 
   ...
263
 
}
264
 
{
265
 
   azflush issue in libazio
266
 
   Memcheck:Cond
267
 
   fun:deflate
268
 
   ...
269
 
   fun:azflush
270
 
   ...
271
 
}
272
 
 
273
 
{
274
 
   azclose issue in libazio
275
 
   Memcheck:Param
276
 
   pwrite64(buf)
277
 
   ...
278
 
   fun:azclose
279
 
   ...
280
 
}
281
 
{
282
 
   azclose issue in libazio
283
 
   Memcheck:Cond
284
 
   fun:deflate
285
 
   ...
286
 
   fun:azclose
287
 
   ...
288
 
}
289
 
 
290
 
{
291
 
   azwrite_row issue in libazio
292
 
   Memcheck:Cond
293
 
   fun:memcpy
294
 
   ...
295
 
   fun:deflate
296
 
   fun:azwrite_row
297
 
   ...
298
 
}
299
 
{
300
 
   azwrite_row issue in libazio
301
 
   Memcheck:Value8
302
 
   fun:memcpy
303
 
   ...
304
 
   fun:deflate
305
 
   fun:azwrite_row
306
 
   ...
307
 
}
308
 
{
309
 
   azwrite_row issue in libazio
310
 
   Memcheck:Value4
311
 
   fun:memcpy
312
 
   ...
313
 
   fun:deflate
314
 
   fun:azwrite_row
315
 
   ...
316
 
}
317
 
 
318
 
 
319
 
{
320
 
   MyISAM pwrite issue. Teh Suck.
321
 
   Memcheck:Param
322
 
   pwrite64(buf)
323
 
   fun:pwrite64
324
 
   fun:_Z15key_cache_writePN8drizzled12st_key_cacheEiyiPhjji
325
 
   ...
326
 
}
327
 
 
328
 
# Things we don't like in Drizzle
329
 
 
330
 
{
331
 
   This whole codebase is going away, so suppress this annoyance.
332
 
   Memcheck:Cond
333
 
   fun:_ZN8drizzledL17construct_optionsEPNS_6memory4RootEPNS_6module6ModuleEPNS_6optionE
334
 
   fun:_ZN8drizzledL19test_plugin_optionsEPNS_6memory4RootEPNS_6module6ModuleEPiPPcRN5boost15program_options19options_descriptionE
335
 
   fun:_ZN8drizzledL16plugin_load_listERNS_6module8RegistryEPNS_6memory4RootEPiPPcRKSt3setISsSt4lessISsESaISsEERN5boost15program_options19options_descriptionEb
336
 
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcRN5boost15program_options19options_descriptionE
337
 
   fun:_ZN8drizzled22init_server_componentsERNS_6module8RegistryE
338
 
   fun:main
339
 
}
340
 
 
341
 
 
342
 
# https://bugs.launchpad.net/drizzle/+bug/582486
343
 
{
344
 
   Bug 582486 - Conditional jump or move depends on uninitialised value
345
 
   Memcheck:Value8
346
 
   ...
347
 
   fun:_ZN8drizzled10mysql_loadEPNS_7SessionEPNS_13file_exchangeEPNS_9TableListERNS_4ListINS_4ItemEEES9_S9_NS_15enum_duplicatesEb
348
 
   ...
349
 
}
350
 
{
351
 
   Bug 582486 - Conditional jump or move depends on uninitialised value
352
 
   Memcheck:Value4
353
 
   ...
354
 
   fun:_ZN8drizzled10mysql_loadEPNS_7SessionEPNS_13file_exchangeEPNS_9TableListERNS_4ListINS_4ItemEEES9_S9_NS_15enum_duplicatesEb
355
 
   ...
356
 
}
357
 
{
358
 
   Bug 582486 - Conditional jump or move depends on uninitialised value
359
 
   Memcheck:Cond
360
 
   ...
361
 
   fun:_ZN8drizzled10mysql_loadEPNS_7SessionEPNS_13file_exchangeEPNS_9TableListERNS_4ListINS_4ItemEEES9_S9_NS_15enum_duplicatesEb
362
 
   ...
363
 
}
364
 
 
365
 
# https://bugs.launchpad.net/drizzle/+bug/582495
366
 
{
367
 
   Bug 582495 - Syscall param write(buf) points to uninitialised byte(s)
368
 
   Memcheck:Param
369
 
   write(buf)
370
 
   ...
371
 
   fun:_ZN8drizzled8internal8my_writeEiPKhmi
372
 
   ...
373
 
   fun:_ZN8drizzled8filesortEPNS_7SessionEPNS_5TableEPNS_13st_sort_fieldEjPNS_9optimizer9SqlSelectEmbPm
374
 
   ...
375
 
}
376
 
{
377
 
   Bug 582495 - Syscall param write(buf) points to uninitialised byte(s)
378
 
   Memcheck:Param
379
 
   write(buf)
380
 
   ...
381
 
   fun:_ZN8drizzled8internal8my_writeEiPKhmi
382
 
   ...
383
 
   fun:_ZN8drizzled8filesortEPNS_7SessionEPNS_5TableEPNS_13st_sort_fieldEjPNS_9optimizer9SqlSelectEybPy
384
 
   ...
385
 
}
386
 
 
387
 
# https://bugs.launchpad.net/drizzle/+bug/582498
388
 
{
389
 
   Bug 582498 - Invalid read of size 8
390
 
   Memcheck:Addr8
391
 
   fun:_Z8hp_panicN8drizzled17ha_panic_functionE
392
 
   fun:_ZN10HeapEngineD0Ev
393
 
   ...
394
 
}
395
 
{
396
 
   Bug 582498 - Invalid read of size 4
397
 
   Memcheck:Addr4
398
 
   fun:_Z8hp_panicN8drizzled17ha_panic_functionE
399
 
   fun:_ZN10HeapEngineD0Ev
400
 
   ...
401
 
}
402
 
 
403
 
# https://bugs.launchpad.net/drizzle/+bug/582526
404
 
{
405
 
   Possibly lack of deallocation of a thread
406
 
   Memcheck:Leak
407
 
   fun:calloc
408
 
   ...
409
 
   fun:pthread_create*
410
 
   fun:_Z34initTransactionLogBackgroundWorkerv
411
 
   ...
412
 
}
413