summaryrefslogtreecommitdiff
path: root/qa/valgrind-suppress
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2014-10-26 12:33:50 +0400
committerIgor Pashev <pashev.igor@gmail.com>2014-10-26 12:33:50 +0400
commit47e6e7c84f008a53061e661f31ae96629bc694ef (patch)
tree648a07f3b5b9d67ce19b0fd72e8caa1175c98f1a /qa/valgrind-suppress
downloadpcp-debian.tar.gz
Debian 3.9.10debian/3.9.10debian
Diffstat (limited to 'qa/valgrind-suppress')
-rw-r--r--qa/valgrind-suppress104
1 files changed, 104 insertions, 0 deletions
diff --git a/qa/valgrind-suppress b/qa/valgrind-suppress
new file mode 100644
index 0000000..d1efe33
--- /dev/null
+++ b/qa/valgrind-suppress
@@ -0,0 +1,104 @@
+# to add to these, run the failing case with
+# valgrind --leak-check=full --suppressions=valgrind-suppress --gen-suppressions=yes ...
+#
+# I see different results on Ubuntu 10.10 depending if the binaries
+# are build by Makepkgs or build and installed from a source repository
+# which probably a compiler flags issue
+# - Ken
+#
+{
+ pmConfig calls putenv permanently
+ Memcheck:Leak
+ fun:malloc
+ fun:strdup
+ fun:posix_formatter
+ fun:__pmConfig
+ fun:pmGetConfig
+}
+
+{
+ pthreads initialization from pmLoadNameSpace
+ Memcheck:Cond
+ fun:pthread_mutex_init
+ fun:pthread_mutex_init
+ fun:__pmInitLocks
+ fun:pmLoadNameSpace
+ fun:main
+}
+
+{
+ pthreads initialization from pmNewContext
+ Memcheck:Cond
+ fun:pthread_mutex_init
+ fun:pthread_mutex_init
+ fun:__pmInitLocks
+ fun:pmNewContext
+ fun:main
+}
+
+{
+ pthreads initialization from pmNewContext with PM_CONTEXT_LOCAL
+ Memcheck:Cond
+ fun:pthread_mutex_init
+ fun:pthread_mutex_init
+ fun:__pmInitLocks
+ fun:pmNewContext
+ obj:*
+ fun:(below main)
+}
+
+{
+ CentOS 5.6 dlopen -> _dl_new_object, expand_dynamic_string_token, _dl_map_object_deps, _dl_check_map_versions
+ Memcheck:Leak
+ fun:?alloc
+ ...
+ fun:dlopen*
+ fun:__pmConnectLocal
+}
+
+{
+ valgrind-3.7.0 in 64-bit Debian 6.0.5 _dl_start -> index
+ Memcheck:Cond
+ fun:index
+ ...
+ fun:_dl_start
+}
+
+{
+ openSUSE 12.1 strlen() Conditional jump or move depends on uninitialised value(s)
+ Memcheck:Cond
+ fun:strlen
+ obj:*
+}
+
+{
+ readline library via dbpmda
+ Memcheck:Param
+ socketcall.sendmsg(msg.msg_name)
+ fun:__sendmsg_nocancel
+ fun:readline
+}
+
+{
+ readline library
+ Memcheck:Param
+ socketcall.sendmsg(msg.msg_name)
+ obj:*libc*
+ fun:readline
+}
+
+{
+ NSS library leak catch-all
+ Memcheck:Leak
+ fun:?alloc
+ ...
+ fun:NSS*
+}
+
+{
+ NSPR library leak catch-all
+ Memcheck:Leak
+ fun:?alloc
+ ...
+ fun:PR_*
+}