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

Test 'PnaclHostTest.ClearTranslationCache' completed with the following status(es): 'CRASH','SUCCESS' Test 'PnaclHostTest.ClearTranslationCache' had the following logs when run: ================================================================================ [ RUN ] PnaclHostTest.ClearTranslationCache ================================================================= ==7576==ERROR: AddressSanitizer: heap-use-after-free on address 0x1229fda03c90 at pc 0x7ff6677ec5ae bp 0x002dcb36d800 sp 0x002dcb36d848 READ of size 8 at 0x1229fda03c90 thread T0 ==7576==*** WARNING: Failed to initialize DbgHelp! *** ==7576==*** Most likely this means that the app is already *** ==7576==*** using DbgHelp, possibly with incompatible flags. *** ==7576==*** Due to technical reasons, symbolization might crash *** ==7576==*** or produce wrong results. *** #0 0x7ff6677ec5ad in base::internal::SchedulerSequencedTaskRunner::PostDelayedTask C:\b\s\w\ir\cache\builder\src\base\task\task_scheduler\scheduler_sequenced_task_runner.cc:30 #1 0x7ff661381e89 in base::TaskRunner::PostTask C:\b\s\w\ir\cache\builder\src\base\task_runner.cc:44 #2 0x7ff6649ef0ae in pnacl::PnaclHost::CreateTemporaryFile C:\b\s\w\ir\cache\builder\src\components\nacl\browser\pnacl_host.cc:207 #3 0x7ff6649f0603 in pnacl::PnaclHost::SendCacheQueryAndTempFileRequest C:\b\s\w\ir\cache\builder\src\components\nacl\browser\pnacl_host.cc:275 #4 0x7ff6649efa15 in pnacl::PnaclHost::GetNexeFd C:\b\s\w\ir\cache\builder\src\components\nacl\browser\pnacl_host.cc:262 #5 0x7ff65941c784 in pnacl::PnaclHostTest_ClearTranslationCache_Test::TestBody C:\b\s\w\ir\cache\builder\src\components\nacl\browser\pnacl_host_unittest.cc:418 #6 0x7ff65ab3c62d in testing::Test::Run C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:2499 #7 0x7ff65ab3e344 in testing::TestInfo::Run C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:2675 #8 0x7ff65ab3f5e0 in testing::TestSuite::Run C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:2805 #9 0x7ff65ab5ca97 in testing::internal::UnitTestImpl::RunAllTests C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:5243 #10 0x7ff65ab5c06c in testing::UnitTest::Run C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:4845 #11 0x7ff6620bec57 in base::TestSuite::Run C:\b\s\w\ir\cache\builder\src\base\test\test_suite.cc:314 #12 0x7ff663a093dd in content::UnitTestTestSuite::Run C:\b\s\w\ir\cache\builder\src\content\public\test\unittest_test_suite.cc:82 #13 0x7ff6620c61a0 in base::`anonymous namespace'::LaunchUnitTestsInternal C:\b\s\w\ir\cache\builder\src\base\test\launcher\unit_test_launcher.cc:225 #14 0x7ff6620c5d13 in base::LaunchUnitTests C:\b\s\w\ir\cache\builder\src\base\test\launcher\unit_test_launcher.cc:575 #15 0x7ff658c4b32d in main C:\b\s\w\ir\cache\builder\src\components\test\run_all_unittests.cc:8 #16 0x7ff66c046923 in __scrt_common_main_seh d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288 #17 0x7ffaa9682773 in BaseThreadInitThunk+0x13 (C:\Windows\System32\KERNEL32.DLL+0x180012773) #18 0x7ffaabbe0d50 in RtlUserThreadStart+0x20 (C:\Windows\SYSTEM32\ntdll.dll+0x180070d50) 0x1229fda03c90 is located 16 bytes inside of 1288-byte region [0x1229fda03c80,0x1229fda04188) freed by thread T0 here: #0 0x7ff661200dd4 in free C:\b\rr\tmpswcnjy\w\src\third_party\llvm\projects\compiler-rt\lib\asan\asan_malloc_win.cc:52 #1 0x7ff664dd5d6b in base::internal::TaskSchedulerImpl::~TaskSchedulerImpl C:\b\s\w\ir\cache\builder\src\base\task\task_scheduler\task_scheduler_impl.cc:79 #2 0x7ff661381d0f in base::TaskScheduler::SetInstance C:\b\s\w\ir\cache\builder\src\base\task\task_scheduler\task_scheduler.cc:79 #3 0x7ff6620afc94 in base::test::ScopedTaskEnvironment::~ScopedTaskEnvironment C:\b\s\w\ir\cache\builder\src\base\test\scoped_task_environment.cc:432 #4 0x7ff6639fb066 in content::TestBrowserThreadBundle::~TestBrowserThreadBundle C:\b\s\w\ir\cache\builder\src\content\public\test\test_browser_thread_bundle.cc:69 #5 0x7ff65941eb72 in pnacl::PnaclHostTest_OverlappedMissesAfterTempReturn_Test::~PnaclHostTest_OverlappedMissesAfterTempReturn_Test C:\b\s\w\ir\cache\builder\src\components\nacl\browser\pnacl_host_unittest.cc:139 #6 0x7ff65ab3e47e in testing::TestInfo::Run C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:2681 #7 0x7ff65ab3f5e0 in testing::TestSuite::Run C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:2805 #8 0x7ff65ab5ca97 in testing::internal::UnitTestImpl::RunAllTests C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:5243 #9 0x7ff65ab5c06c in testing::UnitTest::Run C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:4845 #10 0x7ff6620bec57 in base::TestSuite::Run C:\b\s\w\ir\cache\builder\src\base\test\test_suite.cc:314 #11 0x7ff663a093dd in content::UnitTestTestSuite::Run C:\b\s\w\ir\cache\builder\src\content\public\test\unittest_test_suite.cc:82 #12 0x7ff6620c61a0 in base::`anonymous namespace'::LaunchUnitTestsInternal C:\b\s\w\ir\cache\builder\src\base\test\launcher\unit_test_launcher.cc:225 #13 0x7ff6620c5d13 in base::LaunchUnitTests C:\b\s\w\ir\cache\builder\src\base\test\launcher\unit_test_launcher.cc:575 #14 0x7ff658c4b32d in main C:\b\s\w\ir\cache\builder\src\components\test\run_all_unittests.cc:8 #15 0x7ff66c046923 in __scrt_common_main_seh d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288 #16 0x7ffaa9682773 in BaseThreadInitThunk+0x13 (C:\Windows\System32\KERNEL32.DLL+0x180012773) #17 0x7ffaabbe0d50 in RtlUserThreadStart+0x20 (C:\Windows\SYSTEM32\ntdll.dll+0x180070d50) previously allocated by thread T0 here: #0 0x7ff661200ec4 in malloc C:\b\rr\tmpswcnjy\w\src\third_party\llvm\projects\compiler-rt\lib\asan\asan_malloc_win.cc:68 #1 0x7ff66c0443ba in operator new d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\heap\new_scalar.cpp:35 #2 0x7ff6620ae815 in base::test::ScopedTaskEnvironment::ScopedTaskEnvironment C:\b\s\w\ir\cache\builder\src\base\test\scoped_task_environment.cc:374 #3 0x7ff655abca67 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:143 #4 0x7ff655abc9ad 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 #5 0x7ff65941eb17 in pnacl::PnaclHostTest::PnaclHostTest C:\b\s\w\ir\cache\builder\src\components\nacl\browser\pnacl_host_unittest.cc:42 #6 0x7ff659420c81 in testing::internal::TestFactoryImpl<pnacl::PnaclHostTest_NoStoreOverlappedMiss_Test>::CreateTest C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\include\gtest\internal\gtest-internal.h:461 #7 0x7ff65ab3e30f in testing::TestInfo::Run C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:2665 #8 0x7ff65ab3f5e0 in testing::TestSuite::Run C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:2805 #9 0x7ff65ab5ca97 in testing::internal::UnitTestImpl::RunAllTests C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:5243 #10 0x7ff65ab5c06c in testing::UnitTest::Run C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:4845 #11 0x7ff6620bec57 in base::TestSuite::Run C:\b\s\w\ir\cache\builder\src\base\test\test_suite.cc:314 #12 0x7ff663a093dd in content::UnitTestTestSuite::Run C:\b\s\w\ir\cache\builder\src\content\public\test\unittest_test_suite.cc:82 #13 0x7ff6620c61a0 in base::`anonymous namespace'::LaunchUnitTestsInternal C:\b\s\w\ir\cache\builder\src\base\test\launcher\unit_test_launcher.cc:225 #14 0x7ff6620c5d13 in base::LaunchUnitTests C:\b\s\w\ir\cache\builder\src\base\test\launcher\unit_test_launcher.cc:575 #15 0x7ff658c4b32d in main C:\b\s\w\ir\cache\builder\src\components\test\run_all_unittests.cc:8 #16 0x7ff66c046923 in __scrt_common_main_seh d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288 #17 0x7ffaa9682773 in BaseThreadInitThunk+0x13 (C:\Windows\System32\KERNEL32.DLL+0x180012773) #18 0x7ffaabbe0d50 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\task_scheduler\scheduler_sequenced_task_runner.cc:30 in base::internal::SchedulerSequencedTaskRunner::PostDelayedTask Shadow bytes around the buggy address: 0x043b3d540740: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x043b3d540750: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x043b3d540760: fd fd fd fd fd fd fd fd fd fa fa fa fa fa fa fa 0x043b3d540770: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x043b3d540780: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa =>0x043b3d540790: fd fd[fd]fd fd fd fd fd fd fd fd fd fd fd fd fd 0x043b3d5407a0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x043b3d5407b0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x043b3d5407c0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x043b3d5407d0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x043b3d5407e0: 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 ==7576==ABORTING [ RUN ] PnaclHostTest.ClearTranslationCache [ OK ] PnaclHostTest.ClearTranslationCache (12 ms) ================================================================================