Back to build
Raw log | Switch to full mode | Login

Test 'PerfettoIntegrationTest.PacketsEndToEndProducerFirst' completed with the following status(es): 'CRASH','SUCCESS' Test 'PerfettoIntegrationTest.PacketsEndToEndProducerFirst' had the following logs when run: ================================================================================ [ RUN ] PerfettoIntegrationTest.PacketsEndToEndProducerFirst ================================================================= ==653==ERROR: AddressSanitizer: heap-use-after-free on address 0x617000003510 at pc 0x00010d23908e bp 0x7ffeec534430 sp 0x7ffeec534428 READ of size 8 at 0x617000003510 thread T0 #0 0x10d23908d in base::internal::PooledSequencedTaskRunner::PostDelayedTask(base::Location const&, base::OnceCallback<void ()>, base::TimeDelta) ??:0:0 #1 0x10d2781b0 in base::TaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) ??:0:0 #2 0x10e0fe2ff in tracing::PerfettoTracedProcess::AddDataSource(tracing::PerfettoTracedProcess::DataSourceBase*) ??:0:0 #3 0x104c57d32 in tracing::(anonymous namespace)::PerfettoIntegrationTest::SetUp() ??:0:0 #4 0x10729d319 in testing::Test::Run() ??:0:0 #5 0x10729fdca in testing::TestInfo::Run() ??:0:0 #6 0x1072a1476 in testing::TestSuite::Run() ??:0:0 #7 0x1072ced66 in testing::internal::UnitTestImpl::RunAllTests() ??:0:0 #8 0x1072cd96c in testing::UnitTest::Run() ??:0:0 #9 0x1128af29a in base::TestSuite::Run() ??:0:0 #10 0x1128fb0ba in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ??:0:0 #11 0x1128fac71 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ??:0:0 #12 0x104280273 in main ??:0:0 #13 0x7fff7be17014 in start ??:0:0 0x617000003510 is located 16 bytes inside of 704-byte region [0x617000003500,0x6170000037c0) freed by thread T0 here: #0 0x125156d56 in __asan_memmove ??:0:0 #1 0x10d26acb6 in base::ThreadPool::SetInstance(std::__1::unique_ptr<base::ThreadPool, std::__1::default_delete<base::ThreadPool> >) ??:0:0 #2 0x11289cd5b in base::test::ScopedTaskEnvironment::DestroyThreadPool() ??:0:0 #3 0x11289c554 in base::test::ScopedTaskEnvironment::~ScopedTaskEnvironment() ??:0:0 #4 0x104c58cd9 in tracing::(anonymous namespace)::PerfettoIntegrationTest_ClientEnabledAndDisabled_Test::~PerfettoIntegrationTest_ClientEnabledAndDisabled_Test() ??:0:0 #5 0x10729fec0 in testing::TestInfo::Run() ??:0:0 #6 0x1072a1476 in testing::TestSuite::Run() ??:0:0 #7 0x1072ced66 in testing::internal::UnitTestImpl::RunAllTests() ??:0:0 #8 0x1072cd96c in testing::UnitTest::Run() ??:0:0 #9 0x1128af29a in base::TestSuite::Run() ??:0:0 #10 0x1128fb0ba in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ??:0:0 #11 0x1128fac71 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ??:0:0 #12 0x104280273 in main ??:0:0 #13 0x7fff7be17014 in start ??:0:0 previously allocated by thread T0 here: #0 0x125156c0d in __asan_memmove ??:0:0 #1 0x10cf5a8e9 in operator new(unsigned long) ??:0:0 #2 0x11289b6b0 in base::test::ScopedTaskEnvironment::InitializeThreadPool() ??:0:0 #3 0x11289ac4f in base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ThreadPoolExecutionMode, base::test::ScopedTaskEnvironment::NowSource, base::test::ScopedTaskEnvironment::ThreadingMode, bool, base::trait_helpers::NotATraitTag) ??:0:0 #4 0x104c58b40 in testing::internal::TestFactoryImpl<tracing::(anonymous namespace)::PerfettoIntegrationTest_ClientEnabledAndDisabled_Test>::CreateTest() ??:0:0 #5 0x10729fb73 in testing::TestInfo::Run() ??:0:0 #6 0x1072a1476 in testing::TestSuite::Run() ??:0:0 #7 0x1072ced66 in testing::internal::UnitTestImpl::RunAllTests() ??:0:0 #8 0x1072cd96c in testing::UnitTest::Run() ??:0:0 #9 0x1128af29a in base::TestSuite::Run() ??:0:0 #10 0x1128fb0ba in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ??:0:0 #11 0x1128fac71 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ??:0:0 #12 0x104280273 in main ??:0:0 #13 0x7fff7be17014 in start ??:0:0 SUMMARY: AddressSanitizer: heap-use-after-free (/b/s/w/ir/out/Release/./services_unittests:x86_64+0x109b7008d) Shadow bytes around the buggy address: 0x1c2e00000650: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c2e00000660: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c2e00000670: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c2e00000680: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c2e00000690: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa =>0x1c2e000006a0: fd fd[fd]fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c2e000006b0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c2e000006c0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c2e000006d0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c2e000006e0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c2e000006f0: fd fd fd fd fd fd fd fd 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 Shadow gap: cc ==653==ABORTING [ RUN ] PerfettoIntegrationTest.PacketsEndToEndProducerFirst tracing_service_impl.cc: Configured tracing, #sources:1, duration:0 ms, #buffers:1, total buffer size:32768 KB, total sessions:1 tracing_service_impl.cc: Tracing session 1 ended, total sessions:0 [ OK ] PerfettoIntegrationTest.PacketsEndToEndProducerFirst (15 ms) ================================================================================