$ valgrind --leak-check=full ./tests_turnCache ==43767== Memcheck, a memory error detector==43767== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.==43767== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info==43767== Command: ./tests_turnCache==43767== [...]==43767== ==43767== HEAP SUMMARY:==43767== in use at exit: 135,700 bytes in 62 blocks==43767== total heap usage: 2,206 allocs, 2,144 frees, 1,509,362 bytes allocated==43767== ==43767== 16 bytes in 1 blocks are possibly lost in loss record 3 of 44==43767== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)==43767== by 0x13EC46: std::_MakeUniq<dhtnet::TurnTransport>::__single_object std::make_unique<dhtnet::TurnTransport, dhtnet::TurnTransportParams&, dhtnet::TurnCache::testTurn(dhtnet::IpAddr)::{lambda(bool)#1}>(dhtnet::TurnTransportParams&, dhtnet::TurnCache::testTurn(dhtnet::IpAddr)::{lambda(bool)#1}&&) (unique_ptr.h:962)==43767== by 0x13E4AA: dhtnet::TurnCache::testTurn(dhtnet::IpAddr) (turn_cache.cpp:187)==43767== by 0x13DE6C: dhtnet::TurnCache::refresh(std::error_code const&) (turn_cache.cpp:171)==43767== by 0x12E58F: dhtnet::test::TurnCacheTest::testRefreshMultipleTimes() (turnCache.cpp:149)==43767== by 0x13BAA9: void std::__invoke_impl<void, void (dhtnet::test::TurnCacheTest::*&)(), dhtnet::test::TurnCacheTest*&>(std::__invoke_memfun_deref, void (dhtnet::test::TurnCacheTest::*&)(), dhtnet::test::TurnCacheTest*&) (invoke.h:74)==43767== by 0x13B2A6: std::__invoke_result<void (dhtnet::test::TurnCacheTest::*&)(), dhtnet::test::TurnCacheTest*&>::type std::__invoke<void (dhtnet::test::TurnCacheTest::*&)(), dhtnet::test::TurnCacheTest*&>(void (dhtnet::test::TurnCacheTest::*&)(), dhtnet::test::TurnCacheTest*&) (invoke.h:96)==43767== by 0x13AC8E: void std::_Bind<void (dhtnet::test::TurnCacheTest::*(dhtnet::test::TurnCacheTest*))()>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) (functional:420)==43767== by 0x13A134: void std::_Bind<void (dhtnet::test::TurnCacheTest::*(dhtnet::test::TurnCacheTest*))()>::operator()<, void>() (functional:503)==43767== by 0x13958D: void std::__invoke_impl<void, std::_Bind<void (dhtnet::test::TurnCacheTest::*(dhtnet::test::TurnCacheTest*))()>&>(std::__invoke_other, std::_Bind<void (dhtnet::test::TurnCacheTest::*(dhtnet::test::TurnCacheTest*))()>&) (invoke.h:61)==43767== by 0x138C53: std::enable_if<is_invocable_r_v<void, std::_Bind<void (dhtnet::test::TurnCacheTest::*(dhtnet::test::TurnCacheTest*))()>&>, void>::type std::__invoke_r<void, std::_Bind<void (dhtnet::test::TurnCacheTest::*(dhtnet::test::TurnCacheTest*))()>&>(std::_Bind<void (dhtnet::test::TurnCacheTest::*(dhtnet::test::TurnCacheTest*))()>&) (invoke.h:111)==43767== by 0x138136: std::_Function_handler<void (), std::_Bind<void (dhtnet::test::TurnCacheTest::*(dhtnet::test::TurnCacheTest*))()> >::_M_invoke(std::_Any_data const&) (std_function.h:290)==43767== [...]==43767== ==43767== LEAK SUMMARY:==43767== definitely lost: 0 bytes in 0 blocks==43767== indirectly lost: 0 bytes in 0 blocks==43767== possibly lost: 4,188 bytes in 22 blocks==43767== still reachable: 131,512 bytes in 40 blocks==43767== of which reachable via heuristic:==43767== multipleinheritance: 96 bytes in 1 blocks==43767== suppressed: 0 bytes in 0 blocks==43767== Reachable blocks (those to which a pointer was found) are not shown.==43767== To see them, rerun with: --leak-check=full --show-leak-kinds=all==43767== ==43767== For lists of detected and suppressed errors, rerun with: -s==43767== ERROR SUMMARY: 19 errors from 19 contexts (suppressed: 0 from 0)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related or that one is blocking others.
Learn more.