Bug 23215 - Storyboard crash
Summary: Storyboard crash
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS Designer ()
Version: 5.8
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: master
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-09-20 11:42 UTC by Roman
Modified: 2015-08-28 17:30 UTC (History)
9 users (show)

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


Attachments
unopenable storyboard (6.70 MB, text/plain)
2014-09-22 13:58 UTC, Roman
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 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 Roman 2014-09-20 11:42:31 UTC
I can't open iPhone storyboard after update to Xamarin studio 5.4 and Xcode 6

System.AggregateException: One or more errors occured ---> System.Exception: EnsureSession counter too high. Server may be repeatedly crashing. ---> MonoTouch.Design.Client.InvalidSessionException: Session invalid
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest (MonoTouch.Design.CommandRequest req, Boolean throwIfNotRunning) [0x000ac] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.4-branch/01786bc6/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:247 
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[Object[]] (MonoTouch.Design.CommandRequest req, Boolean throwIfNotRunning) [0x00004] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.4-branch/01786bc6/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:251 
  at MonoTouch.Design.Client.ServerProcessConnection.PostXml (MonoTouch.Design.DesignSession session, System.String xml, System.String[] viewsToHide) [0x0006b] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.4-branch/01786bc6/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:172 
  at MonoTouch.Design.Client.ServerProcessConnection.PostXml (MonoTouch.Design.DesignSession session, System.Xml.Linq.XElement fullStoryboard, System.Xml.Linq.XElement[] partialElements, System.String[] viewsToHide) [0x000b0] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.4-branch/01786bc6/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:150 
  at MonoTouch.Design.Client.IPhoneDesignerSession+<ReloadItems>c__AnonStorey3.<>m__0 (MonoTouch.Design.Client.ServerProcessConnection c) [0x00032] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.4-branch/01786bc6/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:441 
  at MonoTouch.Design.Client.IPhoneDesignerSession+<EnsureSession>c__AnonStorey17`1[System.Object[]].<>m__0 () [0x0013b] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.4-branch/01786bc6/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:1747 
  --- End of inner exception stack trace ---
  at MonoTouch.Design.Client.IPhoneDesignerSession+<EnsureSession>c__AnonStorey17`1[System.Object[]].<>m__0 () [0x001e9] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.4-branch/01786bc6/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:1768 
  at System.Threading.Tasks.TaskActionInvoker+FuncInvoke`1[System.Object[]].Invoke (System.Threading.Tasks.Task owner, System.Object state, System.Threading.Tasks.Task context) [0x00000] in <filename unknown>:0 
  at System.Threading.Tasks.Task.InnerInvoke () [0x00000] in <filename unknown>:0 
  at System.Threading.Tasks.Task.ThreadStart () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---


...



 --> (Inner exception 0) System.Exception: EnsureSession counter too high. Server may be repeatedly crashing. ---> MonoTouch.Design.Client.InvalidSessionException: Session invalid
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest (MonoTouch.Design.CommandRequest req, Boolean throwIfNotRunning) [0x000ac] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.4-branch/01786bc6/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:247 
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[Object[]] (MonoTouch.Design.CommandRequest req, Boolean throwIfNotRunning) [0x00004] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.4-branch/01786bc6/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:251 
  at MonoTouch.Design.Client.ServerProcessConnection.PostXml (MonoTouch.Design.DesignSession session, System.String xml, System.String[] viewsToHide) [0x0006b] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.4-branch/01786bc6/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:172 
  at MonoTouch.Design.Client.ServerProcessConnection.PostXml (MonoTouch.Design.DesignSession session, System.Xml.Linq.XElement fullStoryboard, System.Xml.Linq.XElement[] partialElements, System.String[] viewsToHide) [0x000b0] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.4-branch/01786bc6/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:150 
  at MonoTouch.Design.Client.IPhoneDesignerSession+<ReloadItems>c__AnonStorey3.<>m__0 (MonoTouch.Design.Client.ServerProcessConnection c) [0x00032] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.4-branch/01786bc6/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:441 
  at MonoTouch.Design.Client.IPhoneDesignerSession+<EnsureSession>c__AnonStorey17`1[System.Object[]].<>m__0 () [0x0013b] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.4-branch/01786bc6/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:1747 
  --- End of inner exception stack trace ---
  at MonoTouch.Design.Client.IPhoneDesignerSession+<EnsureSession>c__AnonStorey17`1[System.Object[]].<>m__0 () [0x001e9] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.4-branch/01786bc6/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:1768 
  at System.Threading.Tasks.TaskActionInvoker+FuncInvoke`1[System.Object[]].Invoke (System.Threading.Tasks.Task owner, System.Object state, System.Threading.Tasks.Task context) [0x00000] in <filename unknown>:0 
  at System.Threading.Tasks.Task.InnerInvoke () [0x00000] in <filename unknown>:0 
  at System.Threading.Tasks.Task.ThreadStart () [0x00000] in <filename unknown>:0 

system: Sep 20 19:23:46 MacBook-Pro-Roman.local MonoTouchDesignServer[16815]: [2014-09-20 19:23:46.2] INFO: Total time required to handle request: 45ms
Comment 1 Alan McGovern 2014-09-22 13:13:19 UTC
Hi,

Can you click on Help -> Open Log Directory and then zip up all the log files there and attach them to the bug report. Those should contain the relevant information to diagnose the problem.
Comment 2 Roman 2014-09-22 13:58:44 UTC
Created attachment 8147 [details]
unopenable storyboard
Comment 3 Alan McGovern 2014-09-22 14:24:32 UTC
That log file has enough information in it to tell us something is hard crashing our renderer: https://gist.githubusercontent.com/alanmcgovern/39b2609b3cdcec5f8e28/raw/f330921d4378db2c75c893b0354da1d3e6eec304/gistfile1.txt

From the output it looks like we have successfully started the renderer and set everything up. The renderer then crashes when it's trying to process your storyboard. As this looks like an issue triggered by your storyboard (as opposed to a general issue), could you share your entire project with us to help diagnose the issue? 

If you clean the solution, then zip it and attach it as a *private* attachment then only xamarin employees will be able to access it. I think this particular issue could be an interaction between our custom control support and also your specific storyboard.
Comment 4 Roman 2014-09-22 15:19:12 UTC
Sorry, but I had already create new storyboard in my project and delete old-crashed.
Comment 5 Alan McGovern 2014-09-25 09:29:54 UTC
Resolving this as 'worksforme' for now as we cannot reproduce the issue, but feel free to re-open the bug if it happens again.

Thanks!
Comment 7 Jimmy [MSFT] 2015-04-22 19:16:30 UTC
I am reopening this since I have a customer who is also experiencing this error.
Comment 8 Jon Davis 2015-05-05 14:22:47 UTC
Similar error from another customer using OSX 10.9.5 and Xcode 5.1:

System.AggregateException: One or more errors occurred. ---> System.Exception: EnsureSession counter too high. Server may be repeatedly crashing. ---> System.AggregateException: One or more errors occurred. ---> MonoTouch.Design.Client.InvalidSessionException: Session invalid ---> Foundation.ObjCException: NSObjectInaccessibleException: NSDistantObject (0x2098ece0) is invalid (no connection)
  at ObjCRuntime.Runtime.ThrowNSException (IntPtr ns_exception) [0x00000] in <filename unknown>:0 
  at ObjCRuntime.Runtime.throw_ns_exception (IntPtr exc) [0x00000] in <filename unknown>:0 
  at (wrapper native-to-managed) ObjCRuntime.Runtime:throw_ns_exception (intptr)
  at (wrapper managed-to-native) MonoTouch.Hosting.Internal.Messaging:xamarin_bool_objc_msgSend_IntPtr_IntPtr_IntPtr (intptr,intptr,intptr,intptr,intptr)
  at Bindings.SimulatorBridge.InstallApplication (System.String bundleId, System.String path, Foundation.NSDictionary options) [0x00055] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Hosting/Bindings/SimulatorBridge.g.cs:147 
  at MonoTouch.Hosting.HostingIosSession.InstallApplication (System.String bundlePath, System.String bundleId) [0x00127] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Hosting/HostingIosSession.cs:153 
  at MonoTouch.Hosting.IosSession.InstallApplication (System.String bundlePath) [0x0002b] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Hosting/IosSession.cs:201 
  at MonoTouch.Hosting.IosSession.InstallAndLaunch (System.String appBundle, System.String simLang, System.String[] appArgs) [0x00006] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Hosting/IosSession.cs:165 
  --- End of inner exception stack trace ---
  at MonoTouch.Design.Client.Mac.MacServerProcessConnection.EnsureServerRunning (Boolean throwIfNotRunning) [0x00182] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client.Mac/MacServerProcessConnection.cs:181 
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest (System.Action`1 send, System.Action`1 recv, Boolean throwIfNotRunning) [0x00007] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:273 
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest (MonoTouch.Design.CommandRequest req, Boolean throwIfNotRunning) [0x0002f] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:240 
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[DesignSession] (MonoTouch.Design.CommandRequest req, Boolean throwIfNotRunning) [0x00004] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:262 
  at MonoTouch.Design.Client.ServerProcessConnection.CreateSession () [0x00022] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:107 
  at System.Threading.Tasks.Task`1[MonoTouch.Design.DesignSession].InnerInvoke () [0x00012] in /private/tmp/source-mono-mac-4.0.0-branch/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.0/external/referencesource/mscorlib/system/threading/Tasks/Future.cs:686 
  at System.Threading.Tasks.Task.Execute () [0x00016] in /private/tmp/source-mono-mac-4.0.0-branch/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.0/external/referencesource/mscorlib/system/threading/Tasks/Task.cs:2523 
  --- End of inner exception stack trace ---
---> (Inner Exception #0) MonoTouch.Design.Client.InvalidSessionException: Session invalid ---> Foundation.ObjCException: NSObjectInaccessibleException: NSDistantObject (0x2098ece0) is invalid (no connection)
  at ObjCRuntime.Runtime.ThrowNSException (IntPtr ns_exception) [0x00000] in <filename unknown>:0 
  at ObjCRuntime.Runtime.throw_ns_exception (IntPtr exc) [0x00000] in <filename unknown>:0 
  at (wrapper native-to-managed) ObjCRuntime.Runtime:throw_ns_exception (intptr)
  at (wrapper managed-to-native) MonoTouch.Hosting.Internal.Messaging:xamarin_bool_objc_msgSend_IntPtr_IntPtr_IntPtr (intptr,intptr,intptr,intptr,intptr)
  at Bindings.SimulatorBridge.InstallApplication (System.String bundleId, System.String path, Foundation.NSDictionary options) [0x00055] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Hosting/Bindings/SimulatorBridge.g.cs:147 
  at MonoTouch.Hosting.HostingIosSession.InstallApplication (System.String bundlePath, System.String bundleId) [0x00127] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Hosting/HostingIosSession.cs:153 
  at MonoTouch.Hosting.IosSession.InstallApplication (System.String bundlePath) [0x0002b] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Hosting/IosSession.cs:201 
  at MonoTouch.Hosting.IosSession.InstallAndLaunch (System.String appBundle, System.String simLang, System.String[] appArgs) [0x00006] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Hosting/IosSession.cs:165 
  --- End of inner exception stack trace ---
  at MonoTouch.Design.Client.Mac.MacServerProcessConnection.EnsureServerRunning (Boolean throwIfNotRunning) [0x00182] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client.Mac/MacServerProcessConnection.cs:181 
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest (System.Action`1 send, System.Action`1 recv, Boolean throwIfNotRunning) [0x00007] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:273 
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest (MonoTouch.Design.CommandRequest req, Boolean throwIfNotRunning) [0x0002f] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:240 
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[DesignSession] (MonoTouch.Design.CommandRequest req, Boolean throwIfNotRunning) [0x00004] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:262 
  at MonoTouch.Design.Client.ServerProcessConnection.CreateSession () [0x00022] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:107 
  at System.Threading.Tasks.Task`1[MonoTouch.Design.DesignSession].InnerInvoke () [0x00012] in /private/tmp/source-mono-mac-4.0.0-branch/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.0/external/referencesource/mscorlib/system/threading/Tasks/Future.cs:686 
  at System.Threading.Tasks.Task.Execute () [0x00016] in /private/tmp/source-mono-mac-4.0.0-branch/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.0/external/referencesource/mscorlib/system/threading/Tasks/Task.cs:2523 <---

  --- End of inner exception stack trace ---
  at MonoTouch.Design.Client.IPhoneDesignerSession+<EnsureSession>c__AnonStorey17`1[System.Object[]].<>m__0 () [0x001e9] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:1805 
  at System.Threading.Tasks.Task`1[System.Object[]].InnerInvoke () [0x00012] in /private/tmp/source-mono-mac-4.0.0-branch/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.0/external/referencesource/mscorlib/system/threading/Tasks/Future.cs:686 
  at System.Threading.Tasks.Task.Execute () [0x00016] in /private/tmp/source-mono-mac-4.0.0-branch/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.0/external/referencesource/mscorlib/system/threading/Tasks/Task.cs:2523 
  --- End of inner exception stack trace ---
---> (Inner Exception #0) System.Exception: EnsureSession counter too high. Server may be repeatedly crashing. ---> System.AggregateException: One or more errors occurred. ---> MonoTouch.Design.Client.InvalidSessionException: Session invalid ---> Foundation.ObjCException: NSObjectInaccessibleException: NSDistantObject (0x2098ece0) is invalid (no connection)
  at ObjCRuntime.Runtime.ThrowNSException (IntPtr ns_exception) [0x00000] in <filename unknown>:0 
  at ObjCRuntime.Runtime.throw_ns_exception (IntPtr exc) [0x00000] in <filename unknown>:0 
  at (wrapper native-to-managed) ObjCRuntime.Runtime:throw_ns_exception (intptr)
  at (wrapper managed-to-native) MonoTouch.Hosting.Internal.Messaging:xamarin_bool_objc_msgSend_IntPtr_IntPtr_IntPtr (intptr,intptr,intptr,intptr,intptr)
  at Bindings.SimulatorBridge.InstallApplication (System.String bundleId, System.String path, Foundation.NSDictionary options) [0x00055] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Hosting/Bindings/SimulatorBridge.g.cs:147 
  at MonoTouch.Hosting.HostingIosSession.InstallApplication (System.String bundlePath, System.String bundleId) [0x00127] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Hosting/HostingIosSession.cs:153 
  at MonoTouch.Hosting.IosSession.InstallApplication (System.String bundlePath) [0x0002b] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Hosting/IosSession.cs:201 
  at MonoTouch.Hosting.IosSession.InstallAndLaunch (System.String appBundle, System.String simLang, System.String[] appArgs) [0x00006] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Hosting/IosSession.cs:165 
  --- End of inner exception stack trace ---
  at MonoTouch.Design.Client.Mac.MacServerProcessConnection.EnsureServerRunning (Boolean throwIfNotRunning) [0x00182] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client.Mac/MacServerProcessConnection.cs:181 
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest (System.Action`1 send, System.Action`1 recv, Boolean throwIfNotRunning) [0x00007] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:273 
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest (MonoTouch.Design.CommandRequest req, Boolean throwIfNotRunning) [0x0002f] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:240 
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[DesignSession] (MonoTouch.Design.CommandRequest req, Boolean throwIfNotRunning) [0x00004] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:262 
  at MonoTouch.Design.Client.ServerProcessConnection.CreateSession () [0x00022] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:107 
  at System.Threading.Tasks.Task`1[MonoTouch.Design.DesignSession].InnerInvoke () [0x00012] in /private/tmp/source-mono-mac-4.0.0-branch/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.0/external/referencesource/mscorlib/system/threading/Tasks/Future.cs:686 
  at System.Threading.Tasks.Task.Execute () [0x00016] in /private/tmp/source-mono-mac-4.0.0-branch/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.0/external/referencesource/mscorlib/system/threading/Tasks/Task.cs:2523 
  --- End of inner exception stack trace ---
---> (Inner Exception #0) MonoTouch.Design.Client.InvalidSessionException: Session invalid ---> Foundation.ObjCException: NSObjectInaccessibleException: NSDistantObject (0x2098ece0) is invalid (no connection)
  at ObjCRuntime.Runtime.ThrowNSException (IntPtr ns_exception) [0x00000] in <filename unknown>:0 
  at ObjCRuntime.Runtime.throw_ns_exception (IntPtr exc) [0x00000] in <filename unknown>:0 
  at (wrapper native-to-managed) ObjCRuntime.Runtime:throw_ns_exception (intptr)
  at (wrapper managed-to-native) MonoTouch.Hosting.Internal.Messaging:xamarin_bool_objc_msgSend_IntPtr_IntPtr_IntPtr (intptr,intptr,intptr,intptr,intptr)
  at Bindings.SimulatorBridge.InstallApplication (System.String bundleId, System.String path, Foundation.NSDictionary options) [0x00055] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Hosting/Bindings/SimulatorBridge.g.cs:147 
  at MonoTouch.Hosting.HostingIosSession.InstallApplication (System.String bundlePath, System.String bundleId) [0x00127] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Hosting/HostingIosSession.cs:153 
  at MonoTouch.Hosting.IosSession.InstallApplication (System.String bundlePath) [0x0002b] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Hosting/IosSession.cs:201 
  at MonoTouch.Hosting.IosSession.InstallAndLaunch (System.String appBundle, System.String simLang, System.String[] appArgs) [0x00006] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Hosting/IosSession.cs:165 
  --- End of inner exception stack trace ---
  at MonoTouch.Design.Client.Mac.MacServerProcessConnection.EnsureServerRunning (Boolean throwIfNotRunning) [0x00182] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client.Mac/MacServerProcessConnection.cs:181 
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest (System.Action`1 send, System.Action`1 recv, Boolean throwIfNotRunning) [0x00007] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:273 
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest (MonoTouch.Design.CommandRequest req, Boolean throwIfNotRunning) [0x0002f] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:240 
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[DesignSession] (MonoTouch.Design.CommandRequest req, Boolean throwIfNotRunning) [0x00004] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:262 
  at MonoTouch.Design.Client.ServerProcessConnection.CreateSession () [0x00022] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:107 
  at System.Threading.Tasks.Task`1[MonoTouch.Design.DesignSession].InnerInvoke () [0x00012] in /private/tmp/source-mono-mac-4.0.0-branch/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.0/external/referencesource/mscorlib/system/threading/Tasks/Future.cs:686 
  at System.Threading.Tasks.Task.Execute () [0x00016] in /private/tmp/source-mono-mac-4.0.0-branch/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.0/external/referencesource/mscorlib/system/threading/Tasks/Task.cs:2523 <---

  --- End of inner exception stack trace ---
  at MonoTouch.Design.Client.IPhoneDesignerSession+<EnsureSession>c__AnonStorey17`1[System.Object[]].<>m__0 () [0x001e9] in /Users/builder/data/lanes/1494/75607267/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:1805 
  at System.Threading.Tasks.Task`1[System.Object[]].InnerInvoke () [0x00012] in /private/tmp/source-mono-mac-4.0.0-branch/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.0/external/referencesource/mscorlib/system/threading/Tasks/Future.cs:686 
  at System.Threading.Tasks.Task.Execute () [0x00016] in /private/tmp/source-mono-mac-4.0.0-branch/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.0/external/referencesource/mscorlib/system/threading/Tasks/Task.cs:2523 <---
Comment 12 Alan McGovern 2015-08-28 17:30:05 UTC
I'll assume this is fixed...