-
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.Tests crashing from Debug.Assert
in JsonSerializerOptions.GetJsonTypeInfoFromContextOrCreate
#66469
Comments
Tagging subscribers to this area: @dotnet/area-system-text-json Issue DetailsFrom test result and log from #66332 - the failure was on Linux arm64 on mono:
runtime/src/libraries/System.Text.Json/src/System/Text/Json/Serialization/JsonSerializerOptions.cs Line 613 in 406d854
|
Hmm, we might want to use a volatile write for runtime/src/libraries/System.Text.Json/src/System/Text/Json/Serialization/JsonSerializerOptions.cs Lines 591 to 592 in 406d854
|
I'm going to mark this as blocking-clean-ci. I've seen this on three different PRs I've been on today. Query below shows a bunch of hits. Some of them might be a different crash (I don't know how to come up with a query to differentiate), but I opened five of the logs from today and they were all this assert. WorkItems
| where FriendlyName == "System.Text.Json.Tests"
| where Queued > ago(3d)
| where ExitCode == 134
| join Jobs on JobId
| project
Queued,
FriendlyName, ExitCode, Status,
ConsoleUri,
PhaseName = tostring(parse_json(Properties)["System.PhaseName"]),
Pipeline = tostring(parse_json(Properties).DefinitionName),
RuntimeFlavor = tostring(parse_json(Properties).runtimeFlavor),
BuildId = tostring(parse_json(Properties).BuildId),
QueueName, Source |
I'm OOF but @layomia should be able to take a look at this tomorrow. |
As an aside it seems that |
From test result and log from #66332 - the example failure was on Linux arm64 on mono, but is being hit on other Unix, x64, and on coreclr as well:
runtime/src/libraries/System.Text.Json/src/System/Text/Json/Serialization/JsonSerializerOptions.cs
Line 613 in 406d854
The text was updated successfully, but these errors were encountered: