Visual Studio 2015社区在启动时崩溃

时间:2016-03-16 20:12:04

标签: crash visual-studio-2015

过去两个月我一直在使用VS 2015社区版,没有任何问题。然后有一天它决定崩溃(当它崩溃时我没有做任何事情)。在我再次尝试启动之后,它只会进入主页屏幕然后崩溃。没有项目被打开,它自己崩溃了。

enter image description here

我尝试过的事情没有成功:

  1. 修复安装。

  2. 卸载然后重新安装。

  3. 在/ safemode中运行(仍然在安全模式下崩溃!)

  4. 我没有安装任何自定义内容(特别是在完全安装后)。

    此时我唯一的希望是重新安装Windows(运行Windows 7),并希望问题消失。还有其他想法,我可以试试吗?

    这是在安全模式下启动VS2015的日志转储(我想在这里发布内容,但是它们超出了允许的帖子大小): http://wikisend.com/download/447654/vs_log.txt

    我在日志中搜索了错误标记,并找到了以下实例:

      <entry>
        <record>2196</record>
        <time>2016/03/16 19:49:43.330</time>
        <type>Error</type>
        <source>UserConnection</source>
        <description>Failed to get IAccountManager from service provider.</description>
      </entry>
      <entry>
        <record>2416</record>
        <time>2016/03/16 19:49:44.273</time>
        <type>Error</type>
        <source>Extension Manager</source>
        <description>Extension will not be loaded because an extension with the same ID &apos;Microsoft.Dev14.VsixTemplatesPackage.V2.443cca91-ec20-41e5-a165-f28e56b89650&apos; is already loaded at C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\OZPNHXDR.G5H\...</description>
        <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\NUGETIFIEDEXTENSIBILITYTEMPLATES\</path>
      </entry>
      <entry>
        <record>2417</record>
        <time>2016/03/16 19:49:44.274</time>
        <type>Error</type>
        <source>Extension Manager</source>
        <description>Extension will not be loaded because an extension with the same ID &apos;Microsoft.VisualStudio.TeamFoundation.TeamExplorer.Extensions&apos; is already loaded at C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\MKTRGVMI.4Y3\...</description>
        <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TEAMFOUNDATION\TEAM EXPLORER\</path>
      </entry>
    

    编辑1:

    遵循magicandre1981的建议我运行了procdump,但生成的文件是0.5 GB,因此上传的内容太多了。这是转储文件的屏幕截图。异常似乎是0xE0434352。

    enter image description here

    编辑2:

    我查看了事件查看器,发现以下与崩溃相关的错误。看起来异常是由Microsoft.VisualStudio.Services.Experimentation.FlightsClient引起的:

    Application: devenv.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.NullReferenceException at Microsoft.VisualStudio.Services.Experimentation.FlightsClient+<ReadStreamFromRemoteAsync>d__20`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Microsoft.VisualStudio.Services.Experimentation.ShippedFlightsClient+<SetRemoteFlightsAsync>d__4.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Microsoft.VisualStudio.Services.Experimentation.VSExperimentationService+<<FlightDataCallback>b__33_0>d.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Microsoft.VisualStudio.Services.Experimentation.VSExperimentationService+<FlightDataCallback>d__33.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_1(System.Object) at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() 
    

    编辑3:

    在搜索TestFlight相关帖子时,我从Microsoft找到了以下内容(选择退出体验改善计划)。看起来非常有希望,但遗憾的是没有解决我的问题:

    https://connect.microsoft.com/VisualStudio/feedback/details/2082049/crash-on-startup

1 个答案:

答案 0 :(得分:2)

我通过安装Visual Studio 2015 Update 2 RC(我运行的是Update 1)修复了问题,并取消选中每个可选的安装功能(我只需要C#/ WPF)。有可能,只需安装Update 2 RC即可解决问题,但我已经浪费了太多时间来继续尝试。

这里是Update 2 RC的链接: https://www.visualstudio.com/en-us/news/vs2015-update2-vs.aspx