blob: 72b346a4fb4752ba9ea2550383682e3e44bef74d [file] [log] [blame]
##----------------------------------------------------------------------##
# Errors to suppress by default with glibc 2.3.x
# Format of this file is:
# {
# name_of_suppression
# tool_name:supp_kind
# (optional extra info for some suppression types)
# caller0 name, or /name/of/so/file.so
# caller1 name, or ditto
# (optionally: caller2 name)
# (optionally: caller3 name)
# }
#
# For Memcheck, the supp_kinds are:
#
# Param Value1 Value2 Value4 Value8 Value16
# Free Addr1 Addr2 Addr4 Addr8 Addr16
# Cond (previously known as Value0)
#
# and the optional extra info is:
# if Param: name of system call param
# if Free: name of free-ing fn)
{
__GI___stpcpy/*
Memcheck:Cond
fun:__GI___stpcpy
fun:*
}
{
strlen/__GI__dl_open/dlopen_doit
Memcheck:Cond
fun:strlen
fun:__GI__dl_open
fun:dlopen_doit
}
{
strlen/_dl_signal_cerror/_dl_lookup_symbol_internal/do_dlsym
Memcheck:Cond
fun:_dl_signal_cerror
fun:_dl_lookup_symbol_internal
fun:do_dlsym
}
{
strlen/*dl_map_object*(Cond)
Memcheck:Cond
fun:strlen
fun:*dl_map_object*
}
{
strlen/*dl_open_worker*(Cond)
Memcheck:Cond
fun:strlen
fun:*dl_open_worker*
}
{
strlen/_dl_sym/dlsym_doit
Memcheck:Cond
fun:strlen
fun:_dl_sym
fun:dlsym_doit
}
{
realpath is inefficiently coded
Addrcheck,Memcheck:Overlap
fun:memcpy
fun:realpath*
}
{
realpath stupidity part II
Addrcheck,Memcheck:Overlap
fun:strcpy
fun:realpath*
}
{
strlen/decompose_rpath/_dl_map_object
Memcheck:Cond
fun:strlen
fun:decompose_rpath
fun:*dl_map_object*
}
{
stpcpy/_dl_sym*
Memcheck:Cond
fun:__stpcpy
fun:_dl_*
}
#-------- For R H 8.0
{
elf_dynamic_do_rel.7/_dl_relocate_object_internal/dl_open_worker(Cond)
Memcheck:Cond
fun:elf_dynamic_do_rel.7
fun:_dl_relocate_object_internal
fun:dl_open_worker
}
{
dl_relocate/dl_open_worker
Memcheck:Cond
fun:_dl_relocate_object_internal
fun:dl_open_worker
}
#-------- Threading bugs?
# glibc 'knows' that destroying a locked mutex will unlock it
{
pthread_error/__pthread_mutex_destroy/__closedir
core:PThread
fun:pthread_error
fun:__pthread_mutex_destroy
fun:__closedir
}
{
pthread_error/__pthread_mutex_destroy/_IO_default_finish
core:PThread
fun:pthread_error
fun:__pthread_mutex_destroy
fun:_IO_default_finish*
}
{
__pthread_mutex_unlock/_IO_funlockfile
core:PThread
fun:__pthread_mutex_unlock
fun:_IO_funlockfile
}
##----------------------------------------------------------------------##
## For a leak in Valgrind's own libpthread.so :(
{
my_malloc/get_or_allocate_specifics_ptr/__pthread_key_create(Leak)
Memcheck:Leak
fun:my_malloc
fun:get_or_allocate_specifics_ptr
fun:__pthread_key_create
}
##----------------------------------------------------------------------##
## Bugs in helper library supplied with Intel Icc 7.0 (65)
## in /opt/intel/compiler70/ia32/lib/libcxa.so.3
{
Intel compiler70/ia32/lib/libcxa.so.3 below-esp accesses
Addrcheck,Memcheck:Addr4
obj:/opt/intel/compiler70/ia32/lib/libcxa.so.3
}