From 2532c082c200b8a7b89be384a5c6509bbe6a8f8b Mon Sep 17 00:00:00 2001 From: Alberto Bertogli Date: Fri, 14 Nov 2008 17:02:55 -0200 Subject: [PATCH] Add a new valgrind suppression To cover from this boost-related valgrind warning we can do nothing about (and seems relatively harmless): ==25072== Syscall param sigaltstack(ss) points to uninitialised byte(s) ==25072== at 0x585ABF7: sigaltstack (in /lib/libc-2.8.90.so) ==25072== by 0x4E44D35: boost::detail::signal_handler::~signal_handler() (in /usr/lib/libboost_unit_test_framework.so.1.35.0) ==25072== by 0x4E45560: boost::execution_monitor::catch_signals(boost::unit_test::callback0 const&) (in /usr/lib/libboost_unit_test_framework.so.1.35.0) ==25072== by 0x4E4564B: boost::execution_monitor::execute(boost::unit_test::callback0 const&) (in /usr/lib/libboost_unit_test_framework.so.1.35.0) ==25072== by 0x4E4C052: boost::unit_test::framework::run(unsigned long, bool) (in /usr/lib/libboost_unit_test_framework.so.1.35.0) ==25072== by 0x4E5B023: boost::unit_test::unit_test_main(bool (*)(), int, char**) (in /usr/lib/libboost_unit_test_framework.so.1.35.0) ==25072== by 0x41AFC3: main (in /home/alb/devel/integratech/switchit/mios/posixx/test/test_suite) ==25072== Address 0x7feffea50 is on thread 1's stack ==25072== --- test/valgrind.suppressions | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/test/valgrind.suppressions b/test/valgrind.suppressions index 76e956d..a3de057 100644 --- a/test/valgrind.suppressions +++ b/test/valgrind.suppressions @@ -67,3 +67,16 @@ fun:main } +{ + boost_test_5 + Memcheck:Param + sigaltstack(ss) + fun:sigaltstack + fun:_ZN5boost6detail14signal_handlerD1Ev + fun:_ZN5boost17execution_monitor13catch_signalsERKNS_9unit_test9callback0IiEE + fun:_ZN5boost17execution_monitor7executeERKNS_9unit_test9callback0IiEE + fun:_ZN5boost9unit_test9framework3runEmb + fun:_ZN5boost9unit_test14unit_test_mainEPFbvEiPPc + fun:main +} + -- 2.43.0