Bug 917 - XCode4 migration hangs.
Summary: XCode4 migration hangs.
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 2.8 Beta 2
Hardware: PC Mac OS
: --- blocker
Target Milestone: 2.8
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2011-09-19 17:14 UTC by Miguel de Icaza [MSFT]
Modified: 2011-09-20 02:57 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 Miguel de Icaza [MSFT] 2011-09-19 17:14:14 UTC
Attached is a snapshot of my local TweetStation + MonoTouch.Dialog that aborts the migration to XCode 4 on MonoDevelop 2.6 Beta4

This is also the log I get on the Console if I use kill -QUIT on MonoDevelop when it is using 100% CPU:

Starting MonoDevelop
   Loading Workbench
      Initializing Main Window
Full thread dump:

"IO Threadpool worker" tid=0x0xb04d1000 this=0x0x8b0f540 thread handle 0x40e state : interrupted state owns ()

"<threadpool thread>" tid=0x0xb04af000 this=0x0x8b0f5e8 thread handle 0x40d state : interrupted state owns ()

"Threadpool worker" tid=0x0xb0631000 this=0x0x896b7e0 thread handle 0x4ef state : interrupted state owns ()

"Threapool monitor" tid=0x0xb052f000 this=0x0x59c41f8 thread handle 0x4e6 state : interrupted state owns ()

"Threadpool worker" tid=0x0xb0bbd000 this=0x0x99c0e70 thread handle 0x4fd state : interrupted state owns ()

"Threadpool worker" tid=0x0xb0abb000 this=0x0x99941f8 thread handle 0x4fc state : interrupted state owns ()

"<unnamed thread>" tid=0x0xb0937000 this=0x0x8b0fdc8 thread handle 0x4f7 state : interrupted state owns ()
  at (wrapper managed-to-native) System.Threading.Thread.Sleep_internal (int) <IL 0x00021, 0xffffffff>
  at System.Threading.Thread.Sleep (int) [0x00017] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/corlib/System.Threading/Thread.cs:374
  at System.IO.KeventWatcher.Monitor () [0x000b6] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/System/System.IO/KeventWatcher.cs:233
  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>

"Background parser" tid=0x0xb0733000 this=0x0x9b89498 thread handle 0x4f3 state : interrupted state owns ()
  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/monobuild/build/BUILD/mono-2.10.5/mcs/class/corlib/System.Threading/WaitHandle.cs:347
  at MonoDevelop.Projects.Dom.Parser.ProjectDomService.WaitForParseJob (int) [0x00000] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Dom.Parser/ProjectDomService.cs:673
  at MonoDevelop.Projects.Dom.Parser.ProjectDomService.ParserUpdateThread () [0x00005] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Dom.Parser/ProjectDomService.cs:739
  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>

"GUI Thread" tid=0x0xad1f62c0 this=0x0x4c4f18 thread handle 0x403 state : not waiting owns ()
  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 /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/Ide.cs:384
  at MonoDevelop.Ide.IdeStartup.Run (string[]) [0x0075c] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:266
  at MonoDevelop.Ide.IdeStartup.Main (string[]) [0x00017] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:490
  at MonoDevelop.Startup.MonoDevelopMain.Main (string[]) [0x00000] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Startup/MonoDevelop.Startup/MonoDevelopMain.cs:16
  at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <IL 0x0005c, 0xffffffff>

"Background dispatcher" tid=0x0xb040b000 this=0x0x4c4b28 thread handle 0x40a state : interrupted state owns ()
  at (wrapper managed-to-native) string.InternalAllocateStr (int) <IL 0x00021, 0xffffffff>
  at string.CreateString (char[],int,int) [0x00066] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/corlib/System/String.cs:2760
  at (wrapper managed-to-managed) string..ctor (char[],int,int) <IL 0x0000a, 0xffffffff>
  at System.NumberFormatter.FastIntegerToString (int,System.IFormatProvider) [0x00071] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/corlib/System/NumberFormatter.cs:1021
  at System.NumberFormatter.NumberToString (int,System.IFormatProvider) [0x00025] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/corlib/System/NumberFormatter.cs:937
  at int.ToString () [0x00000] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/corlib/System/Int32.cs:663
  at MonoDevelop.IPhone.IPhoneProjectMigrationHandler.Migrate (MonoDevelop.Projects.Formats.MSBuild.MSBuildProject,string,string) [0x0027d] in /private/tmp/source/md-addins/MonoDevelop.IPhone/MonoDevelop.IPhone/Project/IPhoneProjectMigrationHandler.cs:120
  at MonoDevelop.Projects.Formats.MSBuild.MSBuildProjectHandler.CreateSolutionItem (MonoDevelop.Projects.Formats.MSBuild.MSBuildProject,string,string,string,string,System.Type) [0x00059] in /private/tmp/source/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 /private/tmp/source/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 /private/tmp/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 /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectService.cs:91
  at MonoDevelop.Projects.Formats.MSBuild.SlnFileFormat/<LoadSolution>c__AnonStoreyAC.<>m__70 (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /private/tmp/source/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 /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectService.cs:672
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /private/tmp/source/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 /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:93
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:102
  at MonoDevelop.Autotools.MakefileProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /private/tmp/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 /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:93
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /private/tmp/source/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 /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:93
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /private/tmp/source/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 /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:93
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /private/tmp/source/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 /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:93
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /private/tmp/source/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 /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:93
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:102
  at MonoDevelop.Projects.CompiledAssemblyExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x0003e] in /private/tmp/source/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 /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:93
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /private/tmp/source/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 /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:93
  at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /private/tmp/source/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 /private/tmp/source/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 /private/tmp/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) [0x004c6] in /private/tmp/source/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 /private/tmp/source/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 /private/tmp/source/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 /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectService.cs:310
  at MonoDevelop.Projects.ProjectService.InternalReadWorkspaceItem (string,MonoDevelop.Core.IProgressMonitor) [0x00000] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectService.cs:282
  at MonoDevelop.Projects.DefaultProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectService.cs:677
  at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:107
  at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:107
  at MonoDevelop.Autotools.MakefileProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /private/tmp/source/monodevelop/main/src/addins/MonoDevelop.Autotools/MakefileProjectServiceExtension.cs:48
  at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:107
  at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:107
  at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:107
  at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:107
  at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:107
  at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:107
  at MonoDevelop.Projects.ProjectServiceExtension.LoadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00000] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:107
  at MonoDevelop.Projects.ProjectService.ReadWorkspaceItem (MonoDevelop.Core.IProgressMonitor,string) [0x00027] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectService.cs:261
  at MonoDevelop.Ide.RootWorkspace.BackgroundLoadWorkspace (MonoDevelop.Core.IProgressMonitor,string,bool) [0x000f2] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/RootWorkspace.cs:566
  at MonoDevelop.Ide.RootWorkspace/<OpenWorkspaceItem>c__AnonStoreyC3.<>m__1A5 () [0x00000] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/RootWorkspace.cs:518
  at MonoDevelop.Ide.GenericMessageContainer.Run () [0x00000] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/DispatchService.cs:334
  at MonoDevelop.Ide.DispatchService.backgroundDispatcher () [0x00074] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/DispatchService.cs:295
  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>
Comment 3 Mike Krüger 2011-09-20 02:57:27 UTC
Confirmed that it works on master.