Suppressions for R H Limbo (7.3.92)
[ambi/valgrind.git] / glibc-2.2.supp
1
2 ##----------------------------------------------------------------------##
3
4 # Errors to suppress by default with glibc 2.2.4 / 2.2.5
5
6 # Format of this file is:
7 # {
8 #     name_of_suppression
9 #     kind: one of Param Value1 Value2 Value4 Value8
10 #                   Free Addr1 Addr2 Addr4 Addr8
11 #                   Cond (previously known as Value0)
12 #     (if Param: name of system call param, if Free: name of free-ing fn)
13 #     caller0 name, or /name/of/so/file.so
14 #     caller1 name, or ditto
15 #     (optionally: caller2 name)
16 #     (optionally: caller3 name)
17 # }
18
19 #-------- R H Limbo (glibc-2.2.90) stuff
20 {
21    elf_dynamic_do_rela.8/_dl_relocate_object_internal
22    Cond
23    fun:elf_dynamic_do_rela.8
24    fun:_dl_relocate_object_internal
25 }
26
27 {
28    __strnlen/_nl_make_l10nflist(Cond)
29    Cond
30    fun:__strnlen
31    fun:_nl_make_l10nflist
32 }
33
34 {
35    __strnlen/*vfprintf*
36    Cond
37    fun:__strnlen
38    fun:*vfprintf*
39 }
40
41 {
42    libXaw.so.7.0(Cond)
43    Cond
44    obj:*libXaw.so.7.0
45 }
46
47 #-------- Suppress errors appearing as a result of calling
48 #-------- __libc_freeres()
49
50 {
51    __twalk/*(Addr4)
52    Addr4
53    fun:__twalk
54 }
55
56 {
57    do_release_shlib/__twalk(Addr4)
58    Addr4
59    fun:do_release_shlib
60    fun:__twalk
61 }
62
63 {
64    __libc_freeres/free_mem/free(Free)
65    Free
66    fun:free
67    fun:free_mem
68    fun:__libc_freeres
69 }
70
71 #-------- Threading bugs?
72
73 {
74    pthread_error/__pthread_mutex_destroy/__closedir
75    PThread
76    fun:pthread_error
77    fun:__pthread_mutex_destroy
78    fun:__closedir
79 }
80
81 {
82    pthread_error/__pthread_mutex_destroy/_IO_default_finish
83    PThread
84    fun:pthread_error
85    fun:__pthread_mutex_destroy
86    fun:_IO_default_finish*
87 }
88
89 {
90    __pthread_mutex_unlock/_IO_funlockfile
91    PThread
92    fun:__pthread_mutex_unlock
93    fun:_IO_funlockfile
94 }
95
96 {
97    __pthread_mutex_unlock/__register_frame_info
98    PThread
99    fun:__pthread_mutex_unlock
100    fun:__register_frame_info
101 }
102
103 # even more glibc suppressions ?
104 {
105    libc-2.2.4.so/libc-2.2.4.so/libc-2.2.4.so(Cond)
106    Cond
107    obj:*libc-2.2.?.so
108    obj:*libc-2.2.?.so
109    obj:*libc-2.2.?.so
110 }
111 {
112    libc-2.2.4.so/libc-2.2.4.so/libc-2.2.4.so(Value4)
113    Value4
114    obj:*libc-2.2.?.so
115    obj:*libc-2.2.?.so
116    obj:*libc-2.2.?.so
117 }
118
119 ##### glibc 2.2.5 stuff perhaps?
120 ##### suppressions for coolo
121 {
122    strchr/dl_open_worker(Cond)
123    Cond
124    fun:strchr
125    fun:dl_open_worker
126 }
127
128    __rawmemchr(Cond)
129    Cond 
130    fun:__rawmemchr
131
132
133    _IO_vfprintf/__strnlen(Cond)
134    Cond 
135    fun:__strnlen
136    fun:_IO_vfprintf
137
138
139    __strchrnul/gethostbyname*(Cond)
140    Cond 
141    fun:__strchrnul
142    fun:gethostbyname*
143
144
145
146 ##----
147 {
148    strlen/*dl_map_object*(Cond)
149    Cond
150    fun:strlen
151    fun:*dl_map_object*
152 }
153
154 {
155    strlen/*dl_open_worker*(Cond)
156    Cond
157    fun:strlen
158    fun:*dl_open_worker*
159 }
160
161 {
162    *rawmemchr*/*nss*(Cond)
163    Cond
164    fun:*rawmemchr*
165    fun:*nss*
166 }
167
168 {
169    *strchrnul*/*nss*(Cond)
170    Cond
171    fun:*strchrnul*
172    fun:*nss*
173 }
174
175 # gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)
176 # on Red Hat 7.2 (x86) miscompiles __mpn_construct_double in
177 # __mpn_construct_double (../sysdeps/ieee754/dbl-64/mpn2dbl.c:45)
178 # (glibc-2.2.4) to read and write below %esp.  Hence the following
179 # two:
180 {
181    __mpn_construct_double/*(Addr4)
182    Addr4
183    fun:__mpn_construct_double
184    fun:*
185 }
186 {
187    __mpn_construct_double/*(Addr8)
188    Addr8
189    fun:__mpn_construct_double
190    fun:*
191 }
192
193 # More of the same (gcc bug, I'm pretty sure)
194 {
195    __fabs/*(Addr4)
196    Addr4
197    fun:__fabs
198    fun:*
199 }
200 {
201    __fabs/*(Addr8)
202    Addr8
203    fun:__fabs
204    fun:*
205 }
206
207
208 # Not sure what this is about ... but anyway
209 {
210    pthread_sighandler/*(Addr4)
211    Addr4
212    fun:pthread_sighandler
213    fun:*
214 }
215
216
217 # More glibc stuff, AFAICS
218
219 {
220    __strnlen/__argz_stringify/_nl_make_l10nflist(Cond)
221    Cond
222    fun:__strnlen
223    fun:__argz_stringify
224    fun:_nl_make_l10nflist
225 }
226
227 #--------------
228 {
229    _dl_relocate_object*/dl_open_worker/_dl_catch_error*(Cond)
230    Cond
231    fun:_dl_relocate_object*
232    fun:dl_open_worker
233    fun:_dl_catch_error*
234 }
235 {
236    _dl_relocate_object/libc-2.2.4.so/_dl_catch_error(Cond)
237    Cond
238    fun:_dl_relocate_object
239    obj:*libc-2.2.?.so
240    fun:_dl_catch_error
241 }
242
243 {
244    strrchr/_dl_map_object_from_fd/_dl_map_object(Cond)
245    Cond
246    fun:strrchr
247    fun:_dl_map_object_from_fd
248    fun:_dl_map_object
249 }
250
251 #-------------------
252 {
253    socketcall.connect(serv_addr)/__libc_connect/*
254    Param
255    socketcall.connect(serv_addr)
256    fun:__libc_connect
257    fun:*
258 }
259 {
260    socketcall.connect(serv_addr)/libc-2.2.4.so/libc-2.2.4.so
261    Param
262    socketcall.connect(serv_addr)
263    obj:*libc-2.2.?.so
264    obj:*libc-2.2.?.so
265 }
266
267 #----------------------
268 {
269    write(buf)/__libc_write/libX11.so.6.2/libX11.so.6.2(Param)
270    Param
271    write(buf)
272    fun:__libc_write
273    obj:/usr/X11R6/lib/libX11.so.6.2
274    obj:/usr/X11R6/lib/libX11.so.6.2
275 }
276 {
277    write(buf)/libc-2.2.4.so/libX11.so.6.2/libX11.so.6.2(Param)
278    Param
279    write(buf)
280    obj:*libc-2.2.?.so
281    obj:/usr/X11R6/lib/libX11.so.6.2
282    obj:/usr/X11R6/lib/libX11.so.6.2
283 }
284
285 #{
286 #   llseek(result)/__libc_lseek64/_IO_file_seek(Param)
287 #   Param
288 #   llseek(result)
289 #   fun:__libc_lseek64
290 #   fun:_IO_file_seek
291 #}
292
293 {
294    writev(vector[...])/__writev/libX11.so.6.2/libX11.so.6.2
295    Param
296    writev(vector[...])
297    fun:__writev
298    obj:/usr/X11R6/lib/libX11.so.6.2
299    obj:/usr/X11R6/lib/libX11.so.6.2
300 }
301
302 #----------------
303 {
304    __rawmemchr/libXt.so.6.0/libXt.so.6.0
305    Cond
306    fun:__rawmemchr
307    obj:/usr/X11R6/lib/libXt.so.6.0
308    obj:/usr/X11R6/lib/libXt.so.6.0
309 }
310 {
311    libc-2.2.4.so/libXt.so.6.0/libXt.so.6.0
312    Cond
313    obj:*libc-2.2.?.so
314    obj:/usr/X11R6/lib/libXt.so.6.0
315    obj:/usr/X11R6/lib/libXt.so.6.0
316 }
317
318 ##----------------------------------------------------------------------##
319