Bug 12623 - opening project on Xamarin Studio deadlocks the UI
Summary: opening project on Xamarin Studio deadlocks the UI
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Android Add-in ()
Version: Trunk
Hardware: PC Mac OS
: High major
Target Milestone: master
Assignee: Mikayla Hutchinson [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2013-06-10 15:26 UTC by Rodrigo Kumpera
Modified: 2014-01-20 09:57 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:
VERIFIED FIXED

Description Rodrigo Kumpera 2013-06-10 15:26:19 UTC
XS: 4.0.8
XA: 4.7.4
Mono: 3.0.12 (wrench build - c21b959)


It hangs at the beginning of loading the solution. The solution is relaunch XS after killing the IDE from the Activity Monitor as quit/force quit won't do it.


This the Console output after doing a kill -QUIT:


Starting Xamarin Studio
   Loading Workbench
      Initializing Main Window
ERROR [2013-06-10 12:07:28Z]: Failed to load MonoAndroid entitlements: Invalid entitlements
WARNING [2013-06-10 12:07:29Z]: First run content index not found.
Error: did not find one of the files in sources//Library/Frameworks/Mono.framework/External/monodoc/MonoAndroid-man
ERROR [2013-06-10 12:09:53Z]: ANDROID: Adb server launch operation failed: 
Full thread dump:

"Timer-Scheduler"  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Threading.WaitHandle.WaitOne_internal (System.Threading.WaitHandle,intptr,int,bool) <IL 0x00030, 0xffffffff>
  at System.Threading.WaitHandle.WaitOne (int,bool) [0x00032] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/corlib/System.Threading/WaitHandle.cs:379
  at System.Threading.WaitHandle.WaitOne (int) [0x00000] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/corlib/System.Threading/WaitHandle.cs:392
  at System.Threading.Timer/Scheduler.SchedulerThread () [0x0023f] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/corlib/System.Threading/Timer.cs:388
  at System.Threading.Thread.StartInternal () [0x00016] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/corlib/System.Threading/Thread.cs:680
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0004e, 0xffffffff>

"IO Threadpool worker"
"Syntax highlighting"  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Threading.WaitHandle.WaitOne_internal (System.Threading.WaitHandle,intptr,int,bool) <IL 0x00030, 0xffffffff>
  at System.Threading.WaitHandle.WaitOne () [0x00015] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/corlib/System.Threading/WaitHandle.cs:357
  at Mono.TextEditor.Highlighting.SyntaxModeService.ProcessQueue () [0x00047] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor.Highlighting/SyntaxModeService.cs:351
  at System.Threading.Thread.StartInternal () [0x00016] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/corlib/System.Threading/Thread.cs:680
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0004e, 0xffffffff>

"Background dispatcher"  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Threading.Monitor.try_enter_with_atomic_var (object,int,bool&) <IL 0x00023, 0xffffffff>
  at System.Threading.Monitor.TryEnter (object,int,bool&) [0x00041] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/corlib/System.Threading/Monitor.cs:224
  at System.Threading.Monitor.Enter (object,bool&) [0x00000] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/corlib/System.Threading/Monitor.cs:198
  at (wrapper unknown) System.Threading.Monitor.FastMonitorEnterV4 (object,bool&) <IL 0x00057, 0xffffffff>
  at Mono.AndroidTools.AndroidDeviceManager.StartTracker () [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/md-addins/MonoDevelop.MonoDroid/external/androidtools/Mono.AndroidTools/AndroidDeviceManager.cs:66
  at MonoDevelop.MonoDroid.DeviceManager.CheckTracker () [0x0005e] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/md-addins/MonoDevelop.MonoDroid/MonoDevelop.MonoDroid/Adb/DeviceManager.cs:83
  at MonoDevelop.MonoDroid.DeviceManager.IncrementOpenProjectCount () [0x0001f] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/md-addins/MonoDevelop.MonoDroid/MonoDevelop.MonoDroid/Adb/DeviceManager.cs:55
  at MonoDevelop.MonoDroid.MonoDroidProject.Init () [0x00005] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/md-addins/MonoDevelop.MonoDroid/MonoDevelop.MonoDroid/MonoDroidProject.cs:235
  at MonoDevelop.MonoDroid.MonoDroidProject..ctor (string) [0x00019] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/md-addins/MonoDevelop.MonoDroid/MonoDevelop.MonoDroid/MonoDroidProject.cs:191
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <IL 0x00052, 0xffffffff>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&) <IL 0x00030, 0xffffffff>
  at System.Reflection.MonoCMethod.InternalInvoke (object,object[]) [0x00002] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/corlib/System.Reflection/MonoMethod.cs:552
  at System.Reflection.MonoCMethod.DoInvoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) [0x000a5] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/corlib/System.Reflection/MonoMethod.cs:543
  at System.Reflection.MonoCMethod.Invoke (System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) [0x00000] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/corlib/System.Reflection/MonoMethod.cs:571
  at System.Activator.CreateInstance (System.Type,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[]) [0x00180] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/corlib/System/Activator.cs:301
  at System.Activator.CreateInstance (System.Type,object[],object[]) [0x00000] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/corlib/System/Activator.cs:232
  at System.Activator.CreateInstance (System.Type,object[]) [0x00000] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/corlib/System/Activator.cs:227
  at MonoDevelop.Projects.Extensions.DotNetProjectSubtypeNode.CreateInstance (string) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Extensions/DotNetProjectSubtypeNode.cs:123
  at MonoDevelop.Projects.Formats.MSBuild.MSBuildProjectHandler.CreateSolutionItem (MonoDevelop.Core.IProgressMonitor,MonoDevelop.Projects.Formats.MSBuild.MSBuildProject,string,string,string,string,System.Type) [0x00128] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectHandler.cs:381
  at MonoDevelop.Projects.Formats.MSBuild.MSBuildProjectHandler.Load (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.Formats.MSBuild.MSBuildFileFormat,string,System.Type) [0x0018c] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectHandler.cs:319
  at MonoDevelop.Projects.Extensions.DotNetProjectNode.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.Formats.MSBuild.MSBuildFileFormat,string) [0x00016] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Extensions/DotNetProjectNode.cs:66
  at MonoDevelop.Projects.Formats.MSBuild.MSBuildProjectService.LoadItem (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.Formats.MSBuild.MSBuildFileFormat,string,string) [0x00024] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectService.cs:106
  at MonoDevelop.Projects.Formats.MSBuild.SlnFileFormat/<LoadSolution>c__AnonStorey74.<>m__50 (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/SlnFileFormat.cs:793
  at MonoDevelop.Projects.DefaultProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.Extensions.ItemLoadCallback) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectService.cs:672
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:103
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.Extensions.ItemLoadCallback) [0x0000c] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:94
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:103
  at MonoDevelop.Autotools.MakefileProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/addins/MonoDevelop.Autotools/MakefileProjectServiceExtension.cs:69
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.Extensions.ItemLoadCallback) [0x0000c] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:94
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:103
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.Extensions.ItemLoadCallback) [0x0000c] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:94
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:103
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.Extensions.ItemLoadCallback) [0x0000c] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:94
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:103
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.Extensions.ItemLoadCallback) [0x0000c] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:94
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:103
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.Extensions.ItemLoadCallback) [0x0000c] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:94
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:103
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.Extensions.ItemLoadCallback) [0x0000c] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:94
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:103
  at MonoDevelop.Projects.CompiledAssemblyExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x0003e] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/CompiledAssemblyProject.cs:224
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.Extensions.ItemLoadCallback) [0x0000c] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:94
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:103
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.Extensions.ItemLoadCallback) [0x0000c] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:94
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:103
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.Extensions.ItemLoadCallback) [0x0000c] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:94
  at MonoDevelop.Projects.Extensions.ProjectExtensionUtil.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.Extensions.ItemLoadCallback) [0x00016] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Extensions/ProjectExtensionUtil.cs:59
  at MonoDevelop.Projects.Formats.MSBuild.SlnFileFormat.LoadSolution (MonoDevelop.Projects.Solution,string,MonoDevelop.Projects.Formats.MSBuild.MSBuildFileFormat,MonoDevelop.Core.IProgressMonitor) [0x004cb] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/SlnFileFormat.cs:792
  at MonoDevelop.Projects.Formats.MSBuild.SlnFileFormat.ReadFile (string,MonoDevelop.Projects.Formats.MSBuild.MSBuildFileFormat,MonoDevelop.Core.IProgressMonitor) [0x00044] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/SlnFileFormat.cs:647
  at MonoDevelop.Projects.Formats.MSBuild.MSBuildFileFormat.ReadFile (MonoDevelop.Core.FilePath,System.Type,MonoDevelop.Core.IProgressMonitor) [0x00017] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildFileFormat.cs:166
  at MonoDevelop.Projects.ProjectService.ReadFile (MonoDevelop.Core.IProgressMonitor,string,System.Type,MonoDevelop.Projects.FileFormat&) [0x0002d] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectService.cs:310
  at MonoDevelop.Projects.ProjectService.InternalReadWorkspaceItem (string,MonoDevelop.Core.IProgressMonitor) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectService.cs:282
  at MonoDevelop.Projects.DefaultProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectService.cs:677
  at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:108
  at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:108
  at MonoDevelop.Autotools.MakefileProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/addins/MonoDevelop.Autotools/MakefileProjectServiceExtension.cs:48
  at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:108
  at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:108
  at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:108
  at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:108
  at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:108
  at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:108
  at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:108
  at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:108
  at MonoDevelop.Projects.ProjectService.ReadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00027] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectService.cs:261
  at MonoDevelop.Ide.RootWorkspace.BackgroundLoadWorkspace (MonoDevelop.Core.IProgressMonitor,string,bool,bool) [0x00163] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/RootWorkspace.cs:593
  at MonoDevelop.Ide.RootWorkspace/<OpenWorkspaceItem>c__AnonStorey91.<>m__123 () [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/RootWorkspace.cs:534
  at MonoDevelop.Ide.GenericMessageContainer.Run () [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/DispatchService.cs:452
  at MonoDevelop.Ide.DispatchService.backgroundDispatcher () [0x0006b] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/DispatchService.cs:314
  at System.Threading.Thread.StartInternal () [0x00016] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/corlib/System.Threading/Thread.cs:680
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0004e, 0xffffffff>

"Background parser"  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Threading.WaitHandle.WaitOne_internal (System.Threading.WaitHandle,intptr,int,bool) <IL 0x00030, 0xffffffff>
  at System.Threading.WaitHandle.WaitOne (int,bool) [0x00032] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/corlib/System.Threading/WaitHandle.cs:379
  at MonoDevelop.Ide.TypeSystem.TypeSystemService.WaitForParseJob (int) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/TypeSystemService.cs:2451
  at MonoDevelop.Ide.TypeSystem.TypeSystemService.ParserUpdateThread () [0x00005] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/TypeSystemService.cs:2511
  at System.Threading.Thread.StartInternal () [0x00016] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/corlib/System.Threading/Thread.cs:680
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0004e, 0xffffffff>

"<unnamed thread>"  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Threading.Thread.Sleep_internal (int) <IL 0x00021, 0xffffffff>
  at System.Threading.Thread.Sleep (int) [0x00017] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/corlib/System.Threading/Thread.cs:420
  at System.Runtime.Remoting.Channels.Tcp.TcpConnectionPool.ConnectionCollector () [0x00000] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpConnectionPool.cs:112
  at System.Threading.Thread.StartInternal () [0x00016] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/corlib/System.Threading/Thread.cs:680
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0004e, 0xffffffff>

"<unnamed thread>"  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Net.Sockets.Socket.Accept_internal (intptr,int&,bool) <IL 0x00023, 0xffffffff>
  at System.Net.Sockets.Socket.Accept () [0x00036] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/System/System.Net.Sockets/Socket.cs:546
  at System.Net.Sockets.TcpListener.AcceptSocket () [0x00016] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/System/System.Net.Sockets/TcpListener.cs:189
  at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.WaitForConnections () [0x00000] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpServerChannel.cs:216
  at System.Threading.Thread.StartInternal () [0x00016] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/corlib/System.Threading/Thread.cs:680
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0004e, 0xffffffff>

"Threadpool worker"
"Threadpool worker"
"<unnamed thread>"  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Net.Sockets.Socket.Accept_internal (intptr,int&,bool) <IL 0x00023, 0xffffffff>
  at System.Net.Sockets.Socket.Accept () [0x00036] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/System/System.Net.Sockets/Socket.cs:546
  at Mono.Unix.UnixListener.AcceptSocket () [0x0001c] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/Mono.Posix/Mono.Unix/UnixListener.cs:94
  at (wrapper remoting-invoke-with-check) Mono.Unix.UnixListener.AcceptSocket () <IL 0x00038, 0xffffffff>
  at Mono.Remoting.Channels.Unix.UnixServerChannel.WaitForConnections () [0x00000] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/Mono.Posix/Mono.Remoting.Channels.Unix/UnixServerChannel.cs:178
  at System.Threading.Thread.StartInternal () [0x00016] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/corlib/System.Threading/Thread.cs:680
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0004e, 0xffffffff>

"Threadpool monitor"
"<unnamed thread>"  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Threading.Thread.Sleep_internal (int) <IL 0x00021, 0xffffffff>
  at System.Threading.Thread.Sleep (int) [0x00017] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/corlib/System.Threading/Thread.cs:420
  at System.IO.KeventWatcher.Monitor () [0x000b6] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/System/System.IO/KeventWatcher.cs:233
  at System.Threading.Thread.StartInternal () [0x00016] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/corlib/System.Threading/Thread.cs:680
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0004e, 0xffffffff>

"Adb output reader"  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Threading.Monitor.try_enter_with_atomic_var (object,int,bool&) <IL 0x00023, 0xffffffff>
  at System.Threading.Monitor.TryEnter (object,int,bool&) [0x00041] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/corlib/System.Threading/Monitor.cs:224
  at System.Threading.Monitor.Enter (object,bool&) [0x00000] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/corlib/System.Threading/Monitor.cs:198
  at (wrapper unknown) System.Threading.Monitor.FastMonitorEnterV4 (object,bool&) <IL 0x00057, 0xffffffff>
  at MonoDevelop.MonoDroid.DeviceManager.ManagerDevicesUpdated (object,System.EventArgs) [0x00002] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/md-addins/MonoDevelop.MonoDroid/MonoDevelop.MonoDroid/Adb/DeviceManager.cs:92
  at Mono.AndroidTools.AndroidDeviceManager.OnChanged (object,System.EventArgs) [0x0000b] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/md-addins/MonoDevelop.MonoDroid/external/androidtools/Mono.AndroidTools/AndroidDeviceManager.cs:203
  at Mono.AndroidTools.AndroidDeviceManager.ClearTracking () [0x000c7] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/md-addins/MonoDevelop.MonoDroid/external/androidtools/Mono.AndroidTools/AndroidDeviceManager.cs:197
  at Mono.AndroidTools.AndroidDeviceManager.StartServerProcessDone (object,System.EventArgs) [0x0006b] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/md-addins/MonoDevelop.MonoDroid/external/androidtools/Mono.AndroidTools/AndroidDeviceManager.cs:99
  at Mono.AndroidTools.Internal.AdbStartServerProcess.CaptureOutput () [0x00127] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/md-addins/MonoDevelop.MonoDroid/external/androidtools/Mono.AndroidTools/Internal/AdbStartServerProcess.cs:146
  at System.Threading.Thread.StartInternal () [0x00016] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/corlib/System.Threading/Thread.cs:680
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0004e, 0xffffffff>

"<threadpool thread>"
"GUI Thread"  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <IL 0x00022, 0xffffffff>
  at Gtk.Application.Run () <IL 0x00000, 0x0000b>
  at MonoDevelop.Ide.IdeApp.Run () [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/Ide.cs:399
  at MonoDevelop.Ide.IdeStartup.Run (MonoDevelop.Ide.MonoDevelopOptions) [0x00715] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:287
  at MonoDevelop.Ide.IdeStartup.Main (string[]) [0x00077] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:534
  at Xamarin.Startup.MainClass.Main (string[]) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/md-addins/Xamarin.Startup/Main.cs:10
  at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <IL 0x0005c, 0xffffffff>

"Threadpool worker"
"Threadpool worker"
"Autosave"  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Threading.WaitHandle.WaitOne_internal (System.Threading.WaitHandle,intptr,int,bool) <IL 0x00030, 0xffffffff>
  at System.Threading.WaitHandle.WaitOne () [0x00015] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/corlib/System.Threading/WaitHandle.cs:357
  at MonoDevelop.SourceEditor.AutoSave.AutoSaveThread () [0x00005] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/AutoSave.cs:137
  at System.Threading.Thread.StartInternal () [0x00016] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.0.12/mcs/class/corlib/System.Threading/Thread.cs:680
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0004e, 0xffffffff>
Comment 1 Mikayla Hutchinson [MSFT] 2013-06-17 17:51:23 UTC
Is this reproducible?

It looks like a runtime issue, AFAICT we have two threads trying to enter the AndroidDeviceManager lock, but nothing holding the lock.
Comment 2 Rodrigo Kumpera 2013-06-20 16:13:02 UTC
There are two threads mutually deadlocked:

"Adb output reader"  at <unknown> <0xffffffff>
Acquired AndroidDeviceManager::lockObj in StartServerProcessDone
Trying to lock DeviceManager::lockObj in ManagerDevicesUpdated


"Background dispatcher"  at <unknown> <0xffffffff>
Acquired DeviceManager::lockObj in IncrementOpenProjectCount
Trying to lock AndroidDeviceManager::lockObj in StartTracker
Comment 5 Mikayla Hutchinson [MSFT] 2013-11-11 18:58:16 UTC
Fixed in md-addins/918ed364e75b921b3d38bfd93efc4bd919c5353a
Comment 6 Atin 2014-01-20 09:57:25 UTC
Today, we have checked this issue with:

XS 4.2.3(build 127)- 781819ed590c05a48201be53eb9602b56a4c1fde
MT 7.0.7.50
MFA 4.13.0-33

Now this issue is not exist, we are able to load MFA and iOS project successfully in XS without any hang or error. 

Please let us know, if we have to check something else. As of now marking this as Verified.