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

Test 'PnaclHostTest.CacheControlNoStore' completed with the following status(es): 'CRASH','SUCCESS' Test 'PnaclHostTest.CacheControlNoStore' had the following logs when run: ================================================================================ [ RUN ] PnaclHostTest.CacheControlNoStore ================================================================= ==11809==ERROR: AddressSanitizer: heap-use-after-free on address 0x61b000003f90 at pc 0x55a5d6e466a9 bp 0x7ffead2b7530 sp 0x7ffead2b7528 READ of size 8 at 0x61b000003f90 thread T0 #0 0x55a5d6e466a8 in base::internal::SchedulerSequencedTaskRunner::PostDelayedTask(base::Location const&, base::OnceCallback<void ()>, base::TimeDelta) ./../../base/task/task_scheduler/scheduler_sequenced_task_runner.cc:32:43 #1 0x55a5d6e59f5b in base::TaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) ./../../base/task_runner.cc:44:10 #2 0x55a5e8fafe4a in pnacl::PnaclHost::CreateTemporaryFile(base::RepeatingCallback<void (base::File)>) ./../../components/nacl/browser/pnacl_host.cc:207:27 #3 0x55a5e8fb1657 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 0x55a5e8fb0b9d 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 0x55a5c9baa2c0 in pnacl::PnaclHostTest_CacheControlNoStore_Test::TestBody() ./../../components/nacl/browser/pnacl_host_unittest.cc:380:3 #6 0x55a5cb4cf480 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #7 0x55a5cb4cf480 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2499:0 #8 0x55a5cb4d1519 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2675:11 #9 0x55a5cb4d29f6 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2805:28 #10 0x55a5cb4faeb6 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5243:44 #11 0x55a5cb4f9fc4 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x55a5cb4f9fc4 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4845:0 #13 0x55a5da4df679 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 #14 0x55a5da4df679 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #15 0x55a5dfadc708 in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:82:23 #16 0x55a5da4eab4c in Run ./../../base/callback.h:97:12 #17 0x55a5da4eab4c 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 0x55a5da4ea610 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #19 0x55a5c9399003 in main ./../../components/test/run_all_unittests.cc:8:10 #20 0x7f88a87b0f44 in __libc_start_main ??:0:0 0x61b000003f90 is located 16 bytes inside of 1624-byte region [0x61b000003f80,0x61b0000045d8) freed by thread T0 here: #0 0x55a5c351dd1d in operator delete(void*) _asan_rtl_:3 #1 0x55a5d6e0facd 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 0x55a5da4ce45d in base::test::ScopedTaskEnvironment::~ScopedTaskEnvironment() ./../../base/test/scoped_task_environment.cc:432:3 #3 0x55a5c9baf347 in ~PnaclHostTest ./../../components/nacl/browser/pnacl_host_unittest.cc:36:7 #4 0x55a5c9baf347 in pnacl::PnaclHostTest_TranslationErrors_Test::~PnaclHostTest_TranslationErrors_Test() ./../../components/nacl/browser/pnacl_host_unittest.cc:188:0 #5 0x55a5cb4d1623 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #6 0x55a5cb4d1623 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2681:0 #7 0x55a5cb4d29f6 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2805:28 #8 0x55a5cb4faeb6 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5243:44 #9 0x55a5cb4f9fc4 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #10 0x55a5cb4f9fc4 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4845:0 #11 0x55a5da4df679 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 #12 0x55a5da4df679 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #13 0x55a5dfadc708 in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:82:23 #14 0x55a5da4eab4c in Run ./../../base/callback.h:97:12 #15 0x55a5da4eab4c 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 0x55a5da4ea610 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #17 0x55a5c9399003 in main ./../../components/test/run_all_unittests.cc:8:10 #18 0x7f88a87b0f44 in __libc_start_main ??:0:0 previously allocated by thread T0 here: #0 0x55a5c351d4bd in operator new(unsigned long) _asan_rtl_:3 #1 0x55a5da4cd01f 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 0x55a5da4cd01f 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 0x55a5c60042b2 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 0x55a5c9bb02aa in PnaclHostTest ./../../components/nacl/browser/pnacl_host_unittest.cc:42:9 #5 0x55a5c9bb02aa in PnaclHostTest_TranslationErrors_Test ./../../components/nacl/browser/pnacl_host_unittest.cc:188:0 #6 0x55a5c9bb02aa in testing::internal::TestFactoryImpl<pnacl::PnaclHostTest_TranslationErrors_Test>::CreateTest() ./../../third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:460:0 #7 0x55a5cb4d12b0 in HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #8 0x55a5cb4d12b0 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2665:0 #9 0x55a5cb4d29f6 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2805:28 #10 0x55a5cb4faeb6 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5243:44 #11 0x55a5cb4f9fc4 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x55a5cb4f9fc4 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4845:0 #13 0x55a5da4df679 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 #14 0x55a5da4df679 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #15 0x55a5dfadc708 in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:82:23 #16 0x55a5da4eab4c in Run ./../../base/callback.h:97:12 #17 0x55a5da4eab4c 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 0x55a5da4ea610 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #19 0x55a5c9399003 in main ./../../components/test/run_all_unittests.cc:8:10 #20 0x7f88a87b0f44 in __libc_start_main ??:0:0 SUMMARY: AddressSanitizer: heap-use-after-free (/b/s/w/ir/out/Release/components_unittests+0x24b866a8) Shadow bytes around the buggy address: 0x0c367fff87a0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c367fff87b0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c367fff87c0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c367fff87d0: fd fd fd fd fd fa fa fa fa fa fa fa fa fa fa fa 0x0c367fff87e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa =>0x0c367fff87f0: fd fd[fd]fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c367fff8800: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c367fff8810: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c367fff8820: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c367fff8830: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c367fff8840: 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 ==11809==ABORTING [ RUN ] PnaclHostTest.CacheControlNoStore [ OK ] PnaclHostTest.CacheControlNoStore (31 ms) ================================================================================