This is the result
~/gr-ccsds/build$ make CTEST_OUTPUT_ON_FAILURE=1 test
Running tests...
Test project /home/micke/gr-ccsds/build
Start 1: test_ccsds
1/2 Test #1: test_ccsds ....................... Passed 55.55 sec
Start 2: memcheck_test_ccsds
2/2 Test #2: memcheck_test_ccsds ..............***Failed 601.16 sec
==6524== Memcheck, a memory error detector
==6524== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==6524== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
==6524== Command: /home/micke/gr-ccsds/build/lib/test-ccsds
==6524==
gr::ccsds::qa_encoder::t1. : OK
gr::ccsds::qa_decoder::t1. : OK
gr::ccsds::qa_conv_decoder::test_simple_decode_1_2.CPU: x86-64, using portable C implementation
: OK
gr::ccsds::qa_conv_decoder::test_simple_decode_2_3. : OK
gr::ccsds::qa_conv_decoder::test_simple_decode_3_4. : OK
gr::ccsds::qa_conv_decoder::test_simple_decode_5_6. : OK
gr::ccsds::qa_conv_decoder::test_simple_decode_7_8. : OK
gr::ccsds::qa_conv_decoder::test_various_msg_len_1_2. : OK
gr::ccsds::qa_conv_decoder::test_various_msg_len_2_3. : OK
gr::ccsds::qa_conv_decoder::test_various_msg_len_3_4. : OK
gr::ccsds::qa_conv_decoder::test_various_msg_len_5_6. : OK
gr::ccsds::qa_conv_decoder::test_various_msg_len_7_8. : OK
gr::ccsds::qa_utils::test_packing. : OK
gr::ccsds::qa_utils::test_soft_packing. : OK
gr::ccsds::qa_rs_decoder::test_ecc8_decode. : OK
gr::ccsds::qa_rs_decoder::test_ecc16_decode. : OK
gr::ccsds::qa_rs_decoder::test_no_vfill. : OK
gr::ccsds::qa_rs_decoder::test_vfill. : OK
gr::ccsds::qa_rs_decoder::test_errors. : OK
gr::ccsds::qa_rs_encoder::test_simple_encoder. : OK
gr::ccsds::qa_conv_encoder::t1. : OK
gr::ccsds::qa_turbo_encoder::t1. : OK
gr::ccsds::qa_pcm_encoder::t1. : OK
gr::ccsds::qa_pcm_decoder::t1. : OK
gr::ccsds::qa_ccsds_demodulator::bpsk_uncoded. : assertionF
gr::ccsds::qa_ccsds_demodulator::bpsk_nrzs. : OK
gr::ccsds::qa_ccsds_demodulator::bpsk_nrzm. : assertionF
gr::ccsds::qa_ccsds_demodulator::qpsk_uncoded. : assertionF
gr::ccsds::qa_ccsds_demodulator::qpsk_nrzm. : OK
gr::ccsds::qa_ccsds_demodulator::qpsk_nrzs. : OK
!!!FAILURES!!!
Test Results:
Run: 30 Failures: 3 Errors: 0
1) test: gr::ccsds::qa_ccsds_demodulator::bpsk_uncoded (F) line: 101 /home/micke/gr-ccsds/lib/qa_ccsds_demodulator.cc
assertion failed
- Expression: data_length == dat.size()/8
2) test: gr::ccsds::qa_ccsds_demodulator::bpsk_nrzm (F) line: 226 /home/micke/gr-ccsds/lib/qa_ccsds_demodulator.cc
assertion failed
- Expression: data_length == dat.size()/8
3) test: gr::ccsds::qa_ccsds_demodulator::qpsk_uncoded (F) line: 289 /home/micke/gr-ccsds/lib/qa_ccsds_demodulator.cc
assertion failed
- Expression: data_length == dat.size()/8
==6524==
==6524== HEAP SUMMARY:
==6524== in use at exit: 27,688 bytes in 14 blocks
==6524== total heap usage: 63,517,560 allocs, 63,517,546 frees, 116,715,720,500 bytes allocated
==6524==
==6524== 0 bytes in 1 blocks are definitely lost in loss record 1 of 14
==6524== at 0x48394DF: operator new[](unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==6524== by 0x152E12: gr::ccsds::qa_ccsds_demodulator::bpsk_uncoded() (qa_ccsds_demodulator.cc:89)
==6524== by 0x14D510: void std::__invoke_impl<void, void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&>(std::__invoke_memfun_deref, void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&) (invoke.h:73)
==6524== by 0x14C943: std::__invoke_result<void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&>::type std::__invoke<void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&>(void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&) (invoke.h:95)
==6524== by 0x14B246: void std::_Bind<void (gr::ccsds::qa_ccsds_demodulator::*(gr::ccsds::qa_ccsds_demodulator*))()>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) (functional:400)
==6524== by 0x149B7A: void std::_Bind<void (gr::ccsds::qa_ccsds_demodulator::*(gr::ccsds::qa_ccsds_demodulator*))()>::operator()<, void>() (functional:484)
==6524== by 0x146E37: std::_Function_handler<void (), std::_Bind<void (gr::ccsds::qa_ccsds_demodulator::*(gr::ccsds::qa_ccsds_demodulator*))()> >::_M_invoke(std::_Any_data const&) (std_function.h:297)
==6524== by 0x1520E7: std::function<void ()>::operator()() const (std_function.h:687)
==6524== by 0x14E8BB: CppUnit::TestCaller<gr::ccsds::qa_ccsds_demodulator>::runTest() (TestCaller.h:175)
==6524== by 0x4CC5881: CppUnit::TestCaseMethodFunctor::operator()() const (in /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0.0.0)
==6524== by 0x4CBBE62: CppUnit::DefaultProtector::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0.0.0)
==6524== by 0x4CC29E4: CppUnit::ProtectorChain::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0.0.0)
==6524==
==6524== 0 bytes in 1 blocks are definitely lost in loss record 2 of 14
==6524== at 0x48394DF: operator new[](unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==6524== by 0x15666A: gr::ccsds::qa_ccsds_demodulator::bpsk_nrzm() (qa_ccsds_demodulator.cc:215)
==6524== by 0x14D510: void std::__invoke_impl<void, void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&>(std::__invoke_memfun_deref, void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&) (invoke.h:73)
==6524== by 0x14C943: std::__invoke_result<void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&>::type std::__invoke<void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&>(void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&) (invoke.h:95)
==6524== by 0x14B246: void std::_Bind<void (gr::ccsds::qa_ccsds_demodulator::*(gr::ccsds::qa_ccsds_demodulator*))()>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) (functional:400)
==6524== by 0x149B7A: void std::_Bind<void (gr::ccsds::qa_ccsds_demodulator::*(gr::ccsds::qa_ccsds_demodulator*))()>::operator()<, void>() (functional:484)
==6524== by 0x146E37: std::_Function_handler<void (), std::_Bind<void (gr::ccsds::qa_ccsds_demodulator::*(gr::ccsds::qa_ccsds_demodulator*))()> >::_M_invoke(std::_Any_data const&) (std_function.h:297)
==6524== by 0x1520E7: std::function<void ()>::operator()() const (std_function.h:687)
==6524== by 0x14E8BB: CppUnit::TestCaller<gr::ccsds::qa_ccsds_demodulator>::runTest() (TestCaller.h:175)
==6524== by 0x4CC5881: CppUnit::TestCaseMethodFunctor::operator()() const (in /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0.0.0)
==6524== by 0x4CBBE62: CppUnit::DefaultProtector::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0.0.0)
==6524== by 0x4CC29E4: CppUnit::ProtectorChain::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0.0.0)
==6524==
==6524== 0 bytes in 1 blocks are definitely lost in loss record 3 of 14
==6524== at 0x48394DF: operator new[](unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==6524== by 0x158296: gr::ccsds::qa_ccsds_demodulator::qpsk_uncoded() (qa_ccsds_demodulator.cc:277)
==6524== by 0x14D510: void std::__invoke_impl<void, void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&>(std::__invoke_memfun_deref, void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&) (invoke.h:73)
==6524== by 0x14C943: std::__invoke_result<void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&>::type std::__invoke<void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&>(void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&) (invoke.h:95)
==6524== by 0x14B246: void std::_Bind<void (gr::ccsds::qa_ccsds_demodulator::*(gr::ccsds::qa_ccsds_demodulator*))()>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) (functional:400)
==6524== by 0x149B7A: void std::_Bind<void (gr::ccsds::qa_ccsds_demodulator::*(gr::ccsds::qa_ccsds_demodulator*))()>::operator()<, void>() (functional:484)
==6524== by 0x146E37: std::_Function_handler<void (), std::_Bind<void (gr::ccsds::qa_ccsds_demodulator::*(gr::ccsds::qa_ccsds_demodulator*))()> >::_M_invoke(std::_Any_data const&) (std_function.h:297)
==6524== by 0x1520E7: std::function<void ()>::operator()() const (std_function.h:687)
==6524== by 0x14E8BB: CppUnit::TestCaller<gr::ccsds::qa_ccsds_demodulator>::runTest() (TestCaller.h:175)
==6524== by 0x4CC5881: CppUnit::TestCaseMethodFunctor::operator()() const (in /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0.0.0)
==6524== by 0x4CBBE62: CppUnit::DefaultProtector::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0.0.0)
==6524== by 0x4CC29E4: CppUnit::ProtectorChain::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0.0.0)
==6524==
==6524== 1,024 bytes in 1 blocks are definitely lost in loss record 9 of 14
==6524== at 0x48394DF: operator new[](unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==6524== by 0x152900: gr::ccsds::qa_ccsds_demodulator::bpsk_uncoded() (qa_ccsds_demodulator.cc:66)
==6524== by 0x14D510: void std::__invoke_impl<void, void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&>(std::__invoke_memfun_deref, void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&) (invoke.h:73)
==6524== by 0x14C943: std::__invoke_result<void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&>::type std::__invoke<void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&>(void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&) (invoke.h:95)
==6524== by 0x14B246: void std::_Bind<void (gr::ccsds::qa_ccsds_demodulator::*(gr::ccsds::qa_ccsds_demodulator*))()>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) (functional:400)
==6524== by 0x149B7A: void std::_Bind<void (gr::ccsds::qa_ccsds_demodulator::*(gr::ccsds::qa_ccsds_demodulator*))()>::operator()<, void>() (functional:484)
==6524== by 0x146E37: std::_Function_handler<void (), std::_Bind<void (gr::ccsds::qa_ccsds_demodulator::*(gr::ccsds::qa_ccsds_demodulator*))()> >::_M_invoke(std::_Any_data const&) (std_function.h:297)
==6524== by 0x1520E7: std::function<void ()>::operator()() const (std_function.h:687)
==6524== by 0x14E8BB: CppUnit::TestCaller<gr::ccsds::qa_ccsds_demodulator>::runTest() (TestCaller.h:175)
==6524== by 0x4CC5881: CppUnit::TestCaseMethodFunctor::operator()() const (in /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0.0.0)
==6524== by 0x4CBBE62: CppUnit::DefaultProtector::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0.0.0)
==6524== by 0x4CC29E4: CppUnit::ProtectorChain::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0.0.0)
==6524==
==6524== 1,024 bytes in 1 blocks are definitely lost in loss record 10 of 14
==6524== at 0x48394DF: operator new[](unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==6524== by 0x156158: gr::ccsds::qa_ccsds_demodulator::bpsk_nrzm() (qa_ccsds_demodulator.cc:192)
==6524== by 0x14D510: void std::__invoke_impl<void, void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&>(std::__invoke_memfun_deref, void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&) (invoke.h:73)
==6524== by 0x14C943: std::__invoke_result<void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&>::type std::__invoke<void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&>(void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&) (invoke.h:95)
==6524== by 0x14B246: void std::_Bind<void (gr::ccsds::qa_ccsds_demodulator::*(gr::ccsds::qa_ccsds_demodulator*))()>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) (functional:400)
==6524== by 0x149B7A: void std::_Bind<void (gr::ccsds::qa_ccsds_demodulator::*(gr::ccsds::qa_ccsds_demodulator*))()>::operator()<, void>() (functional:484)
==6524== by 0x146E37: std::_Function_handler<void (), std::_Bind<void (gr::ccsds::qa_ccsds_demodulator::*(gr::ccsds::qa_ccsds_demodulator*))()> >::_M_invoke(std::_Any_data const&) (std_function.h:297)
==6524== by 0x1520E7: std::function<void ()>::operator()() const (std_function.h:687)
==6524== by 0x14E8BB: CppUnit::TestCaller<gr::ccsds::qa_ccsds_demodulator>::runTest() (TestCaller.h:175)
==6524== by 0x4CC5881: CppUnit::TestCaseMethodFunctor::operator()() const (in /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0.0.0)
==6524== by 0x4CBBE62: CppUnit::DefaultProtector::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0.0.0)
==6524== by 0x4CC29E4: CppUnit::ProtectorChain::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0.0.0)
==6524==
==6524== 1,024 bytes in 1 blocks are definitely lost in loss record 11 of 14
==6524== at 0x48394DF: operator new[](unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==6524== by 0x157D84: gr::ccsds::qa_ccsds_demodulator::qpsk_uncoded() (qa_ccsds_demodulator.cc:254)
==6524== by 0x14D510: void std::__invoke_impl<void, void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&>(std::__invoke_memfun_deref, void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&) (invoke.h:73)
==6524== by 0x14C943: std::__invoke_result<void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&>::type std::__invoke<void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&>(void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&) (invoke.h:95)
==6524== by 0x14B246: void std::_Bind<void (gr::ccsds::qa_ccsds_demodulator::*(gr::ccsds::qa_ccsds_demodulator*))()>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) (functional:400)
==6524== by 0x149B7A: void std::_Bind<void (gr::ccsds::qa_ccsds_demodulator::*(gr::ccsds::qa_ccsds_demodulator*))()>::operator()<, void>() (functional:484)
==6524== by 0x146E37: std::_Function_handler<void (), std::_Bind<void (gr::ccsds::qa_ccsds_demodulator::*(gr::ccsds::qa_ccsds_demodulator*))()> >::_M_invoke(std::_Any_data const&) (std_function.h:297)
==6524== by 0x1520E7: std::function<void ()>::operator()() const (std_function.h:687)
==6524== by 0x14E8BB: CppUnit::TestCaller<gr::ccsds::qa_ccsds_demodulator>::runTest() (TestCaller.h:175)
==6524== by 0x4CC5881: CppUnit::TestCaseMethodFunctor::operator()() const (in /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0.0.0)
==6524== by 0x4CBBE62: CppUnit::DefaultProtector::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0.0.0)
==6524== by 0x4CC29E4: CppUnit::ProtectorChain::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0.0.0)
==6524==
==6524== 8,192 bytes in 1 blocks are definitely lost in loss record 12 of 14
==6524== at 0x48394DF: operator new[](unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==6524== by 0x1529DE: gr::ccsds::qa_ccsds_demodulator::bpsk_uncoded() (qa_ccsds_demodulator.cc:70)
==6524== by 0x14D510: void std::__invoke_impl<void, void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&>(std::__invoke_memfun_deref, void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&) (invoke.h:73)
==6524== by 0x14C943: std::__invoke_result<void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&>::type std::__invoke<void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&>(void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&) (invoke.h:95)
==6524== by 0x14B246: void std::_Bind<void (gr::ccsds::qa_ccsds_demodulator::*(gr::ccsds::qa_ccsds_demodulator*))()>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) (functional:400)
==6524== by 0x149B7A: void std::_Bind<void (gr::ccsds::qa_ccsds_demodulator::*(gr::ccsds::qa_ccsds_demodulator*))()>::operator()<, void>() (functional:484)
==6524== by 0x146E37: std::_Function_handler<void (), std::_Bind<void (gr::ccsds::qa_ccsds_demodulator::*(gr::ccsds::qa_ccsds_demodulator*))()> >::_M_invoke(std::_Any_data const&) (std_function.h:297)
==6524== by 0x1520E7: std::function<void ()>::operator()() const (std_function.h:687)
==6524== by 0x14E8BB: CppUnit::TestCaller<gr::ccsds::qa_ccsds_demodulator>::runTest() (TestCaller.h:175)
==6524== by 0x4CC5881: CppUnit::TestCaseMethodFunctor::operator()() const (in /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0.0.0)
==6524== by 0x4CBBE62: CppUnit::DefaultProtector::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0.0.0)
==6524== by 0x4CC29E4: CppUnit::ProtectorChain::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0.0.0)
==6524==
==6524== 8,192 bytes in 1 blocks are definitely lost in loss record 13 of 14
==6524== at 0x48394DF: operator new[](unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==6524== by 0x156236: gr::ccsds::qa_ccsds_demodulator::bpsk_nrzm() (qa_ccsds_demodulator.cc:196)
==6524== by 0x14D510: void std::__invoke_impl<void, void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&>(std::__invoke_memfun_deref, void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&) (invoke.h:73)
==6524== by 0x14C943: std::__invoke_result<void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&>::type std::__invoke<void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&>(void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&) (invoke.h:95)
==6524== by 0x14B246: void std::_Bind<void (gr::ccsds::qa_ccsds_demodulator::*(gr::ccsds::qa_ccsds_demodulator*))()>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) (functional:400)
==6524== by 0x149B7A: void std::_Bind<void (gr::ccsds::qa_ccsds_demodulator::*(gr::ccsds::qa_ccsds_demodulator*))()>::operator()<, void>() (functional:484)
==6524== by 0x146E37: std::_Function_handler<void (), std::_Bind<void (gr::ccsds::qa_ccsds_demodulator::*(gr::ccsds::qa_ccsds_demodulator*))()> >::_M_invoke(std::_Any_data const&) (std_function.h:297)
==6524== by 0x1520E7: std::function<void ()>::operator()() const (std_function.h:687)
==6524== by 0x14E8BB: CppUnit::TestCaller<gr::ccsds::qa_ccsds_demodulator>::runTest() (TestCaller.h:175)
==6524== by 0x4CC5881: CppUnit::TestCaseMethodFunctor::operator()() const (in /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0.0.0)
==6524== by 0x4CBBE62: CppUnit::DefaultProtector::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0.0.0)
==6524== by 0x4CC29E4: CppUnit::ProtectorChain::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0.0.0)
==6524==
==6524== 8,192 bytes in 1 blocks are definitely lost in loss record 14 of 14
==6524== at 0x48394DF: operator new[](unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==6524== by 0x157E62: gr::ccsds::qa_ccsds_demodulator::qpsk_uncoded() (qa_ccsds_demodulator.cc:258)
==6524== by 0x14D510: void std::__invoke_impl<void, void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&>(std::__invoke_memfun_deref, void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&) (invoke.h:73)
==6524== by 0x14C943: std::__invoke_result<void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&>::type std::__invoke<void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&>(void (gr::ccsds::qa_ccsds_demodulator::*&)(), gr::ccsds::qa_ccsds_demodulator*&) (invoke.h:95)
==6524== by 0x14B246: void std::_Bind<void (gr::ccsds::qa_ccsds_demodulator::*(gr::ccsds::qa_ccsds_demodulator*))()>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) (functional:400)
==6524== by 0x149B7A: void std::_Bind<void (gr::ccsds::qa_ccsds_demodulator::*(gr::ccsds::qa_ccsds_demodulator*))()>::operator()<, void>() (functional:484)
==6524== by 0x146E37: std::_Function_handler<void (), std::_Bind<void (gr::ccsds::qa_ccsds_demodulator::*(gr::ccsds::qa_ccsds_demodulator*))()> >::_M_invoke(std::_Any_data const&) (std_function.h:297)
==6524== by 0x1520E7: std::function<void ()>::operator()() const (std_function.h:687)
==6524== by 0x14E8BB: CppUnit::TestCaller<gr::ccsds::qa_ccsds_demodulator>::runTest() (TestCaller.h:175)
==6524== by 0x4CC5881: CppUnit::TestCaseMethodFunctor::operator()() const (in /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0.0.0)
==6524== by 0x4CBBE62: CppUnit::DefaultProtector::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0.0.0)
==6524== by 0x4CC29E4: CppUnit::ProtectorChain::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0.0.0)
==6524==
==6524== LEAK SUMMARY:
==6524== definitely lost: 27,648 bytes in 9 blocks
==6524== indirectly lost: 0 bytes in 0 blocks
==6524== possibly lost: 0 bytes in 0 blocks
==6524== still reachable: 40 bytes in 5 blocks
==6524== suppressed: 0 bytes in 0 blocks
==6524== Reachable blocks (those to which a pointer was found) are not shown.
==6524== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==6524==
==6524== For counts of detected and suppressed errors, rerun with: -v
==6524== ERROR SUMMARY: 9 errors from 9 contexts (suppressed: 0 from 0)
50% tests passed, 1 tests failed out of 2
Total Test time (real) = 656.71 sec
The following tests FAILED:
2 - memcheck_test_ccsds (Failed)
Errors while running CTest
make: *** [Makefile:86: test] Error 8