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 ================================================================= ==4761==ERROR: AddressSanitizer: heap-use-after-free on address 0x61600002f790 at pc 0x556d16714559 bp 0x7ffcab137f30 sp 0x7ffcab137f28 READ of size 8 at 0x61600002f790 thread T0 #0 0x556d16714558 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 0x556d167202fb in base::TaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) ./../../base/task_runner.cc:78:10 #2 0x556d289b595e in pnacl::PnaclHost::CreateTemporaryFile(base::RepeatingCallback<void (base::File)>) ./../../components/nacl/browser/pnacl_host.cc:208:27 #3 0x556d289b7187 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 0x556d289b66bd 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 0x556d0949a110 in pnacl::PnaclHostTest_CacheControlNoStore_Test::TestBody() ./../../components/nacl/browser/pnacl_host_unittest.cc:380:3 #6 0x556d0addaf40 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #7 0x556d0addaf40 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2522:0 #8 0x556d0addcfd9 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2698:11 #9 0x556d0adde4b6 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2828:28 #10 0x556d0ae07ac6 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5285:44 #11 0x556d0ae065a4 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x556d0ae065a4 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4873:0 #13 0x556d19fbe019 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 #14 0x556d19fbe019 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #15 0x556d1f2eb1e5 in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:81:23 #16 0x556d19fcb65c in Run ./../../base/callback.h:97:12 #17 0x556d19fcb65c 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 0x556d19fcb120 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:508:10 #19 0x556d08cc8e43 in main ./../../components/test/run_all_unittests.cc:8:10 #20 0x7ff932eb8f44 in __libc_start_main ??:0:0 0x61600002f790 is located 16 bytes inside of 584-byte region [0x61600002f780,0x61600002f9c8) freed by thread T0 here: #0 0x556d02e578bd in operator delete(void*) _asan_rtl_:3 #1 0x556d166da30d 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 0x556d19fad185 in base::test::ScopedTaskEnvironment::DestroyThreadPool() ./../../base/test/scoped_task_environment.cc:454:3 #3 0x556d19fac95b in base::test::ScopedTaskEnvironment::~ScopedTaskEnvironment() ./../../base/test/scoped_task_environment.cc:431:3 #4 0x556d1f2d8422 in content::TestBrowserThreadBundle::~TestBrowserThreadBundle() ./../../content/public/test/test_browser_thread_bundle.cc:64:1 #5 0x556d0949f737 in ~PnaclHostTest ./../../components/nacl/browser/pnacl_host_unittest.cc:36:7 #6 0x556d0949f737 in pnacl::PnaclHostTest_TranslationErrors_Test::~PnaclHostTest_TranslationErrors_Test() ./../../components/nacl/browser/pnacl_host_unittest.cc:188:0 #7 0x556d0addd0e3 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #8 0x556d0addd0e3 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2704:0 #9 0x556d0adde4b6 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2828:28 #10 0x556d0ae07ac6 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5285:44 #11 0x556d0ae065a4 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x556d0ae065a4 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4873:0 #13 0x556d19fbe019 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 #14 0x556d19fbe019 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #15 0x556d1f2eb1e5 in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:81:23 #16 0x556d19fcb65c in Run ./../../base/callback.h:97:12 #17 0x556d19fcb65c 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 0x556d19fcb120 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:508:10 #19 0x556d08cc8e43 in main ./../../components/test/run_all_unittests.cc:8:10 #20 0x7ff932eb8f44 in __libc_start_main ??:0:0 previously allocated by thread T0 here: #0 0x556d02e5705d in operator new(unsigned long) _asan_rtl_:3 #1 0x556d19fac099 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 0x556d19fac099 in base::test::ScopedTaskEnvironment::InitializeThreadPool() ./../../base/test/scoped_task_environment.cc:408:0 #3 0x556d19fab6d8 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 0x556d05933b92 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 0x556d094a069a in PnaclHostTest ./../../components/nacl/browser/pnacl_host_unittest.cc:42:9 #6 0x556d094a069a in PnaclHostTest_TranslationErrors_Test ./../../components/nacl/browser/pnacl_host_unittest.cc:188:0 #7 0x556d094a069a in testing::internal::TestFactoryImpl<pnacl::PnaclHostTest_TranslationErrors_Test>::CreateTest() ./../../third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:460:0 #8 0x556d0addcd70 in HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #9 0x556d0addcd70 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:0 #10 0x556d0adde4b6 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2828:28 #11 0x556d0ae07ac6 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5285:44 #12 0x556d0ae065a4 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #13 0x556d0ae065a4 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4873:0 #14 0x556d19fbe019 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 #15 0x556d19fbe019 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #16 0x556d1f2eb1e5 in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:81:23 #17 0x556d19fcb65c in Run ./../../base/callback.h:97:12 #18 0x556d19fcb65c 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 0x556d19fcb120 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:508:10 #20 0x556d08cc8e43 in main ./../../components/test/run_all_unittests.cc:8:10 #21 0x7ff932eb8f44 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: 0x0c2c7fffdea0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2c7fffdeb0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2c7fffdec0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2c7fffded0: fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa fa 0x0c2c7fffdee0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa =>0x0c2c7fffdef0: fd fd[fd]fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2c7fffdf00: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2c7fffdf10: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2c7fffdf20: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2c7fffdf30: fd fd fd fd fd fd fd fd fd fa fa fa fa fa fa fa 0x0c2c7fffdf40: 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 ==4761==ABORTING [ RUN ] PnaclHostTest.CacheControlNoStore [ OK ] PnaclHostTest.CacheControlNoStore (23 ms) ================================================================================