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

Test 'PnaclHostTest.IncognitoOverlappedMiss' completed with the following status(es): 'CRASH','SUCCESS' Test 'PnaclHostTest.IncognitoOverlappedMiss' had the following logs when run: ================================================================================ [ RUN ] PnaclHostTest.IncognitoOverlappedMiss ================================================================= ==21580==ERROR: AddressSanitizer: heap-use-after-free on address 0x61c00000c890 at pc 0x56451fee2cf1 bp 0x7ffeaf0289b0 sp 0x7ffeaf0289a8 READ of size 8 at 0x61c00000c890 thread T0 #0 0x56451fee2cf0 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 0x56451fee93ad in base::TaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) ./../../base/task_runner.cc:44:10 #2 0x564531de1557 in pnacl::PnaclHost::CreateTemporaryFile(base::RepeatingCallback<void (base::File)>) ./../../components/nacl/browser/pnacl_host.cc:208:27 #3 0x564531de2dd4 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 0x564531de22ed 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 0x564513a76c63 in pnacl::PnaclHostTest_IncognitoOverlappedMiss_Test::TestBody() ./../../components/nacl/browser/pnacl_host_unittest.cc:335:3 #6 0x564515252190 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #7 0x564515252190 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #8 0x5645152542b9 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #9 0x5645152557d6 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #10 0x56451527f3f6 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #11 0x56451527deb1 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x56451527deb1 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #13 0x564523788156 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #14 0x564523788156 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #15 0x56452843931e in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:82:23 #16 0x564523795dcc in Run ./../../base/callback.h:97:12 #17 0x564523795dcc 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 0x56452379586d in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #19 0x564513283c10 in main ./../../components/test/run_all_unittests.cc:8:10 #20 0x7f6ef6270f44 in __libc_start_main ??:0:0 0x61c00000c890 is located 16 bytes inside of 1704-byte region [0x61c00000c880,0x61c00000cf28) freed by thread T0 here: #0 0x56450d11ff6d in operator delete(void*) _asan_rtl_:3 #1 0x56451fea0b6d 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 0x56452377664a in base::test::ScopedTaskEnvironment::~ScopedTaskEnvironment() ./../../base/test/scoped_task_environment.cc:432:3 #3 0x564513a7f137 in ~PnaclHostTest ./../../components/nacl/browser/pnacl_host_unittest.cc:36:7 #4 0x564513a7f137 in pnacl::PnaclHostTest_Incognito_Test::~PnaclHostTest_Incognito_Test() ./../../components/nacl/browser/pnacl_host_unittest.cc:314:0 #5 0x5645152543c3 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #6 0x5645152543c3 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2694:0 #7 0x5645152557d6 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #8 0x56451527f3f6 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #9 0x56451527deb1 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #10 0x56451527deb1 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #11 0x564523788156 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #12 0x564523788156 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #13 0x56452843931e in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:82:23 #14 0x564523795dcc in Run ./../../base/callback.h:97:12 #15 0x564523795dcc 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 0x56452379586d in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #17 0x564513283c10 in main ./../../components/test/run_all_unittests.cc:8:10 #18 0x7f6ef6270f44 in __libc_start_main ??:0:0 previously allocated by thread T0 here: #0 0x56450d11f70d in operator new(unsigned long) _asan_rtl_:3 #1 0x564523775124 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 0x564523775124 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 0x56450fc6edbf 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 0x564513a80aca in PnaclHostTest ./../../components/nacl/browser/pnacl_host_unittest.cc:42:9 #5 0x564513a80aca in PnaclHostTest_Incognito_Test ./../../components/nacl/browser/pnacl_host_unittest.cc:314:0 #6 0x564513a80aca in testing::internal::TestFactoryImpl<pnacl::PnaclHostTest_Incognito_Test>::CreateTest() ./../../third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:460:0 #7 0x56451525404d in HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #8 0x56451525404d in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2678:0 #9 0x5645152557d6 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #10 0x56451527f3f6 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #11 0x56451527deb1 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x56451527deb1 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #13 0x564523788156 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #14 0x564523788156 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #15 0x56452843931e in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:82:23 #16 0x564523795dcc in Run ./../../base/callback.h:97:12 #17 0x564523795dcc 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 0x56452379586d in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #19 0x564513283c10 in main ./../../components/test/run_all_unittests.cc:8:10 #20 0x7f6ef6270f44 in __libc_start_main ??:0:0 SUMMARY: AddressSanitizer: heap-use-after-free (/b/s/w/ir/out/Release/components_unittests+0x22e1fcf0) 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 fd fd fd fd fd fd fd fd fd fd 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 ==21580==ABORTING [ RUN ] PnaclHostTest.IncognitoOverlappedMiss [ OK ] PnaclHostTest.IncognitoOverlappedMiss (19 ms) ================================================================================