Visual Studio sometimes hang while building iOS solution

I've just updated Xamarin to the newest release (3.6), iOS 8.

Configuration is Windows machine on Parallels, working with Xamarin build host on the the same Mac (Shared network).

Sometimes when I build the solution VS is hanged, and I have to kill the process.

Please find attached VS UI thread call stack (it shows where exactly it waits):

0:000> !clrstack
OS Thread Id: 0x11b4 (0)
Child SP IP Call Site
0020d868 765583ea [HelperMethodFrame_1OBJ: 0020d868] System.Threading.SynchronizationContext.WaitHelper(IntPtr[], Boolean, Int32)
0020db0c 6dda75fa System.Windows.Threading.DispatcherSynchronizationContext.Wait(IntPtr[], Boolean, Int32)
0020db20 72ed7ed2 System.Threading.SynchronizationContext.InvokeWaitMethodHelper(System.Threading.SynchronizationContext, IntPtr[], Boolean, Int32)
0020dd58 73d42652 [GCFrame: 0020dd58]
0020de88 73d42652 [GCFrame: 0020de88]
0020df38 73d42652 [HelperMethodFrame_1OBJ: 0020df38] System.Threading.Monitor.ObjWait(Boolean, Int32, System.Object)
0020dfbc 72f198ea System.Threading.Monitor.Wait(System.Object, Int32, Boolean)
0020dfcc 72f2bcdb System.Threading.Monitor.Wait(System.Object, Int32)
0020dfd0 72f341c6 System.Threading.ManualResetEventSlim.Wait(Int32, System.Threading.CancellationToken)
0020e024 72f33ebf System.Threading.Tasks.Task.SpinThenBlockingWait(Int32, System.Threading.CancellationToken)
0020e064 72f64bd4 System.Threading.Tasks.Task.InternalWait(Int32, System.Threading.CancellationToken)
0020e0bc 72f33d72 System.Threading.Tasks.Task.Wait(Int32, System.Threading.CancellationToken)
0020e0cc 06353728 Xamarin.VisualStudio.IOS.Designer.DesignerRemoteRequests.InvalidateConnection(MonoTouch.Design.Client.ConnectionAttributes)
0020e0dc 06353688 Xamarin.VisualStudio.IOS.Designer.MtbServerConnectionProvider.InvalidateConnection(MonoTouch.Design.Client.ConnectionAttributes)
0020e0e0 06353667 MonoTouch.Design.Client.IPhoneDesignerService.InvalidateConnection(MonoTouch.Design.Client.ConnectionAttributes)
0020e0f4 063535ba MonoTouch.Design.Client.IPhoneDesignerSession.InvalidateAllConnections()
0020e148 06353425 MonoTouch.Design.Client.IPhoneDesignerSession.HandleReferencedAssembliesChanged(System.Object, MonoTouch.Design.Client.AssembliesChangedEventArgs)
0020e1a8 0635325d MonoTouch.Design.Client.IdeServiceProvider.OnAssembliesChanged()
0020e1c0 063531d6 Xamarin.VisualStudio.IOS.Designer.VisualStudioIdeServiceProvider.HandleAssembliesChanged(EnvDTE.vsBuildScope, EnvDTE.vsBuildAction)
0020e1c8 6b0c1bbf EnvDTE._dispBuildEvents_SinkHelper.OnBuildDone(EnvDTE.vsBuildScope, EnvDTE.vsBuildAction)
0020e504 73d42652 [DebuggerU2MCatchHandlerFrame: 0020e504]
0020e2b0 73d42652 [HelperMethodFrame_PROTECTOBJ: 0020e2b0] System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)
0020e584 72eaeb2d System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object, System.Object[], System.Object[])
0020e5a8 72eb4c8c System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)
0020f014 73d42652 [DebuggerU2MCatchHandlerFrame: 0020f014]
0020efe4 73d42652 [GCFrame: 0020efe4]
0020efc8 73d42652 [GCFrame: 0020efc8]

Posts

Sign In or Register to comment.