blob: 74c31e390b68e2360da4a5d430f1ea9a5337984b [file] [log] [blame]
njnf76d27a2009-05-28 01:53:07 +00001
2##----------------------------------------------------------------------##
3#
4# Suppressions for Darwin 9.x / Mac OS X 10.5 Leopard
5#
6
7{
8 mach_msg_trap-1
9 Memcheck:Param
10 mach_msg(msg.msgh_remote_port)
11 fun:mach_msg_trap
12 obj:/System/Library/Frameworks/CoreFoundation*
13 obj:/System/Library/Frameworks/ApplicationServices*
14}
15
16{
17 mach_msg_trap-2
18 Memcheck:Param
19 mach_msg(msg.msgh_remote_port)
20 fun:mach_msg_trap
21 obj:/System/Library/Frameworks/CoreFoundation*
22 obj:/System/Library/Frameworks/CoreServices*
23}
24
25{
26 mach_msg_trap-3
27 Memcheck:Param
28 mach_msg(msg.msgh_remote_port)
29 fun:mach_msg_trap
30 obj:/System/Library/Frameworks/CoreFoundation*
31 obj:/System/Library/Frameworks/Carbon*
32}
33
34{
35 mach_msg_trap-4
36 Memcheck:Param
37 mach_msg(msg.msgh_remote_port)
38 fun:mach_msg_trap
39 obj:/System/Library/Frameworks/CoreFoundation*
40 obj:/System/Library/Frameworks/CoreFoundation*
41}
42
43{
44 mach_msg_trap-5
45 Memcheck:Param
46 mach_msg(msg.msgh_remote_port)
47 fun:mach_msg_trap
48 obj:/System/Library/Frameworks/CoreFoundation*
49 obj:/System/Library/Frameworks/AppKit*
50}
51
52{
53 macos-Cond-1
54 Memcheck:Cond
55 fun:GetVariationInfoFromName
56 obj:/System/Library/Frameworks/ApplicationServices*
57 obj:/System/Library/Frameworks/ApplicationServices*
58}
59
60{
61 macos-Cond-2
62 Memcheck:Cond
63 fun:*PMMutex*Lock*
64 obj:/System/Library/Frameworks/ApplicationServices*
65 obj:/System/Library/Frameworks/ApplicationServices*
66}
67
68{
69 macos-Cond-3
70 Memcheck:Cond
71 fun:sseCGSBlendXXXX8888
72 obj:/System/Library/Frameworks/ApplicationServices*
73 obj:/System/Library/Frameworks/ApplicationServices*
74}
75
76{
77 macos-Cond-4
78 Memcheck:Cond
79 fun:*CASettingsStorage*RefreshSettings*
80 obj:/System/Library/Frameworks/CoreAudio*
81 obj:/System/Library/Frameworks/CoreAudio*
82}
83
84{
85 macos-Cond-5
86 Memcheck:Cond
87 fun:gle*
88 obj:/System/Library/Frameworks/OpenGL*
89 obj:/System/Library/Frameworks/OpenGL*
90}
91
92{
93 futimes-1
94 Memcheck:Param
95 futimes(tvp[1])
96 fun:futimes
97 obj:/usr/lib/libSystem*
98 obj:/usr/lib/libSystem*
99}
100
101##----------------------------------------------------------------------##
102#
103# Suppressions for Helgrind.
104
105# These ones were necessary to give no errors on a tiny non-threaded
106# program. I don't know if they're real problems or false positives (njn).
107
108# keymgr seems to deliberately do some bogus actions, and if they are bogus,
109# it passes the error codes back to the caller.
110{
111 __keymgr_initializer lock failed
112 Helgrind:PthAPIerror
113 fun:pthread_mutex_lock
114 fun:_dyld_register_func_for_*_image
115 fun:__keymgr_initializer
116 fun:libSystem_initializer
117}
118{
119 __keymgr_initializer unlock failed
120 Helgrind:PthAPIerror
121 fun:pthread_mutex_unlock
122 fun:_dyld_register_func_for_*_image
123 fun:__keymgr_initializer
124 fun:libSystem_initializer
125}
126{
127 __keymgr_initializer bogus unlock
128 Helgrind:UnlockBogus
129 fun:pthread_mutex_unlock
130 fun:_dyld_register_func_for_*_image
131 fun:__keymgr_initializer
132 fun:libSystem_initializer
133}
134
135# These ones were necessary to give no errors on a tiny threaded program.
136# I don't know if they're real problems or false positives (njn).
137
138{
139 crude1
140 Helgrind:Race
141 obj:/usr/lib/dyld
142}
143{
144 crude2
145 Helgrind:Race
146 obj:/usr/lib/libSystem.B.dylib
147}
148# This would be better as "fun:\?\?\?" but string matching doesn't seem to
149# allow escaping meta-chars.
150{
151 crude3
152 Helgrind:Race
153 fun:???
154}
155{
156 crude4
157 Helgrind:Race
158 fun:mythread_wrapper
159}
160{
161 crude5
162 Helgrind:Race
163 ...
164 fun:pthread_create_WRK
165 fun:pthread_create
166}
167