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 ================================================================= ==30598==ERROR: AddressSanitizer: heap-use-after-free on address 0x61c00000d090 at pc 0x55776d792260 bp 0x7fffecc2c470 sp 0x7fffecc2c468 READ of size 8 at 0x61c00000d090 thread T0 #0 0x55776d79225f 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 0x55776d79862b in base::TaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) ./../../base/task_runner.cc:44:10 #2 0x55777f87c01e in pnacl::PnaclHost::CreateTemporaryFile(base::RepeatingCallback<void (base::File)>) ./../../components/nacl/browser/pnacl_host.cc:208:27 #3 0x55777f87d847 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 0x55777f87cd7d 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 0x5577605ae765 in pnacl::PnaclHostTest_OverlappedMissesBeforeTempReturn_Test::TestBody() ./../../components/nacl/browser/pnacl_host_unittest.cc:246:3 #6 0x557761ecbcd0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #7 0x557761ecbcd0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #8 0x557761ecdd69 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #9 0x557761ecf246 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #10 0x557761ef8846 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #11 0x557761ef7324 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x557761ef7324 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #13 0x557770ecb979 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #14 0x557770ecb979 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #15 0x557776200cf8 in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:82:23 #16 0x557770ed8f8c in Run ./../../base/callback.h:97:12 #17 0x557770ed8f8c 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 0x557770ed8a50 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #19 0x55775fdcf9c3 in main ./../../components/test/run_all_unittests.cc:8:10 #20 0x7f343b45df44 in __libc_start_main ??:0:0 0x61c00000d090 is located 16 bytes inside of 1704-byte region [0x61c00000d080,0x61c00000d728) freed by thread T0 here: #0 0x557759ef5f6d in operator delete(void*) _asan_rtl_:3 #1 0x55776d751a6d 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 0x557770eba71d in base::test::ScopedTaskEnvironment::~ScopedTaskEnvironment() ./../../base/test/scoped_task_environment.cc:432:3 #3 0x5577605bc257 in ~PnaclHostTest ./../../components/nacl/browser/pnacl_host_unittest.cc:36:7 #4 0x5577605bc257 in pnacl::PnaclHostTest_BasicMiss_Test::~PnaclHostTest_BasicMiss_Test() ./../../components/nacl/browser/pnacl_host_unittest.cc:139:0 #5 0x557761ecde73 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #6 0x557761ecde73 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2694:0 #7 0x557761ecf246 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #8 0x557761ef8846 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #9 0x557761ef7324 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #10 0x557761ef7324 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #11 0x557770ecb979 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #12 0x557770ecb979 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #13 0x557776200cf8 in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:82:23 #14 0x557770ed8f8c in Run ./../../base/callback.h:97:12 #15 0x557770ed8f8c 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 0x557770ed8a50 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #17 0x55775fdcf9c3 in main ./../../components/test/run_all_unittests.cc:8:10 #18 0x7f343b45df44 in __libc_start_main ??:0:0 previously allocated by thread T0 here: #0 0x557759ef570d in operator new(unsigned long) _asan_rtl_:3 #1 0x557770eb9274 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 0x557770eb9274 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 0x55775c9ead42 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 0x5577605be0ea in PnaclHostTest ./../../components/nacl/browser/pnacl_host_unittest.cc:42:9 #5 0x5577605be0ea in PnaclHostTest_BasicMiss_Test ./../../components/nacl/browser/pnacl_host_unittest.cc:139:0 #6 0x5577605be0ea in testing::internal::TestFactoryImpl<pnacl::PnaclHostTest_BasicMiss_Test>::CreateTest() ./../../third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:460:0 #7 0x557761ecdb00 in HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #8 0x557761ecdb00 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2678:0 #9 0x557761ecf246 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #10 0x557761ef8846 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #11 0x557761ef7324 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x557761ef7324 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #13 0x557770ecb979 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #14 0x557770ecb979 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #15 0x557776200cf8 in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:82:23 #16 0x557770ed8f8c in Run ./../../base/callback.h:97:12 #17 0x557770ed8f8c 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 0x557770ed8a50 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #19 0x55775fdcf9c3 in main ./../../components/test/run_all_unittests.cc:8:10 #20 0x7f343b45df44 in __libc_start_main ??:0:0 SUMMARY: AddressSanitizer: heap-use-after-free (/b/s/w/ir/out/Release/components_unittests+0x2489425f) Shadow bytes around the buggy address: 0x0c387fff99c0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c387fff99d0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c387fff99e0: fd fd fd fd fd fd fd fd fd fd fd fd fa fa fa fa 0x0c387fff99f0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c387fff9a00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa =>0x0c387fff9a10: fd fd[fd]fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c387fff9a20: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c387fff9a30: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c387fff9a40: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c387fff9a50: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c387fff9a60: 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 ==30598==ABORTING [ RUN ] PnaclHostTest.OverlappedMissesBeforeTempReturn [ OK ] PnaclHostTest.OverlappedMissesBeforeTempReturn (38 ms) ================================================================================