Visual Studio在调试期间崩溃 [英] Visual Studio Crashes during debug

查看:71
本文介绍了Visual Studio在调试期间崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试在Visual Studio 2017中调试项目时遇到了一个奇怪的问题。调试会话启动,开发环境立即崩溃。这种情况大约发生在5次中。解决方案在VS 2015中无错误地在调试中启动。 


在崩溃时引发了三个事件。 任何想法可能是什么导致了这个?谢谢。


.NET运行时

日志名称:应用程序
来源:。 NET Runtime
日期:18/09/2017 11:07:00
事件ID:1026
任务类别:无
等级:错误
关键字:经典
用户:N / A
计算机: -
描述:
应用程序:devenv.exe
框架版本:v4.0.30319
描述:该过程终止由于未处理的异常。
异常信息:System.ThrowHelper.ThrowArgumentException(System.ExceptionResource)的System.ArgumentException
System.Collections.Generic.Dictionary`2上的
[[System .__ Canon,mscorlib,Version = 4.0 .0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089],[System .__ Canon,mscorlib,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089]]。Insert(System .__ Canon,System .__ Canon,Boolean)
在System.Linq.Enumerable.ToDictionary [[System .__ Canon,mscorlib,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089],[System .__ Canon,mscorlib,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = [b77a5c561934e089],[System .__ Canon,mscorlib,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089]](System.Collections.Generic.IEnumerable`1< System .__ Canon>,System.Func`2< System。 __Canon,System .__ Canon>,System.Func`2< System .__ Canon,System .__ Canon>,System.Collections.Generic.IEqualityComparer`1< System .__ Canon>)
at Microsof t.VisualStudio.DesignTools.Diagnostics.Model.EnumTypeRegistry +< DoLoadEnumsAsync> d__6.MoveNext()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
at System .Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
at Microsoft.VisualStudio.DesignTools.Diagnostics.Model.EnumTypeRegistry +<> c__DisplayClass5_0 +<<< LoadEnumsAsync> b__0> d。 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)中的MoveNext()

at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
at Microsoft.VisualStudio.DesignTools.RuntimeHost.Utility.TaskHelper +< SafeAsyncVoid> d__0.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore +<> c。< ThrowAsync> b__6_1( System.Forh)System.Threading.QueueUserWorkItemCallback.WaitC上的
allback_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.QuereadingUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch ()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()


事件Xml:
<事件xmlns =" http://schemas.microsoft。 COM /赢/ 2004/08 /事件/事件">
< System>
< Provider Name =" .NET Runtime" />
< EventID Qualifiers =" 0"> 1026< / EventID>
< Level> 2< / Level>
< Task> 0< / Task>
< Keywords> 0x80000000000000< / Keywords>
< TimeCreated SystemTime =" 2017-09-18T10:07:00.000000000Z" />
< EventRecordID> 1202767< / EventRecordID>
<频道>应用< /频道>
< Computer> - < / Computer>
< Security />
< / System>
< EventData>
< Data>应用程序:devenv.exe
框架版本:v4.0.30319
描述:由于未处理的异常,进程终止。
异常信息:System.ThrowHelper.ThrowArgumentException(System.ExceptionResource)的System.ArgumentException
System.Collections.Generic.Dictionary`2上的
[[System .__ Canon,mscorlib,Version = 4.0 .0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089],[System .__ Canon,mscorlib,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089]]。Insert(System .__ Canon,System .__ Canon,Boolean)
在System.Linq.Enumerable.ToDictionary [[System .__ Canon,mscorlib,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089],[System .__ Canon,mscorlib,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = [b77a5c561934e089],[System .__ Canon,mscorlib,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089]](System.Collections.Generic.IEnumerable`1& lt; System .__ Canon& gt;,System.Func` 2& lt; System .__ Canon,System .__ Canon& gt;,System.Func`2& lt; System .__ Canon,System .__ Canon& gt;,System.Collections.Generic.IEqualityComparer`1& lt; System .__ Ca非& gt;)
at Microsoft.VisualStudio.DesignTools.Diagnostics.Model.EnumTypeRegistry +& lt; DoLoadEnumsAsync& gt; d__6.MoveNext()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess( System.Threading.Tasks.Task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
at Microsoft.VisualStudio.DesignTools.Diagnostics.Model.EnumTypeRegistry +& amp; lt;& gt; c__DisplayClass5_0 +& lt;& lt; LoadEnumsAsync& gt; b__0& gt; d.MoveNext()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks。任务)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
at Microsoft.VisualStudio.DesignTools.RuntimeHost.Utility.TaskHelper +& amp; lt; SafeAsyncVoid& gt; d__0.MoveNext()
在System.Runtime.CompilerServices.AsyncMethodBuilderCore +& lt;& gt; c。& lt; ThrowAsync& amp; gt; 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()

< / Data>
< / EventData>
< / Event>

应用程序错误

日志名称:应用程序
来源:应用程序错误
日期:18/09/2017 11:07:02
事件ID:1000
任务类别:(100)
等级:错误
关键字:经典
用户:N / A
计算机: -
描述:
错误应用程序名称:devenv.exe,版本:15.0.26730.3,time戳记:0x598cd422
错误模块名称:KERNELBASE.dll,版本:6.1.7601.23864,时间戳:0x595fa536
异常代码:0xe0434352
错误偏移:0x0000c54f
错误进程id:0x1910
错误的应用程序启动时间:0x01d3305d39944bdf
错误的应用程序路径:C:\Program Files(x86)\ Mysoftoft Visual Studio \\\2017 \Professional\Common7\IDE\devenv.exe
错误模块路径:C:\ WINDOWS \ syswow64 \ KERNELBASE.dll
报告ID:1d30ef51-9c59-11e7-8b5b-90b11c7bac43
事件Xml:
<事件xmlns =" http://schemas.microsoft.com/win/2004/08/events/event">
< System>
< Provider Name =" Application Error" />
< EventID Qualifiers =" 0"> 1000< / EventID>
< Level> 2< / Level>
< Task> 100< / Task>
< Keywords> 0x80000000000000< / Keywords>
< TimeCreated SystemTime =" 2017-09-18T10:07:02.000000000Z" />
< EventRecordID> 1202769< / EventRecordID>
<频道>应用< /频道>
< Computer> - < / Computer>
< Security />
< / System>
< EventData>
< Data> devenv.exe< / Data>
< Data> 15.0.26730.3< / Data>
< Data> 598cd422< / Data>
< Data> KERNELBASE.dll< / Data>
< Data> 6.1.7601.23864< / Data>
< Data> 595fa536< / Data>
< Data> e0434352< / Data>
< Data> 0000c54f< / Data>
< Data> 1910< / Data>
< Data> 01d3305d39944bdf< / Data>
< Data> C:\Program Files(x86)\ Microsoft Visual Studio \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
< Data> C:\ WINDOWS \ syswow64 \ KERNELBASE.dll< / Data>
< Data> 1d30ef51-9c59-11e7-8b5b-90b11c7bac43< / Data>
< / EventData>
< / Event>

应用

日志名称:申请
来源:申请
日期:18/09/2017 11:08:13
活动编号:0
任务类别:无
等级:错误
关键字:经典
用户:N / A
计算机: -
描述:
无法找到源应用程序中事件ID 0的描述。引发此事件的组件未安装在本地计算机上,或者安装已损坏。您可以在本地计算机上安装或修复该组件。

如果事件源自另一台计算机,则显示信息必须与事件一起保存。

事件中包含以下信息:

错误处理程序异常:System.ServiceModel.CommunicationException:从管道读取错误:无法识别的错误109(0x6d) 。 ---> System.IO.IOException:读取操作失败,请参阅内部异常。 ---> System.ServiceModel.CommunicationException:从管道读取错误:无法识别的错误109(0x6d)。 ---> System.IO.PipeException:从管道读取错误:无法识别的错误109(0x6d)。
at System.ServiceModel.Channels.PipeConnection.OnAsyncReadComplete(Boolean haveResult,Int32 error,Int32 numBytes)
---内部异常堆栈跟踪结束---
在System.Runtime.AsyncResult .End [TAsyncResult](IAsyncResult结果)
at System.ServiceModel.Channels.ConnectionStream.EndRead(IAsyncResult asyncResult)
at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
---内部异常堆栈跟踪结束---
在System.Net.Security.NegotiateStream.EndRead(IAsyncResult asyncResult)
at System.ServiceModel.Channels.StreamConnection.EndRead()
---内部异常堆栈跟踪结束---
在System.Runtime.AsyncResult.End [TAsyncResult](IAsyncResult结果)
在System.ServiceModel.Channels.TransportDuplexSessionChannel.EndTryReceive(IAsyncResult结果,消息和消息) System.ServiceModel.Dispatcher.DuplexChannelBinder.EndTryReceive上的
(IAsyncResult结果,RequestContext& reque) stContext)
在System.ServiceModel.Dispatcher.ErrorHandlingReceiver.EndTryReceive(IAsyncResult result,RequestContext& requestContext)\\\ at System.Runtime.AsyncResult.End [TAsyncResult](IAsyncResult result)
at System.ServiceModel.Channels.TransportDuplexSessionChannel.EndTryReceive(IAsyncResult result,Message& message)
at System.ServiceModel.Dispatcher.DuplexChannelBinder.EndTryReceive(IAsyncResult result,RequestContext& requestContext)
at System.ServiceModel.Dispatcher.ErrorHandlingReceiver.EndTryReceive(IAsyncResult result,RequestContext& requestContext)

消息资源存在,但在字符串/消息表中找不到消息

事件Xml:
<事件xmlns =" http://schemas.microsoft.com/win/2004/ 08 /活动/事件">
< System>
< Provider Name =" Application" />
< EventID Qualifiers =" 0"> 0< / EventID>
< Level> 2< / Level>
< Task> 0< / Task>
< Keywords> 0x80000000000000< / Keywords>
< TimeCreated SystemTime =" 2017-09-18T10:08:13.000000000Z" />
< EventRecordID> 1202773< / EventRecordID>
<频道>应用< /频道>
< Computer> - < / Computer>
< Security />
< / System>
< EventData>
< Data>错误处理程序异常:System.ServiceModel.CommunicationException:从管道读取错误:无法识别的错误109(0x6d)。 ---&安培; GT; System.IO.IOException:读取操作失败,请参阅内部异常。 ---&安培; GT; System.ServiceModel.CommunicationException:从管道读取错误:无法识别的错误109(0x6d)。 ---&安培; GT; System.IO.PipeException:从管道读取错误:无法识别的错误109(0x6d)。
at System.ServiceModel.Channels.PipeConnection.OnAsyncReadComplete(Boolean haveResult,Int32 error,Int32 numBytes)
---内部异常堆栈跟踪结束---
在System.Runtime.AsyncResult .End [TAsyncResult](IAsyncResult结果)
at System.ServiceModel.Channels.ConnectionStream.EndRead(IAsyncResult asyncResult)
at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
---内部异常堆栈跟踪结束---
在System.Net.Security.NegotiateStream.EndRead(IAsyncResult asyncResult)
at System.ServiceModel.Channels.StreamConnection.EndRead()
---内部异常堆栈跟踪结束---
在System.Runtime.AsyncResult.End [TAsyncResult](IAsyncResult结果)
在System.ServiceModel.Channels.TransportDuplexSessionChannel.EndTryReceive(IAsyncResult result,Message& amp; amp;消息)
在System.ServiceModel.Dispatcher.DuplexChannelBinder.EndTryReceive(IAsyncResult result,RequestContext& am)磷; requestContext)System.ServiceModel.Dispatcher.ErrorHandlingReceiver.EndTryReceive(IAsyncResult result,RequestContext& amp; requestContext)\\\ at $ System.Runtime.AsyncResult.End [TAsyncResult](IAsyncResult result)

在System.ServiceModel.Channels.TransportDuplexSessionChannel.EndTryReceive(IAsyncResult result,Message& amp; message)
at System.ServiceModel.Dispatcher.DuplexChannelBinder.EndTryReceive(IAsyncResult result,RequestContext& amp; requestContext)
at System.ServiceModel.Dispatcher.ErrorHandlingReceiver.EndTryReceive(IAsyncResult result,RequestContext& amp; requestContext)< / Data>
< / EventData>
< / Event>

解决方案

Hi xcolin,


欢迎来到MSDN论坛。


>> 这种情况大约发生在5次中。


你的意思是这个崩溃问题偶尔发生,并不总是发生在这个解决方案中?其他解决方案是否符合此问题?


仅限这个解决方案有这个问题,看来这个问题更多地与你当前的项目有关。如果没有,可能是由VS 2017引起的。


请试试以下问题来解决这个问题:


  1. 清除文件夹下的所有文件夹和文件:%LocalAppData%\ Microsoft &\\VisualStudio \ 15.0_xxx \然后重新启动VS 2017以再次检查它。
  2. 删除在此解决方案商店文件夹下隐藏.vs文件夹,清除此解决方案以再次尝试
  3. 打开 CMD作为管理员并导航到VS 2017安装文件夹,如C:\\ \\程序

    文件(x86)\ Microsoft Visual Studio \ 2017 \\ versioname \Common7 \IDE并运行

    命令:devenv / safemode检查已安装的分机是否导致此
    问题。
  4. 单击开始并向下滚动到Visual Studio 2017文件夹,展开它,以管理员身份运行'VS 2017的开发人员命令提示符'并运行命令:devenv / resetuserdata to test。 < span style ="font-family:'Calibri',sans-serif; font-size:11pt">
  5. 以管理员身份重新运行VS 2017安装程序并单击"启动"按钮旁边的图标,然后选择"修复"以修复VS 2017。



祝你好运,


萨拉 <跨度>


I've hit an odd issue when attempting to debug a project in Visual Studio 2017. The debug session launches and the development environment immediately crashes. This is happening about 3 times out of 5. The solution launches in debug without error in VS 2015. 

There are three events raised at the time of the crash. Any ideas what may be causing this? Thanks.

.NET Runtime

Log Name:      Application
Source:        .NET Runtime
Date:          18/09/2017 11:07:00
Event ID:      1026
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      --
Description:
Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException
   at System.ThrowHelper.ThrowArgumentException(System.ExceptionResource)
   at System.Collections.Generic.Dictionary`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Insert(System.__Canon, System.__Canon, Boolean)
   at System.Linq.Enumerable.ToDictionary[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Collections.Generic.IEnumerable`1<System.__Canon>, System.Func`2<System.__Canon,System.__Canon>, System.Func`2<System.__Canon,System.__Canon>, System.Collections.Generic.IEqualityComparer`1<System.__Canon>)
   at Microsoft.VisualStudio.DesignTools.Diagnostics.Model.EnumTypeRegistry+<DoLoadEnumsAsync>d__6.MoveNext()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
   at Microsoft.VisualStudio.DesignTools.Diagnostics.Model.EnumTypeRegistry+<>c__DisplayClass5_0+<<LoadEnumsAsync>b__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.DesignTools.RuntimeHost.Utility.TaskHelper+<SafeAsyncVoid>d__0.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()


Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name=".NET Runtime" />
    <EventID Qualifiers="0">1026</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2017-09-18T10:07:00.000000000Z" />
    <EventRecordID>1202767</EventRecordID>
    <Channel>Application</Channel>
    <Computer>--</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException
   at System.ThrowHelper.ThrowArgumentException(System.ExceptionResource)
   at System.Collections.Generic.Dictionary`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Insert(System.__Canon, System.__Canon, Boolean)
   at System.Linq.Enumerable.ToDictionary[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Collections.Generic.IEnumerable`1&lt;System.__Canon&gt;, System.Func`2&lt;System.__Canon,System.__Canon&gt;, System.Func`2&lt;System.__Canon,System.__Canon&gt;, System.Collections.Generic.IEqualityComparer`1&lt;System.__Canon&gt;)
   at Microsoft.VisualStudio.DesignTools.Diagnostics.Model.EnumTypeRegistry+&lt;DoLoadEnumsAsync&gt;d__6.MoveNext()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
   at Microsoft.VisualStudio.DesignTools.Diagnostics.Model.EnumTypeRegistry+&lt;&gt;c__DisplayClass5_0+&lt;&lt;LoadEnumsAsync&gt;b__0&gt;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.DesignTools.RuntimeHost.Utility.TaskHelper+&lt;SafeAsyncVoid&gt;d__0.MoveNext()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore+&lt;&gt;c.&lt;ThrowAsync&gt;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()

</Data>
  </EventData>
</Event>

Application Error

Log Name:      Application
Source:        Application Error
Date:          18/09/2017 11:07:02
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      --
Description:
Faulting application name: devenv.exe, version: 15.0.26730.3, time stamp: 0x598cd422
Faulting module name: KERNELBASE.dll, version: 6.1.7601.23864, time stamp: 0x595fa536
Exception code: 0xe0434352
Fault offset: 0x0000c54f
Faulting process id: 0x1910
Faulting application start time: 0x01d3305d39944bdf
Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\devenv.exe
Faulting module path: C:\WINDOWS\syswow64\KERNELBASE.dll
Report Id: 1d30ef51-9c59-11e7-8b5b-90b11c7bac43
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2017-09-18T10:07:02.000000000Z" />
    <EventRecordID>1202769</EventRecordID>
    <Channel>Application</Channel>
    <Computer>--</Computer>
    <Security />
  </System>
  <EventData>
    <Data>devenv.exe</Data>
    <Data>15.0.26730.3</Data>
    <Data>598cd422</Data>
    <Data>KERNELBASE.dll</Data>
    <Data>6.1.7601.23864</Data>
    <Data>595fa536</Data>
    <Data>e0434352</Data>
    <Data>0000c54f</Data>
    <Data>1910</Data>
    <Data>01d3305d39944bdf</Data>
    <Data>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\devenv.exe</Data>
    <Data>C:\WINDOWS\syswow64\KERNELBASE.dll</Data>
    <Data>1d30ef51-9c59-11e7-8b5b-90b11c7bac43</Data>
  </EventData>
</Event>

Application

Log Name:      Application
Source:        Application
Date:          18/09/2017 11:08:13
Event ID:      0
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      --
Description:
The description for Event ID 0 from source Application cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event: 

Error Handler Exception: System.ServiceModel.CommunicationException: There was an error reading from the pipe: Unrecognized error 109 (0x6d). ---> System.IO.IOException: The read operation failed, see inner exception. ---> System.ServiceModel.CommunicationException: There was an error reading from the pipe: Unrecognized error 109 (0x6d). ---> System.IO.PipeException: There was an error reading from the pipe: Unrecognized error 109 (0x6d).
   at System.ServiceModel.Channels.PipeConnection.OnAsyncReadComplete(Boolean haveResult, Int32 error, Int32 numBytes)
   --- End of inner exception stack trace ---
   at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
   at System.ServiceModel.Channels.ConnectionStream.EndRead(IAsyncResult asyncResult)
   at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
   --- End of inner exception stack trace ---
   at System.Net.Security.NegotiateStream.EndRead(IAsyncResult asyncResult)
   at System.ServiceModel.Channels.StreamConnection.EndRead()
   --- End of inner exception stack trace ---
   at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
   at System.ServiceModel.Channels.TransportDuplexSessionChannel.EndTryReceive(IAsyncResult result, Message& message)
   at System.ServiceModel.Dispatcher.DuplexChannelBinder.EndTryReceive(IAsyncResult result, RequestContext& requestContext)
   at System.ServiceModel.Dispatcher.ErrorHandlingReceiver.EndTryReceive(IAsyncResult result, RequestContext& requestContext) \r\n    at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
   at System.ServiceModel.Channels.TransportDuplexSessionChannel.EndTryReceive(IAsyncResult result, Message& message)
   at System.ServiceModel.Dispatcher.DuplexChannelBinder.EndTryReceive(IAsyncResult result, RequestContext& requestContext)
   at System.ServiceModel.Dispatcher.ErrorHandlingReceiver.EndTryReceive(IAsyncResult result, RequestContext& requestContext)

the message resource is present but the message is not found in the string/message table

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application" />
    <EventID Qualifiers="0">0</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2017-09-18T10:08:13.000000000Z" />
    <EventRecordID>1202773</EventRecordID>
    <Channel>Application</Channel>
    <Computer>--</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Error Handler Exception: System.ServiceModel.CommunicationException: There was an error reading from the pipe: Unrecognized error 109 (0x6d). ---&gt; System.IO.IOException: The read operation failed, see inner exception. ---&gt; System.ServiceModel.CommunicationException: There was an error reading from the pipe: Unrecognized error 109 (0x6d). ---&gt; System.IO.PipeException: There was an error reading from the pipe: Unrecognized error 109 (0x6d).
   at System.ServiceModel.Channels.PipeConnection.OnAsyncReadComplete(Boolean haveResult, Int32 error, Int32 numBytes)
   --- End of inner exception stack trace ---
   at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
   at System.ServiceModel.Channels.ConnectionStream.EndRead(IAsyncResult asyncResult)
   at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
   --- End of inner exception stack trace ---
   at System.Net.Security.NegotiateStream.EndRead(IAsyncResult asyncResult)
   at System.ServiceModel.Channels.StreamConnection.EndRead()
   --- End of inner exception stack trace ---
   at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
   at System.ServiceModel.Channels.TransportDuplexSessionChannel.EndTryReceive(IAsyncResult result, Message&amp; message)
   at System.ServiceModel.Dispatcher.DuplexChannelBinder.EndTryReceive(IAsyncResult result, RequestContext&amp; requestContext)
   at System.ServiceModel.Dispatcher.ErrorHandlingReceiver.EndTryReceive(IAsyncResult result, RequestContext&amp; requestContext) \r\n    at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
   at System.ServiceModel.Channels.TransportDuplexSessionChannel.EndTryReceive(IAsyncResult result, Message&amp; message)
   at System.ServiceModel.Dispatcher.DuplexChannelBinder.EndTryReceive(IAsyncResult result, RequestContext&amp; requestContext)
   at System.ServiceModel.Dispatcher.ErrorHandlingReceiver.EndTryReceive(IAsyncResult result, RequestContext&amp; requestContext)</Data>
  </EventData>
</Event>

解决方案

Hi xcolin,

Welcome to the MSDN forum.

>>This is happening about 3 times out of 5.

Do you mean this crash issue occasionally occur, not always happen for this solution? Does other solution meet this issue or not?

If only this solution has this issue, it seems this issue more relates to your current project. If not, it may be caused by VS 2017.

Please have a try with the following to troubleshot this issue:

  1. Clear all folders and files under the folder: %LocalAppData%\Microsoft\VisualStudio\15.0_xxx\ and restart the VS 2017 to check it again.
  2. Delete the hidden .vs folder under this solution store folder, clean this solution to try it again
  3. Open CMD as administrator and navigate to the VS 2017 installation folder like C:\Program
    Files (x86)\Microsoft Visual Studio\2017\versioname\Common7\IDE and run the
    command: devenv /safemode to check if the installed extensions caused this
    issue.
  4. Click Start and scroll down to the Visual Studio 2017 folder, expand it, run the ‘Developer Command Prompt for VS 2017’ as administrator and run the command: devenv /resetuserdata to test.
  5. Re-run the VS 2017 installer as administrator and click the icon beside the ‘Launch’ button and choose ‘Repair’ to repair VS 2017.

Best regards,

Sara


这篇关于Visual Studio在调试期间崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆