运行Visual Studio时,发生了什么崩溃堆栈跟踪?

3

我正在使用Visual Studio 2013。当我尝试打开它时,会出现以下堆栈跟踪信息导致崩溃。我不确定出了什么问题。

我尝试在安全模式下运行VS,删除了所有*.suo文件和*.user文件 - 但都没有帮助。谢谢!

Unexpected exception Buffer cannot be null.
Parameter name: buffer  
  at Microsoft.VisualStudio.Shell.ThreadHelper.InvokeOnUIThread(InvokableBase invokable)

  at Microsoft.VisualStudio.Shell.ThreadHelper.Invoke[TResult](Func`1 method)
 
  at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.AvatarCache..ctor(AvatarSize size, Byte[] value, Boolean isGenerated, Logger logger)

  at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.ProfileCache..ctor(Profile profile, Guid serverId, Uri profileUri, String emailAddress, Logger logger)
   
  at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Connector.<ConnectAsync>d__1.MoveNext()
  
--- End of stack trace from previous location where exception was thrown ---

  
  
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 
  at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.IdeUserSession.<ConnectAndInitializeSessionAsync>d__a.MoveNext()

  --- End of stack trace from previous location where exception was thrown ---
  
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 
  at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.<ConnectAsyncImpl>d__17.MoveNext()
--- 
  End of stack trace from previous location where exception was thrown ---

  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

  at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.<ConnectAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---

  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

  at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.&lt;PollConnectAsync&gt;d__22.MoveNext()</description>
1个回答

3

我也有同样的问题!4小时前我遇到了相同的情况。

我尝试了以下命令,取得了一些进展。重新登录后,我成功地使用了它。

C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE> devenv.exe /ResetUserData


每个解决方案都说这个/resetUserData命令会起作用,但对我来说,虽然它消除了崩溃,但现在出现了“您的30天试用已过期”的提示,并提供登录选项。尝试登录时,VS会卡住。 - Festus Martingale
感谢您提供的测试结果信息。 我们的团队正在使用Visual Studio 2013 Update 4版本。 我遇到了一些问题。 其中一位团队成员表示,当应用Update 5后,恢复得更加完整。 - nazarl

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接