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 ================================================================= ==4409==ERROR: AddressSanitizer: heap-use-after-free on address 0x61600002dc90 at pc 0x559b4f685265 bp 0x7ffd2a4a9690 sp 0x7ffd2a4a9688 READ of size 8 at 0x61600002dc90 thread T0 #0 0x559b4f685264 in base::internal::SchedulerSequencedTaskRunner::PostDelayedTask(base::Location const&, base::OnceCallback<void ()>, base::TimeDelta) ./../../base/task/thread_pool/scheduler_sequenced_task_runner.cc:32:43 #1 0x559b4f68ba7d in base::TaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) ./../../base/task_runner.cc:44:10 #2 0x559b615b6947 in pnacl::PnaclHost::CreateTemporaryFile(base::RepeatingCallback<void (base::File)>) ./../../components/nacl/browser/pnacl_host.cc:208:27 #3 0x559b615b81c4 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 0x559b615b76dd 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 0x559b431e880c in pnacl::PnaclHostTest_ClearTranslationCache_Test::TestBody() ./../../components/nacl/browser/pnacl_host_unittest.cc:418:3 #6 0x559b4497c980 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #7 0x559b4497c980 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2522:0 #8 0x559b4497eaa9 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2698:11 #9 0x559b4497ffc6 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2828:28 #10 0x559b449a9bc6 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5285:44 #11 0x559b449a8681 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x559b449a8681 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4873:0 #13 0x559b52f25e76 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #14 0x559b52f25e76 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #15 0x559b57bea06e in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:82:23 #16 0x559b52f33b0c in Run ./../../base/callback.h:97:12 #17 0x559b52f33b0c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #18 0x559b52f335ad in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #19 0x559b42a007f0 in main ./../../components/test/run_all_unittests.cc:8:10 #20 0x7fa90a179f44 in __libc_start_main ??:0:0 0x61600002dc90 is located 16 bytes inside of 584-byte region [0x61600002dc80,0x61600002dec8) freed by thread T0 here: #0 0x559b3c9cef6d in operator delete(void*) _asan_rtl_:3 #1 0x559b4f64310d in base::ThreadPool::SetInstance(std::__1::unique_ptr<base::ThreadPool, std::__1::default_delete<base::ThreadPool> >) ./../../base/task/thread_pool/thread_pool.cc:79:3 #2 0x559b52f147c2 in base::test::ScopedTaskEnvironment::DestroyThreadPool() ./../../base/test/scoped_task_environment.cc:455:3 #3 0x559b52f13f8b in base::test::ScopedTaskEnvironment::~ScopedTaskEnvironment() ./../../base/test/scoped_task_environment.cc:432:3 #4 0x559b431ebc87 in ~PnaclHostTest ./../../components/nacl/browser/pnacl_host_unittest.cc:36:7 #5 0x559b431ebc87 in pnacl::PnaclHostTest_OverlappedHitsBeforeTempReturn_Test::~PnaclHostTest_OverlappedHitsBeforeTempReturn_Test() ./../../components/nacl/browser/pnacl_host_unittest.cc:261:0 #6 0x559b4497ebb3 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #7 0x559b4497ebb3 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2704:0 #8 0x559b4497ffc6 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2828:28 #9 0x559b449a9bc6 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5285:44 #10 0x559b449a8681 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #11 0x559b449a8681 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4873:0 #12 0x559b52f25e76 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #13 0x559b52f25e76 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #14 0x559b57bea06e in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:82:23 #15 0x559b52f33b0c in Run ./../../base/callback.h:97:12 #16 0x559b52f33b0c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #17 0x559b52f335ad in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #18 0x559b42a007f0 in main ./../../components/test/run_all_unittests.cc:8:10 #19 0x7fa90a179f44 in __libc_start_main ??:0:0 previously allocated by thread T0 here: #0 0x559b3c9ce70d in operator new(unsigned long) _asan_rtl_:3 #1 0x559b52f13634 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 0x559b52f13634 in base::test::ScopedTaskEnvironment::InitializeThreadPool() ./../../base/test/scoped_task_environment.cc:393:0 #3 0x559b52f12ba2 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:374:5 #4 0x559b3f4bf12f 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 0x559b431ed52a in PnaclHostTest ./../../components/nacl/browser/pnacl_host_unittest.cc:42:9 #6 0x559b431ed52a in PnaclHostTest_OverlappedHitsBeforeTempReturn_Test ./../../components/nacl/browser/pnacl_host_unittest.cc:261:0 #7 0x559b431ed52a in testing::internal::TestFactoryImpl<pnacl::PnaclHostTest_OverlappedHitsBeforeTempReturn_Test>::CreateTest() ./../../third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:460:0 #8 0x559b4497e83d in HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #9 0x559b4497e83d in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:0 #10 0x559b4497ffc6 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2828:28 #11 0x559b449a9bc6 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5285:44 #12 0x559b449a8681 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #13 0x559b449a8681 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4873:0 #14 0x559b52f25e76 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #15 0x559b52f25e76 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #16 0x559b57bea06e in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:82:23 #17 0x559b52f33b0c in Run ./../../base/callback.h:97:12 #18 0x559b52f33b0c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #19 0x559b52f335ad in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #20 0x559b42a007f0 in main ./../../components/test/run_all_unittests.cc:8:10 #21 0x7fa90a179f44 in __libc_start_main ??:0:0 SUMMARY: AddressSanitizer: heap-use-after-free (/b/s/w/ir/out/Release/components_unittests+0x22ca8264) Shadow bytes around the buggy address: 0x0c2c7fffdb40: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2c7fffdb50: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2c7fffdb60: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2c7fffdb70: fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa fa 0x0c2c7fffdb80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa =>0x0c2c7fffdb90: fd fd[fd]fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2c7fffdba0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2c7fffdbb0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2c7fffdbc0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2c7fffdbd0: fd fd fd fd fd fd fd fd fd fa fa fa fa fa fa fa 0x0c2c7fffdbe0: 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 ==4409==ABORTING [ RUN ] PnaclHostTest.ClearTranslationCache [ OK ] PnaclHostTest.ClearTranslationCache (13 ms) ================================================================================