semantic-colorizer
semantic-colorizer copied to clipboard
Semantic Colorizer Causes Visual Studio 22 17.9.3 To Hang and Crash
Semantic Colorizer Causes Visual Studio 22 17.9.3 To Hang and Crash. Tested a few times. VS works fine when Semantic Colorizer is uninstalled - but hangs/crashes when it's installed. Is this an issue since VS 17.9.X? Shame since I use the extension and have had to uninstall it.
Hi @LordDarkenon, is this a duplicate of #39. I will close this. Feel free to reopen if you think it's different.
Hi I'm not sure if this is a duplicate of #39. My issue manifests itself very simply. With Semantic Colorizer installed and enabled, when I try and open a solution it's just hangs with the message 'Preparing Solution'.
After disabling SC, VS then loads the solution but I get a message in the output saying "An error was encountered while opening associated documents the last time this solution was loaded. Document load is being skipped during this solution load in order to avoid that error.".
Hi - I don't think it's the same issue.
I've updated Issue #40 with a new comment explaining why, but I am unable to re-open the issue since you closed it (I believe you can't only reopen issues that you closed yourself).
Please could you reopen the issue.
Thanks.
From: Andreas Reischuck @.> Sent: 20 March 2024 11:21 To: hicknhack-software/semantic-colorizer @.> Cc: LordDarkenon @.>; Mention @.> Subject: Re: [hicknhack-software/semantic-colorizer] Semantic Colorizer Causes Visual Studio 22 17.9.3 To Hang and Crash (Issue #40)
Hi @LordDarkenonhttps://github.com/LordDarkenon, is this a duplicate of #39https://github.com/hicknhack-software/semantic-colorizer/issues/39. I will close this. Feel free to reopen if you think it's different.
— Reply to this email directly, view it on GitHubhttps://github.com/hicknhack-software/semantic-colorizer/issues/40#issuecomment-2009337638, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALDYPGP5TGS67E3Z3KAU5BTYZFWJZAVCNFSM6AAAAABE7HA26WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBZGMZTONRTHA. You are receiving this because you were mentioned.Message ID: @.***>
Hello,
Here is another feedback regarding the hang: https://developercommunity.visualstudio.com/t/Visual-Studio-2022-hangs-loading-forever/10652558#T-ND10658388
I suggest to add the following Analyzer to this project: https://www.nuget.org/packages/Microsoft.VisualStudio.Threading.Analyzers
Given it is able to detect common mistakes or potential issues regarding threading and async coding.
Thank you
The culprit is here:
https://github.com/hicknhack-software/semantic-colorizer/blob/af9bc4524af93440b8da76afb350d6d6a7e3fabe/SemanticColorizer/SemanticColorizer.cs#L131
Waiting infinitely for: https://github.com/hicknhack-software/semantic-colorizer/blob/af9bc4524af93440b8da76afb350d6d6a7e3fabe/SemanticColorizer/SemanticColorizer.cs#L335