Bug 14211 - Hang on opening project
Summary: Hang on opening project
Status: RESOLVED FIXED
Alias: None
Product: Runtime
Classification: Mono
Component: JIT ()
Version: unspecified
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
: 14266 ()
Depends on:
Blocks:
 
Reported: 2013-08-23 12:07 UTC by Christian Schmitt
Modified: 2013-09-11 06:41 UTC (History)
7 users (show)

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


Attachments
hang report (563.10 KB, application/octet-stream)
2013-08-23 12:07 UTC, Christian Schmitt
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 GitHub or Developer Community 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 Christian Schmitt 2013-08-23 12:07:06 UTC
Created attachment 4702 [details]
hang report

http://forums.xamarin.com/discussion/comment/24906#Comment_24906
Comment 1 Mikayla Hutchinson [MSFT] 2013-08-23 14:48:43 UTC
Linked forum post has a zip file of logs, the problem seems to be a runtime crash in the VCS system, and hanging while backtracing.

* Assertion at method-to-ir.c:5579, condition `cfg->exception_type == MONO_EXCEPTION_NONE' not met

Stacktrace:

  at <unknown> <0xffffffff>
  at MonoDevelop.VersionControl.VersionControlService.GetRepositoryReference (string,string) [0x00022] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.9-branch/123fc693/source/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlService.cs:205
  at MonoDevelop.VersionControl.VersionControlService.GetRepository (MonoDevelop.Projects.IWorkspaceObject) [0x0003f] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.9-branch/123fc693/source/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlService.cs:188
  at MonoDevelop.VersionControl.Git.GitNodeBuilderExtension.OnNodeAdded (object) [0x00009] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.9-branch/123fc693/source/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitNodeBuilderExtension.cs:75
  at MonoDevelop.Ide.Gui.Components.ExtensibleTreeView.RegisterNode (Gtk.TreeIter,object,MonoDevelop.Ide.Gui.Components.NodeBuilder[],bool) [0x00055] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.9-branch/123fc693/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/ExtensibleTreeView.cs:1514
  at MonoDevelop.Ide.Gui.Components.ExtensibleTreeView/TreeBuilder.AddChild (object,bool) [0x000ed] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.9-branch/123fc693/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/TreeBuilder.cs:226
  at MonoDevelop.Ide.Gui.Components.ExtensibleTreeView.AddChild (object) [0x0000b] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.9-branch/123fc693/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/ExtensibleTreeView.cs:516
  at MonoDevelop.Ide.Gui.Pads.SolutionPad.OnOpenWorkspace (object,MonoDevelop.Projects.WorkspaceItemEventArgs) [0x0000d] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.9-branch/123fc693/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads/SolutionPad.cs:53
  at MonoDevelop.Ide.RootWorkspace.NotifyItemAddedGui (MonoDevelop.Projects.WorkspaceItem,bool) [0x0007e] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.9-branch/123fc693/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/RootWorkspace.cs:1091
  at MonoDevelop.Ide.RootWorkspace.NotifyItemAdded (MonoDevelop.Projects.WorkspaceItem) [0x0002c] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.9-branch/123fc693/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/RootWorkspace.cs:1059
  at MonoDevelop.Ide.RootWorkspaceItemCollection.InsertItem (int,MonoDevelop.Projects.WorkspaceItem) [0x0001b] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.9-branch/123fc693/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/RootWorkspace.cs:1488
  at System.Collections.ObjectModel.Collection`1.Add (T) [0x0000c] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.2/mcs/class/corlib/System.Collections.ObjectModel/Collection.cs:80
  at MonoDevelop.Ide.RootWorkspace/<BackgroundLoadWorkspace>c__AnonStorey9B.<>m__129 (object,System.EventArgs) [0x00012] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.9-branch/123fc693/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/RootWorkspace.cs:602
  at Gtk.Application/InvokeCB.Invoke () <IL 0x00012, 0x0001d>
  at GLib.Timeout/TimeoutProxy.Handler () <IL 0x0000d, 0x00031>
  at (wrapper native-to-managed) GLib.Timeout/TimeoutProxy.Handler () <IL 0x0002d, 0xffffffff>
  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.1.9-branch/123fc693/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/Ide.cs:388
  at MonoDevelop.Ide.IdeStartup.Run (MonoDevelop.Ide.MonoDevelopOptions) [0x007ad] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.9-branch/123fc693/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:291
  at MonoDevelop.Ide.IdeStartup.Main (string[]) [0x00086] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.9-branch/123fc693/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:538
  at Xamarin.Startup.MainClass.Main (string[]) [0x00002] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.9-branch/123fc693/source/md-addins/Xamarin.Startup/Main.cs:10
  at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <IL 0x0005c, 0xffffffff>
Comment 2 Zoltan Varga 2013-08-29 21:19:16 UTC
*** Bug 14266 has been marked as a duplicate of this bug. ***
Comment 3 Zoltan Varga 2013-08-29 22:51:00 UTC
This has been fixed by some missing error checking in the JIT code. Fixed in mono master cbe03c20e38a2e0dedd33e155afa4a704f7cc030.

Now xs throws:

System.TypeLoadException: A type load exception has occurred.
  at TeamAddins.VersionControl.MonoDevelop.TFSBaseCommandHandler.Update (MonoDevelop.Components.Commands.CommandInfo info) [0x00000] in <filename unknown>:0 
  at TeamAddins.VersionControl.MonoDevelop.ShowTeamExplorerHandler.Update (MonoDevelop.Components.Commands.CommandInfo info) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Components.Commands.CommandHandler.InternalUpdate (MonoDevelop.Components.Commands.CommandInfo info) [0x00003] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.9-branch/123fc693/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandHandler.cs:47 
  at MonoDevelop.Components.Commands.CommandManager.DefaultUpdateCommandInfo (MonoDevelop.Components.Commands.ActionCommand cmd, MonoDevelop.Components.Commands.CommandInfo info) [0x00084] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.9-branch/123fc693/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:1272 
  at MonoDevelop.Components.Commands.CommandManager.GetCommandInfo (System.Object commandId, MonoDevelop.Components.Commands.CommandTargetRoute targetRoute) [0x001c5] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.9-branch/123fc693/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:1237
Comment 4 Alain 2013-09-11 02:33:25 UTC
Hi,

You say it is fixed but I still have the problem when I install the 4.1.10 release. I can not work with version 4.1.4, it is very unstable.

What should I do?

Alain
Comment 5 Zoltan Varga 2013-09-11 05:30:47 UTC
The fix will be in the upcoming mono 3.2.3.
Comment 6 Alain 2013-09-11 05:33:36 UTC
is it possible to have that  because I have a lot problems with the version 4.1.4 ?

Thanks
Comment 7 Zoltan Varga 2013-09-11 06:41:11 UTC
Contact Xamarin support about that.