You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by GitBox <gi...@apache.org> on 2020/05/19 21:28:56 UTC

[GitHub] [trafficserver] bryancall edited a comment on issue #6765: Issues with ODR violations and leaks when running ASAN on Fedora 32 in CI

bryancall edited a comment on issue #6765:
URL: https://github.com/apache/trafficserver/issues/6765#issuecomment-631092510


   ```
   =================================================================
   ==278773==ERROR: LeakSanitizer: detected memory leaks
   
   Direct leak of 64 byte(s) in 1 object(s) allocated from:
       #0 0x7f281525d067 in operator new(unsigned long) (/lib64/libasan.so.6+0xb2067)
       #1 0x7e905a in br(HttpRequestData*, char const*, sockaddr const*) unit-tests/nexthop_test_stubs.cc:38
       #2 0x6b3f27 in ____C_A_T_C_H____T_E_S_T____7 unit-tests/test_NextHopConsistentHash.cc:274
       #3 0x67b3e8 in Catch::TestInvokerAsFunction::invoke() const /home/bcall/dev/apache/trafficserver/tests/include/catch.hpp:14036
       #4 0x679e27 in Catch::TestCase::invoke() const /home/bcall/dev/apache/trafficserver/tests/include/catch.hpp:13929
       #5 0x66d286 in Catch::RunContext::invokeActiveTestCase() /home/bcall/dev/apache/trafficserver/tests/include/catch.hpp:12791
       #6 0x66cac8 in Catch::RunContext::runCurrentTest(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) /home/bcall/dev/apache/trafficserver/tests/include/catch.hpp:12764
       #7 0x66948e in Catch::RunContext::runTest(Catch::TestCase const&) /home/bcall/dev/apache/trafficserver/tests/include/catch.hpp:12525
       #8 0x671205 in execute /home/bcall/dev/apache/trafficserver/tests/include/catch.hpp:13119
       #9 0x673c00 in Catch::Session::runInternal() /home/bcall/dev/apache/trafficserver/tests/include/catch.hpp:13325
       #10 0x673579 in Catch::Session::run() /home/bcall/dev/apache/trafficserver/tests/include/catch.hpp:13281
       #11 0x70f30f in int Catch::Session::run<char>(int, char const* const*) (/home/bcall/dev/apache/trafficserver/proxy/http/remap/.libs/lt-test_NextHopConsistentHash+0x70f30f)
       #12 0x6a5877 in main /home/bcall/dev/apache/trafficserver/tests/include/catch.hpp:17164
       #13 0x7f2814863041 in __libc_start_main (/lib64/libc.so.6+0x27041)
   
   Direct leak of 21 byte(s) in 1 object(s) allocated from:
       #0 0x7f281525b667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
       #1 0x7f2814fdc396 in ats_malloc /home/bcall/dev/apache/trafficserver/src/tscore/ink_memory.cc:59
       #2 0x7f2814fdc9a2 in _xstrdup /home/bcall/dev/apache/trafficserver/src/tscore/ink_memory.cc:274
       #3 0x7e9163 in br(HttpRequestData*, char const*, sockaddr const*) unit-tests/nexthop_test_stubs.cc:40
       #4 0x6b9867 in ____C_A_T_C_H____T_E_S_T____14 unit-tests/test_NextHopConsistentHash.cc:334
       #5 0x67b3e8 in Catch::TestInvokerAsFunction::invoke() const /home/bcall/dev/apache/trafficserver/tests/include/catch.hpp:14036
       #6 0x679e27 in Catch::TestCase::invoke() const /home/bcall/dev/apache/trafficserver/tests/include/catch.hpp:13929
       #7 0x66d286 in Catch::RunContext::invokeActiveTestCase() /home/bcall/dev/apache/trafficserver/tests/include/catch.hpp:12791
       #8 0x66cac8 in Catch::RunContext::runCurrentTest(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) /home/bcall/dev/apache/trafficserver/tests/include/catch.hpp:12764
       #9 0x66948e in Catch::RunContext::runTest(Catch::TestCase const&) /home/bcall/dev/apache/trafficserver/tests/include/catch.hpp:12525
       #10 0x671205 in execute /home/bcall/dev/apache/trafficserver/tests/include/catch.hpp:13119
       #11 0x673c00 in Catch::Session::runInternal() /home/bcall/dev/apache/trafficserver/tests/include/catch.hpp:13325
       #12 0x673579 in Catch::Session::run() /home/bcall/dev/apache/trafficserver/tests/include/catch.hpp:13281
       #13 0x70f30f in int Catch::Session::run<char>(int, char const* const*) (/home/bcall/dev/apache/trafficserver/proxy/http/remap/.libs/lt-test_NextHopConsistentHash+0x70f30f)
       #14 0x6a5877 in main /home/bcall/dev/apache/trafficserver/tests/include/catch.hpp:17164
       #15 0x7f2814863041 in __libc_start_main (/lib64/libc.so.6+0x27041)
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org