2
2
# Suppress some common (not fatal) errors in system libraries found by valgrind
49
# Masking an issue in system tzset call
51
tzset() on debian reports issues
55
fun:_ZN8drizzled21init_common_variablesEPKciPPcPS1_
59
tzset() on debian reports issues
63
fun:_ZN8drizzled21init_common_variablesEPKciPPcPS1_
67
tzset() on debian reports issues
71
fun:_ZN8drizzled21init_common_variablesEPKciPPcPS1_
75
tzset() on debian reports issues
78
fun:_ZN8drizzled21init_common_variablesEPKciPPcPS1_
82
tzset() on debian reports issues
85
fun:_ZN8drizzled21init_common_variablesEPKciPPcPS1_
91
# Masking static allocation issues in InnoDB
93
InnoDB Unclean Startup
96
fun:innobase_start_or_create_for_mysql
101
InnoDB Unclean Startup
105
fun:innobase_start_or_create_for_mysql
110
InnoDB Unclean Startup
113
fun:srv_master_thread
118
InnoDB Unclean Startup
122
fun:srv_master_thread
127
InnoDB allocing out of its internal heap is always confusing to valgrind
6
# Pthread doesn't free all thread specific memory before program exists
9
pthread allocate_tls memory loss
18
pthread allocate_tls memory loss
27
pthread_exit memory loss 1
31
fun:_dl_map_object_from_fd
35
pthread_exit memory loss 2
43
pthread_exit memory loss 3
46
fun:_dl_map_object_deps
51
pthread_exit memory loss 4
54
fun:_dl_check_map_versions
59
pthread_exit memory loss 5
63
fun:_dl_map_object_from_fd
67
pthread allocate_dtv memory loss
71
fun:_dl_allocate_tls_storage
72
fun:__GI__dl_allocate_tls
77
pthread allocate_dtv memory loss second
86
pthread memalign memory loss
89
fun:_dl_allocate_tls_storage
90
fun:__GI__dl_allocate_tls
95
pthread pthread_key_create
100
fun:pthread_key_create
101
fun:my_thread_global_init
105
pthread strstr uninit
108
obj:/lib/tls/libpthread.so.*
109
obj:/lib/tls/libpthread.so.*
116
pthread strstr uninit
119
obj:/lib/tls/libpthread.so.*
120
obj:/lib/tls/libpthread.so.*
127
strlen/_dl_init_paths/dl_main/_dl_sysdep_start(Cond)
146
# Warnings in libz becasue it works with aligned memory(?)
251
# Warning from my_thread_init becasue mysqld dies before kill thread exists
255
my_thread_init kill thread memory loss second
259
fun:kill_server_thread
263
# Red Hat AS 4 32 bit
267
fun:_dl_relocate_object
271
# Warning from my_thread_init becasue mysqld dies before kill thread exists
275
my_thread_init kill thread memory loss second
279
fun:kill_server_thread
283
# Leaks reported in _dl_* internal functions on Linux amd64 / glibc2.3.2.
287
_dl_start invalid write8
293
_dl_start invalid write4
299
_dl_start/_dl_setup_hash invalid read8
306
_dl_sysdep_start invalid write8
312
_dl_init invalid write8
318
_dl_init invalid write4
324
_dl_init/_dl_init invalid read8
326
fun:_dl_debug_initialize
331
_dl_init/_dl_debug_state invalid read8
350
fixup/_dl_lookup_versioned_symbol invalid read8
352
fun:_dl_lookup_versioned_symbol
357
_dl_runtime_resolve invalid read8
359
fun:_dl_runtime_resolve
363
__libc_start_main invalid write8
365
fun:__libc_start_main
369
__libc_start_main/__sigjmp_save invalid write4
372
fun:__libc_start_main
376
# These seem to be libc threading stuff, not related to MySQL code (allocations
377
# during pthread_exit()). Googling shows other projects also using these
380
# Note that these all stem from pthread_exit() deeper in the call stack, but
381
# Valgrind only allows the top four calls in the suppressions.
389
fun:_dl_map_object_from_fd
406
fun:_dl_map_object_deps
415
fun:_dl_check_map_versions
425
fun:_dl_map_object_from_fd
448
# This is seen internally in the system libraries on 64-bit RHAS3.
452
__lll_mutex_unlock_wake uninitialized
455
fun:__lll_mutex_unlock_wake
459
# BUG#19940: NDB sends uninitialized parts of field buffers across the wire.
460
# This is "works as designed"; the uninitialized part is not used at the
461
# other end (but Valgrind cannot see this).
466
socketcall.sendto(msg)
468
fun:_ZN15TCP_Transporter6doSendEv
469
fun:_ZN19TransporterRegistry11performSendEv
470
fun:_ZN19TransporterRegistry14forceSendCheckEi
472
# Warning when printing stack trace (to suppress some not needed warnings)
476
vprintf on stacktrace
486
# Safe warnings, that may happen because of thread scheduling
490
dbug initialization by kill_server
500
# Warning caused by small memory leak in threaded dlopen
504
dlopen threaded memory leak
512
# On some systems the above leak happens at dlclose (SuSE 10.1 64 bit on
517
dlclose threaded memory leak
526
# Start of Google Protobuffer suppressions. GPB does static initialization
527
# of default message Descriptors and file descriptor classes, which produce
528
# bogus still reachable errors in memcheck.
532
static initialization proto1
535
fun:_ZN8drizzled7message56protobuf_BuildDesc_table_2eproto_AssignGlobalDescriptorsEPKN6google8protobuf14FileDescriptorE
536
fun:_ZN6google8protobuf17DescriptorBuilder9BuildFileERKNS0_19FileDescriptorProtoEPFvPKNS0_14FileDescriptorEE
537
fun:_ZN6google8protobuf14DescriptorPool26InternalBuildGeneratedFileEPKviPFvPKNS0_14FileDescriptorEE
538
fun:_ZN8drizzled7message32protobuf_BuildDesc_table_2eprotoEv
539
fun:_ZN8drizzled7message41StaticDescriptorInitializer_table_2eprotoC1Ev
540
fun:_Z41__static_initialization_and_destruction_0ii
541
fun:_GLOBAL__I_table.pb.cc
549
static initialization proto2
552
fun:_ZN6google8protobuf81protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto_AssignGlobalDescriptorsEPKNS0_14FileDescriptorE
553
fun:_ZN6google8protobuf17DescriptorBuilder9BuildFileERKNS0_19FileDescriptorProtoEPFvPKNS0_14FileDescriptorEE
554
fun:_ZN6google8protobuf14DescriptorPool26InternalBuildGeneratedFileEPKviPFvPKNS0_14FileDescriptorEE
555
obj:/*libprotobuf.so*
556
obj:/*libprotobuf.so*
557
obj:/*libprotobuf.so*
569
static initialization proto3
572
fun:_ZN8drizzled7message62protobuf_BuildDesc_transaction_2eproto_AssignGlobalDescriptorsEPKN6google8protobuf14FileDescriptorE
573
fun:_ZN6google8protobuf17DescriptorBuilder9BuildFileERKNS0_19FileDescriptorProtoEPFvPKNS0_14FileDescriptorEE
574
fun:_ZN6google8protobuf14DescriptorPool26InternalBuildGeneratedFileEPKviPFvPKNS0_14FileDescriptorEE
575
fun:_ZN8drizzled7message38protobuf_BuildDesc_transaction_2eprotoEv
576
fun:_ZN8drizzled7message47StaticDescriptorInitializer_transaction_2eprotoC1Ev
577
fun:_Z41__static_initialization_and_destruction_0ii
578
fun:_GLOBAL__I_transaction.pb.cc
586
static initialization proto4
589
fun:_ZN8drizzled7message57protobuf_BuildDesc_schema_2eproto_AssignGlobalDescriptorsEPKN6google8protobuf14FileDescriptorE
590
fun:_ZN6google8protobuf17DescriptorBuilder9BuildFileERKNS0_19FileDescriptorProtoEPFvPKNS0_14FileDescriptorEE
591
fun:_ZN6google8protobuf14DescriptorPool26InternalBuildGeneratedFileEPKviPFvPKNS0_14FileDescriptorEE
592
fun:_ZN8drizzled7message33protobuf_BuildDesc_schema_2eprotoEv
593
fun:_ZN8drizzled7message42StaticDescriptorInitializer_schema_2eprotoC1Ev
594
fun:_Z41__static_initialization_and_destruction_0ii
595
fun:_GLOBAL__I_schema.pb.cc
603
static initialization proto5
606
fun:_ZN8drizzled7message62protobuf_BuildDesc_transaction_2eproto_AssignGlobalDescriptorsEPKN6google8protobuf14FileDescriptorE
607
fun:_ZN6google8protobuf17DescriptorBuilder9BuildFileERKNS0_19FileDescriptorProtoEPFvPKNS0_14FileDescriptorEE
608
fun:_ZN6google8protobuf14DescriptorPool26InternalBuildGeneratedFileEPKviPFvPKNS0_14FileDescriptorEE
609
fun:_ZN8drizzled7message38protobuf_BuildDesc_transaction_2eprotoEv
610
fun:_ZN8drizzled7message47StaticDescriptorInitializer_transaction_2eprotoC1Ev
611
fun:_Z41__static_initialization_and_destruction_0ii
612
fun:_GLOBAL__I_transaction.pb.cc
621
Bad InnoDB rw_lock_x_lock_func evil evil
623
fun:rw_lock_x_lock_func
627
# Innodb initialize two main memory areas in static space: thr_local_hash and mem_comm_pool.
629
# About 5M of allocated bytes are left in a reachable state upon shutdown. We suppress this
630
# false positive here...
634
thr_local_hash static initialization
130
638
fun:mem_heap_create_block
138
fun:row_insert_for_mysql
145
fun:row_insert_for_mysql
152
fun:row_insert_for_mysql
159
fun:row_insert_for_mysql
166
fun:row_insert_for_mysql
174
fun:row_insert_for_mysql
182
fun:row_create_table_for_mysql
189
fun:row_create_table_for_mysql
197
fun:row_drop_table_for_mysql
204
fun:row_drop_table_for_mysql
210
HailDB Inherited some issues from InnoDB
212
fun:rw_lock_x_lock_func
214
fun:innobase_start_or_create
215
fun:_ZL20embedded_innodb_initRN8drizzled6module7ContextE
216
fun:_ZN8drizzled15plugin_finalizeERNS_6module8RegistryE
217
fun:_ZN8drizzled22init_server_componentsERNS_6module8RegistryE
222
HailDB Inherited some issues from InnoDB
224
fun:rw_lock_x_lock_func
229
# Masking Leaks in System Libraries
231
libnss static allocation
239
Static buffer created on gcrypt library initialization. Not a leak.
244
fun:_ZL10initializeRN8drizzled6module7ContextE
249
Static buffer in pcre. Not a leak.
257
azflush issue in libazio
265
azflush issue in libazio
274
azclose issue in libazio
282
azclose issue in libazio
291
azwrite_row issue in libazio
300
azwrite_row issue in libazio
310
azwrite_row issue in libazio
319
azwrite_row issue in libazio
328
azwrite_row issue in libazio
339
azwrite_row issue in libazio
359
uncompress issue in libz
368
uncompress issue in libz (32bit)
373
fun:_ZL7azwriteP11azio_streamPvj
379
uncompress issue in libz (32bit)
384
fun:_ZL7azwriteP11azio_streamPvj
390
MyISAM pwrite issue. Teh Suck.
394
fun:_Z15key_cache_writePN8drizzled12st_key_cacheEiyiPhjji
398
MyISAM pwrite issue. Teh Suck.
402
fun:_Z15key_cache_writePN8drizzled12st_key_cacheEimiPhjji
406
MyISAM pwrite issue. Teh Suck.
410
fun:_Z15key_cache_writePN8drizzled12st_key_cacheEimiPhjji
414
# Things we don't like in Drizzle
417
This whole codebase is going away, so suppress this annoyance.
419
fun:_ZN8drizzledL17construct_optionsEPNS_6memory4RootEPNS_6module6ModuleEPNS_6optionE
420
fun:_ZN8drizzledL19test_plugin_optionsEPNS_6memory4RootEPNS_6module6ModuleEPiPPcRN5boost15program_options19options_descriptionE
421
fun:_ZN8drizzledL16plugin_load_listERNS_6module8RegistryEPNS_6memory4RootEPiPPcRKSt3setISsSt4lessISsESaISsEERN5boost15program_options19options_descriptionEb
422
fun:_ZN8drizzled11plugin_initERNS_6module8RegistryEPiPPcRN5boost15program_options19options_descriptionE
423
fun:_ZN8drizzled22init_server_componentsERNS_6module8RegistryE
427
# https://bugs.launchpad.net/drizzle/+bug/582495
429
Bug 582495 - Syscall param write(buf) points to uninitialised byte(s)
433
fun:_ZN8drizzled8internal8my_writeEiPKhmi
435
fun:_ZN8drizzled9SortParam10write_keysEPPhjPNS_8internal11st_io_cacheES5_
440
Bug 582495 - Syscall param write(buf) points to uninitialised byte(s)
444
fun:_ZN8drizzled8internal8my_writeEiPKhmi
446
fun:_ZN8drizzled8FileSort3runEPNS_5TableEPNS_9SortFieldEjPNS_9optimizer9SqlSelectEmbRm
451
Bug 582495 - Syscall param write(buf) points to uninitialised byte(s) (32bit)
455
fun:_ZN8drizzled8internalL11_my_b_writeEPNS0_11st_io_cacheEPKhj
457
fun:_ZN8drizzled8FileSort3runEPNS_5TableEPNS_9SortFieldEjPNS_9optimizer9SqlSelectEybRy
462
Bug 582495 - Syscall param write(buf) points to uninitialised byte(s) (32bit)
466
fun:_ZN8drizzled8FileSort3runEPNS_5TableEPNS_9SortFieldEjPNS_9optimizer9SqlSelectEybRy
468
fun:_ZN8drizzled13handle_selectEPNS_7SessionEPNS_3LEXEPNS_13select_resultEy
471
# https://bugs.launchpad.net/drizzle/+bug/582526
473
Possibly lack of deallocation of a thread
478
fun:_Z34initTransactionLogBackgroundWorkerv
482
# Issues with boost::thread
484
Boost::thread issues. Not a problem - static init issues.
487
fun:_ZN5boost6detail16add_new_tss_nodeEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPv
488
fun:_ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb
489
fun:_ZN8drizzled8internal14my_thread_initEv
490
fun:_ZN8drizzled8internal21my_thread_global_initEv
491
fun:_ZN8drizzled8internal7my_initEv
496
Boost::thread issues. Not a problem - static init issues.
499
fun:_ZNSt8_Rb_treeIPKvSt4pairIKS1_N5boost6detail13tss_data_nodeEESt10_Select1stIS7_ESt4lessIS1_ESaIS7_EE10_M_insert_EPKSt18_Rb_tree_node_baseSG_RKS7_
500
fun:_ZN5boost6detail16add_new_tss_nodeEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPv
501
fun:_ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb
502
fun:_ZN5boost19thread_specific_ptrIN8drizzled8internal16st_my_thread_varEED1Ev
506
Boost::thread issues. Not a problem - static init issues.
509
fun:_ZN5boost6detail23get_current_thread_dataEv
510
fun:_ZN5boost6detail13find_tss_dataEPKv
511
fun:_ZN5boost6detail12get_tss_dataEPKv
512
fun:_ZN8drizzled8internal14my_thread_initEv
513
fun:_ZN8drizzled8internal21my_thread_global_initEv
514
fun:_ZN8drizzled8internal7my_initEv
518
Boost::thread issues. Not a problem - static init issues.
521
fun:_ZN5boost19thread_specific_ptrIPN8drizzled6memory4RootEED1Ev
522
fun:__run_exit_handlers
527
Boost::thread issues. Not a problem - static init issues.
530
fun:_ZN5boost19thread_specific_ptr*
531
fun:__run_exit_handlers
536
Boost::thread issues. Not a problem - static init issues.
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
547
Boost::thread issues. Not a problem - static init issues.
551
fun:_ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb
552
fun:_ZN8drizzled8internal14my_thread_initEv
553
fun:_ZN8drizzled8internal21my_thread_global_initEv
554
fun:_ZN8drizzled8internal7my_initEv
558
Boost::thread issues. Not a problem - static init issues.
561
fun:_ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb
562
fun:_ZN8drizzled7Session12storeGlobalsEv
563
fun:_ZN8drizzled21drizzle_rm_tmp_tablesEv
567
Boost::thread issues. Not a problem - static init issues.
570
fun:_ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb
571
fun:_ZN8drizzled7Session12storeGlobalsEv
572
fun:_ZN8drizzled21drizzle_rm_tmp_tablesEv
639
fun:mem_heap_create_func
645
fun:innobase_start_or_create_for_mysql
646
fun:_ZL13innobase_initR14PluginRegistry
647
fun:_ZL17plugin_initializeP13st_plugin_int
648
fun:_Z11plugin_initPiPPci
649
fun:_ZL22init_server_componentsv
654
mem_comm_pool static initialization
663
fun:innobase_start_or_create_for_mysql
664
fun:_ZL13innobase_initR14PluginRegistry
665
fun:_ZL17plugin_initializeP13st_plugin_int
666
fun:_Z11plugin_initPiPPci
667
fun:_ZL22init_server_componentsv
672
# InnoDB uses a yacc-based lexer which holds its yyval variable in
673
# static space. This variable is of type pointer to que_t. This
674
# static variable is realloc()'d when a larger number of que_t's (AST nodes)
677
# This static allocation results in false positives for reachable
678
# memory at server (or actually plugin) shutdown. Therefore, we correct
679
# with the following suppressions.
683
InnoDB parser static allocation 1
694
InnoDB Parser allocation 2
705
# LIBC's nss_parse_service_list() and tsearch(), which are used by various syscalls
706
# like getpwnam() malloc's some pointers in static space. We suppress
707
# this false positive here...
711
nss_parse_service_list static allocation
714
fun:nss_parse_service_list
715
fun:__nss_database_lookup
720
fun:_ZL10check_userPKc
725
tsearch static allocation
729
fun:__nss_lookup_function
734
fun:_ZL10check_userPKc
740
# PCRE initializes compiled regular expression objects into
741
# static space, and therefore show up as memory leaks. These
742
# are false positives and are handled by the PCRE library. There
743
# is no way to manually free pcre_compile()d returned pointers.
747
pcre static initialization correction
751
fun:_ZN8drizzled14TemporalFormatC1EPKc
752
fun:_Z21init_temporal_formatsv
753
fun:_ZL21init_common_variablesPKciPPcPS0_
758
Leak inside of libcurl. Nothing we can really do about it.
766
Another leak in libcrypto
786
fun:__nss_database_lookup