-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
System.Text.Json.SourceGeneration.Roslyn3.11.Tests
crashes due to an assertion on linux/arm64/debug
#65817
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Tagging subscribers to this area: @dotnet/area-system-text-json Issue Details
|
Hit this again for System.Text.Json.SourceGeneration.Roslyn4.0.Tests. |
Note this is about I think this assert is just bogus and should be removed. I assume scenario of re-using same options on multiple threads is a valid one and that could create such problem. The worst case scenario we will double initialize PropertyCache. I'm not sure it makes sense to lock it - at least cannot immediately see anything which could break. Same goes for the similar assert in the |
I think we should make sure that the instance is initialized before it can be shared across multiple threads. |
Duplicate of #60962 |
Hit this on #65752 .Build.
The text was updated successfully, but these errors were encountered: