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 ================================================================= ==12746==ERROR: AddressSanitizer: heap-use-after-free on address 0x61c00000c890 at pc 0x55f28e22a70c bp 0x7ffcdafdc0b0 sp 0x7ffcdafdc0a8 READ of size 8 at 0x61c00000c890 thread T0 #0 0x55f28e22a70b in base::internal::SchedulerSequencedTaskRunner::PostDelayedTask(base::Location const&, base::OnceCallback<void ()>, base::TimeDelta) ./../../base/task/task_scheduler/scheduler_sequenced_task_runner.cc:30:43 #1 0x55f28e23da7d in base::TaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) ./../../base/task_runner.cc:44:10 #2 0x55f29ff8d357 in pnacl::PnaclHost::CreateTemporaryFile(base::RepeatingCallback<void (base::File)>) ./../../components/nacl/browser/pnacl_host.cc:207:27 #3 0x55f29ff8eba4 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:275:3 #4 0x55f29ff8e0cd 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:262:3 #5 0x55f281d7456d in pnacl::PnaclHostTest_ClearTranslationCache_Test::TestBody() ./../../components/nacl/browser/pnacl_host_unittest.cc:418:3 #6 0x55f283554600 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #7 0x55f283554600 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2499:0 #8 0x55f283556729 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2675:11 #9 0x55f283557c46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2805:28 #10 0x55f2835806f6 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5243:44 #11 0x55f28357f801 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x55f28357f801 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4845:0 #13 0x55f2919e94d6 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 #14 0x55f2919e94d6 in base::TestSuite::Run() ./../../base/test/test_suite.cc:314:0 #15 0x55f296749ede in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:82:23 #16 0x55f2919f4d8c in Run ./../../base/callback.h:97:12 #17 0x55f2919f4d8c 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 0x55f2919f482d in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #19 0x55f281550820 in main ./../../components/test/run_all_unittests.cc:8:10 #20 0x7f300bbf5f44 in __libc_start_main ??:0:0 0x61c00000c890 is located 16 bytes inside of 1696-byte region [0x61c00000c880,0x61c00000cf20) freed by thread T0 here: #0 0x55f27b4941cd in operator delete(void*) _asan_rtl_:3 #1 0x55f28e1f2acd in base::TaskScheduler::SetInstance(std::__1::unique_ptr<base::TaskScheduler, std::__1::default_delete<base::TaskScheduler> >) ./../../base/task/task_scheduler/task_scheduler.cc:79:3 #2 0x55f2919d797a in base::test::ScopedTaskEnvironment::~ScopedTaskEnvironment() ./../../base/test/scoped_task_environment.cc:432:3 #3 0x55f2967369ff in content::TestBrowserThreadBundle::~TestBrowserThreadBundle() ./../../content/public/test/test_browser_thread_bundle.cc:69:1 #4 0x55f281d77437 in ~PnaclHostTest ./../../components/nacl/browser/pnacl_host_unittest.cc:36:7 #5 0x55f281d77437 in pnacl::PnaclHostTest_OverlappedHitsBeforeTempReturn_Test::~PnaclHostTest_OverlappedHitsBeforeTempReturn_Test() ./../../components/nacl/browser/pnacl_host_unittest.cc:261:0 #6 0x55f283556833 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #7 0x55f283556833 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2681:0 #8 0x55f283557c46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2805:28 #9 0x55f2835806f6 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5243:44 #10 0x55f28357f801 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #11 0x55f28357f801 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4845:0 #12 0x55f2919e94d6 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 #13 0x55f2919e94d6 in base::TestSuite::Run() ./../../base/test/test_suite.cc:314:0 #14 0x55f296749ede in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:82:23 #15 0x55f2919f4d8c in Run ./../../base/callback.h:97:12 #16 0x55f2919f4d8c 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 0x55f2919f482d in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #18 0x55f281550820 in main ./../../components/test/run_all_unittests.cc:8:10 #19 0x7f300bbf5f44 in __libc_start_main ??:0:0 previously allocated by thread T0 here: #0 0x55f27b49396d in operator new(unsigned long) _asan_rtl_:3 #1 0x55f2919d64bf in make_unique<base::internal::TaskSchedulerImpl, 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 0x55f2919d64bf 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 0x55f27dffaf0f 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 0x55f281d78cda in PnaclHostTest ./../../components/nacl/browser/pnacl_host_unittest.cc:42:9 #5 0x55f281d78cda in PnaclHostTest_OverlappedHitsBeforeTempReturn_Test ./../../components/nacl/browser/pnacl_host_unittest.cc:261:0 #6 0x55f281d78cda in testing::internal::TestFactoryImpl<pnacl::PnaclHostTest_OverlappedHitsBeforeTempReturn_Test>::CreateTest() ./../../third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461:0 #7 0x55f2835564bd in HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #8 0x55f2835564bd in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2665:0 #9 0x55f283557c46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2805:28 #10 0x55f2835806f6 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5243:44 #11 0x55f28357f801 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x55f28357f801 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4845:0 #13 0x55f2919e94d6 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 #14 0x55f2919e94d6 in base::TestSuite::Run() ./../../base/test/test_suite.cc:314:0 #15 0x55f296749ede in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:82:23 #16 0x55f2919f4d8c in Run ./../../base/callback.h:97:12 #17 0x55f2919f4d8c 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 0x55f2919f482d in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #19 0x55f281550820 in main ./../../components/test/run_all_unittests.cc:8:10 #20 0x7f300bbf5f44 in __libc_start_main ??:0:0 SUMMARY: AddressSanitizer: heap-use-after-free (/b/s/w/ir/out/Release/components_unittests+0x22fe370b) 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 fa fa fa fa fa fa fa fa fa fa 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 ==12746==ABORTING [ RUN ] PnaclHostTest.ClearTranslationCache [ OK ] PnaclHostTest.ClearTranslationCache (17 ms) ================================================================================