Bug 12310 - Issue when opening solution with simulator open
Summary: Issue when opening solution with simulator open
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS Designer ()
Version: 4.1
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: 4.0.9 (from master)
Assignee: Jérémie Laval
URL:
Depends on:
Blocks:
 
Reported: 2013-05-20 16:29 UTC by Pierce Boggan [MSFT]
Modified: 2013-06-24 16:18 UTC (History)
3 users (show)

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

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 or GitHub 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:
RESOLVED FIXED

Description Pierce Boggan [MSFT] 2013-05-20 16:29:41 UTC
Description of Issue: Occurs when I already have the simulator running (not necessarily with an app already open) and I try to open a solution in Xamarin Studio. Issue doesn't occur is simulator is closed when opening the app. The dialog sometimes continues to popup until I debug the solution.

Error dialog message:
System.AggregateException: One or more errors occured ---> System.Exception: Siminstaller could not launch app (didn't exit)
  at MonoTouch.Hosting.SpringBoardApplication.Launch (MonoTouch.Hosting.IosApplication app) [0x00151] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/0fb88a5b/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Hosting/SpringBoardApplication.cs:85 
  at MonoTouch.Design.Client.ServerProcessConnection.EnsureServerRunning (Boolean throwIfNotRunning) [0x001c4] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/0fb88a5b/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:300 
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[DesignSession] (System.String path, System.IO.Stream requestData, System.Action`1 setupRequest, Boolean throwIfNotRunning) [0x00002] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/0fb88a5b/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:210 
  at MonoTouch.Design.Client.ServerProcessConnection.Get[DesignSession] (System.String path, Boolean throwIfNotRunning) [0x00000] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/0fb88a5b/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:183 
  at MonoTouch.Design.Client.ServerProcessConnection.CreateSession () [0x00000] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/0fb88a5b/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:123 
  at MonoTouch.Design.Client.ServerProcessConnection.<CreateSessionAsync>m__111 () [0x00000] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/0fb88a5b/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:128 
  at System.Threading.Tasks.TaskActionInvoker+FuncInvoke`1[MonoTouch.Design.DesignSession].Invoke (System.Threading.Tasks.Task owner, System.Object state, System.Threading.Tasks.Task context) [0x00000] in /private/tmp/source/bockbuild-crypto-mono/profiles/mono-mac-xamarin/build-root/mono-3.0.10/mcs/class/corlib/System.Threading.Tasks/TaskActionInvoker.cs:241 
  at System.Threading.Tasks.Task.InnerInvoke () [0x00028] in /private/tmp/source/bockbuild-crypto-mono/profiles/mono-mac-xamarin/build-root/mono-3.0.10/mcs/class/corlib/System.Threading.Tasks/Task.cs:519 
  at System.Threading.Tasks.Task.ThreadStart () [0x00097] in /private/tmp/source/bockbuild-crypto-mono/profiles/mono-mac-xamarin/build-root/mono-3.0.10/mcs/class/corlib/System.Threading.Tasks/Task.cs:418 
  --- End of inner exception stack trace ---
 --> (Inner exception 0) System.Exception: Siminstaller could not launch app (didn't exit)
  at MonoTouch.Hosting.SpringBoardApplication.Launch (MonoTouch.Hosting.IosApplication app) [0x00151] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/0fb88a5b/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Hosting/SpringBoardApplication.cs:85 
  at MonoTouch.Design.Client.ServerProcessConnection.EnsureServerRunning (Boolean throwIfNotRunning) [0x001c4] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/0fb88a5b/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:300 
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[DesignSession] (System.String path, System.IO.Stream requestData, System.Action`1 setupRequest, Boolean throwIfNotRunning) [0x00002] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/0fb88a5b/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:210 
  at MonoTouch.Design.Client.ServerProcessConnection.Get[DesignSession] (System.String path, Boolean throwIfNotRunning) [0x00000] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/0fb88a5b/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:183 
  at MonoTouch.Design.Client.ServerProcessConnection.CreateSession () [0x00000] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/0fb88a5b/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:123 
  at MonoTouch.Design.Client.ServerProcessConnection.<CreateSessionAsync>m__111 () [0x00000] in /Users/builder/data/lanes/monodevelop_private-lion-splash2/0fb88a5b/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:128 
  at System.Threading.Tasks.TaskActionInvoker+FuncInvoke`1[MonoTouch.Design.DesignSession].Invoke (System.Threading.Tasks.Task owner, System.Object state, System.Threading.Tasks.Task context) [0x00000] in /private/tmp/source/bockbuild-crypto-mono/profiles/mono-mac-xamarin/build-root/mono-3.0.10/mcs/class/corlib/System.Threading.Tasks/TaskActionInvoker.cs:241 
  at System.Threading.Tasks.Task.InnerInvoke () [0x00028] in /private/tmp/source/bockbuild-crypto-mono/profiles/mono-mac-xamarin/build-root/mono-3.0.10/mcs/class/corlib/System.Threading.Tasks/Task.cs:519 
  at System.Threading.Tasks.Task.ThreadStart () [0x00097] in /private/tmp/source/bockbuild-crypto-mono/profiles/mono-mac-xamarin/build-root/mono-3.0.10/mcs/class/corlib/System.Threading.Tasks/Task.cs:418 

Version Information:
=== Xamarin Studio ===

Version 4.1.2 (build 2)
Installation UUID: dbb93e30-b525-4632-8fdd-511fbc37c560
Runtime:
	Mono 3.0.10 ((no/eff4cb5)
	GTK 2.24.18
	GTK# (2.12.0.0)
	Package version: 300100000

=== Apple Developer Tools ===

Xcode 4.6.2 (2067.2)
Build 4H1003

=== Xamarin.Mac ===

Xamarin.Mac: 1.2.43

=== Xamarin.Android ===

Version: 4.7.4 (Business Edition)
Android SDK: /Users/pierceboggan/Library/Developer/Xamarin/android-sdk-mac_x86
	Supported Android versions:
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.1   (API level 12)
		4.0   (API level 14)
		4.0.3 (API level 15)
		4.1   (API level 16)
Java SDK: /usr

=== Xamarin.iOS ===

Version: 6.3.5.43 (Business Edition)
Hash: 07cde46
Branch: 
Build date: 2013-13-05 14:44:13-0400

=== Build Information ===

Release ID: 401020002
Git revision: 0fb88a5b486ca8644238e49de32b5c5eb983305d
Build date: 2013-05-06 20:35:00+0000
Xamarin addins: 59d33fcc272e0d0f7211811131eb05d1f994a6b4

=== Operating System ===

Mac OS X 10.8.3
Darwin Macintosh.local 12.3.0 Darwin Kernel Version 12.3.0
    Sun Jan  6 22:37:10 PST 2013
    root:xnu-2050.22.13~1/RELEASE_X86_64 x86_64
Comment 1 Alan McGovern 2013-05-21 10:53:17 UTC
This should be fixed in the next release. I can't reproduce the issue with that build.
Comment 2 Pierce Boggan [MSFT] 2013-05-21 15:04:44 UTC
Okay, well I can confirm it happens when the simulator isn't even open/running as well. I can barely open Xamarin Studio before getting flooded with the error.

But I'll update with the next release!
Comment 3 Pierce Boggan [MSFT] 2013-05-21 15:07:12 UTC
This happened when opening an Android project - not an iOS project this latest time too.
Comment 4 PJ 2013-06-24 16:18:40 UTC
This bug was marked as fixed for Xamarin Studio 4.0.9, which is currently in the beta channel. Try it out!