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

Test 'PnaclHostTest.ClearTranslationCache' completed with the following status(es): 'CRASH','SUCCESS' Test 'PnaclHostTest.ClearTranslationCache' had the following logs when run: ================================================================================ [ RUN ] PnaclHostTest.ClearTranslationCache ================================================================= ==609==ERROR: AddressSanitizer: heap-use-after-free on address 0x616000035a90 at pc 0x560dbfc72559 bp 0x7fffa2f7cd70 sp 0x7fffa2f7cd68 READ of size 8 at 0x616000035a90 thread T0 #0 0x560dbfc72558 in base::internal::PooledSequencedTaskRunner::PostDelayedTask(base::Location const&, base::OnceCallback<void ()>, base::TimeDelta) ./../../base/task/thread_pool/pooled_sequenced_task_runner.cc:32:40 #1 0x560dbfc7e2fb in base::TaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) ./../../base/task_runner.cc:78:10 #2 0x560dd1f1395e in pnacl::PnaclHost::CreateTemporaryFile(base::RepeatingCallback<void (base::File)>) ./../../components/nacl/browser/pnacl_host.cc:208:27 #3 0x560dd1f15187 in pnacl::PnaclHost::SendCacheQueryAndTempFileRequest(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::pair<int, int> const&) ./../../components/nacl/browser/pnacl_host.cc:276:3 #4 0x560dd1f146bd in pnacl::PnaclHost::GetNexeFd(int, int, int, bool, nacl::PnaclCacheInfo const&, base::RepeatingCallback<void (base::File const&, bool)> const&) ./../../components/nacl/browser/pnacl_host.cc:263:3 #5 0x560db29fa4ac in pnacl::PnaclHostTest_ClearTranslationCache_Test::TestBody() ./../../components/nacl/browser/pnacl_host_unittest.cc:418:3 #6 0x560db4338f40 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #7 0x560db4338f40 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2522:0 #8 0x560db433afd9 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2698:11 #9 0x560db433c4b6 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2828:28 #10 0x560db4365ac6 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5285:44 #11 0x560db43645a4 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x560db43645a4 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4873:0 #13 0x560dc351c019 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 #14 0x560dc351c019 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #15 0x560dc88491e5 in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:81:23 #16 0x560dc352965c in Run ./../../base/callback.h:97:12 #17 0x560dc352965c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:158:0 #18 0x560dc3529120 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:508:10 #19 0x560db2226e43 in main ./../../components/test/run_all_unittests.cc:8:10 #20 0x7f0598a2af44 in __libc_start_main ??:0:0 0x616000035a90 is located 16 bytes inside of 584-byte region [0x616000035a80,0x616000035cc8) freed by thread T0 here: #0 0x560dac3b58bd in operator delete(void*) _asan_rtl_:3 #1 0x560dbfc3830d in base::ThreadPool::SetInstance(std::__1::unique_ptr<base::ThreadPool, std::__1::default_delete<base::ThreadPool> >) ./../../base/task/thread_pool/thread_pool.cc:66:3 #2 0x560dc350b185 in base::test::ScopedTaskEnvironment::DestroyThreadPool() ./../../base/test/scoped_task_environment.cc:454:3 #3 0x560dc350a95b in base::test::ScopedTaskEnvironment::~ScopedTaskEnvironment() ./../../base/test/scoped_task_environment.cc:431:3 #4 0x560dc8836422 in content::TestBrowserThreadBundle::~TestBrowserThreadBundle() ./../../content/public/test/test_browser_thread_bundle.cc:64:1 #5 0x560db29fd857 in ~PnaclHostTest ./../../components/nacl/browser/pnacl_host_unittest.cc:36:7 #6 0x560db29fd857 in pnacl::PnaclHostTest_OverlappedHitsBeforeTempReturn_Test::~PnaclHostTest_OverlappedHitsBeforeTempReturn_Test() ./../../components/nacl/browser/pnacl_host_unittest.cc:261:0 #7 0x560db433b0e3 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #8 0x560db433b0e3 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2704:0 #9 0x560db433c4b6 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2828:28 #10 0x560db4365ac6 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5285:44 #11 0x560db43645a4 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x560db43645a4 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4873:0 #13 0x560dc351c019 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 #14 0x560dc351c019 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #15 0x560dc88491e5 in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:81:23 #16 0x560dc352965c in Run ./../../base/callback.h:97:12 #17 0x560dc352965c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:158:0 #18 0x560dc3529120 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:508:10 #19 0x560db2226e43 in main ./../../components/test/run_all_unittests.cc:8:10 #20 0x7f0598a2af44 in __libc_start_main ??:0:0 previously allocated by thread T0 here: #0 0x560dac3b505d in operator new(unsigned long) _asan_rtl_:3 #1 0x560dc350a099 in make_unique<base::internal::ThreadPoolImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > ./../../buildtools/third_party/libc++/trunk/include/memory:3131:28 #2 0x560dc350a099 in base::test::ScopedTaskEnvironment::InitializeThreadPool() ./../../base/test/scoped_task_environment.cc:408:0 #3 0x560dc35096d8 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) ./../../base/test/scoped_task_environment.cc:375:5 #4 0x560daee91b92 in content::TestBrowserThreadBundle::TestBrowserThreadBundle<base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::MainThreadType const) ./../../content/public/test/test_browser_thread_bundle.h:131:13 #5 0x560db29ff09a in PnaclHostTest ./../../components/nacl/browser/pnacl_host_unittest.cc:42:9 #6 0x560db29ff09a in PnaclHostTest_OverlappedHitsBeforeTempReturn_Test ./../../components/nacl/browser/pnacl_host_unittest.cc:261:0 #7 0x560db29ff09a in testing::internal::TestFactoryImpl<pnacl::PnaclHostTest_OverlappedHitsBeforeTempReturn_Test>::CreateTest() ./../../third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:460:0 #8 0x560db433ad70 in HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #9 0x560db433ad70 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:0 #10 0x560db433c4b6 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2828:28 #11 0x560db4365ac6 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5285:44 #12 0x560db43645a4 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #13 0x560db43645a4 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4873:0 #14 0x560dc351c019 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 #15 0x560dc351c019 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #16 0x560dc88491e5 in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:81:23 #17 0x560dc352965c in Run ./../../base/callback.h:97:12 #18 0x560dc352965c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:158:0 #19 0x560dc3529120 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:508:10 #20 0x560db2226e43 in main ./../../components/test/run_all_unittests.cc:8:10 #21 0x7f0598a2af44 in __libc_start_main ??:0:0 SUMMARY: AddressSanitizer: heap-use-after-free (/b/s/w/ir/out/Release/components_unittests+0x24cb0558) Shadow bytes around the buggy address: 0x0c2c7fffeb00: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2c7fffeb10: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2c7fffeb20: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2c7fffeb30: fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa fa 0x0c2c7fffeb40: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa =>0x0c2c7fffeb50: fd fd[fd]fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2c7fffeb60: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2c7fffeb70: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2c7fffeb80: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2c7fffeb90: fd fd fd fd fd fd fd fd fd fa fa fa fa fa fa fa 0x0c2c7fffeba0: 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 Shadow gap: cc ==609==ABORTING [ RUN ] PnaclHostTest.ClearTranslationCache [ OK ] PnaclHostTest.ClearTranslationCache (41 ms) ================================================================================