Bug 35279 - [roslyn] Hard crash in git addin
Summary: [roslyn] Hard crash in git addin
Status: RESOLVED DUPLICATE of bug 35073
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Version Control ()
Version: Trunk
Hardware: PC Mac OS
: --- normal
Target Milestone: master
Assignee: Marius Ungureanu
URL:
Depends on:
Blocks:
 
Reported: 2015-10-26 20:47 UTC by Mikayla Hutchinson [MSFT]
Modified: 2015-10-27 10:30 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 DUPLICATE of bug 35073

Description Mikayla Hutchinson [MSFT] 2015-10-26 20:47:09 UTC
FATAL ERROR [2015-10-26 20:46:17Z]: An unhandled exception has occured. Terminating Xamarin Studio? True
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'handle'.
   at System.Runtime.InteropServices.SafeHandle.DangerousAddRef (System.Boolean& success) in /private/tmp/source-mono-mac-4.2.0-bug-33585-hotfix/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.2.1/mcs/class/corlib/System.Runtime.InteropServices/SafeHandle.cs:line 125
   at (wrapper managed-to-native) LibGit2Sharp.Core.NativeMethods:git_reference_lookup (LibGit2Sharp.Core.Handles.ReferenceSafeHandle&,LibGit2Sharp.Core.Handles.RepositorySafeHandle,string)
   at LibGit2Sharp.Core.Proxy.git_reference_lookup (LibGit2Sharp.Core.Handles.RepositorySafeHandle repo, System.String name, Boolean shouldThrowIfNotFound) in /Users/michael/Mono/monodevelop/main/external/libgit2sharp/LibGit2Sharp/Core/Proxy.cs:line 1800
   at LibGit2Sharp.ReferenceCollection.RetrieveReferencePtr (System.String referenceName, Boolean shouldThrowIfNotFound) in /Users/michael/Mono/monodevelop/main/external/libgit2sharp/LibGit2Sharp/ReferenceCollection.cs:line 678
   at LibGit2Sharp.ReferenceCollection.Resolve[T] (System.String name) in /Users/michael/Mono/monodevelop/main/external/libgit2sharp/LibGit2Sharp/ReferenceCollection.cs:line 442
   at LibGit2Sharp.ReferenceCollection.get_Item (System.String name) in /Users/michael/Mono/monodevelop/main/external/libgit2sharp/LibGit2Sharp/ReferenceCollection.cs:line 42
   at LibGit2Sharp.ReferenceCollection.get_Head () in /Users/michael/Mono/monodevelop/main/external/libgit2sharp/LibGit2Sharp/ReferenceCollection.cs:line 705
   at LibGit2Sharp.Repository.get_Head () in /Users/michael/Mono/monodevelop/main/external/libgit2sharp/LibGit2Sharp/Repository.cs:line 219
   at MonoDevelop.VersionControl.Git.GitRepository.GetHeadCommit (LibGit2Sharp.Repository repository) in /Users/michael/Mono/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitRepository.cs:line 142
   at MonoDevelop.VersionControl.Git.GitRepository.GetBaseText (FilePath localFile) in /Users/michael/Mono/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitRepository.cs:line 136
   at MonoDevelop.VersionControl.Views.DiffView.get_Control () in /Users/michael/Mono/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/DiffView.cs:line 47
   at MonoDevelop.Ide.Gui.SdiWorkspaceWindow+<InsertButton>c__AnonStorey1.<>m__0 (System.Object sender, System.EventArgs e) in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/SdiWorkspaceWindow.cs:line 640
   at MonoDevelop.Components.Tab.OnActivated (System.EventArgs e) in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components/Tabstrip.cs:line 370
   at MonoDevelop.Components.Tab.set_Active (Boolean value) in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components/Tabstrip.cs:line 245
   at MonoDevelop.Components.Tabstrip.set_ActiveTab (Int32 value) in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components/Tabstrip.cs:line 61
   at MonoDevelop.Components.Tabstrip.OnButtonPressEvent (Gdk.EventButton evnt) in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components/Tabstrip.cs:line 159
   at Gtk.Widget.buttonpressevent_cb (IntPtr widget, IntPtr evnt) in /private/tmp/source-mono-mac-4.2.0-bug-33585-hotfix/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/gtk-sharp-2.12.21/gtk/generated/Widget.cs:line 494
Comment 1 Marius Ungureanu 2015-10-27 10:30:45 UTC

*** This bug has been marked as a duplicate of bug 35073 ***