Bug 984 - Hang on startup
Summary: Hang on startup
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: Trunk
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-09-22 05:55 UTC by Alan McGovern
Modified: 2011-09-27 05:01 UTC (History)
2 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 Alan McGovern 2011-09-22 05:55:09 UTC
PATH="/Library/Frameworks/Mono.framework/bin:/Library/Frameworks/Mono.framework/Commands:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin" PKG_CONFIG_PATH="/Users/alanmcgovern/Projects/monodevelop/local-config:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/Library/Frameworks/Mono.framework/Libraries/pkgconfig:" LD_LIBRARY_PATH="/Library/Frameworks/Mono.framework/Libraries:" DYLD_FALLBACK_LIBRARY_PATH="/Library/Frameworks/Mono.framework/Versions/Current/lib:/lib:/usr/lib" MONO_GAC_PREFIX="/usr/local:" MONODEVELOP_LOCALE_PATH="/Users/alanmcgovern/Projects/monodevelop/main/build/locale" MONO_ADDINS_REGISTRY="/Users/alanmcgovern/Projects/monodevelop/main/build/bin" exec -a "mdtool" /Library/Frameworks/Mono.framework/Commands/mono --debug "/Users/alanmcgovern/Projects/monodevelop/main/build/bin/mdtool.exe" build ./../../../Main.sln -p:MacCrashLogger
MonoDevelop Build Tool
Loading solution: /Users/alanmcgovern/Projects/monodevelop/main/Main.sln
   Loading solution: /Users/alanmcgovern/Projects/monodevelop/main/Main.sln
      Loading projects ..
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         WARNING: Project '{0}' has different ToolsVersion than the containing
         solution.
         WARNING: Project '{0}' has different ToolsVersion than the containing
         solution.
         WARNING: Project '{0}' has different ToolsVersion than the containing
         solution.
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile
         Updating project from Makefile

Full thread dump:

"Threapool monitor" tid=0x0xb0835000 this=0x0x5936e70 thread handle 0x8c0 state : interrupted state owns ()

"Threadpool worker" tid=0x0xb060f000 this=0x0x580be70 thread handle 0x8c3 state : interrupted state owns ()

"<unnamed thread>" tid=0x0xb050d000 this=0x0x4c60a8 thread handle 0x80c state : interrupted state owns ()
  at (wrapper managed-to-native) System.Net.Sockets.Socket.Accept_internal (intptr,int&,bool) <IL 0x00023, 0xffffffff>
  at System.Net.Sockets.Socket.Accept () [0x0003b] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/System/System.Net.Sockets/Socket.cs:542
  at System.Net.Sockets.TcpListener.AcceptSocket () [0x00016] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/System/System.Net.Sockets/TcpListener.cs:193
  at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.WaitForConnections () [0x00000] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpServerChannel.cs:216
  at System.Threading.Thread.StartUnsafe () [0x00016] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/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>" tid=0x0xb040b000 this=0x0x4c61f8 thread handle 0x809 state : interrupted state owns ()
  at (wrapper managed-to-native) System.Net.Sockets.Socket.Accept_internal (intptr,int&,bool) <IL 0x00023, 0xffffffff>
  at System.Net.Sockets.Socket.Accept () [0x0003b] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/System/System.Net.Sockets/Socket.cs:542
  at Mono.Unix.UnixListener.AcceptSocket () [0x0001c] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/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/monobuild/build/BUILD/mono-2.10.5/mcs/class/Mono.Posix/Mono.Remoting.Channels.Unix/UnixServerChannel.cs:178
  at System.Threading.Thread.StartUnsafe () [0x00016] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/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>" tid=0x0xaccb12c0 this=0x0x4c6f18 thread handle 0x803 state : waiting on 0x8f9 : Event  owns ()
  at (wrapper managed-to-native) System.Threading.Monitor.Monitor_wait (object,int) <IL 0x00022, 0xffffffff>
  at System.Threading.Monitor.Wait (object,int) [0x0003e] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/corlib/System.Threading/Monitor.cs:148
  at System.Threading.Monitor.Wait (object) [0x00000] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/corlib/System.Threading/Monitor.cs:134
  at MonoDevelop.Ide.DispatchService.GuiSyncDispatch (MonoDevelop.Ide.StatefulMessageHandler,object) [0x0002d] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/DispatchService.cs:116
  at MonoDevelop.Ide.Gui.GuiSyncContext.Dispatch (MonoDevelop.Ide.StatefulMessageHandler,object) [0x00016] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/GuiSyncContext.cs:41
  at MonoDevelop.Ide.Gui.SyncContextDispatchSink.SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) [0x000fb] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/SyncContextAttribute.cs:125
  at System.Runtime.Remoting.ClientActivatedIdentity.SyncObjectProcessMessage (System.Runtime.Remoting.Messaging.IMessage) [0x00041] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/corlib/System.Runtime.Remoting/ServerIdentity.cs:191
  at System.Runtime.Remoting.Messaging.ServerContextTerminatorSink.SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) [0x00023] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/corlib/System.Runtime.Remoting.Messaging/ServerContextTerminatorSink.cs:50
  at System.Runtime.Remoting.Contexts.CrossContextChannel.SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) [0x00041] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/corlib/System.Runtime.Remoting.Contexts/CrossContextChannel.cs:57
  at System.Runtime.Remoting.Messaging.ClientContextTerminatorSink.SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) [0x0003b] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/corlib/System.Runtime.Remoting.Messaging/ClientContextTerminatorSink.cs:62
  at System.Runtime.Remoting.Messaging.EnvoyTerminatorSink.SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) [0x00000] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/corlib/System.Runtime.Remoting.Messaging/EnvoyTerminatorSink.cs:44
  at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke (System.Runtime.Remoting.Messaging.IMessage) [0x000ea] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/corlib/System.Runtime.Remoting.Proxies/RemotingProxy.cs:100
  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy,System.Runtime.Remoting.Messaging.IMessage,System.Exception&,object[]&) [0x0009c] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/corlib/System.Runtime.Remoting.Proxies/RealProxy.cs:191
  at (wrapper runtime-invoke) <Module>.runtime_invoke_object_object_object_Exception&_object[]& (object,intptr,intptr,intptr) <IL 0x0006e, 0xffffffff>
  at (wrapper managed-to-native) object.__icall_wrapper_mono_remoting_wrapper (intptr,intptr) <IL 0x00022, 0xffffffff>
  at (wrapper remoting-invoke) MonoDevelop.Ide.MessageService/InternalMessageService.GenericAlert (MonoDevelop.Ide.MessageDescription) <IL 0x00035, 0xffffffff>
  at (wrapper remoting-invoke-with-check) MonoDevelop.Ide.MessageService/InternalMessageService.GenericAlert (MonoDevelop.Ide.MessageDescription) <IL 0x00020, 0xffffffff>
  at MonoDevelop.Ide.MessageService.GenericAlert (string,string,string,int,MonoDevelop.Ide.AlertButton[]) [0x0004d] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/MessageService.cs:372
  at MonoDevelop.Ide.MessageService.GenericAlert (string,string,string,MonoDevelop.Ide.AlertButton[]) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/MessageService.cs:358
  at MonoDevelop.Ide.MessageService.AskQuestion (string,string,MonoDevelop.Ide.AlertButton[]) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/MessageService.cs:253
  at MonoDevelop.MonoMac.MonoMacProjectMigrationHandler.Migrate (MonoDevelop.Projects.Formats.MSBuild.MSBuildProject,string,string) [0x00030] in /Users/alanmcgovern/Projects/monodevelop/extras/MonoDevelop.MonoMac/MonoDevelop.MonoMac/MonoMacProjectMigrationHandler.cs:48
  at MonoDevelop.Projects.Formats.MSBuild.MSBuildProjectHandler.CreateSolutionItem (MonoDevelop.Projects.Formats.MSBuild.MSBuildProject,string,string,string,string,System.Type) [0x00059] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectHandler.cs:317
  at MonoDevelop.Projects.Formats.MSBuild.MSBuildProjectHandler.Load (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.Formats.MSBuild.MSBuildFileFormat,string,System.Type) [0x0017c] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectHandler.cs:281
  at MonoDevelop.Projects.Extensions.DotNetProjectNode.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.Formats.MSBuild.MSBuildFileFormat,string) [0x00016] in /Users/alanmcgovern/Projects/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/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectService.cs:91
  at MonoDevelop.Projects.Formats.MSBuild.SlnFileFormat/<LoadSolution>c__AnonStoreyB4.<>m__7D (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/SlnFileFormat.cs:744
  at MonoDevelop.Projects.DefaultProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.Extensions.ItemLoadCallback) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectService.cs:672
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:102
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.Extensions.ItemLoadCallback) [0x0000c] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:93
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:102
  at MonoDevelop.Autotools.MakefileProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/alanmcgovern/Projects/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/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:93
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:102
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.Extensions.ItemLoadCallback) [0x0000c] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:93
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:102
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.Extensions.ItemLoadCallback) [0x0000c] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:93
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:102
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.Extensions.ItemLoadCallback) [0x0000c] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:93
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:102
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.Extensions.ItemLoadCallback) [0x0000c] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:93
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:102
  at MonoDevelop.Projects.CompiledAssemblyExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x0003e] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/CompiledAssemblyProject.cs:223
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.Extensions.ItemLoadCallback) [0x0000c] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:93
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:102
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.Extensions.ItemLoadCallback) [0x0000c] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:93
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:102
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.Extensions.ItemLoadCallback) [0x0000c] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:93
  at MonoDevelop.Projects.Extensions.ProjectExtensionUtil.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.Extensions.ItemLoadCallback) [0x00016] in /Users/alanmcgovern/Projects/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) [0x004c6] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/SlnFileFormat.cs:743
  at MonoDevelop.Projects.Formats.MSBuild.SlnFileFormat.ReadFile (string,MonoDevelop.Projects.Formats.MSBuild.MSBuildFileFormat,MonoDevelop.Core.IProgressMonitor) [0x00030] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/SlnFileFormat.cs:598
  at MonoDevelop.Projects.Formats.MSBuild.MSBuildFileFormat.ReadFile (MonoDevelop.Core.FilePath,System.Type,MonoDevelop.Core.IProgressMonitor) [0x00017] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildFileFormat.cs:161
  at MonoDevelop.Projects.ProjectService.ReadFile (MonoDevelop.Core.IProgressMonitor,string,System.Type,MonoDevelop.Projects.FileFormat&) [0x0002d] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectService.cs:310
  at MonoDevelop.Projects.ProjectService.InternalReadWorkspaceItem (string,MonoDevelop.Core.IProgressMonitor) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectService.cs:282
  at MonoDevelop.Projects.DefaultProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectService.cs:677
  at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:107
  at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:107
  at MonoDevelop.Autotools.MakefileProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/MonoDevelop.Autotools/MakefileProjectServiceExtension.cs:48
  at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:107
  at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:107
  at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:107
  at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:107
  at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:107
  at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:107
  at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:107
  at MonoDevelop.Projects.ProjectService.ReadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00027] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectService.cs:261
  at MonoDevelop.Projects.BuildTool.Run (string[]) [0x001d0] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/BuildTool.cs:109
  at MonoDevelop.Core.ApplicationService.StartApplication (string,string[]) [0x0004c] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core/ApplicationService.cs:50
  at MonoDevelopProcessHost.Main (string[]) [0x00122] in /Users/alanmcgovern/Projects/monodevelop/main/src/tools/mdtool/src/mdtool.cs:81
  at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <IL 0x0005c, 0xffffffff>


MD hung with no UI showing at all
Comment 1 Mikayla Hutchinson [MSFT] 2011-09-22 06:44:30 UTC
It's trying to migrate a project, and showing a UI, but there's no GUI thread.

I suppose this calls for two fixes:
* DispatchService.GuiSyncDispatch should throw an exception if there's no GUI thread.
* If a project needs migrating, MSBuildProjectHandler.CreateSolutionItem should report a "Please migrate the project using the GUI" error and bail.
Comment 2 Alan McGovern 2011-09-26 17:49:25 UTC
Forcing the user into using a GUI would be awkward for build bots and whatnot trying to build solutions. Two solutions would be:

1) The console based path will always run "backup and migrate" and print a warning
2) Add a parameter to mdtool which sets the migration mode so the person invoking mdtool can pass --migration=backup|migrate|ignore. The default would be 'ignore', which means the migration will not happen and the build will fail.
Comment 3 Mikayla Hutchinson [MSFT] 2011-09-26 18:36:48 UTC
I don't think requiring a GUI to perform the migration is a big deal. There are many things you can only do using a GUI, e.g. adding files to a project. Build bots shouldn't be running migrations - if the solution needs migrating then the build should fail.
Comment 4 Alan McGovern 2011-09-27 05:01:39 UTC
I don't particularly mind one way or the other. I don't particularly like the idea of auto-migration (tools shouldn't change my code mysteriously behind my back), so i'd prefer either a commandline option or having migration disabled by default. I'll just disable it by default and if people really care we can revisit this issue later.

It'll be fixed in git in a few mins!