libgit2 / libgit2/libgit2sharp
AccessViolationException thrown
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 3.5k
- Forks
- 925
- PR merge metrics
- No merged PRs in 30d
Description
Reproduction steps
Please have a look to this issue :
https://github.com/git-tfs/git-tfs/issues/1281
It's probable that the problem occurs when a 'git gc' is launched.
I'm opening this issue to have more information and know if you have a solution to it.
Expected behavior
There is no AccessViolationException thrown
Actual behavior
There is an AccessViolationException thrown
Version of LibGit2Sharp (release number or SHA1)
Since update from LibGit2Sharp (0.25.3) to LibGit2Sharp (0.26) with LibGit2Sharp.NativeBinaries (2.0.267), this exception is thrown.
A user seems to report that updating the version of the NativeBinaries fix the problem. If that's true and you aware of it:
- what is the good workaround?
- when to expect a new release of LibGit2Sharp fixing the problem ?
Operating system(s) tested; .NET runtime tested
No information to provide 😕
Thanks a lot for your help.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the linked git-tfs issue and comparing the update from LibGit2Sharp 0.25.3 to 0.26 with LibGit2Sharp.NativeBinaries 2.0.267. Reproduce the AccessViolationException around a git gc operation if possible; done should identify the cause and establish a confirmed workaround or release path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, git
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100