libgit2 / libgit2/libgit2sharp
Crash after UnitTest with git2-15e1193.DLL with Visual Studio vstest.executionengine.exe on Windows Server 2016
還沒有人認領這個 Issue。
- 主要語言
- C#
- 星號
- 3.5k
- 分支
- 925
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先,在 Windows Server 2016 上重現 libgit2sharp.dll 在 vstest.executionengine.exe 中呼叫 git2-15e1193.DLL 時發生的當機,並與 Windows Server 2012 R2 進行比較。檢查所提供呼叫堆疊中的 git_libgit2_shutdown 項目,並檢視連結的 libgit2 報告。當關閉時發生的存取違規得到解釋,且不再於受影響的環境中發生時,即視為完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- csharp
- 領域
- operating-systems
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100