Ticket T269599
Visible to All Users

Coderush for Roslyn crashes VS 2015 RTM

created 10 years ago

After I installed Visual Studio 2015 RTM, it crashes as soon as I load a project. It took a couple of restarts and uninstalls of plugins to figure out this was related to Coderush for Roslyn. At the time I had 1.0.3 installed, but I also tried 1.0.4 and both show the same issue.

'Normal' Coderush is working fine and I also tried uninstalling it before uninstalling Coderush for Roslyn, so it doesn't seem related to two conflicting Coderush plugins running.

This is the event in the Windows eventvwr Application log:

Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
Stack:
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c__DisplayClass2.<ThrowAsync>b__3(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(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.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)

And also showing this error in a seperate event:

Faulting application name: devenv.exe, version: 14.0.23107.0, time stamp: 0x559b7ead
Faulting module name: KERNELBASE.dll, version: 6.3.9600.17415, time stamp: 0x54504ade
Exception code: 0xe0434352
Fault offset: 0x00014598
Faulting process id: 0x153c
Faulting application start time: 0x01d0c316abd06a74
Faulting application path: D:\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe
Faulting module path: C:\Windows\SYSTEM32\KERNELBASE.dll
Report Id: 18d903c8-2f0a-11e5-8276-dc85de23f214
Faulting package full name:
Faulting package-relative application ID:

And also a Windows Error Reporting event, which was the clue for me to try uninstalling Coderush for Roslyn:

Fault bucket 128876699804, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: devenv.exe
P2: 14.0.23107.0
P3: 559b7ead
P4: DevExpress.CodeRush.ContinuousTesting
P5: 1.0.3.0
P6: 5576e53f
P7: 1fd
P8: c4
P9: System.IO.FileNotFoundException
P10:

Attached files:
C:\Users\Kenneth Verburg\AppData\Local\Microsoft\VSCommon\14.0\SQM\sqmdata.cvr
C:\Users\Kenneth Verburg\AppData\Local\Temp\WERC0DA.tmp.WERInternalMetadata.xml
C:\Users\Kenneth Verburg\AppData\Local\Temp\WERCC83.tmp.appcompat.txt
C:\Users\Kenneth Verburg\AppData\Local\Temp\WERD31C.tmp.dmp
C:\Users\Kenneth Verburg\AppData\Local\Temp\WERDD2F.tmp.WERDataCollectionFailure.txt

These files may be available here:
C:\Users\Kenneth Verburg\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_devenv.exe_f6b94e43728623dd28fa65f417831949b7e3a7_895cbc70_194def8b

Analysis symbol:
Rechecking for solution: 0
Report Id: 18d903c8-2f0a-11e5-8276-dc85de23f214
Report Status: 4104
Hashed bucket: 5c43c77b2038872a7d156ec3b728de21

I hope this helps.

Show previous comments (1)

    Sure, it's (at first I installed Professional 2015, but now using this):
    Microsoft Visual Studio Enterprise 2015
    Version 14.0.23107.0 D14REL
    Microsoft .NET Framework
    Version 4.6.00081
    Installed Version: Enterprise
    Architecture and Modeling Tools   00322-80000-00000-AA281
    Microsoft Architecture and Modeling Tools

    UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.
    Visual Basic 2015   00322-80000-00000-AA281
    Microsoft Visual Basic 2015
    Visual C# 2015   00322-80000-00000-AA281
    Microsoft Visual C# 2015
    Visual C++ 2015   00322-80000-00000-AA281
    Microsoft Visual C++ 2015
    Application Insights Tools for Visual Studio Package   1.0
    Application Insights Tools for Visual Studio
    ASP.NET and Web Tools   14.0.20626.0
    ASP.NET and Web Tools
    ASP.NET Web Frameworks and Tools 2013   5.2.30624.0
    For additional information, visit http://www.asp.net/
    CodeMaid   v0.8.0
    CodeMaid is an open source Visual Studio extension to cleanup, dig through and simplify our C#, C++, F#, VB, PHP, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.
    Written by Steve Cadwallader, for more information visit http://www.codemaid.net/
    CodeRush for Visual Studio   15.1.5.0
    CodeRush for Visual Studio
    Common Azure Tools   1.5
    Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
    CreateLayoutWizard   1.0
    Create layout wizard.
    DevExpress.DeploymentTool   1.0
    A useful tool for deploying DevExpress assemblies.
    GenerateUnitTest   1.0
    Generates unit test code for methods in classes under test.
    Microsoft Azure Mobile Services Tools   1.4
    Microsoft Azure Mobile Services Tools
    Microsoft Code Digger   0.9
    Microsoft Code Digger
    Microsoft.Pex.VisualStudio   1.0
    Pex
    NCrunch
    Continuous Testing Tool for .NET
    Copyright © 2010-2015 Remco Software Ltd
    NuGet Package Manager   3.0.0
    NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
    PreEmptive Analytics Visualizer   1.2
    Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
    SQL Server Compact & SQLite Toolbox   4.3.0
    SQL Server Compact & SQLite Toolbox adds scripting, import, export, rename, query execution and much more to SQL Server Compact & SQLite Data Connections.
    SQL Server Data Tools   14.0.50616.0
    Microsoft SQL Server Data Tools
    XtraReports package   1.0
    XtraReports package

    DevExpress Support Team 10 years ago

      Hello Ken,

      Thank you for your response and providing the additional information.

      Having examined the information you provided, we have noticed that it is related to CodeRush for Roslyn v1.0.3. We confirm that this CodeRush for Roslyn build had this problem, as it has been adapted to VS 2015 RC. The internal API has been changed in VS 2015 RTM, which causes this problem.

      However, v1.0.4 should work as expected under VS 2015 RTM and we were not able to reproduce this problem on our side. If you have a chance to return to this problem, we would greatly appreciate it if you install CodeRush for Roslyn v1.0.4 again and, if it still causes a VS crash on your side, provide us with a call stack.

      Thank you in advance for your time and cooperation.

        Hi Vito,
        I have re-enabled the plugin version 1.0.4 and now seems to be working.  And it indeed looks like the error was for the 1.0.3.
        I had a look back in the eventlog, but no other errors seem to be logged, so I must have given you a miss-steer and something else was going on after 1.0.4 was installed.

        Answers approved by DevExpress Support

        created 10 years ago

        Hello Ken,

        We are happy to hear that v1.0.4 works as expected.  Thank you for testing this and letting us know your results.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.