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

Test 'TwoClientSessionsSyncTest.SingleClientEnabledEncryptionAndChanged' completed with the following status(es): 'CRASH','SUCCESS' Test 'TwoClientSessionsSyncTest.SingleClientEnabledEncryptionAndChanged' had the following logs when run: ================================================================================ [ RUN ] TwoClientSessionsSyncTest.SingleClientEnabledEncryptionAndChanged ================================================================= ==74270==ERROR: AddressSanitizer: heap-use-after-free on address 0x6120000f2740 at pc 0x0001417e100d bp 0x70000f757440 sp 0x70000f756c00 READ of size 280 at 0x6120000f2740 thread T20 #0 0x1417e100c in __sanitizer_weak_hook_memmem ??:0:0 #1 0x7fff42be9136 in -[__NSArrayM insertObject:atIndex:] ??:0:0 #2 0x11b5f4cf8 in -[OCMockObject handleInvocation:] ??:0:0 #3 0x11b5f4ada in -[OCMockObject forwardInvocation:] ??:0:0 #4 0x7fff42c3ee6b in ___forwarding___ ??:0:0 #5 0x7fff42c3eb07 in __forwarding_prep_0___ ??:0:0 #6 0x11c3545bd in base::mac::MainBundlePath() ??:0:0 #7 0x1146db256 in content::SetupCommonSandboxParameters(sandbox::SeatbeltExecClient*) ??:0:0 #8 0x113797a63 in content::internal::ChildProcessLauncherHelper::BeforeLaunchOnLauncherThread(content::PosixFileDescriptorInfo const&, base::LaunchOptions*) ??:0:0 #9 0x113793855 in content::internal::ChildProcessLauncherHelper::LaunchOnLauncherThread() ??:0:0 #10 0x1137957af in base::internal::Invoker<base::internal::BindState<void (content::internal::ChildProcessLauncherHelper::*)(), scoped_refptr<content::internal::ChildProcessLauncherHelper> >, void ()>::RunOnce(base::internal::BindStateBase*) ??:0:0 #11 0x11c4becbe in base::TaskAnnotator::RunTask(char const*, base::PendingTask*) ??:0:0 #12 0x11c576d08 in base::internal::TaskTracker::RunBlockShutdown(base::internal::Task*) ??:0:0 #13 0x11c574c59 in base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) ??:0:0 #14 0x11c67f910 in base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) ??:0:0 #15 0x11c571f97 in base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>, base::internal::CanScheduleSequenceObserver*) ??:0:0 #16 0x11c5477f6 in base::internal::SchedulerWorker::RunWorker() ??:0:0 #17 0x11c546fb5 in base::internal::SchedulerWorker::RunDedicatedWorker() ??:0:0 #18 0x11c6809fd in base::(anonymous namespace)::ThreadFunc(void*) ??:0:0 #19 0x7fff6ae47660 in _pthread_body ??:0:0 #20 0x7fff6ae4750c in _pthread_start ??:0:0 #21 0x7fff6ae46bf8 in thread_start ??:0:0 0x6120000f2740 is located 0 bytes inside of 280-byte region [0x6120000f2740,0x6120000f2858) freed by thread T0 here: #0 0x14180b6e6 in __asan_memmove ??:0:0 #1 0x7fff42be9172 in -[__NSArrayM insertObject:atIndex:] ??:0:0 #2 0x11b5f4cf8 in -[OCMockObject handleInvocation:] ??:0:0 #3 0x11b5f4ada in -[OCMockObject forwardInvocation:] ??:0:0 #4 0x7fff42c3ee6b in ___forwarding___ ??:0:0 #5 0x7fff42c3eb07 in __forwarding_prep_0___ ??:0:0 #6 0x7fff5e1da89b in __MRMediaRemoteGetLocalNowPlayingClient_block_invoke ??:0:0 #7 0x7fff6aaf5db7 in _dispatch_client_callout ??:0:0 #8 0x7fff6aaf5d6a in dispatch_once_f ??:0:0 #9 0x7fff5e1d7d5b in MRMediaRemoteGetLocalNowPlayingClient ??:0:0 #10 0x7fff5e1da9ed in __MRMediaRemoteGetLocalNowPlayingPlayerPath_block_invoke ??:0:0 #11 0x7fff6aaf5db7 in _dispatch_client_callout ??:0:0 #12 0x7fff6aaf5d6a in dispatch_once_f ??:0:0 #13 0x7fff5e1da99b in MRMediaRemoteGetLocalNowPlayingPlayerPath ??:0:0 #14 0x7fff46ccc275 in -[MPRemoteCommandCenter initWithPlayerID:] ??:0:0 #15 0x7fff46ccbc25 in __44+[MPRemoteCommandCenter sharedCommandCenter]_block_invoke ??:0:0 #16 0x7fff6aaf5db7 in _dispatch_client_callout ??:0:0 #17 0x7fff6aaf5d6a in dispatch_once_f ??:0:0 #18 0x7fff46ccbbc3 in +[MPRemoteCommandCenter sharedCommandCenter] ??:0:0 #19 0x12084f424 in -[RemoteCommandCenterDelegateNS initWithDelegate:] ??:0:0 #20 0x120845f86 in now_playing::RemoteCommandCenterDelegateImpl::RemoteCommandCenterDelegateImpl() ??:0:0 #21 0x120845c76 in now_playing::RemoteCommandCenterDelegate::Create() ??:0:0 #22 0x11364df34 in content::BrowserMainLoop::BrowserThreadsStarted() ??:0:0 #23 0x114a14bce in content::StartupTaskRunner::RunAllTasksNow() ??:0:0 #24 0x11364b92e in content::BrowserMainLoop::CreateStartupTasks() ??:0:0 #25 0x11365678e in content::BrowserMainRunnerImpl::Initialize(content::MainFunctionParams const&) ??:0:0 #26 0x113645cae in content::BrowserMain(content::MainFunctionParams const&) ??:0:0 #27 0x11aa54ddf in content::ContentMainRunnerImpl::RunServiceManager(content::MainFunctionParams&, bool) ??:0:0 #28 0x11aa541a2 in content::ContentMainRunnerImpl::Run(bool) ??:0:0 #29 0x12664917e in service_manager::Main(service_manager::MainParams const&) ??:0:0 previously allocated by thread T0 here: #0 0x14180b59d in __asan_memmove ??:0:0 #1 0x7fff42be90fb in -[__NSArrayM insertObject:atIndex:] ??:0:0 #2 0x11b5f4cf8 in -[OCMockObject handleInvocation:] ??:0:0 #3 0x11b5f4ada in -[OCMockObject forwardInvocation:] ??:0:0 #4 0x7fff42c3ee6b in ___forwarding___ ??:0:0 #5 0x7fff42c3eb07 in __forwarding_prep_0___ ??:0:0 #6 0x11d360a97 in -[KeystoneGlue loadParameters] ??:0:0 #7 0x11d360260 in +[KeystoneGlue defaultKeystoneGlue] ??:0:0 #8 0x11d138cae in ChromeBrowserMainPartsMac::PreMainMessageLoopStart() ??:0:0 #9 0x113648630 in content::BrowserMainLoop::PreMainMessageLoopStart() ??:0:0 #10 0x113656eb8 in content::BrowserMainRunnerImpl::Initialize(content::MainFunctionParams const&) ??:0:0 #11 0x113645cae in content::BrowserMain(content::MainFunctionParams const&) ??:0:0 #12 0x11aa54ddf in content::ContentMainRunnerImpl::RunServiceManager(content::MainFunctionParams&, bool) ??:0:0 #13 0x11aa541a2 in content::ContentMainRunnerImpl::Run(bool) ??:0:0 #14 0x12664917e in service_manager::Main(service_manager::MainParams const&) ??:0:0 #15 0x11aa51b5c in content::ContentMain(content::ContentMainParams const&) ??:0:0 #16 0x131013969 in content::BrowserTestBase::SetUp() ??:0:0 #17 0x11b880944 in InProcessBrowserTest::SetUp() ??:0:0 #18 0x11b83cc77 in SyncTest::SetUp() ??:0:0 #19 0x10f112949 in testing::Test::Run() ??:0:0 #20 0x10f1153fa in testing::TestInfo::Run() ??:0:0 #21 0x10f116aa6 in testing::TestSuite::Run() ??:0:0 #22 0x10f143276 in testing::internal::UnitTestImpl::RunAllTests() ??:0:0 #23 0x10f14259c in testing::UnitTest::Run() ??:0:0 #24 0x11c2974fa in base::TestSuite::Run() ??:0:0 #25 0x11b878163 in ChromeTestSuiteRunner::RunTestSuite(int, char**) ??:0:0 #26 0x13106a7ef in content::LaunchTests(content::TestLauncherDelegate*, unsigned long, int, char**) ??:0:0 #27 0x11b878f7a in LaunchChromeTests(unsigned long, content::TestLauncherDelegate*, int, char**) ??:0:0 #28 0x11b7a4d9c in main ??:0:0 #29 0x7fff6ab2f014 in start ??:0:0 Thread T20 created by T10 here: #0 0x14180577a in __sanitizer_weak_hook_memcmp ??:0:0 #1 0x11c67ff11 in base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) ??:0:0 #2 0x11c54561c in base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) ??:0:0 #3 0x11c540f44 in base::internal::SchedulerSingleThreadTaskRunnerManager::CreateSingleThreadTaskRunnerWithTraits(base::TaskTraits const&, base::SingleThreadTaskRunnerThreadMode) ??:0:0 #4 0x11c568911 in base::internal::TaskSchedulerImpl::CreateSingleThreadTaskRunnerWithTraits(base::TaskTraits const&, base::SingleThreadTaskRunnerThreadMode) ??:0:0 #5 0x11c4c3bd2 in base::CreateSingleThreadTaskRunnerWithTraits(base::TaskTraits const&, base::SingleThreadTaskRunnerThreadMode) ??:0:0 #6 0x11c4c0378 in base::internal::LazyTaskRunner<base::SingleThreadTaskRunner, false>::CreateRaw(void*) ??:0:0 #7 0x11c4c0131 in base::internal::LazyTaskRunner<base::SingleThreadTaskRunner, false>::Get() ??:0:0 #8 0x11379313c in content::internal::ChildProcessLauncherHelper::StartLaunchOnClientThread() ??:0:0 #9 0x113790679 in content::ChildProcessLauncher::ChildProcessLauncher(std::__1::unique_ptr<content::SandboxedProcessLauncherDelegate, std::__1::default_delete<content::SandboxedProcessLauncherDelegate> >, std::__1::unique_ptr<base::CommandLine, std::__1::default_delete<base::CommandLine> >, int, content::ChildProcessLauncher::Client*, mojo::OutgoingInvitation, base::RepeatingCallback<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)> const&, bool) ??:0:0 #10 0x11362cb82 in content::BrowserChildProcessHostImpl::LaunchWithoutExtraCommandLineSwitches(std::__1::unique_ptr<content::SandboxedProcessLauncherDelegate, std::__1::default_delete<content::SandboxedProcessLauncherDelegate> >, std::__1::unique_ptr<base::CommandLine, std::__1::default_delete<base::CommandLine> >, bool) ??:0:0 #11 0x113e401dd in content::GpuProcessHost::LaunchGpuProcess() ??:0:0 #12 0x113e3a095 in content::GpuProcessHost::Init() ??:0:0 #13 0x113e39a13 in content::GpuProcessHost::Get(content::GpuProcessHost::GpuProcessKind, bool) ??:0:0 #14 0x113e0df5e in content::BrowserGpuChannelHostFactory::EstablishRequest::EstablishOnIO() ??:0:0 #15 0x113e1342f in base::internal::Invoker<base::internal::BindState<void (content::BrowserGpuChannelHostFactory::EstablishRequest::*)(), scoped_refptr<content::BrowserGpuChannelHostFactory::EstablishRequest> >, void ()>::RunOnce(base::internal::BindStateBase*) ??:0:0 #16 0x11c4becbe in base::TaskAnnotator::RunTask(char const*, base::PendingTask*) ??:0:0 #17 0x11c513f2f in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) ??:0:0 #18 0x11c513654 in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() ??:0:0 #19 0x11c6ab5b6 in base::MessagePumpKqueue::Run(base::MessagePump::Delegate*) ??:0:0 #20 0x11c515a1d in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) ??:0:0 #21 0x11c44832e in base::RunLoop::Run() ??:0:0 #22 0x11c5a38f2 in base::Thread::Run(base::RunLoop*) ??:0:0 #23 0x113674c3d in content::BrowserProcessSubThread::IOThreadRun(base::RunLoop*) ??:0:0 #24 0x113674964 in content::BrowserProcessSubThread::Run(base::RunLoop*) ??:0:0 #25 0x11c5a4140 in base::Thread::ThreadMain() ??:0:0 #26 0x11c6809fd in base::(anonymous namespace)::ThreadFunc(void*) ??:0:0 #27 0x7fff6ae47660 in _pthread_body ??:0:0 #28 0x7fff6ae4750c in _pthread_start ??:0:0 #29 0x7fff6ae46bf8 in thread_start ??:0:0 Thread T10 created by T0 here: #0 0x14180577a in __sanitizer_weak_hook_memcmp ??:0:0 #1 0x11c67ff11 in base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) ??:0:0 #2 0x11c5a222f in base::Thread::StartWithOptions(base::Thread::Options const&) ??:0:0 #3 0x113674437 in content::BrowserProcessSubThread::CreateIOThread() ??:0:0 #4 0x11aa5491c in content::ContentMainRunnerImpl::RunServiceManager(content::MainFunctionParams&, bool) ??:0:0 #5 0x11aa541a2 in content::ContentMainRunnerImpl::Run(bool) ??:0:0 #6 0x12664917e in service_manager::Main(service_manager::MainParams const&) ??:0:0 #7 0x11aa51b5c in content::ContentMain(content::ContentMainParams const&) ??:0:0 #8 0x131013969 in content::BrowserTestBase::SetUp() ??:0:0 #9 0x11b880944 in InProcessBrowserTest::SetUp() ??:0:0 #10 0x11b83cc77 in SyncTest::SetUp() ??:0:0 #11 0x10f112949 in testing::Test::Run() ??:0:0 #12 0x10f1153fa in testing::TestInfo::Run() ??:0:0 #13 0x10f116aa6 in testing::TestSuite::Run() ??:0:0 #14 0x10f143276 in testing::internal::UnitTestImpl::RunAllTests() ??:0:0 #15 0x10f14259c in testing::UnitTest::Run() ??:0:0 #16 0x11c2974fa in base::TestSuite::Run() ??:0:0 #17 0x11b878163 in ChromeTestSuiteRunner::RunTestSuite(int, char**) ??:0:0 #18 0x13106a7ef in content::LaunchTests(content::TestLauncherDelegate*, unsigned long, int, char**) ??:0:0 #19 0x11b878f7a in LaunchChromeTests(unsigned long, content::TestLauncherDelegate*, int, char**) ??:0:0 #20 0x11b7a4d9c in main ??:0:0 #21 0x7fff6ab2f014 in start ??:0:0 SUMMARY: AddressSanitizer: heap-use-after-free (/b/s/w/ir/out/Release/libclang_rt.asan_osx_dynamic.dylib:x86_64+0x1800c) Shadow bytes around the buggy address: 0x1c240001e490: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c240001e4a0: fd fd fd fd fd fd fd fd fd fd fa fa fa fa fa fa 0x1c240001e4b0: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd 0x1c240001e4c0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c240001e4d0: fd fd fd fd fd fd fd fd fd fd fa fa fa fa fa fa =>0x1c240001e4e0: fa fa fa fa fa fa fa fa[fd]fd fd fd fd fd fd fd 0x1c240001e4f0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c240001e500: fd fd fd fd fd fd fd fd fd fd fd fa fa fa fa fa 0x1c240001e510: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd 0x1c240001e520: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c240001e530: fd fd fd fd fd fd fd fd fd fd fa fa fa fa fa fa 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 ==74270==ABORTING [ RUN ] TwoClientSessionsSyncTest.SingleClientEnabledEncryptionAndChanged [80403:7171:0319/033539.218680:WARNING:notification_platform_bridge_mac.mm(540)] AlertNotificationService: XPC connection invalidated. [80408:775:0319/033539.472394:ERROR:vt_video_encode_accelerator_mac.cc(515)] VTCompressionSessionCreate failed: -12908 [80403:775:0319/033540.111836:WARNING:gaia_auth_fetcher.cc(882)] Could not reach Google Accounts servers: errno -11 [80403:775:0319/033540.477324:WARNING:loopback_server.cc(820)] Loopback sync persistent state file does not exist. [80403:775:0319/033540.731425:WARNING:gaia_auth_fetcher.cc(882)] Could not reach Google Accounts servers: errno -11 [80403:775:0319/033541.148513:WARNING:gaia_auth_fetcher.cc(882)] Could not reach Google Accounts servers: errno -11 [80403:775:0319/033541.508323:WARNING:gaia_auth_fetcher.cc(882)] Could not reach Google Accounts servers: errno -11 [80403:101891:0319/033541.768154:WARNING:sync_encryption_handler_impl.cc(1079)] Nigori had empty encryption keybag. [80403:101891:0319/033541.776256:WARNING:sync_encryption_handler_impl.cc(1079)] Nigori had empty encryption keybag. [80403:775:0319/033541.788319:INFO:profile_sync_service.cc(1784)] ConfigureDataTypeManager not invoked because datatypes cannot be configured now [80403:103683:0319/033541.915761:WARNING:sync_encryption_handler_impl.cc(1079)] Nigori had empty encryption keybag. [80403:103683:0319/033541.918055:WARNING:sync_encryption_handler_impl.cc(1079)] Nigori had empty encryption keybag. [80403:775:0319/033541.929939:INFO:profile_sync_service.cc(1784)] ConfigureDataTypeManager not invoked because datatypes cannot be configured now [80403:775:0319/033542.272805:ERROR:account_tracker.cc(272)] OnNetworkError -1 [80403:775:0319/033542.272881:WARNING:account_tracker.cc(190)] Failed to get UserInfo for gaia_id_for_user_gmail.com [80403:775:0319/033542.354094:WARNING:gaia_auth_fetcher.cc(882)] Could not reach Google Accounts servers: errno -11 [80403:775:0319/033542.509559:ERROR:account_tracker.cc(272)] OnNetworkError -1 [80403:775:0319/033542.509632:WARNING:account_tracker.cc(190)] Failed to get UserInfo for gaia_id_for_user_gmail.com [80403:775:0319/033543.378447:ERROR:sessions_helper.cc(423)] Cannot get session data [80403:775:0319/033543.419433:ERROR:sessions_helper.cc(423)] Cannot get session data [80403:775:0319/033543.442645:ERROR:sessions_helper.cc(423)] Cannot get session data [80403:25091:0319/033543.570916:ERROR:checkin_request.cc(219)] Failed to get checkin response. Fetcher failed. Retrying. [80403:775:0319/033543.679823:ERROR:sessions_helper.cc(423)] Cannot get session data [80403:775:0319/033543.681226:ERROR:sessions_helper.cc(423)] Cannot get session data [80403:25091:0319/033543.931542:ERROR:checkin_request.cc(219)] Failed to get checkin response. Fetcher failed. Retrying. [80403:25091:0319/033544.075860:ERROR:unix_domain_socket_acceptor.cc(73)] unlink: No such file or directory (2) [80403:25091:0319/033544.075984:ERROR:message_pump_kqueue.cc(344)] StopWatchingFileDescriptor kevent64: No such file or directory (2) [80409:17667:0319/033544.094947:ERROR:message_pump_kqueue.cc(344)] StopWatchingFileDescriptor kevent64: No such file or directory (2) [80403:25091:0319/033544.177658:ERROR:browser_process_sub_thread.cc(217)] Waited 68 ms for network service [80403:25091:0319/033544.183115:WARNING:discardable_shared_memory_manager.cc(410)] Some MojoDiscardableSharedMemoryManagerImpls are still alive. They will be leaked. [80403:775:0319/033544.188558:WARNING:pref_notifier_impl.cc(23)] Pref observer found at shutdown. [80403:775:0319/033544.188672:WARNING:pref_notifier_impl.cc(23)] Pref observer found at shutdown. [80403:37123:0319/033544.194362:ERROR:message_pump_kqueue.cc(344)] StopWatchingFileDescriptor kevent64: No such file or directory (2) [ OK ] TwoClientSessionsSyncTest.SingleClientEnabledEncryptionAndChanged (5938 ms) ================================================================================