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

Test 'PnaclHostTest.OverlappedMissesAfterTempReturn' completed with the following status(es): 'CRASH','SUCCESS' Test 'PnaclHostTest.OverlappedMissesAfterTempReturn' had the following logs when run: ================================================================================ [ RUN ] PnaclHostTest.OverlappedMissesAfterTempReturn ================================================================= ==5256==ERROR: AddressSanitizer: heap-use-after-free on address 0x123959da4010 at pc 0x7ff7aac4a144 bp 0x00c8d28fd800 sp 0x00c8d28fd848 READ of size 8 at 0x123959da4010 thread T0 ==5256==*** WARNING: Failed to initialize DbgHelp! *** ==5256==*** Most likely this means that the app is already *** ==5256==*** using DbgHelp, possibly with incompatible flags. *** ==5256==*** Due to technical reasons, symbolization might crash *** ==5256==*** or produce wrong results. *** #0 0x7ff7aac4a143 in base::internal::SchedulerSequencedTaskRunner::PostDelayedTask C:\b\s\w\ir\cache\builder\src\base\task\thread_pool\scheduler_sequenced_task_runner.cc:32 #1 0x7ff7a44ea9b9 in base::TaskRunner::PostTask C:\b\s\w\ir\cache\builder\src\base\task_runner.cc:44 #2 0x7ff7a7c63388 in pnacl::PnaclHost::CreateTemporaryFile C:\b\s\w\ir\cache\builder\src\components\nacl\browser\pnacl_host.cc:208 #3 0x7ff7a7c64c9b in pnacl::PnaclHost::SendCacheQueryAndTempFileRequest C:\b\s\w\ir\cache\builder\src\components\nacl\browser\pnacl_host.cc:276 #4 0x7ff7a7c64346 in pnacl::PnaclHost::GetNexeFd C:\b\s\w\ir\cache\builder\src\components\nacl\browser\pnacl_host.cc:263 #5 0x7ff79c3fdeed in pnacl::PnaclHostTest_OverlappedMissesAfterTempReturn_Test::TestBody C:\b\s\w\ir\cache\builder\src\components\nacl\browser\pnacl_host_unittest.cc:226 #6 0x7ff79da0ffdb in testing::Test::Run C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:2522 #7 0x7ff79da11a34 in testing::TestInfo::Run C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:2698 #8 0x7ff79da12b82 in testing::TestSuite::Run C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:2828 #9 0x7ff79da2cc02 in testing::internal::UnitTestImpl::RunAllTests C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:5285 #10 0x7ff79da2bff1 in testing::UnitTest::Run C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:4873 #11 0x7ff7a5326c79 in base::TestSuite::Run C:\b\s\w\ir\cache\builder\src\base\test\test_suite.cc:316 #12 0x7ff7a6ced7dd in content::UnitTestTestSuite::Run C:\b\s\w\ir\cache\builder\src\content\public\test\unittest_test_suite.cc:82 #13 0x7ff7a532da9f in base::`anonymous namespace'::LaunchUnitTestsInternal C:\b\s\w\ir\cache\builder\src\base\test\launcher\unit_test_launcher.cc:225 #14 0x7ff7a532d622 in base::LaunchUnitTests C:\b\s\w\ir\cache\builder\src\base\test\launcher\unit_test_launcher.cc:575 #15 0x7ff79bcc2491 in main C:\b\s\w\ir\cache\builder\src\components\test\run_all_unittests.cc:8 #16 0x7ff7af53cf0f in __scrt_common_main_seh d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288 #17 0x7ffe634e2773 in BaseThreadInitThunk+0x13 (C:\Windows\System32\KERNEL32.DLL+0x180012773) #18 0x7ffe658f0d50 in RtlUserThreadStart+0x20 (C:\Windows\SYSTEM32\ntdll.dll+0x180070d50) 0x123959da4010 is located 16 bytes inside of 376-byte region [0x123959da4000,0x123959da4178) freed by thread T0 here: #0 0x7ff7a431ce14 in free C:\b\s\w\ir\k\src\third_party\llvm\projects\compiler-rt\lib\asan\asan_malloc_win.cc:52 #1 0x7ff7a80778fb in base::internal::ThreadPoolImpl::~ThreadPoolImpl C:\b\s\w\ir\cache\builder\src\base\task\thread_pool\thread_pool_impl.cc:98 #2 0x7ff7a44ea83f in base::ThreadPool::SetInstance C:\b\s\w\ir\cache\builder\src\base\task\thread_pool\thread_pool.cc:79 #3 0x7ff7a5319e49 in base::test::ScopedTaskEnvironment::DestroyThreadPool C:\b\s\w\ir\cache\builder\src\base\test\scoped_task_environment.cc:455 #4 0x7ff7a531983a in base::test::ScopedTaskEnvironment::~ScopedTaskEnvironment C:\b\s\w\ir\cache\builder\src\base\test\scoped_task_environment.cc:432 #5 0x7ff79c40da22 in pnacl::PnaclHostTest_OverlappedHitsBeforeTempReturn_Test::~PnaclHostTest_OverlappedHitsBeforeTempReturn_Test C:\b\s\w\ir\cache\builder\src\components\nacl\browser\pnacl_host_unittest.cc:139 #6 0x7ff79da11b6e in testing::TestInfo::Run C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:2704 #7 0x7ff79da12b82 in testing::TestSuite::Run C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:2828 #8 0x7ff79da2cc02 in testing::internal::UnitTestImpl::RunAllTests C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:5285 #9 0x7ff79da2bff1 in testing::UnitTest::Run C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:4873 #10 0x7ff7a5326c79 in base::TestSuite::Run C:\b\s\w\ir\cache\builder\src\base\test\test_suite.cc:316 #11 0x7ff7a6ced7dd in content::UnitTestTestSuite::Run C:\b\s\w\ir\cache\builder\src\content\public\test\unittest_test_suite.cc:82 #12 0x7ff7a532da9f in base::`anonymous namespace'::LaunchUnitTestsInternal C:\b\s\w\ir\cache\builder\src\base\test\launcher\unit_test_launcher.cc:225 #13 0x7ff7a532d622 in base::LaunchUnitTests C:\b\s\w\ir\cache\builder\src\base\test\launcher\unit_test_launcher.cc:575 #14 0x7ff79bcc2491 in main C:\b\s\w\ir\cache\builder\src\components\test\run_all_unittests.cc:8 #15 0x7ff7af53cf0f in __scrt_common_main_seh d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288 #16 0x7ffe634e2773 in BaseThreadInitThunk+0x13 (C:\Windows\System32\KERNEL32.DLL+0x180012773) #17 0x7ffe658f0d50 in RtlUserThreadStart+0x20 (C:\Windows\SYSTEM32\ntdll.dll+0x180070d50) previously allocated by thread T0 here: #0 0x7ff7a431cf04 in malloc C:\b\s\w\ir\k\src\third_party\llvm\projects\compiler-rt\lib\asan\asan_malloc_win.cc:68 #1 0x7ff7af519d7a in operator new d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\heap\new_scalar.cpp:35 #2 0x7ff7a531904e in base::test::ScopedTaskEnvironment::InitializeThreadPool C:\b\s\w\ir\cache\builder\src\base\test\scoped_task_environment.cc:393 #3 0x7ff7a5318719 in base::test::ScopedTaskEnvironment::ScopedTaskEnvironment C:\b\s\w\ir\cache\builder\src\base\test\scoped_task_environment.cc:374 #4 0x7ff798cbd8fb in base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner,base::test::ScopedTaskEnvironment::MainThreadType,base::trait_helpers::EmptyTrait,void> C:\b\s\w\ir\cache\builder\src\base\test\scoped_task_environment.h:161 #5 0x7ff798cbd839 in content::TestBrowserThreadBundle::TestBrowserThreadBundle<base::test::ScopedTaskEnvironment::MainThreadType,void> C:\b\s\w\ir\cache\builder\src\content\public\test\test_browser_thread_bundle.h:131 #6 0x7ff79c40d9c7 in pnacl::PnaclHostTest::PnaclHostTest C:\b\s\w\ir\cache\builder\src\components\nacl\browser\pnacl_host_unittest.cc:42 #7 0x7ff79c40f219 in testing::internal::TestFactoryImpl<pnacl::PnaclHostTest_TranslationErrors_Test>::CreateTest C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\include\gtest\internal\gtest-internal.h:460 #8 0x7ff79da119ff in testing::TestInfo::Run C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:2688 #9 0x7ff79da12b82 in testing::TestSuite::Run C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:2828 #10 0x7ff79da2cc02 in testing::internal::UnitTestImpl::RunAllTests C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:5285 #11 0x7ff79da2bff1 in testing::UnitTest::Run C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:4873 #12 0x7ff7a5326c79 in base::TestSuite::Run C:\b\s\w\ir\cache\builder\src\base\test\test_suite.cc:316 #13 0x7ff7a6ced7dd in content::UnitTestTestSuite::Run C:\b\s\w\ir\cache\builder\src\content\public\test\unittest_test_suite.cc:82 #14 0x7ff7a532da9f in base::`anonymous namespace'::LaunchUnitTestsInternal C:\b\s\w\ir\cache\builder\src\base\test\launcher\unit_test_launcher.cc:225 #15 0x7ff7a532d622 in base::LaunchUnitTests C:\b\s\w\ir\cache\builder\src\base\test\launcher\unit_test_launcher.cc:575 #16 0x7ff79bcc2491 in main C:\b\s\w\ir\cache\builder\src\components\test\run_all_unittests.cc:8 #17 0x7ff7af53cf0f in __scrt_common_main_seh d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288 #18 0x7ffe634e2773 in BaseThreadInitThunk+0x13 (C:\Windows\System32\KERNEL32.DLL+0x180012773) #19 0x7ffe658f0d50 in RtlUserThreadStart+0x20 (C:\Windows\SYSTEM32\ntdll.dll+0x180070d50) SUMMARY: AddressSanitizer: heap-use-after-free C:\b\s\w\ir\cache\builder\src\base\task\thread_pool\scheduler_sequenced_task_runner.cc:32 in base::internal::SchedulerSequencedTaskRunner::PostDelayedTask Shadow bytes around the buggy address: 0x045a851347b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x045a851347c0: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd 0x045a851347d0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x045a851347e0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x045a851347f0: fd fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa =>0x045a85134800: fd fd[fd]fd fd fd fd fd fd fd fd fd fd fd fd fd 0x045a85134810: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x045a85134820: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fa 0x045a85134830: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd 0x045a85134840: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x045a85134850: 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 ==5256==ABORTING [ RUN ] PnaclHostTest.OverlappedMissesAfterTempReturn [ OK ] PnaclHostTest.OverlappedMissesAfterTempReturn (15 ms) ================================================================================