~drizzle-trunk/drizzle/development

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
1711.1.6 by Monty Taylor
Added a few valgrind suppressions for newer debian box.
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
1530.5.1 by Monty Taylor
A totally new suppressions file. To the point, easy to read, and many, many fewer suppressions in it.
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
1530.2.6 by Monty Taylor
Moved plugin::Context to module::Context.
126
{
1471.1.2 by mordred
Added one more suppression.
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
}
1518.1.1 by Monty Taylor
Fixed the wrong usage of libgcrypt in md5 module. This fixes the leak that
133
134
{
1530.5.1 by Monty Taylor
A totally new suppressions file. To the point, easy to read, and many, many fewer suppressions in it.
135
   InnoDB Insert Row
136
   Memcheck:Cond
137
   ...
138
   fun:row_insert_for_mysql
139
   ...
140
}
141
{
142
   InnoDB Insert Row
1674.1.1 by Monty Taylor
Cleaned up some valgrind suppressions. Did I really just edit c++ name
143
   Memcheck:Value4
144
   ...
145
   fun:row_insert_for_mysql
146
   ...
147
}
148
{
149
   InnoDB Insert Row
1530.5.1 by Monty Taylor
A totally new suppressions file. To the point, easy to read, and many, many fewer suppressions in it.
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
}
1530.5.2 by Monty Taylor
One more little suppression.
169
{
170
   InnoDB Insert Row
171
   Memcheck:Param
172
   write(buf)
173
   ...
174
   fun:row_insert_for_mysql
175
   ...
176
}
1530.5.1 by Monty Taylor
A totally new suppressions file. To the point, easy to read, and many, many fewer suppressions in it.
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
1711.4.2 by Monty Taylor
Added a suppression for haildb.
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
}
1530.5.1 by Monty Taylor
A totally new suppressions file. To the point, easy to read, and many, many fewer suppressions in it.
220
1711.4.3 by Monty Taylor
It turns out anytime we call this it's fail.
221
{
222
   HailDB Inherited some issues from InnoDB
223
   Memcheck:Cond
224
   fun:rw_lock_x_lock_func
225
   ...
226
}
227
1530.5.1 by Monty Taylor
A totally new suppressions file. To the point, easy to read, and many, many fewer suppressions in it.
228
229
# Masking Leaks in System Libraries
230
{
231
   libnss static allocation
232
   Memcheck:Leak
233
   ...
234
   fun:getpwnam
235
   ...
236
}
237
238
{
1518.1.1 by Monty Taylor
Fixed the wrong usage of libgcrypt in md5 module. This fixes the leak that
239
  Static buffer created on gcrypt library initialization. Not a leak.
240
  Memcheck:Leak
241
  fun:malloc
242
  ...
243
  obj:*libgcrypt.so.*
1530.2.6 by Monty Taylor
Moved plugin::Context to module::Context.
244
  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.
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
2016.2.1 by Monty Taylor
Fixed some valgrind warning suppressions which were getting fooled by a
301
   Memcheck:Cond
302
   fun:memcpy
303
   ...
304
   fun:deflate
305
   fun:azwrite
306
   fun:azwrite_row
307
   ...
308
}
309
{
310
   azwrite_row issue in libazio
311
   Memcheck:Value8
312
   fun:memcpy
313
   ...
314
   fun:deflate
315
   fun:azwrite_row
316
   ...
317
}
318
{
319
   azwrite_row issue in libazio
320
   Memcheck:Value4
321
   fun:memcpy
322
   ...
323
   fun:deflate
324
   fun:azwrite_row
325
   ...
326
}
327
{
328
   azwrite_row issue in libazio
329
   Memcheck:Value8
330
   fun:memcpy
331
   ...
332
   fun:deflate
333
   fun:azwrite
334
   fun:azwrite_row
335
   ...
336
}
2148.4.1 by kalebral at gmail
update valgrind suppressions for 32bit machine
337
2016.2.1 by Monty Taylor
Fixed some valgrind warning suppressions which were getting fooled by a
338
{
339
   azwrite_row issue in libazio
340
   Memcheck:Value4
341
   fun:memcpy
342
   ...
343
   fun:deflate
344
   fun:azwrite
1530.5.1 by Monty Taylor
A totally new suppressions file. To the point, easy to read, and many, many fewer suppressions in it.
345
   fun:azwrite_row
346
   ...
347
}
348
2119.3.1 by kalebral at gmail
Suppress valgrind warnings in libz
349
{
350
   azopen issue in libz
351
   Memcheck:Cond
352
   fun:inflateReset2
353
   fun:inflateInit2_
354
   fun:azopen
355
   ...
356
}
1530.5.1 by Monty Taylor
A totally new suppressions file. To the point, easy to read, and many, many fewer suppressions in it.
357
1724.3.1 by mordred
Added a valgrind suppression for the myisam keycache thing.
358
{
2131.6.1 by kalebral at gmail
Clean up valgrind suppressions, remove old suppressions no longer needed and update suppression for https://bugs.launchpad.net/drizzle/+bug/582495
359
   uncompress issue in libz
360
   Memcheck:Cond
361
   fun:inflateReset2
362
   fun:inflateInit2_
363
   fun:uncompress
364
   ...
365
}
366
367
{
2148.4.1 by kalebral at gmail
update valgrind suppressions for 32bit machine
368
   uncompress issue in libz (32bit)
369
   Memcheck:Cond
370
   fun:memcpy
371
   ...
372
   fun:deflate
373
   fun:_ZL7azwriteP11azio_streamPvj
374
   fun:azwrite_row
375
   ...
376
}
377
378
{
379
   uncompress issue in libz (32bit)
380
   Memcheck:Value4
381
   fun:memcpy
382
   ...
383
   fun:deflate
384
   fun:_ZL7azwriteP11azio_streamPvj
385
   fun:azwrite_row
386
   ...
387
}
388
389
{
1724.3.1 by mordred
Added a valgrind suppression for the myisam keycache thing.
390
   MyISAM pwrite issue. Teh Suck.
391
   Memcheck:Param
392
   pwrite64(buf)
393
   fun:pwrite64
394
   fun:_Z15key_cache_writePN8drizzled12st_key_cacheEiyiPhjji
395
   ...
396
}
1840.1.1 by Monty Taylor
Added suppression for a size_t signature change.
397
{
398
   MyISAM pwrite issue. Teh Suck.
399
   Memcheck:Param
400
   pwrite64(buf)
401
   fun:pwrite64
402
   fun:_Z15key_cache_writePN8drizzled12st_key_cacheEimiPhjji
403
   ...
404
}
1861.3.4 by Monty Taylor
Fixed the boost::thread valgrind warnings, and the lingering key_cache one.
405
{
406
   MyISAM pwrite issue. Teh Suck.
407
   Memcheck:Param
408
   pwrite64(buf)
409
   ...
410
   fun:_Z15key_cache_writePN8drizzled12st_key_cacheEimiPhjji
411
  ...
412
}
1724.3.1 by mordred
Added a valgrind suppression for the myisam keycache thing.
413
1530.5.1 by Monty Taylor
A totally new suppressions file. To the point, easy to read, and many, many fewer suppressions in it.
414
# Things we don't like in Drizzle
415
416
{
417
   This whole codebase is going away, so suppress this annoyance.
418
   Memcheck:Cond
419
   fun:_ZN8drizzledL17construct_optionsEPNS_6memory4RootEPNS_6module6ModuleEPNS_6optionE
1633.2.2 by mordred
Updated suppression file to match new signatures.
420
   fun:_ZN8drizzledL19test_plugin_optionsEPNS_6memory4RootEPNS_6module6ModuleEPiPPcRN5boost15program_options19options_descriptionE
421
   fun:_ZN8drizzledL16plugin_load_listERNS_6module8RegistryEPNS_6memory4RootEPiPPcRKSt3setISsSt4lessISsESaISsEERN5boost15program_options19options_descriptionEb
1674.1.1 by Monty Taylor
Cleaned up some valgrind suppressions. Did I really just edit c++ name
422
   fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcRN5boost15program_options19options_descriptionE
1530.5.1 by Monty Taylor
A totally new suppressions file. To the point, easy to read, and many, many fewer suppressions in it.
423
   fun:_ZN8drizzled22init_server_componentsERNS_6module8RegistryE
424
   fun:main
425
}
426
427
# https://bugs.launchpad.net/drizzle/+bug/582495
428
{
429
   Bug 582495 - Syscall param write(buf) points to uninitialised byte(s)
430
   Memcheck:Param
431
   write(buf)
432
   ...
433
   fun:_ZN8drizzled8internal8my_writeEiPKhmi
434
   ...
2131.6.1 by kalebral at gmail
Clean up valgrind suppressions, remove old suppressions no longer needed and update suppression for https://bugs.launchpad.net/drizzle/+bug/582495
435
   fun:_ZN8drizzled9SortParam10write_keysEPPhjPNS_8internal11st_io_cacheES5_
1530.5.1 by Monty Taylor
A totally new suppressions file. To the point, easy to read, and many, many fewer suppressions in it.
436
   ...
437
}
2148.4.1 by kalebral at gmail
update valgrind suppressions for 32bit machine
438
1674.1.1 by Monty Taylor
Cleaned up some valgrind suppressions. Did I really just edit c++ name
439
{
440
   Bug 582495 - Syscall param write(buf) points to uninitialised byte(s)
441
   Memcheck:Param
442
   write(buf)
443
   ...
444
   fun:_ZN8drizzled8internal8my_writeEiPKhmi
445
   ...
2131.6.1 by kalebral at gmail
Clean up valgrind suppressions, remove old suppressions no longer needed and update suppression for https://bugs.launchpad.net/drizzle/+bug/582495
446
   fun:_ZN8drizzled8FileSort3runEPNS_5TableEPNS_9SortFieldEjPNS_9optimizer9SqlSelectEmbRm
1530.5.1 by Monty Taylor
A totally new suppressions file. To the point, easy to read, and many, many fewer suppressions in it.
447
   ...
448
}
449
2148.4.1 by kalebral at gmail
update valgrind suppressions for 32bit machine
450
{
451
   Bug 582495 - Syscall param write(buf) points to uninitialised byte(s)  (32bit)
452
   Memcheck:Param
453
   write(buf)
454
   ...
455
   fun:_ZN8drizzled8internalL11_my_b_writeEPNS0_11st_io_cacheEPKhj
456
   ...
457
   fun:_ZN8drizzled8FileSort3runEPNS_5TableEPNS_9SortFieldEjPNS_9optimizer9SqlSelectEybRy
458
   ...
459
}
460
461
{
462
   Bug 582495 - Syscall param write(buf) points to uninitialised byte(s)  (32bit)
463
   Memcheck:Param
464
   write(buf)
465
   ...
466
   fun:_ZN8drizzled8FileSort3runEPNS_5TableEPNS_9SortFieldEjPNS_9optimizer9SqlSelectEybRy
467
   ...
468
   fun:_ZN8drizzled13handle_selectEPNS_7SessionEPNS_3LEXEPNS_13select_resultEy
469
}
470
1857.3.5 by Monty Taylor
Cleaned up the static boost::thread valgrind warnings.
471
# Issues with boost::thread
472
{
473
  Boost::thread issues. Not a problem - static init issues.
474
  Memcheck:Leak
475
  ...
476
  fun:_ZN5boost6detail16add_new_tss_nodeEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPv
477
  fun:_ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb
478
  fun:_ZN8drizzled8internal14my_thread_initEv
479
  fun:_ZN8drizzled8internal21my_thread_global_initEv
480
  fun:_ZN8drizzled8internal7my_initEv
481
  fun:main
482
}
483
484
{
485
  Boost::thread issues. Not a problem - static init issues.
486
  Memcheck:Leak
487
  fun:_Znwm
488
  fun:_ZNSt8_Rb_treeIPKvSt4pairIKS1_N5boost6detail13tss_data_nodeEESt10_Select1stIS7_ESt4lessIS1_ESaIS7_EE10_M_insert_EPKSt18_Rb_tree_node_baseSG_RKS7_
489
  fun:_ZN5boost6detail16add_new_tss_nodeEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPv
490
  fun:_ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb
491
  fun:_ZN5boost19thread_specific_ptrIN8drizzled8internal16st_my_thread_varEED1Ev
492
  ...
493
}
494
{
495
  Boost::thread issues. Not a problem - static init issues.
496
  Memcheck:Leak
497
  ...
498
  fun:_ZN5boost6detail23get_current_thread_dataEv
499
  fun:_ZN5boost6detail13find_tss_dataEPKv
500
  fun:_ZN5boost6detail12get_tss_dataEPKv
501
  fun:_ZN8drizzled8internal14my_thread_initEv
502
  fun:_ZN8drizzled8internal21my_thread_global_initEv
503
  fun:_ZN8drizzled8internal7my_initEv
504
  ...
505
}
506
{
507
  Boost::thread issues. Not a problem - static init issues.
508
  Memcheck:Leak
509
  ...
510
  fun:_ZN5boost19thread_specific_ptrIPN8drizzled6memory4RootEED1Ev
511
  fun:__run_exit_handlers
512
  fun:exit
513
  ...
514
}
515
{
516
  Boost::thread issues. Not a problem - static init issues.
517
  Memcheck:Leak
518
  ...
519
  fun:_ZN5boost19thread_specific_ptr*
520
  fun:__run_exit_handlers
521
  fun:exit
522
  ...
523
}
1861.3.4 by Monty Taylor
Fixed the boost::thread valgrind warnings, and the lingering key_cache one.
524
{
525
  Boost::thread issues. Not a problem - static init issues.
526
  Memcheck:Leak
527
  fun:_Znwm
528
  ...
529
  fun:_ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb
530
   fun:_ZN8drizzled8internal14my_thread_initEv
531
   fun:_ZN8drizzled8internal21my_thread_global_initEv
532
   fun:_ZN8drizzled8internal7my_initEv
533
   fun:main
534
}
535
{
536
  Boost::thread issues. Not a problem - static init issues.
537
   Memcheck:Leak
1861.3.8 by mordred
Fixed 32-bit version.
538
   fun:_Znwj
539
   ...
540
   fun:_ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb
541
   fun:_ZN8drizzled8internal14my_thread_initEv
542
   fun:_ZN8drizzled8internal21my_thread_global_initEv
543
   fun:_ZN8drizzled8internal7my_initEv
544
   fun:main
545
}
546
{
547
  Boost::thread issues. Not a problem - static init issues.
548
   Memcheck:Leak
1861.3.4 by Monty Taylor
Fixed the boost::thread valgrind warnings, and the lingering key_cache one.
549
   fun:_Znwm
550
   fun:_ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb
551
   fun:_ZN8drizzled7Session12storeGlobalsEv
552
   fun:_ZN8drizzled21drizzle_rm_tmp_tablesEv
553
   fun:main
554
}
1861.3.8 by mordred
Fixed 32-bit version.
555
{
556
  Boost::thread issues. Not a problem - static init issues.
557
   Memcheck:Leak
558
   fun:_Znwj
559
   fun:_ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb
560
   fun:_ZN8drizzled7Session12storeGlobalsEv
561
   fun:_ZN8drizzled21drizzle_rm_tmp_tablesEv
562
   fun:main
563
}
564