libgit2 / libgit2/libgit2sharp
AccessViolationException thrown
还没有人认领这个 Issue。
- 主要语言
- C#
- 星标
- 3.5k
- 派生
- 925
- PR 合并指标
- 30 天内没有已合并 PR
描述
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.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先阅读链接的 git-tfs issue,并将 LibGit2Sharp 0.25.3 到 0.26 的更新与 LibGit2Sharp.NativeBinaries 2.0.267 进行比较。如果可能,重现 git gc 操作附近的 AccessViolationException;完成后应确定原因,并确立已确认的变通方案或发布路径。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp, git
- 领域
- devtools
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100