-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMICLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIruntime-async
Milestone
Description
Hitting this with native AOT, only when optimizations are disabled (/p:Optimize=false).
Repro steps:
- Add:
<PropertyGroup>
<Features>$(Features);runtime-async=on</Features>
<NoWarn>$(NoWarn);xUnit1013;CS1998;SYSLIB5007</NoWarn>
</PropertyGroup>>At the bottom of src\libraries\Directory.Build.props.
build.cmd clr.aot+libs -rc Checked -lc Releasedotnet.cmd build src\libraries\System.Text.Json\tests\System.Text.Json.SourceGeneration.Tests\System.Text.Json.SourceGeneration.Roslyn4.4.Tests.csproj -c Release /p:RuntimeConfiguration=Checked /p:TestNativeAot=true /p:Optimize=false -f net11.0
Hitting:
ILC: D:\git\runtime3\src\coreclr\jit\lower.cpp:5930
ILC: Assertion failed 'node->AsCall()->IsAsync()' in 'System.Text.Json.Serialization.Tests.StreamingJsonSerializerWrapper:DeserializeWrapper[System.Text.Json.Serialization.Tests.Struct_With_Ctor_With_65_Params](System.String,System.Text.Json.JsonSerializerOptions):System.Threading.Tasks.Task`1[System.Text.Json.Serialization.Tests.Struct_With_Ctor_With_65_Params]:this' during 'Lowering nodeinfo' (IL size 76; hash 0x61a38a3d; MinOpts)
Metadata
Metadata
Assignees
Labels
area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMICLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIruntime-async
Type
Projects
Status
No status