Author: jross
Date: Tue Apr 26 23:58:20 2016
New Revision: 1741123

URL: http://svn.apache.org/viewvc?rev=1741123&view=rev
Log:
QPID-7207: Add provisional valgrind suppressions

Modified:
    qpid/trunk/qpid/cpp/src/tests/.valgrind.supp
    qpid/trunk/qpid/cpp/src/tests/common.py

Modified: qpid/trunk/qpid/cpp/src/tests/.valgrind.supp
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/.valgrind.supp?rev=1741123&r1=1741122&r2=1741123&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/.valgrind.supp (original)
+++ qpid/trunk/qpid/cpp/src/tests/.valgrind.supp Tue Apr 26 23:58:20 2016
@@ -177,3 +177,76 @@
    fun:(below main)
 }
 
+{
+   Leak reported in acl_tests
+   Memcheck:Cond
+   
fun:_ZN4qpid3acl9AclReader16loadDecisionDataEN5boost10shared_ptrINS0_7AclDataEEE
+   
fun:_ZN4qpid3acl9AclReader4readERKNSt7*basic_stringIcSt11char_traitsIcESaIcEEEN5boost10shared_ptrINS0_7AclDataEEE
+   
fun:_ZN4qpid3acl3Acl11readAclFileERNSt7*basic_stringIcSt11char_traitsIcESaIcEEES8_
+   ...
+}
+
+{
+   Leak reported in acl_tests and queue_redirect_tests
+   Memcheck:Leak
+   match-leak-kinds: definite
+   fun:_Znwm
+   ...
+   
fun:_ZN4qpid6broker14QueueFlowLimit11createLimitERKNSt7*basic_stringIcSt11char_traitsIcESaIcEEERKNS0_13QueueSettingsE
+   ...
+   fun:accept
+   ...
+}
+
+{
+   Leak reported in python_tests
+   Memcheck:Leak
+   match-leak-kinds: definite
+   fun:_Znwm
+   fun:allocate
+   fun:allocate
+   fun:_M_get_node
+   fun:_M_create_node
+   ...
+   fun:accept
+   ...
+   fun:start_thread
+   fun:clone
+}
+
+{
+   Leak reported in python_tests
+   Memcheck:Leak
+   match-leak-kinds: definite
+   fun:_Znwm
+   fun:_ZN4qpid6broker5Queue18scheduleAutoDeleteEb
+   ...
+   fun:start_thread
+   fun:clone
+}
+
+{
+   Leak reported in python_tests
+   Memcheck:Leak
+   match-leak-kinds: definite
+   fun:_Znwm
+   
fun:_ZN4qpid6broker12QueueFactory6createERKNSt7*basic_stringIcSt11char_traitsIcESaIcEEERKNS0_13QueueSettingsE
+   
fun:_ZN4qpid6broker13QueueRegistry7declareERKNSt7*basic_stringIcSt11char_traitsIcESaIcEEERKNS0_13QueueSettingsEN5boost10shared_ptrINS0_8ExchangeEEEbPKNS0_14OwnershipTokenES7_S7_
+   
fun:_ZN4qpid6broker6Broker11createQueueERKNSt7*basic_stringIcSt11char_traitsIcESaIcEEERKNS0_13QueueSettingsEPKNS0_14OwnershipTokenES9_S9_S9_
+   ...
+   fun:accept
+   ...
+   fun:start_thread
+   fun:clone
+}
+
+{
+   Leak reported in linearstore_python_tests
+   Memcheck:Leak
+   match-leak-kinds: definite
+   fun:_Znwm
+   
fun:_ZN4qpid11linearstore7journal20EmptyFilePoolManager15insertPartitionEtRKNSt7*basic_stringIcSt11char_traitsIcESaIcEEE
+   fun:_ZN4qpid11linearstore7journal20EmptyFilePoolManager17findEfpPartitionsEv
+   ...
+   fun:(below main)
+}

Modified: qpid/trunk/qpid/cpp/src/tests/common.py
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/common.py?rev=1741123&r1=1741122&r2=1741123&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/common.py (original)
+++ qpid/trunk/qpid/cpp/src/tests/common.py Tue Apr 26 23:58:20 2016
@@ -58,6 +58,7 @@ def _init_valgrind_command(command):
         VALGRIND,
         "--leak-check=full --num-callers=25 --error-exitcode=100",
         "--log-file={0}".format(log_file),
+        "--gen-suppressions=all",
         "--suppressions={0}".format(suppressions_file),
         "--",
         command,



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to