Skip to content

Checked / debug Crossgen2 fails building 8 framework assemblies due to a JIT assert #1777

@trylek

Description

@trylek

FYI @AndyAyersMS - I suspect this is related to

#1593

that added the assert in question at

assert(op2->AsIntConCommon()->ImmedValCanBeFolded(compiler, addr->OperGet()));

We can see in the runtime-coreclr crossgen2 pipeline result history,

https://dev.azure.com/dnceng/public/_build?definitionId=674&_a=summary

that in the run before @GrabYourPitchforks' commit of the GetArrayDataReference mop-up change (that broke System.Private.Corelib crossgenning) just a handful of tests failed:

https://dev.azure.com/dnceng/public/_build/results?buildId=475696&view=results

After Levi's commit, we started failing the SPC build in

https://dev.azure.com/dnceng/public/_build/results?buildId=478729&view=logs&j=6fdf90ec-154e-5293-972c-dfc4f172f2aa&t=871c2e7e-c1a2-56bc-b778-cc1c296911b3

In the latest runs, we're failing 7 assemblies:

System.Net.WebHeaderCollection.dll
System.Net.HttpListener.dll
System.Text.Encodings.Web.dll
System.Private.Uri.dll
System.Text.RegularExpressions.dll
System.Text.Json.dll
System.Private.CoreLib.dll

[I have a fix for the SPC crossgen failure related to Levi's change but it seems to be also hitting the assert.]

/cc: @dotnet/crossgen-contrib

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions