none
Visual Studio 2015 Keeps Crashing

    Question

  • Every member of our development team is struggling with Visual Studio crashing several times a day. Normally the following two errors can be found in the event log at the time of the crash:

    Application: devenv.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: exception code e06d7363, exception address 74B9DAE8
    Stack:
       at Microsoft.VisualStudio.JSLS.Engine.IAuthorFileAuthoring.GetReferences(Int32)
       at Microsoft.VisualStudio.JSLS.Engine.Proxy.AuthorFileAuthoringProxy+<>c__DisplayClass13_0.<GetReferences>b__0()
       at GuardMethodClass.GuardMethod(System.Func`1<System.Object>, System.Func`2<System.Exception,Boolean>, System.Func`2<System.Exception,System.Object>)
       at Microsoft.VisualStudio.JSLS.Shared.ExceptionFilter.Guard(System.Func`1<System.Object>, System.Func`2<System.Exception,Boolean>, System.Func`2<System.Exception,System.Object>)
       at Microsoft.VisualStudio.JSLS.Engine.ServiceCore+GuardRecord.Guard()
       at Microsoft.VisualStudio.JSLS.Engine.ServiceCore.Guard[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Func`1<System.__Canon>, System.Func`1<System.__Canon>)
       at Microsoft.VisualStudio.JSLS.Engine.Proxy.Proxy`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].GuardAndProxy[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Func`1<System.__Canon>, System.Func`1<System.__Canon>, System.Func`2<System.__Canon,System.__Canon>)
       at Microsoft.VisualStudio.JSLS.Engine.Proxy.AuthorFileAuthoringProxy.GetReferences(Int32)
       at Microsoft.VisualStudio.JSLS.Engine.FileAuthoringProxy.GetReferences(Int32)
       at Microsoft.VisualStudio.JSLS.IdentifierHighlight.IdentifierHighlightTask.Run()
       at Microsoft.VisualStudio.JSLS.Engine.SingleThreadTask.<Execute>b__24_0()
       at GuardMethodClass.GuardMethod(System.Func`1<System.Object>, System.Func`2<System.Exception,Boolean>, System.Func`2<System.Exception,System.Object>)
       at Microsoft.VisualStudio.JSLS.Shared.ExceptionFilter.Guard(System.Func`1<System.Object>, System.Func`2<System.Exception,Boolean>, System.Func`2<System.Exception,System.Object>)
       at Microsoft.VisualStudio.JSLS.Engine.SingleThreadTask.Execute()
       at Microsoft.VisualStudio.JSLS.Engine.SingleThreadScheduler.WorkerThreadStart()
       at System.Threading.ThreadHelper.ThreadStart_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.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
       at System.Threading.ThreadHelper.ThreadStart()
    Faulting application name: devenv.exe, version: 14.0.25420.1, time stamp: 0x57685d85
    Faulting module name: KERNELBASE.dll, version: 10.0.10586.494, time stamp: 0x5775e78b
    Exception code: 0xe06d7363
    Fault offset: 0x000bdae8
    Faulting process id: 0x8fb8
    Faulting application start time: 0x01d20e952e42f21f
    Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe
    Faulting module path: C:\WINDOWS\SYSTEM32\KERNELBASE.dll
    Report Id: 0420d12e-beac-42e6-a9f2-3095f5891982
    Faulting package full name: 
    Faulting package-relative application ID: 
    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: The pipe has been ended. (109, 0x6d). ---> System.IO.IOException: The read operation failed, see inner exception. ---> System.ServiceModel.CommunicationException: There was an error reading from the pipe: The pipe has been ended. (109, 0x6d). ---> System.IO.PipeException: There was an error reading from the pipe: The pipe has been ended. (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
    
    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: The pipe has been ended. (109, 0x6d). ---> System.IO.IOException: The read operation failed, see inner exception. ---> System.ServiceModel.CommunicationException: There was an error reading from the pipe: The pipe has been ended. (109, 0x6d). ---> System.IO.PipeException: There was an error reading from the pipe: The pipe has been ended. (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
    Tuesday, September 20, 2016 7:05 PM

Answers

All replies

  • Hi Remps,

    Thanks for your post.

    As you said the VS2015 crashes issue, did this happen once you installed it or after using VS for sometime?

    1. please go to Control Panel >Programs >Programs and Features, Select Microsoft Visual Studio 2015 and right click on 'change'>'repair', to do a repair

    2. I suggest you can try some devenv switches in command prompt check if it can help you.
       a. Run devenv /Safemode to see if you can apply it correctly. This can eliminate the possibility that third party Add-ins or packages are causing problems.
       b . Run devenv /Resetsettings to eliminate the cause of corrupted settings.
       c. Run devenv /ResetSkipPkgs in Command Prompt.
       d. Run devenv /resetsuerdata

    You can also try to close the Anti-virus software or the firewall or other tools on your machine or you can try to restart your machine would be better.

    3. Can you start VS in safemode and check if the issue occurs again?
    If it still occurs, there must be something wrong with the installation of the VS. Please try to uninstall and reinstall it completely.

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click HERE to participate the survey.



    Wednesday, September 21, 2016 9:18 AM
    Moderator
  • Thanks for your reply. We have had this issues since we installed Visual Studio 2015. We hoped that each update package would resolve the issue but so far none of them have. I will try your suggestions one at a time to see which if any resolve the issue and report back.

    Wednesday, September 21, 2016 1:04 PM
  • Hi Jeffrey,

    Any update about this issue?

    If you encountered this issue since you installed the VS 2015, usually it indicates that the VS didn't install well.

    Since the VS 2015 with Update 3 is already released.

    To eliminate internet variables, I suggest that you download the VS 2015 with update 3 ISO, verify the SHA-1 to ensure the ISO is not corrupt, then install locally.

    VS 2015 iso Microsoft official download link:

    https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx

    VS 2015 iso files SHA-1 Values link:

    https://www.visualstudio.com/en-us/downloads/visual-studio-2015-iso-sha1-vs.aspx

    PS: To make sure whether your package is corrupted or not,

    please use FCIV.exe http://support.microsoft.com/kb/841290  to verify hash of the ISO.

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click HERE to participate the survey.

    Friday, September 23, 2016 1:27 AM
    Moderator
  • I don't have an update at this point. I have run a repair but I have not had a chance to use Visual Studio a lot since then. If I have another crash I will try the next steps you identified and continue to monitor for crashes.
    Friday, September 23, 2016 1:41 PM
  • It looks like this only applies to Universal App Development. We are seeing this issue mostly when debugging MVC Web Applications. Would this apply to that as well?
    Friday, September 23, 2016 4:40 PM
  • Hi Jeffrey,

    As you mentioned before, you didn't install the VS Update 3, if you need to continue using the VS, you may download the VS update 3 to fix some potential or existed problems.

    You may download it from Visual Studio Update 3 if necessary.

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click HERE to participate the survey.

    Tuesday, September 27, 2016 8:13 AM
    Moderator
  • We have been running Update 3 since shortly after it was released. With each update we hoped that our problem would go away but so far none have fixed it. I have run a repair on my Visual Studio and I have not seen a crash since.
    Tuesday, September 27, 2016 1:08 PM
  • So it just crashed again with the errors below. One thing that I observed this time is that the crash happened right when Visual Studio started using more than 2GB of memory. Could this be the cause? I also noticed Visual Studio getting very slow and sluggish in the minutes leading up to the crash.

    Application: devenv.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: exception code e06d7363, exception address 7586DB18

    Faulting application name: devenv.exe, version: 14.0.25420.1, time stamp: 0x57685d85
    Faulting module name: KERNELBASE.dll, version: 10.0.10586.589, time stamp: 0x57cf9bf1
    Exception code: 0xe06d7363
    Fault offset: 0x000bdb18
    Faulting process id: 0x1d84
    Faulting application start time: 0x01d2140cdc0a1ada
    Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe
    Faulting module path: C:\WINDOWS\SYSTEM32\KERNELBASE.dll
    Report Id: a26b5cb9-5efb-407f-a6ac-c3e0c8ae1092
    Faulting package full name: 
    Faulting package-relative application ID: 


    Tuesday, September 27, 2016 5:45 PM
  • Hi Jeffrey,

    If the VS running takes so much high memory, have you tried to restart Windows and in safe mode, run  safemode in Visual Studio 2015 Command Prompt.

    If in safe mode this issue disappeared, the cause should be third-party applications, services or Visual Studio Add-ins.

    Please also try devenv /resetsettings or devenv /setup in Command Prompt

    If the error persists, please use a good ISO to repair it first, then use  http://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.zip from %temp% folder. Please upload the file to  https://onedrive.live.com/ and share the link here


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click HERE to participate the survey.

    Wednesday, September 28, 2016 5:42 AM
    Moderator
  • I have run devenv /resetsettings and devenv /setup, i'll monitor and see if it continues to crash. What is the "Normal" memory usage for Visual Studio?
    Wednesday, September 28, 2016 1:09 PM
  • Hi Jeffrey,

    I open my VS 2015 and here is the Task Manger memory use:

    It takes about a little more than 100MB, far from the 200MB, have you installed any third-party add-ins generated in VS?

    If so, you could uninstall or disable them if unnecessary to use.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click HERE to participate the survey.

    Thursday, September 29, 2016 8:39 AM
    Moderator
  • We have Resharper installed. I did disable it and now Visual Studio uses 300MB of Memory which is a huge reduction. I will be opening a case with them to see if we can get the memory issue resolved.
    Thursday, September 29, 2016 1:16 PM
  • Hi Jeffrey,

    If you want to know the detailed usage of VS, how about using the Process monitor to catch every process running.

    Then for the huge reduction, you may take action to kill them.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click HERE to participate the survey.

    Friday, September 30, 2016 1:57 AM
    Moderator
  • Visual Studio 2017 seems to have addressed our problems. 
    • Marked as answer by Jeffrey Rempel Thursday, September 14, 2017 12:59 PM
    Thursday, September 14, 2017 12:59 PM