We Moved - This Forum is now Read-Only

Our new community is now available at https://support.submain.com/community/. We will leave historical discussions here in this forum view-only mode for search purposes, but moving forward, please post your questions in the appropriate category in the new community.

 
  SubMain - CodeIt.Right The First Time!

/Community

Support Community for SubMain Products
 Home Products Services Download Purchase Support
in Search
 
Home Forums Blogs Tutorials/CIR Tutorials/GD Downloads
Welcome to SubMain Community Sign in | Join | Help

VS 2017 (15.3.5) crash when opening certain solutions

Last post 09-28-2017, 2:42 PM by Serge B. (SubMain). 2 replies.
Sort Posts: Previous Next
  •  09-20-2017, 12:14 PM 5031

    VS 2017 (15.3.5) crash when opening certain solutions

    I found that opening some (but not all) projects causes a VS 15.3.5 crash when GhostDoc 5.7.17240 is enabled. Disabling the GhostDoc add-in allows VS to open without crashing.

    In specific, two open source projects where it's been seen:

    • https://github.com/IdentityModel/IdentityModel2/
    • https://github.com/domaindrivendev/Swashbuckle.AspNetCore/
    Another user actually filed an issue on that Swashbuckle project: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/491
     
    After I found the issue via trial-and-error (and "/safemode") on VS I mentioned it to the person on that issue and disabling GhostDoc solved the problem for them, too.
     
    From the ActivityLog.xml generated during a failed startup the only warning/error I see involves "Visual Studio Common Project System" crashing. That warning happens after I see GhostDoc reporting an "unexpected system error mode"
     
      <entry>
        <record>200</record>
        <time>2017/09/20 15:20:53.854</time>
        <type>Warning</type>
        <source>VisualStudio</source>
        <description>Unexpected system error mode before loading package [GhostDoc]</description>
        <guid>{F646EA44-FEB2-4168-802A-80C9B64BB8BB}</guid>
      </entry>
    ...
      <entry>
        <record>1110</record>
        <time>2017/09/20 15:21:10.313</time>
        <type>Warning</type>
        <source>ExtensionCrashNotification</source>
        <description>Extension &apos;Visual Studio Common Project System 15.3.219.54044&apos; was involved in a crash. Stack follows:</description>
      </entry>
     
     The logs didn't seem to provide much detail or help. The way I discovered this was to disable all of my extensions and re-enable them one at a time. Eventually I re-enabled GhostDoc and the crash hit. Disabled GhostDoc, re-enabled all of my other extensions, everything works. Re-enable GhostDoc - crash again.
  •  09-20-2017, 12:21 PM 5032 in reply to 5031

    Re: VS 2017 (15.3.5) crash when opening certain solutions

    Hi Travis, 

    We have been troubleshooting this over the last week and pinpointed the issue to GhostDoc 5.7 trying to read VS project configurations for the .NET Core projects from an async thread. 

    It appears that unless we use the VS API in the UI thread to read project configuration for the .NET Core projects, the VS crashes. 

    We are currently implementing a workaround and an update will be available shortly. 

    In the meantime, the solution would be to either disable the GhostDoc extension or downgrade to GhostDoc 5.6. 

    Thanks!

    Thank you,
    Serge Baranovsky
    http://submain.com - .NET Developer Tools  |  Microsoft MVP  |  ASP Insider
    » » CodeIt.Right Will Fix Your Code!™ - http://submain.com/codeit.right
    » » C#/VB .NET Coding Guidelines - FREE 100+ page ebook (PDF) http://submain.com/guidelines
  •  09-28-2017, 2:42 PM 5036 in reply to 5032

    Re: VS 2017 (15.3.5) crash when opening certain solutions

    Hi Trav is,

    We have resolved the v5.7 issue you reported and published new update.

    Please download the v5.8 here - https://submain.com/download/ghostdoc/pro/

    Thanks for your patience!

    Thank you,
    Serge Baranovsky
    http://submain.com - .NET Developer Tools  |  Microsoft MVP  |  ASP Insider
    » » CodeIt.Right Will Fix Your Code!™ - http://submain.com/codeit.right
    » » C#/VB .NET Coding Guidelines - FREE 100+ page ebook (PDF) http://submain.com/guidelines
View as RSS news feed in XML
 
     
 
Home |  Products |  Services |  Download |  Purchase |  Support |  Community |  About Us |