Bug 25530 - Visual Studio crashes in LibGit2Sharp.dll
Summary: Visual Studio crashes in LibGit2Sharp.dll
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: General ()
Version: 4.0.0 (C6)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2014-12-19 09:31 UTC by Peter Hultqvist
Modified: 2016-12-20 17:08 UTC (History)
3 users (show)

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 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:

Description Peter Hultqvist 2014-12-19 09:31:05 UTC
After installing Xamarin Platform I can barely open any Visual Studio project.
These projects are all Windows ones, not related to Android.

Even the Visual Studio started to debug the crashing Visual studio crashed, but finally I managed to start one which reported this:

System.AccessViolationException was unhandled
Message: An unhandled exception of type 'System.AccessViolationException' occurred in LibGit2Sharp.dll
Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Module Information:
Version: 0.17.30918.0
Original Location: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\LibGit2Sharp.dll

Visual Studio 2013 Community Edition
Windows 10
Comment 1 Jose Gallardo 2016-12-20 17:08:43 UTC
Hi Peter,

First of all, let me apologize for the lack of responses in such a long time. We're working hard on improving our bug handling to avoid cases like this in the future.

Regarding this particular issue, there were many improvements on our product since you reported it.
We never could reproduce it or got any other report of a similar issue, hence I will mark it as resolved.

If you do still facing it, please feel free to reopen the issue.
In that case, please add the following information:

1. Xamarin Logs
Go to the menu "Help - Xamarin - Zip Logs". Please attach that zip file to the bug report.

2. Environment information
Go to the menu "Help - About Microsoft Visual Studio" and press "Copy Info". Please paste that info into a Bugzilla comment.