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

Test 'PnaclHostTest.OverlappedMissesBeforeTempReturn' completed with the following status(es): 'CRASH','SUCCESS' Test 'PnaclHostTest.OverlappedMissesBeforeTempReturn' had the following logs when run: ================================================================================ [ RUN ] PnaclHostTest.OverlappedMissesBeforeTempReturn ================================================================= ==17002==ERROR: AddressSanitizer: heap-use-after-free on address 0x61600002f190 at pc 0x55d82de08515 bp 0x7ffe4cc110b0 sp 0x7ffe4cc110a8 READ of size 8 at 0x61600002f190 thread T0 #0 0x55d82de08514 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 0x55d82de1484d in base::TaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) ./../../base/task_runner.cc:78:10 #2 0x55d83fe82227 in pnacl::PnaclHost::CreateTemporaryFile(base::RepeatingCallback<void (base::File)>) ./../../components/nacl/browser/pnacl_host.cc:208:27 #3 0x55d83fe83aa4 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 0x55d83fe82fbd 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 0x55d8218bfc02 in pnacl::PnaclHostTest_OverlappedMissesBeforeTempReturn_Test::TestBody() ./../../components/nacl/browser/pnacl_host_unittest.cc:246:3 #6 0x55d8230dc490 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #7 0x55d8230dc490 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2522:0 #8 0x55d8230de5b9 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2698:11 #9 0x55d8230dfad6 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2828:28 #10 0x55d823109726 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5285:44 #11 0x55d8231081e1 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x55d8231081e1 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4873:0 #13 0x55d831803fe6 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 #14 0x55d831803fe6 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #15 0x55d8364961e2 in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:81:23 #16 0x55d831811c8c in Run ./../../base/callback.h:97:12 #17 0x55d831811c8c 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 0x55d83181172d in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:508:10 #19 0x55d8210ea180 in main ./../../components/test/run_all_unittests.cc:8:10 #20 0x7f720710b82f in __libc_start_main ??:0:0 0x61600002f190 is located 16 bytes inside of 584-byte region [0x61600002f180,0x61600002f3c8) freed by thread T0 here: #0 0x55d81afea8bd in operator delete(void*) _asan_rtl_:3 #1 0x55d82ddccc9d 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 0x55d8317f2892 in base::test::ScopedTaskEnvironment::DestroyThreadPool() ./../../base/test/scoped_task_environment.cc:454:3 #3 0x55d8317f205b in base::test::ScopedTaskEnvironment::~ScopedTaskEnvironment() ./../../base/test/scoped_task_environment.cc:431:3 #4 0x55d836482d7f in content::TestBrowserThreadBundle::~TestBrowserThreadBundle() ./../../content/public/test/test_browser_thread_bundle.cc:64:1 #5 0x55d8218cdbf7 in ~PnaclHostTest ./../../components/nacl/browser/pnacl_host_unittest.cc:36:7 #6 0x55d8218cdbf7 in pnacl::PnaclHostTest_BasicMiss_Test::~PnaclHostTest_BasicMiss_Test() ./../../components/nacl/browser/pnacl_host_unittest.cc:139:0 #7 0x55d8230de6c3 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #8 0x55d8230de6c3 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2704:0 #9 0x55d8230dfad6 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2828:28 #10 0x55d823109726 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5285:44 #11 0x55d8231081e1 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x55d8231081e1 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4873:0 #13 0x55d831803fe6 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 #14 0x55d831803fe6 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #15 0x55d8364961e2 in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:81:23 #16 0x55d831811c8c in Run ./../../base/callback.h:97:12 #17 0x55d831811c8c 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 0x55d83181172d in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:508:10 #19 0x55d8210ea180 in main ./../../components/test/run_all_unittests.cc:8:10 #20 0x7f720710b82f in __libc_start_main ??:0:0 previously allocated by thread T0 here: #0 0x55d81afea05d in operator new(unsigned long) _asan_rtl_:3 #1 0x55d8317f1756 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 0x55d8317f1756 in base::test::ScopedTaskEnvironment::InitializeThreadPool() ./../../base/test/scoped_task_environment.cc:408:0 #3 0x55d8317f0d48 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 0x55d81db271cf 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 0x55d8218cfafa in PnaclHostTest ./../../components/nacl/browser/pnacl_host_unittest.cc:42:9 #6 0x55d8218cfafa in PnaclHostTest_BasicMiss_Test ./../../components/nacl/browser/pnacl_host_unittest.cc:139:0 #7 0x55d8218cfafa in testing::internal::TestFactoryImpl<pnacl::PnaclHostTest_BasicMiss_Test>::CreateTest() ./../../third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:460:0 #8 0x55d8230de34d in HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #9 0x55d8230de34d in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:0 #10 0x55d8230dfad6 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2828:28 #11 0x55d823109726 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5285:44 #12 0x55d8231081e1 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #13 0x55d8231081e1 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4873:0 #14 0x55d831803fe6 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 #15 0x55d831803fe6 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #16 0x55d8364961e2 in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:81:23 #17 0x55d831811c8c in Run ./../../base/callback.h:97:12 #18 0x55d831811c8c 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 0x55d83181172d in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:508:10 #20 0x55d8210ea180 in main ./../../components/test/run_all_unittests.cc:8:10 #21 0x7f720710b82f in __libc_start_main ??:0:0 SUMMARY: AddressSanitizer: heap-use-after-free (/b/s/w/ir/out/Release/components_unittests+0x23298514) Shadow bytes around the buggy address: 0x0c2c7fffdde0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2c7fffddf0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2c7fffde00: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2c7fffde10: fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa fa 0x0c2c7fffde20: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa =>0x0c2c7fffde30: fd fd[fd]fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2c7fffde40: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2c7fffde50: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2c7fffde60: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2c7fffde70: fd fd fd fd fd fd fd fd fd fa fa fa fa fa fa fa 0x0c2c7fffde80: 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 ==17002==ABORTING [ RUN ] PnaclHostTest.OverlappedMissesBeforeTempReturn [ OK ] PnaclHostTest.OverlappedMissesBeforeTempReturn (16 ms) ================================================================================