~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
2281.7.5 by Andrew Hutchings
Add glibc 'leak' to suppressions list
49
{
50
  glibc nss issue
2281.7.11 by Andrew Hutchings
Fix valgrind suppression
51
  Memcheck:Leak
2281.7.5 by Andrew Hutchings
Add glibc 'leak' to suppressions list
52
  ...
53
  fun:__nss_database_lookup
54
  ...
55
}
1711.1.6 by Monty Taylor
Added a few valgrind suppressions for newer debian box.
56
# Masking an issue in system tzset call
57
{
58
  tzset() on debian reports issues
59
  Memcheck:Cond
60
  ...
61
  fun:tzset
62
  fun:_ZN8drizzled21init_common_variablesEPKciPPcPS1_
63
  ...
64
}
65
{
66
  tzset() on debian reports issues
67
  Memcheck:Addr8
68
  ...
69
  fun:tzset
70
  fun:_ZN8drizzled21init_common_variablesEPKciPPcPS1_
71
  ...
72
}
73
{
74
  tzset() on debian reports issues
75
  Memcheck:Addr4
76
  ...
77
  fun:tzset
78
  fun:_ZN8drizzled21init_common_variablesEPKciPPcPS1_
79
  ...
80
}
81
{
82
  tzset() on debian reports issues
83
  Memcheck:Addr8
84
  ...
85
  fun:_ZN8drizzled21init_common_variablesEPKciPPcPS1_
86
  fun:main
87
}
88
{
89
  tzset() on debian reports issues
90
  Memcheck:Addr4
91
  ...
92
  fun:_ZN8drizzled21init_common_variablesEPKciPPcPS1_
93
  fun:main
94
}
95
96
1530.5.1 by Monty Taylor
A totally new suppressions file. To the point, easy to read, and many, many fewer suppressions in it.
97
98
# Masking static allocation issues in InnoDB
99
{
100
   InnoDB Unclean Startup
101
   Memcheck:Cond
102
   ...
103
   fun:innobase_start_or_create_for_mysql
104
   ...
105
}
106
107
{
108
   InnoDB Unclean Startup
109
   Memcheck:Leak
110
   fun:*alloc
111
   ...
112
   fun:innobase_start_or_create_for_mysql
113
   ...
114
}
115
116
{
117
   InnoDB Unclean Startup
118
   Memcheck:Cond
119
   ...
120
   fun:srv_master_thread
121
   ...
122
}
123
124
{
125
   InnoDB Unclean Startup
126
   Memcheck:Leak
127
   fun:malloc
128
   ...
129
   fun:srv_master_thread
130
   ...
131
}
132
1530.2.6 by Monty Taylor
Moved plugin::Context to module::Context.
133
{
1471.1.2 by mordred
Added one more suppression.
134
   InnoDB allocing out of its internal heap is always confusing to valgrind
135
   Memcheck:Leak
136
   ...
137
   fun:mem_heap_create_block
138
   ...
139
}
1518.1.1 by Monty Taylor
Fixed the wrong usage of libgcrypt in md5 module. This fixes the leak that
140
141
{
1530.5.1 by Monty Taylor
A totally new suppressions file. To the point, easy to read, and many, many fewer suppressions in it.
142
   InnoDB Insert Row
143
   Memcheck:Cond
144
   ...
145
   fun:row_insert_for_mysql
146
   ...
147
}
148
{
149
   InnoDB Insert Row
1674.1.1 by Monty Taylor
Cleaned up some valgrind suppressions. Did I really just edit c++ name
150
   Memcheck:Value4
151
   ...
152
   fun:row_insert_for_mysql
153
   ...
154
}
155
{
156
   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.
157
   Memcheck:Value8
158
   ...
159
   fun:row_insert_for_mysql
160
   ...
161
}
162
{
163
   InnoDB Insert Row
164
   Memcheck:Leak
165
   ...
166
   fun:row_insert_for_mysql
167
   ...
168
}
169
{
170
   InnoDB Insert Row
171
   Memcheck:Param
172
   ...
173
   fun:row_insert_for_mysql
174
   ...
175
}
1530.5.2 by Monty Taylor
One more little suppression.
176
{
177
   InnoDB Insert Row
178
   Memcheck:Param
179
   write(buf)
180
   ...
181
   fun:row_insert_for_mysql
182
   ...
183
}
1530.5.1 by Monty Taylor
A totally new suppressions file. To the point, easy to read, and many, many fewer suppressions in it.
184
185
{
186
   InnoDB Create Table
187
   Memcheck:Cond
188
   ...
189
   fun:row_create_table_for_mysql
190
   ...
191
}
192
{
193
   InnoDB Create Table
194
   Memcheck:Leak
195
   ...
196
   fun:row_create_table_for_mysql
197
   ...
198
}
199
200
{
201
   InnoDB Drop Table
202
   Memcheck:Cond
203
   ...
204
   fun:row_drop_table_for_mysql
205
   ...
206
}
207
{
208
   InnoDB Drop Table
209
   Memcheck:Leak
210
   ...
211
   fun:row_drop_table_for_mysql
212
   ...
213
}
214
215
1711.4.2 by Monty Taylor
Added a suppression for haildb.
216
{
217
   HailDB Inherited some issues from InnoDB
218
   Memcheck:Cond
219
   fun:rw_lock_x_lock_func
220
   ...
221
   fun:innobase_start_or_create
222
   fun:_ZL20embedded_innodb_initRN8drizzled6module7ContextE
223
   fun:_ZN8drizzled15plugin_finalizeERNS_6module8RegistryE
224
   fun:_ZN8drizzled22init_server_componentsERNS_6module8RegistryE
225
   fun:main
226
}
1530.5.1 by Monty Taylor
A totally new suppressions file. To the point, easy to read, and many, many fewer suppressions in it.
227
1711.4.3 by Monty Taylor
It turns out anytime we call this it's fail.
228
{
229
   HailDB Inherited some issues from InnoDB
230
   Memcheck:Cond
231
   fun:rw_lock_x_lock_func
232
   ...
233
}
234
1530.5.1 by Monty Taylor
A totally new suppressions file. To the point, easy to read, and many, many fewer suppressions in it.
235
236
# Masking Leaks in System Libraries
237
{
238
   libnss static allocation
239
   Memcheck:Leak
240
   ...
241
   fun:getpwnam
242
   ...
243
}
244
245
{
1518.1.1 by Monty Taylor
Fixed the wrong usage of libgcrypt in md5 module. This fixes the leak that
246
  Static buffer created on gcrypt library initialization. Not a leak.
247
  Memcheck:Leak
248
  fun:malloc
249
  ...
250
  obj:*libgcrypt.so.*
1530.2.6 by Monty Taylor
Moved plugin::Context to module::Context.
251
  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.
252
  ...
253
}
254
255
{
256
   Static buffer in pcre. Not a leak.
257
   Memcheck:Leak
258
   fun:malloc
259
   fun:pcre_compile2
260
   ...
261
}
262
263
{
264
   azflush issue in libazio
265
   Memcheck:Param
266
   pwrite64(buf)
267
   ...
268
   fun:azflush
269
   ...
270
}
271
{
272
   azflush issue in libazio
273
   Memcheck:Cond
274
   fun:deflate
275
   ...
276
   fun:azflush
277
   ...
278
}
279
280
{
281
   azclose issue in libazio
282
   Memcheck:Param
283
   pwrite64(buf)
284
   ...
285
   fun:azclose
286
   ...
287
}
288
{
289
   azclose issue in libazio
290
   Memcheck:Cond
291
   fun:deflate
292
   ...
293
   fun:azclose
294
   ...
295
}
296
297
{
298
   azwrite_row issue in libazio
299
   Memcheck:Cond
300
   fun:memcpy
301
   ...
302
   fun:deflate
303
   fun:azwrite_row
304
   ...
305
}
306
{
307
   azwrite_row issue in libazio
2016.2.1 by Monty Taylor
Fixed some valgrind warning suppressions which were getting fooled by a
308
   Memcheck:Cond
309
   fun:memcpy
310
   ...
311
   fun:deflate
312
   fun:azwrite
313
   fun:azwrite_row
314
   ...
315
}
316
{
317
   azwrite_row issue in libazio
318
   Memcheck:Value8
319
   fun:memcpy
320
   ...
321
   fun:deflate
322
   fun:azwrite_row
323
   ...
324
}
325
{
326
   azwrite_row issue in libazio
327
   Memcheck:Value4
328
   fun:memcpy
329
   ...
330
   fun:deflate
331
   fun:azwrite_row
332
   ...
333
}
334
{
335
   azwrite_row issue in libazio
336
   Memcheck:Value8
337
   fun:memcpy
338
   ...
339
   fun:deflate
340
   fun:azwrite
341
   fun:azwrite_row
342
   ...
343
}
2148.4.1 by kalebral at gmail
update valgrind suppressions for 32bit machine
344
2016.2.1 by Monty Taylor
Fixed some valgrind warning suppressions which were getting fooled by a
345
{
346
   azwrite_row issue in libazio
347
   Memcheck:Value4
348
   fun:memcpy
349
   ...
350
   fun:deflate
351
   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.
352
   fun:azwrite_row
353
   ...
354
}
355
2119.3.1 by kalebral at gmail
Suppress valgrind warnings in libz
356
{
357
   azopen issue in libz
358
   Memcheck:Cond
359
   fun:inflateReset2
360
   fun:inflateInit2_
361
   fun:azopen
362
   ...
363
}
1530.5.1 by Monty Taylor
A totally new suppressions file. To the point, easy to read, and many, many fewer suppressions in it.
364
1724.3.1 by mordred
Added a valgrind suppression for the myisam keycache thing.
365
{
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
366
   uncompress issue in libz
367
   Memcheck:Cond
368
   fun:inflateReset2
369
   fun:inflateInit2_
370
   fun:uncompress
371
   ...
372
}
373
374
{
2148.4.1 by kalebral at gmail
update valgrind suppressions for 32bit machine
375
   uncompress issue in libz (32bit)
376
   Memcheck:Cond
377
   fun:memcpy
378
   ...
379
   fun:deflate
380
   fun:_ZL7azwriteP11azio_streamPvj
381
   fun:azwrite_row
382
   ...
383
}
384
385
{
386
   uncompress issue in libz (32bit)
387
   Memcheck:Value4
388
   fun:memcpy
389
   ...
390
   fun:deflate
391
   fun:_ZL7azwriteP11azio_streamPvj
392
   fun:azwrite_row
393
   ...
394
}
395
396
{
1724.3.1 by mordred
Added a valgrind suppression for the myisam keycache thing.
397
   MyISAM pwrite issue. Teh Suck.
398
   Memcheck:Param
399
   pwrite64(buf)
400
   fun:pwrite64
401
   fun:_Z15key_cache_writePN8drizzled12st_key_cacheEiyiPhjji
402
   ...
403
}
1840.1.1 by Monty Taylor
Added suppression for a size_t signature change.
404
{
405
   MyISAM pwrite issue. Teh Suck.
406
   Memcheck:Param
407
   pwrite64(buf)
408
   fun:pwrite64
409
   fun:_Z15key_cache_writePN8drizzled12st_key_cacheEimiPhjji
410
   ...
411
}
1861.3.4 by Monty Taylor
Fixed the boost::thread valgrind warnings, and the lingering key_cache one.
412
{
413
   MyISAM pwrite issue. Teh Suck.
414
   Memcheck:Param
415
   pwrite64(buf)
416
   ...
417
   fun:_Z15key_cache_writePN8drizzled12st_key_cacheEimiPhjji
418
  ...
419
}
1724.3.1 by mordred
Added a valgrind suppression for the myisam keycache thing.
420
1530.5.1 by Monty Taylor
A totally new suppressions file. To the point, easy to read, and many, many fewer suppressions in it.
421
# Things we don't like in Drizzle
422
423
{
424
   This whole codebase is going away, so suppress this annoyance.
425
   Memcheck:Cond
426
   fun:_ZN8drizzledL17construct_optionsEPNS_6memory4RootEPNS_6module6ModuleEPNS_6optionE
1633.2.2 by mordred
Updated suppression file to match new signatures.
427
   fun:_ZN8drizzledL19test_plugin_optionsEPNS_6memory4RootEPNS_6module6ModuleEPiPPcRN5boost15program_options19options_descriptionE
428
   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
429
   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.
430
   fun:_ZN8drizzled22init_server_componentsERNS_6module8RegistryE
431
   fun:main
432
}
433
434
# https://bugs.launchpad.net/drizzle/+bug/582495
435
{
436
   Bug 582495 - Syscall param write(buf) points to uninitialised byte(s)
437
   Memcheck:Param
438
   write(buf)
439
   ...
440
   fun:_ZN8drizzled8internal8my_writeEiPKhmi
441
   ...
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
442
   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.
443
   ...
444
}
2148.4.1 by kalebral at gmail
update valgrind suppressions for 32bit machine
445
1674.1.1 by Monty Taylor
Cleaned up some valgrind suppressions. Did I really just edit c++ name
446
{
447
   Bug 582495 - Syscall param write(buf) points to uninitialised byte(s)
448
   Memcheck:Param
449
   write(buf)
450
   ...
451
   fun:_ZN8drizzled8internal8my_writeEiPKhmi
452
   ...
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
453
   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.
454
   ...
455
}
456
2148.4.1 by kalebral at gmail
update valgrind suppressions for 32bit machine
457
{
458
   Bug 582495 - Syscall param write(buf) points to uninitialised byte(s)  (32bit)
459
   Memcheck:Param
460
   write(buf)
461
   ...
462
   fun:_ZN8drizzled8internalL11_my_b_writeEPNS0_11st_io_cacheEPKhj
463
   ...
464
   fun:_ZN8drizzled8FileSort3runEPNS_5TableEPNS_9SortFieldEjPNS_9optimizer9SqlSelectEybRy
465
   ...
466
}
467
468
{
469
   Bug 582495 - Syscall param write(buf) points to uninitialised byte(s)  (32bit)
470
   Memcheck:Param
471
   write(buf)
472
   ...
473
   fun:_ZN8drizzled8FileSort3runEPNS_5TableEPNS_9SortFieldEjPNS_9optimizer9SqlSelectEybRy
474
   ...
475
   fun:_ZN8drizzled13handle_selectEPNS_7SessionEPNS_3LEXEPNS_13select_resultEy
476
}
477
1857.3.5 by Monty Taylor
Cleaned up the static boost::thread valgrind warnings.
478
# Issues with boost::thread
479
{
480
  Boost::thread issues. Not a problem - static init issues.
481
  Memcheck:Leak
482
  ...
483
  fun:_ZN5boost6detail16add_new_tss_nodeEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPv
484
  fun:_ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb
485
  fun:_ZN8drizzled8internal14my_thread_initEv
486
  fun:_ZN8drizzled8internal21my_thread_global_initEv
487
  fun:_ZN8drizzled8internal7my_initEv
488
  fun:main
489
}
490
491
{
492
  Boost::thread issues. Not a problem - static init issues.
493
  Memcheck:Leak
494
  fun:_Znwm
495
  fun:_ZNSt8_Rb_treeIPKvSt4pairIKS1_N5boost6detail13tss_data_nodeEESt10_Select1stIS7_ESt4lessIS1_ESaIS7_EE10_M_insert_EPKSt18_Rb_tree_node_baseSG_RKS7_
496
  fun:_ZN5boost6detail16add_new_tss_nodeEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPv
497
  fun:_ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb
498
  fun:_ZN5boost19thread_specific_ptrIN8drizzled8internal16st_my_thread_varEED1Ev
499
  ...
500
}
501
{
502
  Boost::thread issues. Not a problem - static init issues.
503
  Memcheck:Leak
504
  ...
505
  fun:_ZN5boost6detail23get_current_thread_dataEv
506
  fun:_ZN5boost6detail13find_tss_dataEPKv
507
  fun:_ZN5boost6detail12get_tss_dataEPKv
508
  fun:_ZN8drizzled8internal14my_thread_initEv
509
  fun:_ZN8drizzled8internal21my_thread_global_initEv
510
  fun:_ZN8drizzled8internal7my_initEv
511
  ...
512
}
513
{
514
  Boost::thread issues. Not a problem - static init issues.
515
  Memcheck:Leak
516
  ...
517
  fun:_ZN5boost19thread_specific_ptrIPN8drizzled6memory4RootEED1Ev
518
  fun:__run_exit_handlers
519
  fun:exit
520
  ...
521
}
522
{
523
  Boost::thread issues. Not a problem - static init issues.
524
  Memcheck:Leak
525
  ...
526
  fun:_ZN5boost19thread_specific_ptr*
527
  fun:__run_exit_handlers
528
  fun:exit
529
  ...
530
}
1861.3.4 by Monty Taylor
Fixed the boost::thread valgrind warnings, and the lingering key_cache one.
531
{
532
  Boost::thread issues. Not a problem - static init issues.
533
  Memcheck:Leak
534
  fun:_Znwm
535
  ...
536
  fun:_ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb
537
   fun:_ZN8drizzled8internal14my_thread_initEv
538
   fun:_ZN8drizzled8internal21my_thread_global_initEv
539
   fun:_ZN8drizzled8internal7my_initEv
540
   fun:main
541
}
542
{
543
  Boost::thread issues. Not a problem - static init issues.
544
   Memcheck:Leak
1861.3.8 by mordred
Fixed 32-bit version.
545
   fun:_Znwj
546
   ...
547
   fun:_ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb
548
   fun:_ZN8drizzled8internal14my_thread_initEv
549
   fun:_ZN8drizzled8internal21my_thread_global_initEv
550
   fun:_ZN8drizzled8internal7my_initEv
551
   fun:main
552
}
553
{
554
  Boost::thread issues. Not a problem - static init issues.
555
   Memcheck:Leak
1861.3.4 by Monty Taylor
Fixed the boost::thread valgrind warnings, and the lingering key_cache one.
556
   fun:_Znwm
557
   fun:_ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb
558
   fun:_ZN8drizzled7Session12storeGlobalsEv
559
   fun:_ZN8drizzled21drizzle_rm_tmp_tablesEv
560
   fun:main
561
}
1861.3.8 by mordred
Fixed 32-bit version.
562
{
563
  Boost::thread issues. Not a problem - static init issues.
564
   Memcheck:Leak
565
   fun:_Znwj
566
   fun:_ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb
567
   fun:_ZN8drizzled7Session12storeGlobalsEv
568
   fun:_ZN8drizzled21drizzle_rm_tmp_tablesEv
569
   fun:main
570
}
571