blob: bad1b8eb6bb4e4781780484942b34990c6d30735 [file] [log] [blame]
gobry3b777892002-04-04 09:18:39 +00001
2##----------------------------------------------------------------------##
3
sewardj45328392002-05-16 20:57:26 +00004# Errors to suppress by default with glibc 2.2.4 / 2.2.5
gobry3b777892002-04-04 09:18:39 +00005
6# Format of this file is:
7# {
8# name_of_suppression
nethercote137bc552003-11-14 17:47:54 +00009# tool_name:supp_kind
njnc40c3a82002-10-02 11:02:27 +000010# (optional extra info for some suppression types)
gobry3b777892002-04-04 09:18:39 +000011# caller0 name, or /name/of/so/file.so
12# caller1 name, or ditto
13# (optionally: caller2 name)
14# (optionally: caller3 name)
njnc40c3a82002-10-02 11:02:27 +000015# }
16#
sewardj34eccb12002-10-05 16:49:09 +000017# For Memcheck, the supp_kinds are:
njnc40c3a82002-10-02 11:02:27 +000018#
njn718d3b12006-12-16 00:54:12 +000019# Param Value1 Value2 Value4 Value8 Value16 Jump
njnc0616662003-06-12 09:58:41 +000020# Free Addr1 Addr2 Addr4 Addr8 Addr16
njnc40c3a82002-10-02 11:02:27 +000021# Cond (previously known as Value0)
22#
23# and the optional extra info is:
24# if Param: name of system call param
sewardj9bf05a82002-06-06 09:02:11 +000025
sewardj3a751df2003-03-16 10:55:06 +000026#-------- For SuSE 8.2 (gcc 3.3, glibc 2.3.2)
27{
28 __GI___stpcpy/*
29 Memcheck:Cond
30 fun:__GI___stpcpy
31 fun:*
32}
33{
34 strlen/__GI__dl_open/dlopen_doit
35 Memcheck:Cond
36 fun:strlen
37 fun:__GI__dl_open
38 fun:dlopen_doit
39}
40{
41 strlen/_dl_signal_cerror/_dl_lookup_symbol_internal/do_dlsym
42 Memcheck:Cond
43 fun:_dl_signal_cerror
44 fun:_dl_lookup_symbol_internal
45 fun:do_dlsym
46}
47
48
sewardjef0227c2002-12-15 23:09:24 +000049#-------- For R H 8.0
50{
51 elf_dynamic_do_rel.7/_dl_relocate_object_internal/dl_open_worker(Cond)
52 Memcheck:Cond
53 fun:elf_dynamic_do_rel.7
54 fun:_dl_relocate_object_internal
55 fun:dl_open_worker
56}
57
58
sewardjc26044b2002-10-20 16:27:43 +000059#-------- For R H 7.3 on i686
60{
61 _dl_relocate_object*/*libc-2.2.?.so/_dl_catch_error*(Cond)
62 Memcheck:Cond
63 fun:_dl_relocate_object*
64 obj:*libc-2.2.?.so
65 fun:_dl_catch_error*
66}
sewardjb5f6f512005-03-10 23:59:00 +000067{
68 _dl_relocate_object_internal
69 Memcheck:Cond
70 fun:_dl_relocate_object_internal
71}
sewardj31f7f262005-03-15 03:00:46 +000072{
73 index/*-2.2.5.so/*-2.2.5.so
74 Memcheck:Cond
75 fun:index
76 obj:*-2.2.5.so
77 obj:*-2.2.5.so
78}
sewardjabb5eef2006-05-27 22:38:45 +000079{
80 Red Hat 7.3 #4
81 Memcheck:Cond
82 fun:strlen
83 fun:dl_main
84 fun:_dl_sysdep_start
85}
sewardjc26044b2002-10-20 16:27:43 +000086
sewardj20719f62002-09-27 00:58:10 +000087#-------- SuSE 8.1 stuff (gcc-3.2, glibc-2.2.5 + SuSE's hacks)
88{
89 __stpcpy/*
sewardj34eccb12002-10-05 16:49:09 +000090 Memcheck:Cond
sewardj20719f62002-09-27 00:58:10 +000091 fun:__stpcpy
92 fun:*
93}
94{
95 strlen/decompose_rpath/_dl_map_object
sewardj34eccb12002-10-05 16:49:09 +000096 Memcheck:Cond
sewardj20719f62002-09-27 00:58:10 +000097 fun:strlen
98 fun:decompose_rpath
99 fun:_dl_map_object
100}
101{
102 strlen/_dl_sym/dlsym_doit
sewardj34eccb12002-10-05 16:49:09 +0000103 Memcheck:Cond
sewardj20719f62002-09-27 00:58:10 +0000104 fun:strlen
105 fun:_dl_sym
106 fun:dlsym_doit
107}
108{
109 trecurse/__gconv_release_shlib(Addr4)
njn1d0825f2006-03-27 11:37:07 +0000110 Memcheck:Addr4
sewardj20719f62002-09-27 00:58:10 +0000111 fun:trecurse
112 fun:__gconv_release_shlib
113}
114{
115 do_release_shlib/trecurse(Addr4)
njn1d0825f2006-03-27 11:37:07 +0000116 Memcheck:Addr4
sewardj20719f62002-09-27 00:58:10 +0000117 fun:do_release_shlib
118 fun:trecurse
119}
120
sewardj75452642002-07-25 02:21:53 +0000121#-------- R H Limbo (glibc-2.2.90) stuff
122{
123 elf_dynamic_do_rela.8/_dl_relocate_object_internal
sewardj34eccb12002-10-05 16:49:09 +0000124 Memcheck:Cond
sewardj75452642002-07-25 02:21:53 +0000125 fun:elf_dynamic_do_rela.8
126 fun:_dl_relocate_object_internal
127}
128
129{
130 __strnlen/_nl_make_l10nflist(Cond)
sewardj34eccb12002-10-05 16:49:09 +0000131 Memcheck:Cond
sewardj75452642002-07-25 02:21:53 +0000132 fun:__strnlen
133 fun:_nl_make_l10nflist
134}
135
136{
137 __strnlen/*vfprintf*
sewardj34eccb12002-10-05 16:49:09 +0000138 Memcheck:Cond
sewardj75452642002-07-25 02:21:53 +0000139 fun:__strnlen
140 fun:*vfprintf*
141}
142
143{
144 libXaw.so.7.0(Cond)
sewardj34eccb12002-10-05 16:49:09 +0000145 Memcheck:Cond
sewardj75452642002-07-25 02:21:53 +0000146 obj:*libXaw.so.7.0
147}
sewardj9bf05a82002-06-06 09:02:11 +0000148
sewardj1fe7b002002-07-16 01:43:15 +0000149#-------- Suppress errors appearing as a result of calling
150#-------- __libc_freeres()
151
152{
153 __twalk/*(Addr4)
njn1d0825f2006-03-27 11:37:07 +0000154 Memcheck:Addr4
sewardj1fe7b002002-07-16 01:43:15 +0000155 fun:__twalk
156}
157
158{
159 do_release_shlib/__twalk(Addr4)
njn1d0825f2006-03-27 11:37:07 +0000160 Memcheck:Addr4
sewardj1fe7b002002-07-16 01:43:15 +0000161 fun:do_release_shlib
162 fun:__twalk
163}
164
165{
166 __libc_freeres/free_mem/free(Free)
njn1d0825f2006-03-27 11:37:07 +0000167 Memcheck:Free
sewardj1fe7b002002-07-16 01:43:15 +0000168 fun:free
169 fun:free_mem
170 fun:__libc_freeres
171}
172
gobry3b777892002-04-04 09:18:39 +0000173# even more glibc suppressions ?
174{
175 libc-2.2.4.so/libc-2.2.4.so/libc-2.2.4.so(Cond)
sewardj34eccb12002-10-05 16:49:09 +0000176 Memcheck:Cond
sewardj45328392002-05-16 20:57:26 +0000177 obj:*libc-2.2.?.so
178 obj:*libc-2.2.?.so
179 obj:*libc-2.2.?.so
gobry3b777892002-04-04 09:18:39 +0000180}
181{
182 libc-2.2.4.so/libc-2.2.4.so/libc-2.2.4.so(Value4)
sewardj34eccb12002-10-05 16:49:09 +0000183 Memcheck:Value4
sewardj45328392002-05-16 20:57:26 +0000184 obj:*libc-2.2.?.so
185 obj:*libc-2.2.?.so
186 obj:*libc-2.2.?.so
gobry3b777892002-04-04 09:18:39 +0000187}
188
189##### glibc 2.2.5 stuff perhaps?
190##### suppressions for coolo
191{
192 strchr/dl_open_worker(Cond)
sewardj34eccb12002-10-05 16:49:09 +0000193 Memcheck:Cond
gobry3b777892002-04-04 09:18:39 +0000194 fun:strchr
195 fun:dl_open_worker
196}
197{
sewardjb55fc4e2002-07-14 13:04:38 +0000198 __rawmemchr(Cond)
sewardj34eccb12002-10-05 16:49:09 +0000199 Memcheck:Cond
gobry3b777892002-04-04 09:18:39 +0000200 fun:__rawmemchr
gobry3b777892002-04-04 09:18:39 +0000201}
202{
203 _IO_vfprintf/__strnlen(Cond)
sewardj34eccb12002-10-05 16:49:09 +0000204 Memcheck:Cond
gobry3b777892002-04-04 09:18:39 +0000205 fun:__strnlen
206 fun:_IO_vfprintf
207}
208{
209 __strchrnul/gethostbyname*(Cond)
sewardj34eccb12002-10-05 16:49:09 +0000210 Memcheck:Cond
gobry3b777892002-04-04 09:18:39 +0000211 fun:__strchrnul
212 fun:gethostbyname*
213}
214
215
216##----
217{
218 strlen/*dl_map_object*(Cond)
sewardj34eccb12002-10-05 16:49:09 +0000219 Memcheck:Cond
gobry3b777892002-04-04 09:18:39 +0000220 fun:strlen
221 fun:*dl_map_object*
222}
223
224{
225 strlen/*dl_open_worker*(Cond)
sewardj34eccb12002-10-05 16:49:09 +0000226 Memcheck:Cond
gobry3b777892002-04-04 09:18:39 +0000227 fun:strlen
228 fun:*dl_open_worker*
229}
230
231{
232 *rawmemchr*/*nss*(Cond)
sewardj34eccb12002-10-05 16:49:09 +0000233 Memcheck:Cond
gobry3b777892002-04-04 09:18:39 +0000234 fun:*rawmemchr*
235 fun:*nss*
236}
237
238{
239 *strchrnul*/*nss*(Cond)
sewardj34eccb12002-10-05 16:49:09 +0000240 Memcheck:Cond
gobry3b777892002-04-04 09:18:39 +0000241 fun:*strchrnul*
242 fun:*nss*
243}
244
245# gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)
246# on Red Hat 7.2 (x86) miscompiles __mpn_construct_double in
247# __mpn_construct_double (../sysdeps/ieee754/dbl-64/mpn2dbl.c:45)
248# (glibc-2.2.4) to read and write below %esp. Hence the following
249# two:
250{
251 __mpn_construct_double/*(Addr4)
njn1d0825f2006-03-27 11:37:07 +0000252 Memcheck:Addr4
gobry3b777892002-04-04 09:18:39 +0000253 fun:__mpn_construct_double
254 fun:*
255}
256{
257 __mpn_construct_double/*(Addr8)
njn1d0825f2006-03-27 11:37:07 +0000258 Memcheck:Addr8
gobry3b777892002-04-04 09:18:39 +0000259 fun:__mpn_construct_double
260 fun:*
261}
262
263# More of the same (gcc bug, I'm pretty sure)
264{
265 __fabs/*(Addr4)
njn1d0825f2006-03-27 11:37:07 +0000266 Memcheck:Addr4
gobry3b777892002-04-04 09:18:39 +0000267 fun:__fabs
268 fun:*
269}
270{
271 __fabs/*(Addr8)
njn1d0825f2006-03-27 11:37:07 +0000272 Memcheck:Addr8
gobry3b777892002-04-04 09:18:39 +0000273 fun:__fabs
274 fun:*
275}
276
277
278# Not sure what this is about ... but anyway
279{
280 pthread_sighandler/*(Addr4)
njn1d0825f2006-03-27 11:37:07 +0000281 Memcheck:Addr4
gobry3b777892002-04-04 09:18:39 +0000282 fun:pthread_sighandler
283 fun:*
284}
285
286
287# More glibc stuff, AFAICS
288
289{
290 __strnlen/__argz_stringify/_nl_make_l10nflist(Cond)
sewardj34eccb12002-10-05 16:49:09 +0000291 Memcheck:Cond
gobry3b777892002-04-04 09:18:39 +0000292 fun:__strnlen
293 fun:__argz_stringify
294 fun:_nl_make_l10nflist
295}
296
297#--------------
298{
sewardj924bc002002-06-07 00:29:39 +0000299 _dl_relocate_object*/dl_open_worker/_dl_catch_error*(Cond)
sewardj34eccb12002-10-05 16:49:09 +0000300 Memcheck:Cond
sewardj924bc002002-06-07 00:29:39 +0000301 fun:_dl_relocate_object*
gobry3b777892002-04-04 09:18:39 +0000302 fun:dl_open_worker
sewardj924bc002002-06-07 00:29:39 +0000303 fun:_dl_catch_error*
gobry3b777892002-04-04 09:18:39 +0000304}
305{
306 _dl_relocate_object/libc-2.2.4.so/_dl_catch_error(Cond)
sewardj34eccb12002-10-05 16:49:09 +0000307 Memcheck:Cond
gobry3b777892002-04-04 09:18:39 +0000308 fun:_dl_relocate_object
sewardj45328392002-05-16 20:57:26 +0000309 obj:*libc-2.2.?.so
gobry3b777892002-04-04 09:18:39 +0000310 fun:_dl_catch_error
311}
mueller1c2d0652004-02-28 21:21:46 +0000312{
thughesac0692a2004-07-17 14:16:03 +0000313 _dl_relocate_object/dl_main(Cond)
mueller1c2d0652004-02-28 21:21:46 +0000314 Memcheck:Cond
315 fun:_dl_relocate_object
316 fun:dl_main
mueller1c2d0652004-02-28 21:21:46 +0000317}
thughesf3feaaf2004-02-29 13:00:51 +0000318{
thughesac0692a2004-07-17 14:16:03 +0000319 _dl_relocate_object_internal/dl_main(Cond)
thughesf3feaaf2004-02-29 13:00:51 +0000320 Memcheck:Cond
321 fun:_dl_relocate_object_internal
322 fun:dl_main
thughesf3feaaf2004-02-29 13:00:51 +0000323}
gobry3b777892002-04-04 09:18:39 +0000324
325{
326 strrchr/_dl_map_object_from_fd/_dl_map_object(Cond)
sewardj34eccb12002-10-05 16:49:09 +0000327 Memcheck:Cond
gobry3b777892002-04-04 09:18:39 +0000328 fun:strrchr
329 fun:_dl_map_object_from_fd
330 fun:_dl_map_object
331}
332
mueller1c2d0652004-02-28 21:21:46 +0000333{
sewardjb5f6f512005-03-10 23:59:00 +0000334 _dl_start/ld-2.2.4.so(Cond)
mueller1c2d0652004-02-28 21:21:46 +0000335 Memcheck:Cond
336 fun:_dl_start
337 obj:/lib/ld-2.2.4.so
338}
339
sewardjb5f6f512005-03-10 23:59:00 +0000340#-------- glibc 2.2.5/ Debian 3.0
341{
njn364350e2005-06-24 03:26:54 +0000342 _dl_start(Cond)
sewardjb5f6f512005-03-10 23:59:00 +0000343 Memcheck:Cond
344 fun:_dl_start
njn364350e2005-06-24 03:26:54 +0000345}
346
347{
348 _dl_start(Cond)
349 Memcheck:Cond
350 fun:_dl_relocate_object
sewardjb5f6f512005-03-10 23:59:00 +0000351}
352
gobry3b777892002-04-04 09:18:39 +0000353#-------------------
354{
fitzhardinge1c76dc42003-12-15 09:00:21 +0000355 socketcall.connect(serv_addr)/connect/*
njn1d0825f2006-03-27 11:37:07 +0000356 Memcheck:Param
gobry3b777892002-04-04 09:18:39 +0000357 socketcall.connect(serv_addr)
fitzhardinge1c76dc42003-12-15 09:00:21 +0000358 fun:connect
gobry3b777892002-04-04 09:18:39 +0000359 fun:*
360}
361{
362 socketcall.connect(serv_addr)/libc-2.2.4.so/libc-2.2.4.so
njn1d0825f2006-03-27 11:37:07 +0000363 Memcheck:Param
gobry3b777892002-04-04 09:18:39 +0000364 socketcall.connect(serv_addr)
sewardj45328392002-05-16 20:57:26 +0000365 obj:*libc-2.2.?.so
366 obj:*libc-2.2.?.so
gobry3b777892002-04-04 09:18:39 +0000367}
368
369#----------------------
370{
fitzhardinge1c76dc42003-12-15 09:00:21 +0000371 write(buf)/write/libX11.so.6.2/libX11.so.6.2(Param)
njn1d0825f2006-03-27 11:37:07 +0000372 Memcheck:Param
gobry3b777892002-04-04 09:18:39 +0000373 write(buf)
fitzhardinge1c76dc42003-12-15 09:00:21 +0000374 fun:write
gobry3b777892002-04-04 09:18:39 +0000375 obj:/usr/X11R6/lib/libX11.so.6.2
376 obj:/usr/X11R6/lib/libX11.so.6.2
377}
378{
379 write(buf)/libc-2.2.4.so/libX11.so.6.2/libX11.so.6.2(Param)
njn1d0825f2006-03-27 11:37:07 +0000380 Memcheck:Param
gobry3b777892002-04-04 09:18:39 +0000381 write(buf)
sewardj45328392002-05-16 20:57:26 +0000382 obj:*libc-2.2.?.so
gobry3b777892002-04-04 09:18:39 +0000383 obj:/usr/X11R6/lib/libX11.so.6.2
384 obj:/usr/X11R6/lib/libX11.so.6.2
385}
386
387#{
fitzhardinge1c76dc42003-12-15 09:00:21 +0000388# llseek(result)/lseek64/_IO_file_seek(Param)
gobry3b777892002-04-04 09:18:39 +0000389# Param
390# llseek(result)
fitzhardinge1c76dc42003-12-15 09:00:21 +0000391# fun:lseek64
gobry3b777892002-04-04 09:18:39 +0000392# fun:_IO_file_seek
393#}
394
395{
396 writev(vector[...])/__writev/libX11.so.6.2/libX11.so.6.2
njn1d0825f2006-03-27 11:37:07 +0000397 Memcheck:Param
gobry3b777892002-04-04 09:18:39 +0000398 writev(vector[...])
399 fun:__writev
400 obj:/usr/X11R6/lib/libX11.so.6.2
401 obj:/usr/X11R6/lib/libX11.so.6.2
402}
403
404#----------------
405{
406 __rawmemchr/libXt.so.6.0/libXt.so.6.0
sewardj34eccb12002-10-05 16:49:09 +0000407 Memcheck:Cond
gobry3b777892002-04-04 09:18:39 +0000408 fun:__rawmemchr
409 obj:/usr/X11R6/lib/libXt.so.6.0
410 obj:/usr/X11R6/lib/libXt.so.6.0
411}
412{
413 libc-2.2.4.so/libXt.so.6.0/libXt.so.6.0
sewardj34eccb12002-10-05 16:49:09 +0000414 Memcheck:Cond
sewardj45328392002-05-16 20:57:26 +0000415 obj:*libc-2.2.?.so
gobry3b777892002-04-04 09:18:39 +0000416 obj:/usr/X11R6/lib/libXt.so.6.0
417 obj:/usr/X11R6/lib/libXt.so.6.0
418}
419
tomdeb0f0f2005-08-20 11:46:57 +0000420## Bug in PRE(sys_clone), really. Some args are not used.
421{
422 LinuxThread clone use (child_tidptr)
423 Memcheck:Param
424 clone(child_tidptr)
425 fun:clone
426 fun:__pthread_initialize_manager
427 fun:pthread_create@@GLIBC_2.2.5
428}
429
430## LinuxThreads manager writes messages containing undefined bytes
njn866db0d2003-05-08 07:53:52 +0000431{
sewardjb5f6f512005-03-10 23:59:00 +0000432 LinuxThreads: write/pthread_create
433 Memcheck:Param
434 write(buf)
435 fun:pthread_create@@GLIBC_2.1
njn866db0d2003-05-08 07:53:52 +0000436}
sewardjb5f6f512005-03-10 23:59:00 +0000437{
438 LinuxThreads: write/pthread_create
439 Memcheck:Param
440 write(buf)
441 fun:write
442 fun:pthread_create@@GLIBC_2.1
443}
tomdeb0f0f2005-08-20 11:46:57 +0000444{
445 LinuxThreads: write/pthread_onexit_process
446 Memcheck:Param
447 write(buf)
448 fun:write
449 fun:pthread_onexit_process
450 fun:exit
451}
452{
453 LinuxThreads: write/pthread_join
454 Memcheck:Param
455 write(buf)
456 fun:write
457 fun:pthread_join
458}
459{
460 LinuxThreads: write/pthread_create
461 Memcheck:Param
462 write(buf)
463 fun:write
464 fun:pthread_create@@GLIBC_2.2.5
465}
466{
467 LinuxThreads: write/__pthread_initialize_manager/pthread_create
468 Memcheck:Param
469 write(buf)
470 fun:write
471 fun:__pthread_initialize_manager
472 fun:pthread_create@@GLIBC_2.2.5
473}
tomf7e9d872005-08-20 12:05:32 +0000474
475## LinuxThreads leaks the stack and TLS data for the manager thread
476{
477 LinuxThreads: leaks stack of manager thread
478 Memcheck:Leak
479 fun:malloc
480 fun:__pthread_initialize_manager
481 fun:pthread_create@@GLIBC_2.1
482}
483{
484 LinuxThreads: leaks TLS data for manager thread
485 Memcheck:Leak
486 fun:calloc
487 fun:_dl_allocate_tls
488 fun:__pthread_initialize_minimal
489}
490{
491 LinuxThreads: leaks TLS data for manager thread
492 Memcheck:Leak
493 fun:memalign
494 fun:_dl_allocate_tls
495 fun:__pthread_initialize_minimal
496}
497{
498 LinuxThreads: leaks stack of manager thread
499 Memcheck:Leak
500 fun:malloc
501 fun:__pthread_initialize_manager
502 fun:pthread_create@@GLIBC_2.2.5
503}
504{
505 LinuxThreads: leaks TLS data for manager thread
506 Memcheck:Leak
507 fun:calloc
508 fun:allocate_dtv
509 fun:_dl_allocate_tls_storage
510 fun:_dl_allocate_tls
511 fun:__pthread_initialize_minimal
512}
513{
514 LinuxThreads: leaks TLS data for manager thread
515 Memcheck:Leak
516 fun:memalign
517 fun:_dl_allocate_tls_storage
518 fun:_dl_allocate_tls
519 fun:__pthread_initialize_minimal
520}