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 ================================================================= ==7356==ERROR: AddressSanitizer: heap-use-after-free on address 0x61c00000c890 at pc 0x55c245f2ca21 bp 0x7ffce1101950 sp 0x7ffce1101948 READ of size 8 at 0x61c00000c890 thread T0 #0 0x55c245f2ca20 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 0x55c245f330dd in base::TaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) ./../../base/task_runner.cc:44:10 #2 0x55c257e22107 in pnacl::PnaclHost::CreateTemporaryFile(base::RepeatingCallback<void (base::File)>) ./../../components/nacl/browser/pnacl_host.cc:208:27 #3 0x55c257e23984 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 0x55c257e22e9d 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 0x55c239ac5efc in pnacl::PnaclHostTest_ClearTranslationCache_Test::TestBody() ./../../components/nacl/browser/pnacl_host_unittest.cc:418:3 #6 0x55c23b29c190 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #7 0x55c23b29c190 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #8 0x55c23b29e2b9 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #9 0x55c23b29f7d6 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #10 0x55c23b2c93f6 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #11 0x55c23b2c7eb1 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x55c23b2c7eb1 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #13 0x55c2497c5076 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #14 0x55c2497c5076 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #15 0x55c24e47646e in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:82:23 #16 0x55c2497d2cec in Run ./../../base/callback.h:97:12 #17 0x55c2497d2cec 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 0x55c2497d278d in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #19 0x55c2392cdc10 in main ./../../components/test/run_all_unittests.cc:8:10 #20 0x7f93260e7f44 in __libc_start_main ??:0:0 0x61c00000c890 is located 16 bytes inside of 1704-byte region [0x61c00000c880,0x61c00000cf28) freed by thread T0 here: #0 0x55c233169f6d in operator delete(void*) _asan_rtl_:3 #1 0x55c245eea89d 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 0x55c2497b356a in base::test::ScopedTaskEnvironment::~ScopedTaskEnvironment() ./../../base/test/scoped_task_environment.cc:432:3 #3 0x55c239ac9017 in ~PnaclHostTest ./../../components/nacl/browser/pnacl_host_unittest.cc:36:7 #4 0x55c239ac9017 in pnacl::PnaclHostTest_OverlappedHitsBeforeTempReturn_Test::~PnaclHostTest_OverlappedHitsBeforeTempReturn_Test() ./../../components/nacl/browser/pnacl_host_unittest.cc:261:0 #5 0x55c23b29e3c3 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #6 0x55c23b29e3c3 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2694:0 #7 0x55c23b29f7d6 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #8 0x55c23b2c93f6 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #9 0x55c23b2c7eb1 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #10 0x55c23b2c7eb1 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #11 0x55c2497c5076 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #12 0x55c2497c5076 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #13 0x55c24e47646e in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:82:23 #14 0x55c2497d2cec in Run ./../../base/callback.h:97:12 #15 0x55c2497d2cec in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #16 0x55c2497d278d in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #17 0x55c2392cdc10 in main ./../../components/test/run_all_unittests.cc:8:10 #18 0x7f93260e7f44 in __libc_start_main ??:0:0 previously allocated by thread T0 here: #0 0x55c23316970d in operator new(unsigned long) _asan_rtl_:3 #1 0x55c2497b2044 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 0x55c2497b2044 in base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) ./../../base/test/scoped_task_environment.cc:374:0 #3 0x55c235cb8dbf in content::TestBrowserThreadBundle::TestBrowserThreadBundle<base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::MainThreadType const) ./../../content/public/test/test_browser_thread_bundle.h:131:13 #4 0x55c239aca8ba in PnaclHostTest ./../../components/nacl/browser/pnacl_host_unittest.cc:42:9 #5 0x55c239aca8ba in PnaclHostTest_OverlappedHitsBeforeTempReturn_Test ./../../components/nacl/browser/pnacl_host_unittest.cc:261:0 #6 0x55c239aca8ba in testing::internal::TestFactoryImpl<pnacl::PnaclHostTest_OverlappedHitsBeforeTempReturn_Test>::CreateTest() ./../../third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:460:0 #7 0x55c23b29e04d in HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #8 0x55c23b29e04d in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2678:0 #9 0x55c23b29f7d6 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #10 0x55c23b2c93f6 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #11 0x55c23b2c7eb1 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x55c23b2c7eb1 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #13 0x55c2497c5076 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #14 0x55c2497c5076 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #15 0x55c24e47646e in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:82:23 #16 0x55c2497d2cec in Run ./../../base/callback.h:97:12 #17 0x55c2497d2cec 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 0x55c2497d278d in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #19 0x55c2392cdc10 in main ./../../components/test/run_all_unittests.cc:8:10 #20 0x7f93260e7f44 in __libc_start_main ??:0:0 SUMMARY: AddressSanitizer: heap-use-after-free (/b/s/w/ir/out/Release/components_unittests+0x22dffa20) Shadow bytes around the buggy address: 0x0c387fff98c0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c387fff98d0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c387fff98e0: fd fd fd fd fd fd fd fd fd fd fd fd fa fa fa fa 0x0c387fff98f0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c387fff9900: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa =>0x0c387fff9910: fd fd[fd]fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c387fff9920: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c387fff9930: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c387fff9940: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c387fff9950: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c387fff9960: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 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 ==7356==ABORTING [ RUN ] PnaclHostTest.ClearTranslationCache [ OK ] PnaclHostTest.ClearTranslationCache (17 ms) ================================================================================