blob: a1618f7b38dfd4a688cd7c91aaf8932bb987d0bf [file] [log] [blame]
daywalker63f6f782003-05-27 00:19:52 +00001
2##----------------------------------------------------------------------##
3
4# Errors to suppress by default with glibc 2.3.x
5
6# Format of this file is:
7# {
8# name_of_suppression
9# skin_name:supp_kind
10# (optional extra info for some suppression types)
11# caller0 name, or /name/of/so/file.so
12# caller1 name, or ditto
13# (optionally: caller2 name)
14# (optionally: caller3 name)
15# }
16#
17# For Memcheck, the supp_kinds are:
18#
19# Param Value1 Value2 Value4 Value8
20# Free Addr1 Addr2 Addr4 Addr8
21# Cond (previously known as Value0)
22#
23# and the optional extra info is:
24# if Param: name of system call param
25# if Free: name of free-ing fn)
26
27#-------- For SuSE 8.2 (gcc 3.3, glibc 2.3.2)
28{
29 __GI___stpcpy/*
30 Memcheck:Cond
31 fun:__GI___stpcpy
32 fun:*
33}
34{
35 strlen/__GI__dl_open/dlopen_doit
36 Memcheck:Cond
37 fun:strlen
38 fun:__GI__dl_open
39 fun:dlopen_doit
40}
41{
42 strlen/_dl_signal_cerror/_dl_lookup_symbol_internal/do_dlsym
43 Memcheck:Cond
44 fun:_dl_signal_cerror
45 fun:_dl_lookup_symbol_internal
46 fun:do_dlsym
47}
48
49
50#-------- For R H 8.0
51{
52 elf_dynamic_do_rel.7/_dl_relocate_object_internal/dl_open_worker(Cond)
53 Memcheck:Cond
54 fun:elf_dynamic_do_rel.7
55 fun:_dl_relocate_object_internal
56 fun:dl_open_worker
57}
58
59#-------- Threading bugs?
60# glibc 'knows' that destroying a locked mutex will unlock it
61{
62 pthread_error/__pthread_mutex_destroy/__closedir
63 core:PThread
64 fun:pthread_error
65 fun:__pthread_mutex_destroy
66 fun:__closedir
67}
68
69{
70 pthread_error/__pthread_mutex_destroy/_IO_default_finish
71 core:PThread
72 fun:pthread_error
73 fun:__pthread_mutex_destroy
74 fun:_IO_default_finish*
75}
76
77{
78 __pthread_mutex_unlock/_IO_funlockfile
79 core:PThread
80 fun:__pthread_mutex_unlock
81 fun:_IO_funlockfile
82}
83
84##----------------------------------------------------------------------##
85## For a leak in Valgrind's own libpthread.so :(
86{
87 my_malloc/get_or_allocate_specifics_ptr/__pthread_key_create(Leak)
88 Memcheck:Leak
89 fun:my_malloc
90 fun:get_or_allocate_specifics_ptr
91 fun:__pthread_key_create
92}
93
94