Bug 14583 - Exception after git commit
Summary: Exception after git commit
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Version Control ()
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: master
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-09-10 04:13 UTC by Mike Krüger
Modified: 2014-04-28 11:00 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 Mike Krüger 2013-09-10 04:13:10 UTC
System.NullReferenceException: Ungültige Adresse ---> Mono.Unix.UnixIOException: Ungültige Adresse [EFAULT].
  --- End of inner exception stack trace ---
  at Mono.Unix.UnixMarshal.ThrowExceptionForLastError () [0x00000] in /home/mkrueger/work/mono/mcs/class/Mono.Posix/Mono.Unix/UnixMarshal.cs:456 
  at Mono.Unix.UnixFileSystemInfo.GetFileSystemEntry (System.String path) [0x0000f] in /home/mkrueger/work/mono/mcs/class/Mono.Posix/Mono.Unix/UnixFileSystemInfo.cs:395 
  at Sharpen.Unix.UnixFileHelper.GetUnixFileInfo (System.String path) [0x00003] in /home/mkrueger/work/monodevelop/main/external/ngit/Sharpen.Unix/UnixFileHelper.cs:12 
  at Sharpen.Unix.UnixFileHelper.IsDirectory (Sharpen.FilePath path) [0x00008] in /home/mkrueger/work/monodevelop/main/external/ngit/Sharpen.Unix/UnixFileHelper.cs:61 
  at Sharpen.FilePath.IsDirectory () [0x00007] in /home/mkrueger/work/monodevelop/main/external/ngit/Sharpen/Sharpen/FilePath.cs:173 
  at NGit.Treewalk.FileTreeIterator+FileEntry..ctor (Sharpen.FilePath f, NGit.Util.FS fs) [0x00017] in /home/mkrueger/work/monodevelop/main/external/ngit/NGit/NGit.Treewalk/FileTreeIterator.cs:163 
  at NGit.Treewalk.FileTreeIterator.Entries () [0x0003b] in /home/mkrueger/work/monodevelop/main/external/ngit/NGit/NGit.Treewalk/FileTreeIterator.cs:144 
  at NGit.Treewalk.FileTreeIterator..ctor (NGit.Treewalk.FileTreeIterator p, Sharpen.FilePath root, NGit.Util.FS fs) [0x00018] in /home/mkrueger/work/monodevelop/main/external/ngit/NGit/NGit.Treewalk/FileTreeIterator.cs:123 
  at NGit.Treewalk.FileTreeIterator.CreateSubtreeIterator (NGit.ObjectReader reader) [0x00018] in /home/mkrueger/work/monodevelop/main/external/ngit/NGit/NGit.Treewalk/FileTreeIterator.cs:130 
  at NGit.Treewalk.AbstractTreeIterator.CreateSubtreeIterator (NGit.ObjectReader reader, NGit.MutableObjectId idBuffer) [0x00003] in /home/mkrueger/work/monodevelop/main/external/ngit/NGit/NGit.Treewalk/AbstractTreeIterator.cs:600 
  at NGit.Treewalk.TreeWalk.EnterSubtree () [0x00061] in /home/mkrueger/work/monodevelop/main/external/ngit/NGit/NGit.Treewalk/TreeWalk.cs:1052 
  at NGit.Treewalk.TreeWalk.Next () [0x000c8] in /home/mkrueger/work/monodevelop/main/external/ngit/NGit/NGit.Treewalk/TreeWalk.cs:635 
  at NGit.IndexDiff.Diff (NGit.ProgressMonitor monitor, Int32 estWorkTreeSize, Int32 estIndexSize, System.String title) [0x00288] in /home/mkrueger/work/monodevelop/main/external/ngit/NGit/NGit/IndexDiff.cs:292 
  at NGit.IndexDiff.Diff () [0x0000a] in /home/mkrueger/work/monodevelop/main/external/ngit/NGit/NGit/IndexDiff.cs:233 
  at MonoDevelop.VersionControl.Git.FilteredStatus.Call () [0x00094] in /home/mkrueger/work/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/FilteredStatus.cs:75 
  at MonoDevelop.VersionControl.Git.GitRepository.GetDirectoryVersionInfoCore (NGit.Repository repository, MonoDevelop.VersionControl.Git.GitRevision rev, IEnumerable`1 localPaths, System.Collections.Generic.HashSet`1 existingFiles, System.Collections.Generic.HashSet`1 nonVersionedMissingFiles, System.Collections.Generic.List`1 versions) [0x00045] in /home/mkrueger/work/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitRepository.cs:349 
  at MonoDevelop.VersionControl.Git.GitRepository.GetDirectoryVersionInfo (FilePath localDirectory, IEnumerable`1 localFileNames, Boolean getRemoteStatus, Boolean recursive) [0x0033d] in /home/mkrueger/work/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitRepository.cs:329 
  at MonoDevelop.VersionControl.Git.GitRepository.OnGetDirectoryVersionInfo (FilePath localDirectory, Boolean getRemoteStatus, Boolean recursive) [0x00006] in /home/mkrueger/work/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitRepository.cs:252 
  at MonoDevelop.VersionControl.Repository.GetDirectoryVersionInfo (FilePath localDirectory, Boolean getRemoteStatus, Boolean recursive) [0x0000c] in /home/mkrueger/work/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/Repository.cs:209 
  at MonoDevelop.VersionControl.Views.StatusView.<StartUpdate>m__4 (System.Object ) [0x001a1] in /home/mkrueger/work/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/StatusView.cs:447
Comment 1 Marius Ungureanu 2013-09-12 02:24:46 UTC
From what I see, it's not a version control issue, but a Mono runtime one. I shall ask around.
Comment 2 Mike Krüger 2013-09-12 05:40:51 UTC
but in any case an exception there should be handled - that one crashed the IDE.
Comment 3 Marius Ungureanu 2014-03-13 11:55:46 UTC
This should be fixed when we switch to IKVM JGit.
Comment 4 Marius Ungureanu 2014-04-28 11:00:42 UTC
Okay, this is fixed even before IKVM switch. It was a concurrent query issue.