summaryrefslogtreecommitdiff
path: root/test/.valgrind-suppressions
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-07-18 14:35:54 +0000
committerCarl Worth <cworth@cworth.org>2005-07-18 14:35:54 +0000
commitcd587375e327da08b5da01beccb1ebb8bb2d1e3d (patch)
treeeb4931dc2aa59853849f79e521935fe983b7e271 /test/.valgrind-suppressions
parent0adea66c73bb8dec0e45a900815d98c029221219 (diff)
downloadcairo-cd587375e327da08b5da01beccb1ebb8bb2d1e3d.tar.gz
Add valgrind suppressions for libpng/libz use of uninitialized data. There are clearly bugs here that are not cairo's fault as zeroing the buffer before writing the png image actually causes more errors(\!). And, notably, setting all the data to random bytes usually makes the errors go away.
Change the check-valgrind target to include the .valgrind-suppresions file and to tee output into valgrind.log.
Diffstat (limited to 'test/.valgrind-suppressions')
-rw-r--r--test/.valgrind-suppressions26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/.valgrind-suppressions b/test/.valgrind-suppressions
new file mode 100644
index 000000000..1b1832fa3
--- /dev/null
+++ b/test/.valgrind-suppressions
@@ -0,0 +1,26 @@
+{
+ cairo's write_png triggers apparent bugs in libpng/libz
+ Memcheck:Cond
+ obj:/usr/lib/libz.so.1.2.2.2
+ obj:/usr/lib/libz.so.1.2.2.2
+ fun:deflate
+ fun:png_write_finish_row
+ fun:png_write_filtered_row
+ fun:png_write_find_filter
+ fun:png_write_row
+ fun:png_write_image
+ fun:write_png
+ }
+{
+ cairo's write_png_argb32 triggers apparent bugs in libpng/libz
+ Memcheck:Cond
+ obj:/usr/lib/libz.so.1.2.2.2
+ obj:/usr/lib/libz.so.1.2.2.2
+ fun:deflate
+ fun:png_write_finish_row
+ fun:png_write_filtered_row
+ fun:png_write_find_filter
+ fun:png_write_row
+ fun:png_write_image
+ fun:write_png_argb32
+ }