]> git.0d.be Git - empathy.git/blob - tests/valgrind.supp
Merge commit 'cassidy/irc'
[empathy.git] / tests / valgrind.supp
1 ### this file contains suppressions for valgrind when running
2 ### the gibber/telepathy-salut unit tests based on the gstreamer one
3
4 ### syscall suppressions
5
6 {
7    <clone on Wim's Debian>
8    Memcheck:Param
9    clone(parent_tidptr)
10    fun:clone
11    fun:clone
12 }
13
14 {
15    <clone on Wim's Debian>
16    Memcheck:Param
17    clone(child_tidptr)
18    fun:clone
19    fun:clone
20 }
21
22 {
23    <clone on Wim's Debian>
24    Memcheck:Param
25    clone(tlsinfo)
26    fun:clone
27    fun:clone
28 }
29
30 ### glibc suppressions
31
32 {
33    <conditional jump on wim's debian 2/2/06>
34    Memcheck:Cond
35    obj:/lib/ld-2.3.*.so
36    fun:dl_open_worker
37    obj:/lib/ld-2.3.*.so
38    fun:_dl_open
39    fun:dlopen_doit
40    obj:/lib/ld-2.3.*.so
41    fun:_dlerror_run
42    fun:dlopen@@GLIBC_2.1
43    fun:g_module_open
44 }
45
46 # glibc does not deallocate thread-local storage
47
48 {
49    <tls>
50    Memcheck:Leak
51    fun:calloc
52    fun:_dl_allocate_tls
53    fun:pthread_create@@*
54 }
55
56 # I get an extra stack entry on x86/dapper
57 {
58    <tls>
59    Memcheck:Leak
60    fun:calloc
61    obj:/lib/ld-2.3.*.so
62    fun:_dl_allocate_tls
63    fun:pthread_create@@*
64 }
65
66
67 {
68    <pthread strstr>
69    Memcheck:Cond
70    fun:strstr
71    fun:__pthread_initialize_minimal
72    obj:/lib/libpthread-*.so
73    obj:/lib/libpthread-*.so
74    fun:call_init
75    fun:_dl_init
76    obj:/lib/ld-*.so
77 }
78
79 # a thread-related free problem in glibc from Edgard
80 {
81    __libc_freeres_rw_acess
82    Memcheck:Addr4
83    obj:*
84    obj:*
85    obj:*
86    obj:*
87    obj:*
88    fun:__libc_freeres
89 }
90
91 {
92    <a conditional jump on wim's debian>
93    Memcheck:Cond
94    obj:/lib/ld-2.3.*.so
95    obj:/lib/ld-2.3.*.so
96    obj:/lib/ld-2.3.*.so
97    obj:/lib/ld-2.3.*.so
98    obj:/lib/ld-2.3.*.so
99 }
100
101 # g_module_open-related problems
102 {
103    <started showing up on fc4-quick>
104    Memcheck:Addr2
105    fun:memcpy
106    fun:_dl_map_object_deps
107    fun:dl_open_worker
108    fun:_dl_catch_error
109    fun:_dl_open
110    fun:dlopen_doit
111    fun:_dl_catch_error
112    fun:_dlerror_run
113    fun:dlopen@@GLIBC_2.1
114    fun:g_module_open
115 }
116
117 {
118    <started showing up on fc4-quick>
119    Memcheck:Addr4
120    fun:memcpy
121    fun:_dl_map_object_deps
122    fun:dl_open_worker
123    fun:_dl_catch_error
124    fun:_dl_open
125    fun:dlopen_doit
126    fun:_dl_catch_error
127    fun:_dlerror_run
128    fun:dlopen@@GLIBC_2.1
129    fun:g_module_open
130 }
131
132 {
133    <g_module_open on wim's debian>
134    Memcheck:Cond
135    obj:/lib/ld-2.3.*.so
136    obj:/lib/ld-2.3.*.so
137    obj:/lib/ld-2.3.*.so
138    fun:do_sym
139    fun:_dl_sym
140    fun:dlsym_doit
141    obj:/lib/ld-2.3.*.so
142    fun:_dlerror_run
143    fun:dlsym
144    fun:g_module_symbol
145    fun:g_module_open
146 }
147
148 {
149    <g_module_open on wim's debian>
150    Memcheck:Cond
151    obj:/lib/ld-2.3.*.so
152    obj:/lib/ld-2.3.*.so
153    obj:/lib/ld-2.3.*.so
154    fun:dl_open_worker
155    obj:/lib/ld-2.3.*.so
156    fun:_dl_open
157    fun:dlopen_doit
158    obj:/lib/ld-2.3.*.so
159    fun:_dlerror_run
160    fun:dlopen@@GLIBC_2.1
161    fun:g_module_open
162 }
163 {
164    <g_module_open on wim's debian>
165    Memcheck:Cond
166    obj:/lib/ld-2.3.*.so
167    fun:dl_open_worker
168    obj:/lib/ld-2.3.*.so
169    fun:_dl_open
170    fun:dlopen_doit
171    obj:/lib/ld-2.3.*.so
172    fun:_dlerror_run
173    fun:dlopen@@GLIBC_2.1
174    fun:g_module_open
175 }
176
177 {
178    <leak on wim's debian in g_module_open>
179    Memcheck:Leak
180    fun:malloc
181    obj:/lib/ld-2.3.*.so
182    fun:dl_open_worker
183    obj:/lib/ld-2.3.*.so
184    fun:_dl_open
185    fun:dlopen_doit
186    obj:/lib/ld-2.3.*.so
187    fun:_dlerror_run
188    fun:dlopen@@GLIBC_2.1
189    fun:g_module_open
190 }
191
192 {
193    <invalid read on wim's debian>
194    Memcheck:Addr4
195    obj:/lib/ld-2.3.*.so
196    obj:/lib/ld-2.3.*.so
197    obj:/lib/ld-2.3.*.so
198    obj:/lib/ld-2.3.*.so
199    obj:/lib/ld-2.3.*.so
200    obj:/lib/ld-2.3.*.so
201    obj:/lib/ld-2.3.*.so
202    fun:dl_open_worker
203    obj:/lib/ld-2.3.*.so
204    fun:_dl_open
205    fun:dlopen_doit
206    obj:/lib/ld-2.3.*.so
207 }
208
209 {
210    <invalid read on wim's debian>
211    Memcheck:Addr4
212    obj:/lib/ld-2.3.*.so
213    obj:/lib/ld-2.3.*.so
214    obj:/lib/ld-2.3.*.so
215    obj:/lib/ld-2.3.*.so
216    obj:/lib/ld-2.3.*.so
217    obj:/lib/ld-2.3.*.so
218    fun:dl_open_worker
219    obj:/lib/ld-2.3.*.so
220    fun:_dl_open
221    fun:dlopen_doit
222    obj:/lib/ld-2.3.*.so
223    fun:_dlerror_run
224 }
225
226 {
227    <invalid read on wim's debian - 2006-02-02>
228    Memcheck:Addr4
229    obj:/lib/ld-2.3.*.so
230    obj:/lib/ld-2.3.*.so
231    obj:/lib/ld-2.3.*.so
232    fun:dl_open_worker
233    obj:/lib/ld-2.3.*.so
234    fun:_dl_open
235    fun:dlopen_doit
236    obj:/lib/ld-2.3.*.so
237    fun:_dlerror_run
238    fun:dlopen@@GLIBC_2.1
239    fun:g_module_open
240 }
241
242 {
243    <invalid read on wim's debian - 2006-02-02>
244    Memcheck:Addr4
245    obj:/lib/ld-2.3.*.so
246    obj:/lib/ld-2.3.*.so
247    fun:dl_open_worker
248    obj:/lib/ld-2.3.*.so
249    fun:_dl_open
250    fun:dlopen_doit
251    obj:/lib/ld-2.3.*.so
252    fun:_dlerror_run
253    fun:dlopen@@GLIBC_2.1
254    fun:g_module_open
255 }
256
257 {
258    <invalid read on wim's debian - 2006-02-02>
259    Memcheck:Addr4
260    obj:/lib/ld-2.3.*.so
261    obj:/lib/ld-2.3.*.so
262    obj:/lib/ld-2.3.*.so
263    fun:do_sym
264    fun:_dl_sym
265    fun:dlsym_doit
266    obj:/lib/ld-2.3.*.so
267    fun:_dlerror_run
268    fun:dlsym
269    fun:g_module_symbol
270    fun:g_module_open
271 }
272
273 {
274    <futex on Andy's 64-bit ubuntu>
275    Memcheck:Param
276    futex(uaddr2)
277    fun:pthread_once
278    obj:/lib/libc-2.3.*.so
279    obj:/lib/libc-2.3.*.so
280    fun:mbsnrtowcs
281    fun:vfprintf
282    fun:vsprintf
283    fun:sprintf
284    obj:/lib/libc-2.3.*.so
285 }
286
287 # valgrind doesn't allow me to specify a suppression for Addr1, Addr2, Addr4
288 # as Addr*, so 3 copies for that; and then 2 of each for that pesky memcpy
289 {
290    <Invalid read of size 1, 2, 4 on thomas's FC4>
291    Memcheck:Addr1
292    fun:_dl_signal_error
293    fun:_dl_map_object_deps
294    fun:dl_open_worker
295    fun:_dl_catch_error
296    fun:_dl_open
297    fun:dlopen_doit
298    fun:_dl_catch_error
299    fun:_dlerror_run
300    fun:dlopen@@GLIBC_2.1
301    fun:g_module_open
302 }
303
304 {
305    <Invalid read of size 1, 2, 4 on thomas's FC4>
306    Memcheck:Addr2
307    fun:_dl_signal_error
308    fun:_dl_map_object_deps
309    fun:dl_open_worker
310    fun:_dl_catch_error
311    fun:_dl_open
312    fun:dlopen_doit
313    fun:_dl_catch_error
314    fun:_dlerror_run
315    fun:dlopen@@GLIBC_2.1
316    fun:g_module_open
317 }
318 {
319    <Invalid read of size 1, 2, 4 on thomas's FC4>
320    Memcheck:Addr4
321    fun:_dl_signal_error
322    fun:_dl_map_object_deps
323    fun:dl_open_worker
324    fun:_dl_catch_error
325    fun:_dl_open
326    fun:dlopen_doit
327    fun:_dl_catch_error
328    fun:_dlerror_run
329    fun:dlopen@@GLIBC_2.1
330    fun:g_module_open
331 }
332
333 {
334    <Invalid read of size 1, 2, 4 on thomas's FC4>
335    Memcheck:Addr1
336    fun:memcpy
337    fun:_dl_signal_error
338    fun:_dl_map_object_deps
339    fun:dl_open_worker
340    fun:_dl_catch_error
341    fun:_dl_open
342    fun:dlopen_doit
343    fun:_dl_catch_error
344    fun:_dlerror_run
345    fun:dlopen@@GLIBC_2.1
346    fun:g_module_open
347 }
348
349 {
350    <Invalid read of size 1, 2, 4 on thomas's FC4>
351    Memcheck:Addr2
352    fun:memcpy
353    fun:_dl_signal_error
354    fun:_dl_map_object_deps
355    fun:dl_open_worker
356    fun:_dl_catch_error
357    fun:_dl_open
358    fun:dlopen_doit
359    fun:_dl_catch_error
360    fun:_dlerror_run
361    fun:dlopen@@GLIBC_2.1
362    fun:g_module_open
363 }
364 {
365    <Invalid read of size 1, 2, 4 on thomas's FC4>
366    Memcheck:Addr4
367    fun:memcpy
368    fun:_dl_signal_error
369    fun:_dl_map_object_deps
370    fun:dl_open_worker
371    fun:_dl_catch_error
372    fun:_dl_open
373    fun:dlopen_doit
374    fun:_dl_catch_error
375    fun:_dlerror_run
376    fun:dlopen@@GLIBC_2.1
377    fun:g_module_open
378 }
379
380 {
381    <Addr8 on Andy's AMD64 ubuntu in dl_open>
382    Memcheck:Addr8
383    obj:/lib/ld-2.3.*.so
384    obj:/lib/ld-2.3.*.so
385    obj:/lib/ld-2.3.*.so
386    obj:/lib/ld-2.3.*.so
387    obj:/lib/ld-2.3.*.so
388    obj:/lib/ld-2.3.*.so
389    obj:/lib/ld-2.3.*.so
390    obj:/lib/libc-2.3.*.so
391    obj:/lib/ld-2.3.*.so
392    fun:_dl_open
393    obj:/lib/libdl-2.3.*.so
394    obj:/lib/ld-2.3.*.so
395 }
396
397 {
398    <Conditional jump on Andy's AMD64 ubuntu>
399    Memcheck:Cond
400    obj:/lib/ld-2.3.*.so
401    obj:/lib/libc-2.3.*.so
402    obj:/lib/ld-2.3.*.so
403    fun:_dl_open
404    obj:/lib/libdl-2.3.*.so
405    obj:/lib/ld-2.3.*.so
406    obj:/lib/libdl-2.3.*.so
407    fun:dlopen
408    fun:g_module_open
409 }
410
411 {
412    <Mike's x86 dapper>
413    Memcheck:Addr4
414    obj:/lib/ld-2.3.6.so
415    obj:/lib/ld-2.3.6.so
416    obj:/lib/tls/i686/cmov/libc-2.3.6.so
417    obj:/lib/ld-2.3.6.so
418    fun:_dl_open
419    obj:/lib/tls/i686/cmov/libdl-2.3.6.so
420    obj:/lib/ld-2.3.6.so
421    obj:/lib/tls/i686/cmov/libdl-2.3.6.so
422    fun:dlopen
423 }
424
425 {
426    <Mike's x86 dapper>
427    Memcheck:Cond
428    obj:/lib/ld-2.3.6.so
429    obj:/lib/tls/i686/cmov/libc-2.3.6.so
430    obj:/lib/ld-2.3.6.so
431    fun:_dl_open
432    obj:/lib/tls/i686/cmov/libdl-2.3.6.so
433    obj:/lib/ld-2.3.6.so
434    obj:/lib/tls/i686/cmov/libdl-2.3.6.so
435    fun:dlopen
436 }
437
438 {
439    <Another dapper one>
440    Memcheck:Cond
441    obj:/lib/ld-2.3.6.so
442    obj:/lib/ld-2.3.6.so
443    obj:/lib/ld-2.3.6.so
444    obj:/lib/tls/i686/cmov/libc-2.3.6.so
445    obj:/lib/ld-2.3.6.so
446    fun:_dl_open
447    obj:/lib/tls/i686/cmov/libdl-2.3.6.so
448    obj:/lib/ld-2.3.6.so
449    obj:/lib/tls/i686/cmov/libdl-2.3.6.so
450    fun:dlopen
451 }
452
453 ### glib suppressions
454 {
455    <g_parse_debug_string>
456    Memcheck:Cond
457    fun:g_parse_debug_string
458    obj:/usr/lib*/libglib-2.0.so.*
459    fun:g_slice_alloc
460    fun:g_slice_alloc0
461 }
462
463 {
464    <g_type_init malloc>
465    Memcheck:Leak
466    fun:malloc
467    fun:g_malloc
468    fun:g_strdup
469    fun:g_quark_from_string
470    obj:*
471    obj:*
472    fun:g_type_register_fundamental
473    obj:*
474    fun:g_type_init_with_debug_flags
475    fun:g_type_init
476 }
477
478 {
479    <g_type_init calloc>
480    Memcheck:Leak
481    fun:calloc
482    fun:g_malloc0
483    obj:*
484    obj:*
485    fun:g_type_register_fundamental
486 }
487
488 {
489    <g_type_init calloc 2>
490    Memcheck:Leak
491    fun:calloc
492    fun:g_malloc0
493    obj:*
494    obj:*
495    fun:g_type_init_with_debug_flags
496 }
497
498 {
499    <g_type_init calloc 3, GSlice version>
500    Memcheck:Leak
501    fun:calloc
502    fun:g_malloc0
503    fun:g_slice_alloc
504    obj:*
505    obj:*
506    fun:g_type_init_with_debug_flags
507 }
508
509 #pthread memleaks
510
511 {
512    Thread creation leak
513    Memcheck:Leak
514    fun:calloc
515    fun:allocate_dtv
516    fun:_dl_allocate*
517    fun:_dl_allocate*
518    fun:__pthread_initialize_minimal
519 }
520
521 {
522    Thread management leak
523    Memcheck:Leak
524    fun:calloc
525    fun:allocate_dtv
526    fun:_dl_allocate*
527    fun:_dl_allocate*
528    fun:__pthread_*
529 }
530
531 {
532    Thread management leak 2
533    Memcheck:Leak
534    fun:memalign
535    fun:_dl_allocate*
536    fun:_dl_allocate*
537    fun:__pthread_*
538 }
539
540 {
541    pthread_create Syscall param write(buf) points to uninitialised byte(s)
542    Memcheck:Param
543    write(buf)
544    fun:pthread_create@@GLIBC_2.2.5
545    fun:g_thread_create*
546
547 }
548
549 # nss_parse_* memleak (used by g_option_context_parse)
550 {
551    nss_parse_* memleak
552    Memcheck:Leak
553    fun:malloc
554    fun:nss_parse_service_list
555    fun:__nss_database_lookup
556 }
557
558 {
559    <annoying read error inside dlopen stuff on Ubuntu Dapper x86_64>
560    Memcheck:Addr8
561    obj:/lib/ld-2.3.6.so
562 }
563
564 {
565    <Ubuntu Dapper x86_64>
566    Memcheck:Param
567    futex(uaddr2)
568    fun:pthread_once
569    obj:/lib/libc-2.3.6.so
570    obj:/lib/libc-2.3.6.so
571    fun:setlocale
572    fun:init_pre
573    fun:g_option_context_parse
574 }
575
576 {
577    <Ubuntu Dapper x86_64 dlopen stuff again>
578    Memcheck:Cond
579    obj:/lib/ld-2.3.6.so
580    obj:/lib/ld-2.3.6.so
581    fun:_dl_open
582    obj:/lib/libdl-2.3.6.so
583    obj:/lib/ld-2.3.6.so
584    obj:/lib/libdl-2.3.6.so
585    fun:dlopen
586    fun:g_module_open
587 }
588 # this exists in a bunch of different variations, hence the short tail/trace
589 {
590    <dlopen invalid read of size 4 suppression on tpm's Ubuntu edgy/x86>
591    Memcheck:Addr4
592    obj:/lib/ld-2.4.so
593    obj:/lib/ld-2.4.so
594 }
595 {
596    <and the same for 64bit systems>
597    Memcheck:Addr8
598    obj:/lib/ld-2.4.so
599    obj:/lib/ld-2.4.so
600 }
601
602 # More edgy suppressions (Mike)
603 {  
604    <dlopen Condition jump suppressions for Ubuntu Edgy/x86>
605    Memcheck:Cond
606    obj:/lib/ld-2.4.so
607    obj:/lib/ld-2.4.so
608    obj:/lib/ld-2.4.so
609    obj:/lib/ld-2.4.so
610    fun:dlopen_doit
611    obj:/lib/ld-2.4.so
612    fun:_dlerror_run
613    fun:dlopen@@GLIBC_2.1
614 }
615
616 {  
617    <dlopen Condition jump suppressions for Ubuntu Edgy/x86>
618    Memcheck:Cond
619    obj:/lib/ld-2.4.so
620    obj:/lib/ld-2.4.so
621    obj:/lib/ld-2.4.so
622    obj:/lib/ld-2.4.so
623    obj:/lib/ld-2.4.so
624    obj:/lib/ld-2.4.so
625    fun:dlopen_doit
626    obj:/lib/ld-2.4.so
627    fun:_dlerror_run
628    fun:dlopen@@GLIBC_2.1
629 }
630
631 {  
632    <dlopen Condition jump suppressions for Ubuntu Edgy/x86>
633    Memcheck:Cond
634    obj:/lib/ld-2.4.so
635    obj:/lib/ld-2.4.so
636    obj:/lib/ld-2.4.so
637    fun:do_sym
638    fun:_dl_sym
639 }
640
641 # This one's overly general, but there's zero other information in the stack
642 # trace - just these five lines!
643 {  
644    <dlopen Condition jump suppressions for Ubuntu Edgy/x86>
645    Memcheck:Cond
646    obj:/lib/ld-2.4.so
647    obj:/lib/ld-2.4.so
648    obj:/lib/ld-2.4.so
649    obj:/lib/ld-2.4.so
650    obj:/lib/ld-2.4.so
651 }
652
653 {
654    <tls leaks on Edgy/x86>
655    Memcheck:Leak
656    fun:calloc
657    obj:/lib/ld-2.4.so
658    fun:_dl_allocate_tls
659    fun:pthread_create@@GLIBC_2.1
660 }
661
662 {
663    <libcdio 0.76 leak>
664    Memcheck:Leak
665    fun:calloc
666    obj:/usr/lib/libcdio.so.6.0.1
667    fun:cdio_open_am_linux
668    obj:/usr/lib/libcdio.so.6.0.1
669    fun:cdio_open_am
670 }
671
672 # TLS leaks for feisty/x86
673 {
674    <tls leaks on Feisty/x86>
675    Memcheck:Leak
676    fun:calloc
677    fun:allocate_dtv
678    fun:_dl_allocate_tls
679    fun:pthread_create@@GLIBC_2.1
680 }
681
682 {
683    <Addr8 on Jan's AMD64 ubuntu Feisty in dl_open>
684    Memcheck:Addr8
685    obj:/lib/ld-2.5.so
686 }
687
688 {
689    <GLib caching the home dir>
690    Memcheck:Leak
691    fun:malloc
692    obj:/lib/libc-*.so
693    fun:__nss_database_lookup
694    obj:*
695    obj:*
696    fun:getpwnam_r
697    fun:g_get_any_init_do
698    fun:g_get_home_dir
699 }
700 {
701    <GLib caching the user name>
702    Memcheck:Leak
703    fun:malloc
704    obj:/lib/libc-*.so
705    fun:__nss_database_lookup
706    obj:*
707    obj:*
708    fun:getpwnam_r
709    fun:g_get_any_init_do
710    fun:g_get_user_name
711 }