Bug 2681 - Crash while quitting
Summary: Crash while quitting
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: 2.9.x
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2011-12-28 22:51 UTC by Jackson Harper
Modified: 2012-01-03 05:00 UTC (History)
1 user (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 Jackson Harper 2011-12-28 22:51:47 UTC
When quitting MS quitting sometimes fails and I'm given the following exception.  MD usually crashes after the exception dialog is dismissed.

System.ArgumentNullException: Argument cannot be null.
Parameter name: key
  at System.Collections.Generic.Dictionary`2[MonoDevelop.TypeSystem.TypeSystemService+ProjectContentWrapper,MonoDevelop.MacDev.ObjCIntegration.NSObjectProjectInfo].Remove (MonoDevelop.TypeSystem.ProjectContentWrapper key) [0x00000] in <filename unknown>:0 
  at MonoDevelop.MacDev.ObjCIntegration.NSObjectInfoService.HandleDomUnloaded (System.Object sender, MonoDevelop.Projects.ProjectEventArgs e) [0x00047] in /private/tmp/source/monodevelop/main/src/addins/MonoDevelop.MacDev/ObjCIntegration/NSObjectInfoService.cs:130 
  at MonoDevelop.TypeSystem.TypeSystemService.OnProjectUnloaded (MonoDevelop.Projects.ProjectEventArgs e) [0x0000c] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.TypeSystem/TypeSystemService.cs:719 
  at MonoDevelop.TypeSystem.TypeSystemService.Unload (MonoDevelop.Projects.Project project) [0x000a1] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.TypeSystem/TypeSystemService.cs:709 
  at MonoDevelop.TypeSystem.TypeSystemService.Unload (MonoDevelop.Projects.WorkspaceItem item) [0x000a9] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.TypeSystem/TypeSystemService.cs:687 
  at MonoDevelop.Ide.RootWorkspace.NotifyItemRemovedGui (MonoDevelop.Projects.WorkspaceItem item) [0x00093] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/RootWorkspace.cs:1062 
  at MonoDevelop.Ide.RootWorkspace.NotifyItemRemoved (MonoDevelop.Projects.WorkspaceItem item) [0x0001e] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/RootWorkspace.cs:1034 
  at MonoDevelop.Ide.RootWorkspaceItemCollection.RemoveItem (Int32 index) [0x0001a] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/RootWorkspace.cs:1435 
  at System.Collections.ObjectModel.Collection`1[MonoDevelop.Projects.WorkspaceItem].Remove (MonoDevelop.Projects.WorkspaceItem item) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Ide.RootWorkspace.Close (Boolean saveWorkspacePreferencies, Boolean closeProjectFiles) [0x000f6] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/RootWorkspace.cs:454
Comment 1 Mike Krüger 2012-01-03 05:00:23 UTC
Fixed in newresolver branch.