Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Semantic Colorizer Causes Visual Studio 22 17.9.3 To Hang and Crash #40

Open
LordDarkenon opened this issue Mar 20, 2024 · 5 comments
Open

Comments

@LordDarkenon
Copy link

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.

@arBmind
Copy link
Member

arBmind commented Mar 20, 2024

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

@arBmind arBmind closed this as completed Mar 20, 2024
@LordDarkenon
Copy link
Author

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
Copy link
Author

LordDarkenon commented Mar 20, 2024 via email

@sailro
Copy link

sailro commented May 14, 2024

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
Copy link

sailro commented May 14, 2024

The culprit is here:

Waiting infinitely for:

var semanticModel = await document.GetSemanticModelAsync().ConfigureAwait(false);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants