[asterisk-commits] sgriepentrog: branch sgriepentrog/testsuite-vg2 r5006 - in /asterisk/team/sgr...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Apr 29 10:47:53 CDT 2014


Author: sgriepentrog
Date: Tue Apr 29 10:47:46 2014
New Revision: 5006

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=5006
Log:
testsuite: added valgrind suppression

Added:
    asterisk/team/sgriepentrog/testsuite-vg2/configs/valgrind.supp   (with props)
Modified:
    asterisk/team/sgriepentrog/testsuite-vg2/tests/rest_api/tests.yaml

Added: asterisk/team/sgriepentrog/testsuite-vg2/configs/valgrind.supp
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/sgriepentrog/testsuite-vg2/configs/valgrind.supp?view=auto&rev=5006
==============================================================================
--- asterisk/team/sgriepentrog/testsuite-vg2/configs/valgrind.supp (added)
+++ asterisk/team/sgriepentrog/testsuite-vg2/configs/valgrind.supp Tue Apr 29 10:47:46 2014
@@ -1,0 +1,206 @@
+# This is the default list of suppressed errors for valgrind.
+#
+# It is possible that some errors listed here could be valid
+# and should instead be fixed in the code.
+#
+# The format is:
+# {
+#   1st line: name of error (arbitrary for human consuption)
+#   2nd line: Type of error - this must match generated suppression
+#   3+ lines: Stack trace matching where error is to be ignored
+# }
+#
+# To add an error to this list, first run valgrind with
+# gen-suppressions mode (--valgrind-gensup from testsuite),
+# then extract the error and add it to this file (or one
+# in your test/configs path).  To handle multiple variations
+# of the stack trace, use a ... entry as a wildcard to match
+# any name or number of functions or objects.
+
+# Ignore _dl_close errors caused by module loading
+{
+   dlclose-1
+   Memcheck:Addr1
+   ...
+   fun:dlclose
+   fun:load_dynamic_module
+   ...
+}
+{
+   dlclose-2
+   Memcheck:Addr2
+   ...
+   fun:dlclose
+   fun:load_dynamic_module
+   ...
+}
+{
+   dlclose-4
+   Memcheck:Addr4
+   ...
+   fun:dlclose
+   fun:load_dynamic_module
+   ...
+}
+
+# ignore some conditional execution (unref) values
+{
+   speex_decode1
+   Memcheck:Cond
+   fun:speex_decode_int
+   fun:speextolin_framein
+   fun:framein
+   fun:generate_computational_cost
+   fun:__ast_register_translator
+   fun:load_module
+   fun:start_resource
+   fun:load_resource_list
+   fun:load_modules
+   fun:main
+}
+
+{
+   speex_decode2
+   Memcheck:Cond
+   fun:floor
+   fun:speex_decode_int
+   fun:speextolin_framein
+   fun:framein
+   fun:generate_computational_cost
+   fun:__ast_register_translator
+   fun:load_module
+   fun:start_resource
+   fun:load_resource_list
+   fun:load_modules
+   fun:main
+}
+
+
+{
+   sockaddr-ouraddrfor
+   Memcheck:Cond
+   fun:_ast_sockaddr_port
+   fun:ast_ouraddrfor
+   fun:ast_find_ourip
+   fun:load_module
+   fun:start_resource
+   fun:load_resource_list
+   fun:load_modules
+   fun:main
+}
+
+{
+   sockaddr-findourip
+   Memcheck:Cond
+   fun:_ast_sockaddr_port
+   fun:ast_find_ourip
+   fun:load_module
+   fun:start_resource
+   fun:load_resource_list
+   fun:load_modules
+   fun:main
+}
+
+
+{
+   speex-decode
+   Memcheck:Cond
+   fun:speex_decode_int
+   fun:speextolin_framein
+   fun:framein
+   fun:calc_cost
+   fun:__ast_register_translator
+   fun:load_module
+   fun:start_resource
+   fun:load_resource_list
+   fun:load_modules
+   fun:main
+}
+
+{
+   speex-floor
+   Memcheck:Cond
+   fun:floor
+   fun:speex_decode_int
+   fun:speextolin_framein
+   fun:framein
+   fun:calc_cost
+   fun:__ast_register_translator
+   fun:load_module
+   fun:start_resource
+   fun:load_resource_list
+   fun:load_modules
+   fun:main
+}
+
+# ignore some bad parameters in external code
+{
+   write-sqlite1
+   Memcheck:Param
+   write(buf)
+   obj:/lib*/libc*
+   fun:sqliteOsWrite
+   ...
+}
+{
+   write-sqlite2
+   Memcheck:Param
+   ...
+   obj:/usr/lib*/libsqlite*
+   ...
+}
+
+# ignore overlapped memcpy in ilbc
+{
+   overlap-memcpy-ilbc
+   Memcheck:Overlap
+   fun:memcpy
+   fun:Decode
+   fun:iLBC_decode
+   ...
+}
+
+{
+   overlap-memcpy-ilbc2
+   Memcheck:Overlap
+   fun:memcpy
+   fun:iLBC_encode
+   ...
+}
+
+# ignore overlap in pjsip
+{
+   overlap-pjsip
+   Memcheck:Overlap
+   ...
+   fun:pj_memcpy
+   fun:pj_sockaddr_copy_addr
+   fun:pj_gethostip
+   ...
+}
+
+# ignore strdup leak from loading modules
+{
+   leak-strdup-loadmodules
+   Memcheck:Leak
+   ...
+   fun:strdup
+   fun:_ast_strdup
+   fun:load_module
+   fun:start_resource
+   fun:load_resource_list
+   fun:load_modules
+   fun:main
+}
+
+{
+   leak-alloc-loadmodules
+   Memcheck:Leak
+   ...
+   fun:load_module
+   fun:start_resource
+   fun:load_resource_list
+   fun:load_modules
+   fun:main
+}
+

Propchange: asterisk/team/sgriepentrog/testsuite-vg2/configs/valgrind.supp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/team/sgriepentrog/testsuite-vg2/configs/valgrind.supp
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: asterisk/team/sgriepentrog/testsuite-vg2/configs/valgrind.supp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: asterisk/team/sgriepentrog/testsuite-vg2/tests/rest_api/tests.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/sgriepentrog/testsuite-vg2/tests/rest_api/tests.yaml?view=diff&rev=5006&r1=5005&r2=5006
==============================================================================
--- asterisk/team/sgriepentrog/testsuite-vg2/tests/rest_api/tests.yaml (original)
+++ asterisk/team/sgriepentrog/testsuite-vg2/tests/rest_api/tests.yaml Tue Apr 29 10:47:46 2014
@@ -13,3 +13,4 @@
     - test: 'content-type'
     - dir:  'mailbox'
     - test: 'chunked-transfer'
+    - dir:  'events'




More information about the asterisk-commits mailing list