aboutsummaryrefslogtreecommitdiff
path: root/glibc-2.2.supp
diff options
context:
space:
mode:
authorsewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9>2002-07-16 01:43:15 +0000
committersewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9>2002-07-16 01:43:15 +0000
commit1fe7b0073ebff8c5563f11ab4a093e843ea2b7d5 (patch)
tree5e2888af6f5aaadcf98bb1dfc1423f68ffcac394 /glibc-2.2.supp
parenta256220ceed76712137fd7e122a28522b1b77f51 (diff)
downloadvalgrind-1fe7b0073ebff8c5563f11ab4a093e843ea2b7d5.tar.gz
At request of Ulrich Drepper, call __libc_freeres() after final __NR_exit
so as to free memory allocated by glibc. This reduces the leaks reported in glibc, but causes a stack of read/write-after-free errors which have to be suppressed :-( git-svn-id: svn://svn.valgrind.org/valgrind/trunk@507 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'glibc-2.2.supp')
-rw-r--r--glibc-2.2.supp24
1 files changed, 24 insertions, 0 deletions
diff --git a/glibc-2.2.supp b/glibc-2.2.supp
index a69f837c0..0b044db69 100644
--- a/glibc-2.2.supp
+++ b/glibc-2.2.supp
@@ -17,6 +17,30 @@
# }
+#-------- Suppress errors appearing as a result of calling
+#-------- __libc_freeres()
+
+{
+ __twalk/*(Addr4)
+ Addr4
+ fun:__twalk
+}
+
+{
+ do_release_shlib/__twalk(Addr4)
+ Addr4
+ fun:do_release_shlib
+ fun:__twalk
+}
+
+{
+ __libc_freeres/free_mem/free(Free)
+ Free
+ fun:free
+ fun:free_mem
+ fun:__libc_freeres
+}
+
#-------- Threading bugs?
{