semantic-colorizer icon indicating copy to clipboard operation
semantic-colorizer copied to clipboard

Semantic Colorizer Causes Visual Studio 22 17.9.3 To Hang and Crash

Open LordDarkenon opened this issue 11 months ago • 5 comments

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.

LordDarkenon avatar Mar 20 '24 10:03 LordDarkenon

Hi @LordDarkenon, is this a duplicate of #39. I will close this. Feel free to reopen if you think it's different.

arBmind avatar Mar 20 '24 11:03 arBmind

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'.

image

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.".

image

LordDarkenon avatar Mar 20 '24 12:03 LordDarkenon

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: @.***>

LordDarkenon avatar Mar 20 '24 12:03 LordDarkenon

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

sailro avatar May 14 '24 08:05 sailro

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

sailro avatar May 14 '24 08:05 sailro