Crash after UnitTest with git2-15e1193.DLL with Visual Studio vstest.executionengine.exe on Windows Server 2016

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
csharp

調査の方向性

まず、Windows Server 2016 上の vstest.executionengine.exe 内で libgit2sharp.dll が git2-15e1193.DLL を呼び出したときに発生するクラッシュを再現し、Windows Server 2012 R2 と比較します。提供されたコールスタックの git_libgit2_shutdown エントリを調査し、リンクされた libgit2 のレポートを確認します。シャットダウン時のアクセス違反の原因が説明され、影響を受ける環境で発生しなくなれば完了です。

索引モデルが issue の本文から書いたものです。

説明

We ran into the following error when calling git2-15e1193.DLL from libgi2sharp.dll on Windows Server 2016. The issues to not occur on Windows Server 2012 R2.

The error:

Unhandled exception at 0x00007FFA745E3882 (git2-15e1193.DLL) in vstest.executionengine.exe.7648.dmp: 0xC0000005: Access violation reading location 0x000000000000000C.
If there is a handler for this exception, the program may be safely continued.

Call Stack:
05fef9d4 67500f10 67460000 00000003 00000000 git2_15e1193!git_libgit2_shutdown+0x11c
05fefa14 67500e97 67460000 00000003 00000000 git2_15e1193!git_smart_subtransport_http+0x1ad00
05fefa28 77b5e58e 67460000 00000003 00000000 git2_15e1193!git_smart_subtransport_http+0x1ac87
05fefa48 77b30e46 67500e7b 67460000 00000003 ntdll!LdrxCallInitRoutine+0x16
05fefa98 77b30c70 00000003 00000000 b41f0c8b ntdll!LdrpCallInitRoutine+0x43
05fefb98 77b51a1c 73c248e0 73c248e0 04b89d98 ntdll!LdrShutdownThread+0x1b0
05fefc6c 754962cb 00000000 754962a0 9ffad2a9 ntdll!RtlExitUserThread+0x4c
05fefc80 77b50fd9 04b89d98 b41f0bdb 00000000 kernel32!BaseThreadInitThunk+0x2b
05fefcc8 77b50fa4 ffffffff 77b72f0e 00000000 ntdll!__RtlUserThreadStart+0x2f
05fefcd8 00000000 73c248e0 04b89d98 00000000 ntdll!_RtlUserThreadStart+0x1b

The same Error reported also to LibGit2:
https://github.com/libgit2/libgit2.github.com/issues/78

主要言語
C#
スター
3.5k
フォーク
925
PR マージ指標
30日以内にマージされた PR はありません

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

libgit2/libgit2sharp のほかの issue

libgit2/libgit2sharp の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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