【发布时间】:2016-05-24 16:46:18
【问题描述】:
老实说,我什至不确定我何时安装了 libgit2sharp,但是,当我打开 any 解决方案时,Visual Studio 2015 崩溃了。以下错误会记录到事件查看器中:
错误应用程序名称:devenv.exe,版本:14.0.25123.0,时间戳:0x56f22f32 错误模块名称:git2-msvstfs.DLL,版本:14.0.25110.0,时间戳:0x56e1f02b 异常代码:0xc0000005 错误偏移量:0x00033710 错误进程 ID:0xfbc 错误应用程序启动时间:0x01d1b5d840a79b09 错误应用程序路径:C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe 错误模块路径:C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\git2-msvstfs.DLL 报告 ID:e7833424-fc8b-4d26-b61b-c824861a3168 故障包全名: 错误的包相关应用程序 ID:
和
应用程序:devenv.exe 框架版本:v4.0.30319 说明:进程因未处理的异常而终止。 异常信息:System.AccessViolationException 在 LibGit2Sharp.Core.NativeMethods.git_status_list_new(LibGit2Sharp.Core.Handles.StatusListSafeHandle ByRef,LibGit2Sharp.Core.Handles.RepositorySafeHandle,LibGit2Sharp.Core.GitStatusOptions) 在 LibGit2Sharp.RepositoryStatusWithDetails..ctor(LibGit2Sharp.Repository,LibGit2Sharp.StatusOptions) 在 LibGit2Sharp.RepositoryExtensions.RetrieveStatusWithDetails(LibGit2Sharp.IRepository,LibGit2Sharp.StatusOptions) 在 Microsoft.TeamFoundation.Git.CoreServices.Extensions.GitExtensions.RetrieveStatusWithDetailsWithRenameDetection(LibGit2Sharp.IRepository) 在 Microsoft.TeamFoundation.Git.CoreServices.SccStatusService+RepositoryStatusMonitor+c__DisplayClass18_1.b__0() 在 Microsoft.TeamFoundation.Git.CoreServices.SccStatusService+RepositoryStatusMonitor.RetryLoop(System.Action,Int32) 在 Microsoft.TeamFoundation.Git.CoreServices.SccStatusService+RepositoryStatusMonitor.Refresh(布尔 ByRef,布尔 ByRef) 在 Microsoft.TeamFoundation.Git.CoreServices.SccStatusService+RepositoryStatusMonitor.RefreshIfNeeded(布尔 ByRef,布尔 ByRef) 在 Microsoft.TeamFoundation.Git.CoreServices.SccStatusService.Refresh(布尔 ByRef,布尔 ByRef,布尔 ByRef,System.Collections.Generic.List`1 ByRef) 在 Microsoft.TeamFoundation.Git.CoreServices.SccStatusService.RefreshIfNeeded() 在 Microsoft.TeamFoundation.Git.CoreServices.SccStatusService.QueuedActionCallback(System.Object) 在 Microsoft.TeamFoundation.Git.CoreServices.QueuedActionLimiter.DeliverAction(System.Object) 在 System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object) 在 System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object,布尔) 在 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object,布尔) 在 System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
我以前从未见过这个,所以任何方向都值得赞赏:
- 什么机制被破坏 - 为什么 RetrieveStatusWithDetails 甚至被调用?
- 如何调查根本原因并加以纠正?
- 我是否在
libgit2sharp中发现了缺陷?
【问题讨论】:
-
这是团队资源管理器尝试显示您的 Git 存储库的更改页面。看起来这是VS 2015 Update 2?这曾经有效还是刚刚开始发生?
-
最近才开始。上周四装机,今天就出问题了。
标签: visual-studio libgit2sharp