Bug 49167 - Profiler stuck on "Stopping remote application"
Summary: Profiler stuck on "Stopping remote application"
Status: VERIFIED FIXED
Alias: None
Product: Profiler
Classification: Xamarin
Component: iOS ()
Version: 1.0.x
Hardware: PC Windows
: Normal normal
Target Milestone: (C9)
Assignee: Rodrigo Moya
URL:
Depends on:
Blocks:
 
Reported: 2016-12-07 05:19 UTC by mho
Modified: 2017-02-21 11:35 UTC (History)
5 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Profiler Log (6.45 KB, text/plain)
2016-12-07 05:19 UTC, mho
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description mho 2016-12-07 05:19:14 UTC
Created attachment 18804 [details]
Profiler Log

When I try to lauch the Xamarin Profiler on Windows it opens and stuck on "Stopping remote application".

The Project is configured with the Debug configuration, uses the SGen Garbage collector and I am using Microsoft Visual Studio Enterprise 2015 (Update 3). 

Everything else (Build, Debug, Deploy on Device) works without Problems.

BTW: Where could I download the latest Xamarin.Profiler release as standalone Version?

In the Logfile I found the following errors:

XamarinProfiler.Core.Profiler Information: 0 : [2016-12-07 05:45:20.6765] initializing android platform
XamarinProfiler.Core.Profiler Information: 0 : [2016-12-07 05:45:20.6921] initializing ios platform
XamarinProfiler.Core.Profiler Information: 0 : [2016-12-07 05:45:20.6921] initializing mlpd platform
XamarinProfiler.Core.Profiler Information: 0 : [2016-12-07 05:45:20.6921] ##########################################
XamarinProfiler.Core.Profiler Information: 0 : [2016-12-07 05:45:20.6921] # Xamarin Profiler version -  1.0.2.2
XamarinProfiler.Core.Profiler Information: 0 : [2016-12-07 05:45:20.6921] #  * Arch x86_64
XamarinProfiler.Core.Profiler Information: 0 : [2016-12-07 05:45:20.6921] ##########################################
XamarinProfiler.Core.Profiler Error: 0 : [2016-12-07 05:45:21.9758] couldn't check for features for platform ios and device :v2:udid=2FAB31E2-7884-4ECA-BA2E-46C35C68C755|9.3: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei XamarinProfiler.Core.Platforms.iOS.PlatformIos.SupportsFeatures(InstrumentFeatures features, ProfileOptions options)
   bei XamarinProfiler.Core.Platform.SupportsFeatures(InstrumentFeatures features, PlatformType appType, ProfileOptions options)
XamarinProfiler.Core.Profiler Error: 0 : [2016-12-07 05:45:21.9758] couldn't check for features for platform ios and device :v2:udid=2FAB31E2-7884-4ECA-BA2E-46C35C68C755|9.3: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei XamarinProfiler.Core.Platforms.iOS.PlatformIos.SupportsFeatures(InstrumentFeatures features, ProfileOptions options)
   bei XamarinProfiler.Core.Platform.SupportsFeatures(InstrumentFeatures features, PlatformType appType, ProfileOptions options)
XamarinProfiler.Core.Profiler Error: 0 : [2016-12-07 05:45:21.9758] couldn't check for features for platform ios and device :v2:udid=2FAB31E2-7884-4ECA-BA2E-46C35C68C755|9.3: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei XamarinProfiler.Core.Platforms.iOS.PlatformIos.SupportsFeatures(InstrumentFeatures features, ProfileOptions options)
   bei XamarinProfiler.Core.Platform.SupportsFeatures(InstrumentFeatures features, PlatformType appType, ProfileOptions options)
XamarinProfiler.Core.Profiler Error: 0 : [2016-12-07 05:45:21.9758] couldn't check for features for platform ios and device :v2:udid=2FAB31E2-7884-4ECA-BA2E-46C35C68C755|9.3: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei XamarinProfiler.Core.Platforms.iOS.PlatformIos.SupportsFeatures(InstrumentFeatures features, ProfileOptions options)
   bei XamarinProfiler.Core.Platform.SupportsFeatures(InstrumentFeatures features, PlatformType appType, ProfileOptions options)
XamarinProfiler.Core.Profiler Error: 0 : [2016-12-07 05:45:21.9758] couldn't check for features for platform ios and device :v2:udid=2FAB31E2-7884-4ECA-BA2E-46C35C68C755|9.3: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei XamarinProfiler.Core.Platforms.iOS.PlatformIos.SupportsFeatures(InstrumentFeatures features, ProfileOptions options)
   bei XamarinProfiler.Core.Platform.SupportsFeatures(InstrumentFeatures features, PlatformType appType, ProfileOptions options)
XamarinProfiler.Core.Profiler Error: 0 : [2016-12-07 05:45:21.9758] couldn't check for features for platform ios and device :v2:udid=2FAB31E2-7884-4ECA-BA2E-46C35C68C755|9.3: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei XamarinProfiler.Core.Platforms.iOS.PlatformIos.SupportsFeatures(InstrumentFeatures features, ProfileOptions options)
   bei XamarinProfiler.Core.Platform.SupportsFeatures(InstrumentFeatures features, PlatformType appType, ProfileOptions options)
XamarinProfiler.Core.Profiler Information: 0 : [2016-12-07 05:45:25.1022] Initializing profiling...
XamarinProfiler.Core.Profiler Information: 0 : [2016-12-07 05:45:25.1335] Connecting to 192.168.2.217 as Markus
XamarinProfiler.Core.Profiler Error: 0 : [2016-12-07 05:45:25.4729] error occured on run Markus connection couldn't be established: couldn't connect to remote Mac: Could not authenticate the user 'Markus' with SSH keys. Please check that both $HOME folder and ~/.ssh/authorized_keys have the appropiate permissions to use SSH. More details: Permission denied (publickey).
XamarinProfiler.Core.Profiler Error: 0 : [2016-12-07 05:45:25.4729] error occured on run Markus connection couldn't be established: couldn't connect to remote Mac: Could not authenticate the user 'Markus' with SSH keys. Please check that both $HOME folder and ~/.ssh/authorized_keys have the appropiate permissions to use SSH. More details: Permission denied (publickey).
XamarinProfiler.Core.Profiler Information: 0 : [2016-12-07 05:45:25.4729] Sorry, something went wrong trying to run Markus: connection couldn't be established: couldn't connect to remote Mac: Could not authenticate the user 'Markus' with SSH keys. Please check that both $HOME folder and ~/.ssh/authorized_keys have the appropiate permissions to use SSH. More details: Permission denied (publickey).
XamarinProfiler.Core.Profiler Information: 0 : [2016-12-07 05:45:25.4729] Stopping remote application
XamarinProfiler.Core.Profiler Error: 0 : [2016-12-07 05:45:25.4729] Error occured on run Markus: connection couldn't be established: couldn't connect to remote Mac: Could not authenticate the user 'Markus' with SSH keys. Please check that both $HOME folder and ~/.ssh/authorized_keys have the appropiate permissions to use SSH. More details: Permission denied (publickey).
XamarinProfiler.Core.Profiler Error: 0 : [2016-12-07 05:45:25.4729] Error occured on run Markus: connection couldn't be established: couldn't connect to remote Mac: Could not authenticate the user 'Markus' with SSH keys. Please check that both $HOME folder and ~/.ssh/authorized_keys have the appropiate permissions to use SSH. More details: Permission denied (publickey).
XamarinProfiler.Core.Profiler Information: 0 : [2016-12-07 05:45:25.4729] StartRecording for Markus
Xamarin.Messaging.Client.Ssh.SshMessagingConnection Error: 0 : An unexpected error occurred with the current SSH Session
Renci.SshNet.Common.SshConnectionException: An established connection was aborted by the server.
   bei Renci.SshNet.Session.SocketRead(Int32 length, Byte[] buffer)
   bei Renci.SshNet.Session.ReceiveMessage()
   bei Renci.SshNet.Session.MessageListener()


---------------------------------------------------------

Microsoft Visual Studio Enterprise 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Version 4.6.01586

Installed Version: Enterprise

Architecture and Modeling Tools   00322-80000-00000-AA244
Microsoft Architecture and Modeling Tools
    
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

Microsoft Visual Studio Tools for Applications 2015   00322-80000-00000-AA244
Microsoft Visual Studio Tools for Applications 2015

Visual Basic 2015   00322-80000-00000-AA244
Microsoft Visual Basic 2015

Visual C# 2015   00322-80000-00000-AA244
Microsoft Visual C# 2015

Visual C++ 2015   00322-80000-00000-AA244
Microsoft Visual C++ 2015

Windows Phone SDK 8.0 - ENU   00322-80000-00000-AA244
Windows Phone SDK 8.0 - ENU

.NET Reflector Visual Studio Extension   9.0.1.374
Integrates .NET Reflector into Visual Studio to allow you to seamlessly debug into third-party code and assemblies, even if you don't have the source code for them.

Visit www.reflector.net for more information.

Copyright (c) 2009-2012 Red Gate Software Inc.

ASP.NET and Web Tools 2015.1   14.1.20907.0
ASP.NET and Web Tools 2015.1

ASP.NET Web Frameworks and Tools 2012.2   4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013   5.2.40314.0
For additional information, visit http://www.asp.net/

Azure App Service Tools v2.9.5   14.0.20810.0
Azure App Service Tools v2.9.5

Azure Data Lake Node   1.0
This package contains the Data Lake integration nodes for Server Explorer.

Azure Data Lake Tools for Visual Studio   2.1.0000.0
Microsoft Azure Data Lake Tools for Visual Studio

Command Bus, Event Stream and Async Manager   Merq
Provides ICommandBus, IEventStream and IAsyncManager MEF services for loosely coupled Visual Studio extension components communication and integration.

Common Azure Tools   1.8
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

DataFactoryProject   1.0
Microsoft Data Factory Package

GhostDoc   5.4.16325.0
GhostDoc automatically generates XML documentation comments.

GitHub.VisualStudio   2.1.1.0
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.

JavaScript Language Service   2.0
JavaScript Language Service

JavaScript Project System   2.0
JavaScript Project System

JetBrains ReSharper Ultimate 2016.2.2    Build 106.0.20160913.91321
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2016 JetBrains, Inc.

Microsoft .NET Core Tools (Preview 2)   14.1.20907.0
Microsoft .NET Core Tools (Preview 2)

Microsoft Azure Data Factory Node Node   1.0
Azure Data Factory extension for Visual Studio Server Explorer.

Microsoft Azure Hive Query Language Service   2.1.0000.0
Language service for Hive query

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2015 - v2.9.40923.2

NuGet Package Manager   3.5.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

R Tools for Visual Studio   0.5.21008.0800
Provides project system, R Interactive window, plotting, and more for the R programming language.

SQL Server Analysis Services   13.0.1700.281
Microsoft SQL Server Analysis Services Designer 
Version 13.0.1700.281

SQL Server Data Tools   14.0.60923.0
Microsoft SQL Server Data Tools

SQL Server Integration Services   
Microsoft SQL Server Integration Services Designer
Version 13.0.1601.5

SQL Server Reporting Services   13.0.1700.281
Microsoft SQL Server Reporting Services Designers 
Version 13.0.1700.281

ToolWindowHostedEditor   1.0
Hosting json editor into a tool window

TypeScript   1.8.36.0
TypeScript tools for Visual Studio

Visual Studio Tools for Universal Windows Apps   14.0.25527.01
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.

Xamarin   4.2.1.64 (872717c)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Inspector Support   1.0.0.0 (1f3067d)
Adds support for inspecting Xamarin and WPF apps.

Xamarin.Android   7.0.2.37 (ce955cc)
Visual Studio extension to enable development for Xamarin.Android.

Xamarin.iOS   10.2.1.5 (44931ae)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 1 Rodrigo Moya 2017-01-16 17:32:02 UTC
This looks to me a version mismatch between Profiler and XVS (on C8, they need to be in full sync), and I'm not sure 1.0.2 matches XVS 4.2.1.64, so the best way to get them in sync is to use the XamarinVS updater and update them both at the same time (Profiler should show in the XVS updater), so can you please check if doing so solves the problem for you?
Comment 2 xamarin-release-manager 2017-02-02 12:28:05 UTC
Fixed in version 1.1.99.329 (master)

Author: Rodrigo Moya
Commit: a8a01599158fcbcef6f7b4bdc4fcdeace2ffe304 (xamarin/profiler)
Comment 3 asimk 2017-02-07 12:15:55 UTC
Unable to verify due to issue https://bugzilla.xamarin.com/show_bug.cgi?id=52321
Comment 4 asimk 2017-02-08 13:14:09 UTC
I am also getting Bug#52321 with the build provided in Comment 2.
Build Info: https://wrench.internalx.com/Wrench/ViewLane.aspx?lane_id=3402&host_id=315&revision_id=853622

Thanks!
Comment 5 asimk 2017-02-21 11:35:16 UTC
I have checked this issue with latest Profiler build i.e. profiler-mac-1.2.0-6_4600944228eae833845ef91ccbd7b163be8a4baa and observed that this issue has been fixed.

Screencast: http://www.screencast.com/t/nuoOnOjvdf