]> granicus.if.org Git - openjpeg/commitdiff
[trunk] WIP: add a file to exclude some valgrind errors (detected with ctest_memcheck...
authorMickael Savinaud <savmickael@users.noreply.github.com>
Tue, 25 Oct 2011 12:31:27 +0000 (12:31 +0000)
committerMickael Savinaud <savmickael@users.noreply.github.com>
Tue, 25 Oct 2011 12:31:27 +0000 (12:31 +0000)
CHANGES
CMake/openjpeg_valgrind.supp [new file with mode: 0644]

diff --git a/CHANGES b/CHANGES
index e5e0dd2d2e876fb240b07c6a689de16e00477ddb..1a12023412d7a495b5cb69f4852b0dd5d0bb44be 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,7 @@ What's New for OpenJPEG
 + : added
 
 October 25, 2011
++ [mickael] WIP: add a file to exclude some valgrind errors (detected with ctest_memcheck) related to png lib found with ubuntu10.04 platform 
 * [mickael] WIP: solve problems with reading of elements outside the tilec->data buffer in dwt
 
 October 21, 2011
diff --git a/CMake/openjpeg_valgrind.supp b/CMake/openjpeg_valgrind.supp
new file mode 100644 (file)
index 0000000..f107646
--- /dev/null
@@ -0,0 +1,39 @@
+
+
+{
+   <Appears with libpng uses with Ubuntu10.04 (hulk)>
+   Memcheck:Cond
+   fun:deflate
+   obj:/lib/libpng12.so.0.42.0
+   obj:/lib/libpng12.so.0.42.0
+   obj:/lib/libpng12.so.0.42.0
+   fun:png_write_row
+   fun:imagetopng
+   fun:main
+}
+{
+   <Appears with libpng uses with Ubuntu10.04 (hulk)>
+   Memcheck:Value8
+   fun:crc32
+   obj:/lib/libpng12.so.0.42.0
+   fun:png_write_chunk
+   obj:/lib/libpng12.so.0.42.0
+   obj:/lib/libpng12.so.0.42.0
+   obj:/lib/libpng12.so.0.42.0
+   obj:/lib/libpng12.so.0.42.0
+   fun:png_write_row
+   fun:imagetopng
+   fun:main
+}
+{
+   <Appears with libpng uses with Ubuntu10.04 (hulk)>
+   Memcheck:Param
+   write(buf)
+   fun:__write_nocancel
+   fun:_IO_file_write@@GLIBC_2.2.5
+   fun:_IO_do_write@@GLIBC_2.2.5
+   fun:_IO_file_close_it@@GLIBC_2.2.5
+   fun:fclose@@GLIBC_2.2.5
+   fun:imagetopng
+   fun:main
+}