[.] Sanitizer coverage enabled. Counter map size: 12114817, Cmp map size: 262144 Note: Google Test filter = OpenscreenPlatformUdpSocketTest.OnReceivedAfterClientDeletesSocket [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from OpenscreenPlatformUdpSocketTest [ RUN ] OpenscreenPlatformUdpSocketTest.OnReceivedAfterClientDeletesSocket ================================================================= ==939==ERROR: AddressSanitizer: heap-use-after-free on address 0x7bf1339054a0 at pc 0x5a31f5762e41 bp 0x7ffcd35e0290 sp 0x7ffcd35e0288 READ of size 8 at 0x7bf1339054a0 thread T0 #0 0x5a31f5762e40 in openscreen_platform::UdpSocket::OnReceived(int, std::__Cr::optional const&, std::__Cr::optional>) gen/third_party/libc++/src/include/__memory/unique_ptr.h:275:12 #1 0x5a31d7a2f463 in openscreen_platform::OpenscreenPlatformUdpSocketTest_OnReceivedAfterClientDeletesSocket_Test::TestBody() components/openscreen_platform/udp_socket_unittest.cc:100:15 #2 0x5a31efdd479b in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc #3 0x5a31efdd7817 in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2892:11 #4 0x5a31efdd9893 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:3070:30 #5 0x5a31efe08a14 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:6062:44 #6 0x5a31efe0758a in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc #7 0x5a3205585a20 in base::TestSuite::Run() base/test/test_suite.cc:440:16 #8 0x5a3212501455 in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:193:23 #9 0x5a31f7cd9ed0 in base::internal::Invoker>&&>, base::internal::BindState>>, int ()>::RunOnce(base::internal::BindStateBase*) base/functional/bind_internal.h:740:12 #10 0x5a320559e87b in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback, unsigned long, int, unsigned long, bool, base::RepeatingCallback, base::OnceCallback) base/functional/callback.h:155:12 #11 0x5a320559e19b in base::LaunchUnitTests(int, char**, base::OnceCallback, unsigned long) base/test/launcher/unit_test_launcher.cc:337:10 #12 0x7ef135645249 (/lib/x86_64-linux-gnu/libc.so.6+0x27249) (BuildId: 6196744a316dbd57c0fd8968df1680aac482cec4) 0x7bf1339054a0 is located 96 bytes inside of 192-byte region [0x7bf133905440,0x7bf133905500) freed by thread T0 here: #0 0x5a31d04fa012 in operator delete(void*, unsigned long) (/chromium/chromium/src/out/asan/components_unittests+0x171c7012) (BuildId: d904b10121eed19e) #1 0x5a31f57625c8 in openscreen_platform::UdpSocket::OnReceived(int, std::__Cr::optional const&, std::__Cr::optional>) components/openscreen_platform/udp_socket.cc:156:14 #2 0x5a31d7a2f463 in openscreen_platform::OpenscreenPlatformUdpSocketTest_OnReceivedAfterClientDeletesSocket_Test::TestBody() components/openscreen_platform/udp_socket_unittest.cc:100:15 #3 0x5a31efdd479b in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc #4 0x5a31efdd7817 in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2892:11 #5 0x5a31efdd9893 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:3070:30 #6 0x5a31efe08a14 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:6062:44 #7 0x5a31efe0758a in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc #8 0x5a3205585a20 in base::TestSuite::Run() base/test/test_suite.cc:440:16 #9 0x5a3212501455 in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:193:23 #10 0x5a31f7cd9ed0 in base::internal::Invoker>&&>, base::internal::BindState>>, int ()>::RunOnce(base::internal::BindStateBase*) base/functional/bind_internal.h:740:12 #11 0x5a320559e87b in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback, unsigned long, int, unsigned long, bool, base::RepeatingCallback, base::OnceCallback) base/functional/callback.h:155:12 #12 0x5a320559e19b in base::LaunchUnitTests(int, char**, base::OnceCallback, unsigned long) base/test/launcher/unit_test_launcher.cc:337:10 #13 0x7ef135645249 (/lib/x86_64-linux-gnu/libc.so.6+0x27249) (BuildId: 6196744a316dbd57c0fd8968df1680aac482cec4) previously allocated by thread T0 here: #0 0x5a31d04f940d in operator new(unsigned long) (/chromium/chromium/src/out/asan/components_unittests+0x171c640d) (BuildId: d904b10121eed19e) #1 0x5a31d7a2f2e1 in openscreen_platform::OpenscreenPlatformUdpSocketTest_OnReceivedAfterClientDeletesSocket_Test::TestBody() gen/third_party/libc++/src/include/__memory/unique_ptr.h:756:26 #2 0x5a31efdd479b in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc #3 0x5a31efdd7817 in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2892:11 #4 0x5a31efdd9893 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:3070:30 #5 0x5a31efe08a14 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:6062:44 #6 0x5a31efe0758a in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc #7 0x5a3205585a20 in base::TestSuite::Run() base/test/test_suite.cc:440:16 #8 0x5a3212501455 in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:193:23 #9 0x5a31f7cd9ed0 in base::internal::Invoker>&&>, base::internal::BindState>>, int ()>::RunOnce(base::internal::BindStateBase*) base/functional/bind_internal.h:740:12 #10 0x5a320559e87b in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback, unsigned long, int, unsigned long, bool, base::RepeatingCallback, base::OnceCallback) base/functional/callback.h:155:12 #11 0x5a320559e19b in base::LaunchUnitTests(int, char**, base::OnceCallback, unsigned long) base/test/launcher/unit_test_launcher.cc:337:10 #12 0x7ef135645249 (/lib/x86_64-linux-gnu/libc.so.6+0x27249) (BuildId: 6196744a316dbd57c0fd8968df1680aac482cec4) Shadow bytes around the buggy address: 0x7bf133905200: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd 0x7bf133905280: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x7bf133905300: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 0x7bf133905380: 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc 0x7bf133905400: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd =>0x7bf133905480: fd fd fd fd[fd]fd fd fd fd fd fd fd fd fd fd fd 0x7bf133905500: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7bf133905580: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7bf133905600: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7bf133905680: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7bf133905700: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb WARNING: All log messages before absl::InitializeLog() is called are written to STDERR E0000 00:00:1778917937.703138 939 runtime.cc:173] Failed to extract sanitizer crash type: INVALID_ARGUMENT: No `SUMMARY: ` prefix in sanitizer error summary: ==939==ADDITIONAL INFO === Source Location Trace: === ../../third_party/fuzztest/src/fuzztest/internal/sanitizer_interface.cc:31 E0000 00:00:1778917937.703247 939 runtime.cc:173] Failed to extract sanitizer crash type: INVALID_ARGUMENT: No `SUMMARY: ` prefix in sanitizer error summary: ==939==Note: Please include this section with the ASan report. === Source Location Trace: === ../../third_party/fuzztest/src/fuzztest/internal/sanitizer_interface.cc:31 E0000 00:00:1778917937.703277 939 runtime.cc:173] Failed to extract sanitizer crash type: INVALID_ARGUMENT: No `SUMMARY: ` prefix in sanitizer error summary: Task trace: === Source Location Trace: === ../../third_party/fuzztest/src/fuzztest/internal/sanitizer_interface.cc:31 E0000 00:00:1778917937.703301 939 runtime.cc:173] Failed to extract sanitizer crash type: INVALID_ARGUMENT: No `SUMMARY: ` prefix in sanitizer error summary: === Source Location Trace: === ../../third_party/fuzztest/src/fuzztest/internal/sanitizer_interface.cc:31 E0000 00:00:1778917937.703323 939 runtime.cc:173] Failed to extract sanitizer crash type: INVALID_ARGUMENT: No `SUMMARY: ` prefix in sanitizer error summary: ==939==END OF ADDITIONAL INFO === Source Location Trace: === ../../third_party/fuzztest/src/fuzztest/internal/sanitizer_interface.cc:31 E0000 00:00:1778917937.703347 939 runtime.cc:173] Failed to extract sanitizer crash type: INVALID_ARGUMENT: No `SUMMARY: ` prefix in sanitizer error summary: ==939==ABORTING === Source Location Trace: === ../../third_party/fuzztest/src/fuzztest/internal/sanitizer_interface.cc:31