libgit2 / libgit2/libgit2sharp

AccessViolationException thrown

オープン
#1,691 コメント 1 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
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.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. 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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。