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

Test 'BluetoothTestWinrt.DiscoverLowEnergyDevice/1' completed with the following status(es): 'CRASH','SUCCESS' Test 'BluetoothTestWinrt.DiscoverLowEnergyDevice/1' had the following logs when run: ================================================================================ [ RUN ] BluetoothTestWinrt.DiscoverLowEnergyDevice/1 ================================================================= ==5640==ERROR: AddressSanitizer: heap-use-after-free on address 0x11b508fd9cc8 at pc 0x7ff6896b546f bp 0x0030162ff950 sp 0x0030162ff998 READ of size 8 at 0x11b508fd9cc8 thread T40 ==5640==*** WARNING: Failed to initialize DbgHelp! *** ==5640==*** Most likely this means that the app is already *** ==5640==*** using DbgHelp, possibly with incompatible flags. *** ==5640==*** Due to technical reasons, symbolization might crash *** ==5640==*** or produce wrong results. *** #0 0x7ff6896b546e in std::__1::__tree<std::__1::__value_type<std::__1::basic_string<char>,std::__1::basic_string<wchar_t> >,std::__1::__map_value_compare<std::__1::basic_string<char>,std::__1::__value_type<std::__1::basic_string<char>,std::__1::basic_string<wchar_t> >,std::__1::less<void>,1>,std::__1::allocator<std::__1::__value_type<std::__1::basic_string<char>,std::__1::basic_string<wchar_t> > > >::find<std::__1::basic_string<char> > C:\b\s\w\ir\cache\builder\src\buildtools\third_party\libc++\trunk\include\__tree:2605 #1 0x7ff6896b93e9 in base::FeatureList::IsFeatureEnabled C:\b\s\w\ir\cache\builder\src\base\feature_list.cc:307 #2 0x7ff689741707 in base::PlatformThread::SetCurrentThreadPriorityImpl C:\b\s\w\ir\cache\builder\src\base\threading\platform_thread_win.cc:308 #3 0x7ff6897418dc in base::`anonymous namespace'::ThreadFunc C:\b\s\w\ir\cache\builder\src\base\threading\platform_thread_win.cc:74 #4 0x7ff689684df8 in __asan::AsanThread::ThreadStart C:\b\rr\tmpswcnjy\w\src\third_party\llvm\projects\compiler-rt\lib\asan\asan_thread.cc:262 #5 0x7ff84a8c2773 in BaseThreadInitThunk+0x13 (C:\Windows\System32\KERNEL32.DLL+0x180012773) #6 0x7ff84aae0d50 in RtlUserThreadStart+0x20 (C:\Windows\SYSTEM32\ntdll.dll+0x180070d50) 0x11b508fd9cc8 is located 8 bytes inside of 64-byte region [0x11b508fd9cc0,0x11b508fd9d00) freed by thread T0 here: #0 0x7ff68968d8e4 in free C:\b\rr\tmpswcnjy\w\src\third_party\llvm\projects\compiler-rt\lib\asan\asan_malloc_win.cc:52 #1 0x7ff68979c62c in base::test::ScopedFeatureList::~ScopedFeatureList C:\b\s\w\ir\cache\builder\src\base\test\scoped_feature_list.cc:103 #2 0x7ff688b90282 in device::BluetoothTestWinrt::~BluetoothTestWinrt C:\b\s\w\ir\cache\builder\src\device\bluetooth\test\bluetooth_test_win.cc:662 #3 0x7ff688940547 in device::BluetoothTestWinrtOnly_FailUnregisterAdvertisement_Test::~BluetoothTestWinrtOnly_FailUnregisterAdvertisement_Test C:\b\s\w\ir\cache\builder\src\device\bluetooth\bluetooth_adapter_unittest.cc:452 #4 0x7ff6892036ea in testing::TestInfo::Run C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:2681 #5 0x7ff6892048a2 in testing::TestSuite::Run C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:2805 #6 0x7ff689221d5b in testing::internal::UnitTestImpl::RunAllTests C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:5243 #7 0x7ff689221330 in testing::UnitTest::Run C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:4845 #8 0x7ff6897a6a27 in base::TestSuite::Run C:\b\s\w\ir\cache\builder\src\base\test\test_suite.cc:316 #9 0x7ff6897aa1a8 in base::`anonymous namespace'::LaunchUnitTestsInternal C:\b\s\w\ir\cache\builder\src\base\test\launcher\unit_test_launcher.cc:225 #10 0x7ff6897a9d1b in base::LaunchUnitTests C:\b\s\w\ir\cache\builder\src\base\test\launcher\unit_test_launcher.cc:575 #11 0x7ff688ea44bf in main C:\b\s\w\ir\cache\builder\src\device\test\run_all_unittests.cc:66 #12 0x7ff68ab9b4af in __scrt_common_main_seh d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288 #13 0x7ff84a8c2773 in BaseThreadInitThunk+0x13 (C:\Windows\System32\KERNEL32.DLL+0x180012773) #14 0x7ff84aae0d50 in RtlUserThreadStart+0x20 (C:\Windows\SYSTEM32\ntdll.dll+0x180070d50) previously allocated by thread T0 here: #0 0x7ff68968d9e4 in malloc C:\b\rr\tmpswcnjy\w\src\third_party\llvm\projects\compiler-rt\lib\asan\asan_malloc_win.cc:68 #1 0x7ff68ab9959e in operator new d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\heap\new_scalar.cpp:35 #2 0x7ff68979cb56 in base::test::ScopedFeatureList::InitFromCommandLine C:\b\s\w\ir\cache\builder\src\base\test\scoped_feature_list.cc:125 #3 0x7ff68979d627 in base::test::ScopedFeatureList::InitWithFeaturesAndFieldTrials C:\b\s\w\ir\cache\builder\src\base\test\scoped_feature_list.cc:199 #4 0x7ff68979ddea in base::test::ScopedFeatureList::InitAndEnableFeature C:\b\s\w\ir\cache\builder\src\base\test\scoped_feature_list.cc:137 #5 0x7ff688b900b6 in device::BluetoothTestWinrt::BluetoothTestWinrt C:\b\s\w\ir\cache\builder\src\device\bluetooth\test\bluetooth_test_win.cc:649 #6 0x7ff688940b02 in testing::internal::ParameterizedTestFactory<device::BluetoothTestWinrt_DiscoverLowEnergyDevice_Test>::CreateTest C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\include\gtest\internal\gtest-param-util.h:399 #7 0x7ff68920357b in testing::TestInfo::Run C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:2665 #8 0x7ff6892048a2 in testing::TestSuite::Run C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:2805 #9 0x7ff689221d5b in testing::internal::UnitTestImpl::RunAllTests C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:5243 #10 0x7ff689221330 in testing::UnitTest::Run C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:4845 #11 0x7ff6897a6a27 in base::TestSuite::Run C:\b\s\w\ir\cache\builder\src\base\test\test_suite.cc:316 #12 0x7ff6897aa1a8 in base::`anonymous namespace'::LaunchUnitTestsInternal C:\b\s\w\ir\cache\builder\src\base\test\launcher\unit_test_launcher.cc:225 #13 0x7ff6897a9d1b in base::LaunchUnitTests C:\b\s\w\ir\cache\builder\src\base\test\launcher\unit_test_launcher.cc:575 #14 0x7ff688ea44bf in main C:\b\s\w\ir\cache\builder\src\device\test\run_all_unittests.cc:66 #15 0x7ff68ab9b4af in __scrt_common_main_seh d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288 #16 0x7ff84a8c2773 in BaseThreadInitThunk+0x13 (C:\Windows\System32\KERNEL32.DLL+0x180012773) #17 0x7ff84aae0d50 in RtlUserThreadStart+0x20 (C:\Windows\SYSTEM32\ntdll.dll+0x180070d50) Thread T40 created by T0 here: #0 0x7ff689683bbc in __asan_wrap_CreateThread C:\b\rr\tmpswcnjy\w\src\third_party\llvm\projects\compiler-rt\lib\asan\asan_win.cc:145 #1 0x7ff689740f9b in base::`anonymous namespace'::CreateThreadInternal C:\b\s\w\ir\cache\builder\src\base\threading\platform_thread_win.cc:136 #2 0x7ff68a6f2dfa in base::internal::SchedulerWorker::Start C:\b\s\w\ir\cache\builder\src\base\task\task_scheduler\scheduler_worker.cc:79 #3 0x7ff68a3cafbd in base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl C:\b\s\w\ir\cache\builder\src\base\task\task_scheduler\scheduler_worker_pool_impl.cc:186 #4 0x7ff68a3c331e in base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor C:\b\s\w\ir\cache\builder\src\base\task\task_scheduler\scheduler_worker_pool_impl.cc:105 #5 0x7ff68a3c2feb in base::internal::SchedulerWorkerPoolImpl::Start C:\b\s\w\ir\cache\builder\src\base\task\task_scheduler\scheduler_worker_pool_impl.cc:435 #6 0x7ff689f594f3 in base::internal::TaskSchedulerImpl::Start C:\b\s\w\ir\cache\builder\src\base\task\task_scheduler\task_scheduler_impl.cc:148 #7 0x7ff6897a0a86 in base::test::ScopedTaskEnvironment::ScopedTaskEnvironment C:\b\s\w\ir\cache\builder\src\base\test\scoped_task_environment.cc:377 #8 0x7ff688b5f198 in base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<,void> C:\b\s\w\ir\cache\builder\src\base\test\scoped_task_environment.h:143 #9 0x7ff688b78c09 in device::BluetoothTestBase::BluetoothTestBase C:\b\s\w\ir\cache\builder\src\device\bluetooth\test\bluetooth_test.cc:81 #10 0x7ff688b88441 in device::BluetoothTestWin::BluetoothTestWin C:\b\s\w\ir\cache\builder\src\device\bluetooth\test\bluetooth_test_win.cc:232 #11 0x7ff688b8ffe9 in device::BluetoothTestWinrt::BluetoothTestWinrt C:\b\s\w\ir\cache\builder\src\device\bluetooth\test\bluetooth_test_win.cc:647 #12 0x7ff688940b02 in testing::internal::ParameterizedTestFactory<device::BluetoothTestWinrt_DiscoverLowEnergyDevice_Test>::CreateTest C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\include\gtest\internal\gtest-param-util.h:399 #13 0x7ff68920357b in testing::TestInfo::Run C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:2665 #14 0x7ff6892048a2 in testing::TestSuite::Run C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:2805 #15 0x7ff689221d5b in testing::internal::UnitTestImpl::RunAllTests C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:5243 #16 0x7ff689221330 in testing::UnitTest::Run C:\b\s\w\ir\cache\builder\src\third_party\googletest\src\googletest\src\gtest.cc:4845 #17 0x7ff6897a6a27 in base::TestSuite::Run C:\b\s\w\ir\cache\builder\src\base\test\test_suite.cc:316 #18 0x7ff6897aa1a8 in base::`anonymous namespace'::LaunchUnitTestsInternal C:\b\s\w\ir\cache\builder\src\base\test\launcher\unit_test_launcher.cc:225 #19 0x7ff6897a9d1b in base::LaunchUnitTests C:\b\s\w\ir\cache\builder\src\base\test\launcher\unit_test_launcher.cc:575 #20 0x7ff688ea44bf in main C:\b\s\w\ir\cache\builder\src\device\test\run_all_unittests.cc:66 #21 0x7ff68ab9b4af in __scrt_common_main_seh d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288 #22 0x7ff84a8c2773 in BaseThreadInitThunk+0x13 (C:\Windows\System32\KERNEL32.DLL+0x180012773) #23 0x7ff84aae0d50 in RtlUserThreadStart+0x20 (C:\Windows\SYSTEM32\ntdll.dll+0x180070d50) SUMMARY: AddressSanitizer: heap-use-after-free C:\b\s\w\ir\cache\builder\src\buildtools\third_party\libc++\trunk\include\__tree:2605 in std::__1::__tree<std::__1::__value_type<std::__1::basic_string<char>,std::__1::basic_string<wchar_t> >,std::__1::__map_value_compare<std::__1::basic_string<char>,std::__1::__value_type<std::__1::basic_string<char>,std::__1::basic_string<wchar_t> >,std::__1::less<void>,1>,std::__1::allocator<std::__1::__value_type<std::__1::basic_string<char>,std::__1::basic_string<wchar_t> > > >::find<std::__1::basic_string<char> > Shadow bytes around the buggy address: 0x03dfaa17b340: fa fa fa fa 00 00 00 00 00 00 00 00 fa fa fa fa 0x03dfaa17b350: 00 00 00 00 00 00 00 00 fa fa fa fa 00 00 00 00 0x03dfaa17b360: 00 00 00 00 fa fa fa fa 00 00 00 00 00 00 00 00 0x03dfaa17b370: fa fa fa fa fd fd fd fd fd fd fd fd fa fa fa fa 0x03dfaa17b380: fd fd fd fd fd fd fd fd fa fa fa fa fd fd fd fd =>0x03dfaa17b390: fd fd fd fd fa fa fa fa fd[fd]fd fd fd fd fd fd 0x03dfaa17b3a0: fa fa fa fa fd fd fd fd fd fd fd fa fa fa fa fa 0x03dfaa17b3b0: fd fd fd fd fd fd fd fa fa fa fa fa fd fd fd fd 0x03dfaa17b3c0: fd fd fd fd fa fa fa fa fd fd fd fd fd fd fd fd 0x03dfaa17b3d0: fa fa fa fa fd fd fd fd fd fd fd fd fa fa fa fa 0x03dfaa17b3e0: fd fd fd fd fd fd fd fa fa fa fa fa 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 ==5640==ABORTING [ RUN ] BluetoothTestWinrt.DiscoverLowEnergyDevice/1 [ OK ] BluetoothTestWinrt.DiscoverLowEnergyDevice/1 (10 ms) ================================================================================