2
# Suppress some common (not fatal) errors in system libraries found by 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
pthead_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