-
Notifications
You must be signed in to change notification settings - Fork 714
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unhandled Exception : System.AccessViolationException when cloning from TFS with 0.30 #1281
Comments
I'm also encountering this error. I'm trying to clone just the first changeset in our repo, prior to setting some extra config before fetching the rest of the history. Using an invocation like
The exception didn't happen all the time, and at first seemed like it had something to do with changing my gitignore. Then I discovered changing the command line (usage of env. variables, name of the local repo, presence of The exception occurred in 51/85 invocations that I recorded, sometimes with the same command succeeding five times in a row before failing. I couldn't figure out if there were any clear patterns of behaviour, nor if it was truly random. Also, the content added to I've been using 0.29 for the past couple weeks trying to migrate a messy TFS history, and haven't seen this error until trying 0.30 today. |
This happened to me when trying to fetch changesets from a TFS branch that was deleted and then recreated in the TFS history. |
In my case, I have this exception each time I do |
I'm getting the exception every time I run "git tfs checkintool". Despite the exception, the TFS changeset is successfully created. This is a recent change so I think this is specific to version 0.30. |
I have opened an issue in the libgit2sharp project as it seems to be a problem with the last version released. We will see what answers we could get from them. |
I've got the same issue today with git-tfs version 0.30.0.0 (TFS client library 14.0.0.0 (MS)) (64-bit) If I add --debug switch the error does not happen. |
Thanks @Boogier! the "--debug" switch fixed the "git tfs checkintool" command for me. |
I got a very similar error with version 0.30 while performing a
Downgrading to 0.29.0 seems to have fixed the issue. |
Latest Git-Tfs & latest libgit2sharp - compiled locally solved the problem |
hoping it solves some exception happening: git-tfs#1281 (comment)
Great! Thanks. So I have updated the lib #1309 For those that want to test the result, you could try the development version built there: |
Thanks , i have checked you build and it is working good!! |
@pmiossec thanks! That build worked for me too. |
@pmiossec will this make it into a new choco release? I got the latest ~3 months later than when this was fixed and the issue still exists. |
Wow man... I was struggling (I'm not that good understanding this place)... with your download I was able to fix this error.. Because I had the 0.30 git-tfs version but the older LibGit2Sharp.dll version... THANKS A LOT!! |
This issue can be closed |
Fixed. |
I am trying to clone my tfs repo using the clone command. Towards the end I get the error below
I am using version 0.30. When I use version 0.29, I don't see this issue.
This appears to happen after the last changeset has been cloned.
Could the latest updates to LibGit2Sharp in 0.30 have anything to do with this?
TFS version being used is 2017.
The text was updated successfully, but these errors were encountered: