From b0f1d301b833f55eaba5c93876931d27a62c5f05 Mon Sep 17 00:00:00 2001 From: "jean.chalard" Date: Wed, 5 May 2010 02:50:49 +0000 Subject: [PATCH] J : * Add a suppressions file for valgrind for those errors we can't do anything about. * Please be *extremely* careful before adding anything in this file, and please document well any additions with the reasons why it should indeed be in here and pointers to web pages explaining why this is happening. --- projects/mtg/valgrind.supp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 projects/mtg/valgrind.supp diff --git a/projects/mtg/valgrind.supp b/projects/mtg/valgrind.supp new file mode 100644 index 000000000..4dbe5437a --- /dev/null +++ b/projects/mtg/valgrind.supp @@ -0,0 +1,22 @@ +# The following seems to be a problem in zlib +# http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg770425.html +# See also http://www.zlib.net/zlib_faq.html#faq36 which points at a tricky part in the same code but apparently a different place. Chances are, it is likewise harmless. It is still strange behavior from the zlib, but regardless, it's in the library code, so whatever we do we cannot fix it on our side (short of stopping to use pnglib, which would have intricate consequences). +# +# Reference on Wagic wiki : http://wololo.net/miki/index.php/Wagic/Dev/Issue380 +{ + Zlib inflateReset uninitialized. + Memcheck:Cond + fun:inflateReset2 + fun:inflateInit2_ + fun:inflateInit_ + fun:png_create_read_struct_2 + fun:png_create_read_struct + fun:_ZN9JRenderer7LoadPNGERNS_11TextureInfoEPKcii + fun:_ZN9JRenderer11LoadTextureEPKcii + fun:_ZN14WCachedTexture7AttemptESsiRi + fun:_ZN6WCacheI14WCachedTexture8JTextureE10AttemptNewESsi + fun:_ZN6WCacheI14WCachedTexture8JTextureE3GetEiSsii + fun:_ZN6WCacheI14WCachedTexture8JTextureE8RetrieveEiSsii + fun:_ZN16WResourceManager15RetrieveTextureESsii +} +