-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiler crashing issues reported through internal telemetry #7426
Comments
Thanks for contacting us. We're moving this issue to the |
@mkArtakMSFT can we get more details on the call stack for this one? |
Here is the full exception stack trace that I could find:
And it looks like this is the source of the exception, which indicates either a malformed Razor file or the code doesn't account for a valid scenario. |
@mkArtakMSFT thanks for the additional details. Unfortunately, malformed files are definitely an scenario we need to handle. @mkArtakMSFT it seems that the issue comes from our C# parser, so I'm going to put a pin on this one as there might be other work that might fix this in the future. |
Reported in VS Mac too, with stack trace: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1558770 |
Internal Error - System.ArgumentException: startCommentStar at Microsoft.AspNetCore.Razor.Language.Syntax.InternalSyntax.SyntaxFactory.RazorCommentBlock(SyntaxToken startCommentTransition, SyntaxToken startCommentStar, SyntaxToken comment, SyntaxToken endCommentStar, SyntaxToken endCommentTransition) at --- This actually looks like a compiler error @Artak could you file a separate issue to track? You should be able to use PRISM to better understand users who ran into this (Btw old editor would have killed VS in this scenario, new editor the experience falls over instead 😃)
More context: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1435565
The text was updated successfully, but these errors were encountered: