1 2 ##----------------------------------------------------------------------## 3 4 # Errors to suppress by default with glibc 2.6.x 5 6 # Format of this file is: 7 # { 8 # name_of_suppression 9 # tool_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 Value16 Jump 20 # Free Addr1 Addr2 Addr4 Addr8 Addr16 21 # Cond (previously known as Value0) 22 # 23 # and the optional extra info is: 24 # if Param: name of system call param 25 26 { 27 dl-hack1 28 Memcheck:Cond 29 fun:_dl_start 30 fun:_start 31 } 32 33 { 34 dl-hack2 35 Memcheck:Cond 36 obj:/lib*/ld-2.6*.so 37 obj:/lib*/ld-2.6*.so 38 obj:/lib*/ld-2.6*.so 39 obj:/lib*/ld-2.6*.so 40 } 41 42 { 43 dl-hack3-1 44 Memcheck:Cond 45 obj:/lib*/ld-2.6*.so* 46 obj:/lib*/ld-2.6*.so* 47 obj:/lib*/ld-2.6*.so* 48 } 49 { 50 dl-hack3-2 51 Memcheck:Cond 52 obj:/lib*/ld-2.6*.so* 53 obj:/lib*/ld-2.6*.so* 54 obj:/lib*/libc-2.6*.so* 55 } 56 57 { 58 dl-hack4-64bit-1 59 Memcheck:Addr8 60 obj:/lib64/ld-2.6*.so* 61 obj:/lib64/ld-2.6*.so* 62 obj:/lib64/ld-2.6*.so* 63 } 64 { 65 dl-hack4-64bit-2 66 Memcheck:Addr8 67 obj:/lib64/ld-2.6*.so* 68 obj:/lib64/ld-2.6*.so* 69 obj:/lib64/libc-2.6*.so* 70 } 71 { 72 dl-hack4-64bit-3 73 Memcheck:Addr8 74 obj:/lib64/ld-2.6*.so* 75 obj:/lib64/ld-2.6*.so* 76 obj:/lib64/libdl-2.6*.so* 77 } 78 79 80 81 ##----------------------------------------------------------------------## 82 { 83 glibc-2.5.x-on-SUSE-10.2-(PPC)-1 84 Memcheck:Cond 85 fun:_dl_start_final 86 fun:_dl_start 87 fun:_start 88 } 89 { 90 glibc-2.5.x-on-SUSE-10.2-(PPC)-2a 91 Memcheck:Cond 92 fun:index 93 obj:*ld-2.6.*.so 94 } 95 { 96 glibc-2.5.x-on-SuSE-10.2-(PPC)-2b 97 Memcheck:Addr4 98 fun:index 99 fun:expand_dynamic_string_token 100 } 101 { 102 glibc-2.5.5-on-SuSE-10.2-(PPC)-2c 103 Memcheck:Addr4 104 fun:index 105 obj:*ld-2.6.*.so 106 } 107 { 108 glibc-2.3.5-on-SuSE-10.1-(PPC)-3 109 Memcheck:Addr4 110 fun:*wordcopy_fwd_dest_aligned* 111 fun:mem*cpy 112 obj:*lib*2.6.*.so 113 } 114 115 { 116 glibc-2.6-on-SUSE-10.3-(x86) 117 Memcheck:Addr4 118 obj:/lib/ld-2.6*.so 119 obj:/lib/ld-2.6*.so 120 obj:/lib/ld-2.6*.so 121 } 122 123 ##----------------------------------------------------------------------## 124 ## Various structure padding things on SUSE 10.2 125 ## 126 { 127 X11-64bit-padding-1a 128 Memcheck:Param 129 write(buf) 130 fun:__write_nocancel 131 obj:/usr/lib*/libX11.so* 132 obj:/usr/lib*/libX11.so* 133 fun:X* 134 } 135 { 136 X11-64bit-padding-1b 137 Memcheck:Param 138 write(buf) 139 fun:__write_nocancel 140 obj:/usr/lib*/libX11.so* 141 obj:/usr/lib*/libX11.so* 142 fun:_X* 143 } 144 { 145 X11-64bit-padding-1c 146 Memcheck:Param 147 write(buf) 148 fun:__write_nocancel 149 obj:/usr/lib*/libX11.so* 150 obj:/usr/lib*/libX11.so* 151 obj:/usr/lib*/libX11.so* 152 } 153 { 154 X11-64bit-padding-1d 155 Memcheck:Param 156 write(buf) 157 fun:__write_nocancel 158 obj:/usr/lib*/libICE.so* 159 obj:/usr/lib*/libICE.so* 160 obj:/usr/lib*/libICE.so* 161 } 162 { 163 X11-64bit-padding-2a 164 Memcheck:Param 165 writev(vector[...]) 166 fun:do_writev 167 obj:/usr/lib*/libX11.so* 168 obj:/usr/lib*/libX11.so* 169 obj:/usr/lib*/libX11.so* 170 } 171 { 172 X11-64bit-padding-2b 173 Memcheck:Param 174 writev(vector[...]) 175 fun:do_writev 176 fun:writev 177 obj:/usr/lib*/libX11.so* 178 obj:/usr/lib*/libX11.so* 179 } 180 181 { 182 glibc24-64bit-padding-1a 183 Memcheck:Param 184 socketcall.sendto(msg) 185 fun:send 186 fun:get_mapping 187 fun:__nscd_get_map_ref 188 fun:nscd* 189 } 190 { 191 glibc24-64bit-padding-1b 192 Memcheck:Param 193 socketcall.sendto(msg) 194 fun:__sendto_nocancel 195 obj:/*libc-2.6.so 196 obj:/*libc-2.6.so 197 obj:/*libc-2.6.so 198 } 199 { 200 glibc24-64bit-padding-1c 201 Memcheck:Param 202 socketcall.send(msg) 203 fun:send 204 fun:__nscd_get_map_ref 205 fun:nscd_get*_r 206 fun:*nscd* 207 obj:/*libc-2.6.so 208 } 209 210 211 { 212 X11-64bit-padding-3a 213 Memcheck:Param 214 write(buf) 215 obj:/*libpthread-2.4.so* 216 obj:/usr/lib*/libX11.so* 217 obj:/usr/lib*/libX11.so* 218 obj:/usr/lib*/libX11.so* 219 } 220 221 { 222 X11-64bit-padding-4a 223 Memcheck:Param 224 socketcall.sendto(msg) 225 fun:send 226 obj:/*libc-2.6.so 227 obj:/*libc-2.6.so 228 obj:/*libc-2.6.so 229 } 230 { 231 X11-64bit-padding-4b 232 Memcheck:Param 233 socketcall.send(msg) 234 fun:send 235 obj:/*libc-2.6.so 236 obj:/*libc-2.6.so 237 obj:/*libc-2.6.so 238 } 239 240 ##----------------------------------------------------------------------## 241 # MontaVista Linux 4.0.1 on ppc32 242 { 243 MVL-401-linuxthreads-pthread_create 244 Memcheck:Param 245 write(buf) 246 fun:pthread_create 247 } 248 { 249 MVL-401-linuxthreads-pthread_create 250 Memcheck:Param 251 write(buf) 252 obj:/lib/libpthread-0.10.so 253 fun:pthread_create 254 } 255 256 ##----------------------------------------------------------------------## 257 # ppc32 running openSUSE 10.3 258 { 259 X11-libXaw8-libXaw8-libXaw8 260 Memcheck:Cond 261 obj:/usr/lib*/libXaw8.so* 262 obj:/usr/lib*/libXaw8.so* 263 obj:/usr/lib*/libXaw8.so* 264 } 265