Skip to content

Assertion failed '!op1->isUsedFromMemory()' in 'System.Drawing.Printing.PrinterSettings:set_Copies(short):this' during 'Generate code' #121757

@MichalStrehovsky

Description

@MichalStrehovsky

Native AOT outerloop test runs on ARM64 are broken with the above assertion:

https://dev.azure.com/dnceng-public/public/_build/results?buildId=1205834&view=logs&j=2f6a7d26-0d60-5ade-d191-981fe0847989&t=950a5a68-ae8a-5bb4-8cad-fb293bb99dc4&l=9014

ILC: /__w/1/s/src/coreclr/jit/codegenarm64.cpp:4998
  ILC: Assertion failed '!op1->isUsedFromMemory()' in 'System.Drawing.Printing.PrinterSettings:set_Copies(short):this' during 'Generate code' (IL size 62; hash 0x062727f7; FullOpts)
  
##[error]artifacts/bin/coreclr/linux.arm64.Checked/build/Microsoft.NETCore.Native.targets(330,5): error MSB3073: (NETCORE_ENGINEERING_TELEMETRY=Build) The command ""/__w/1/s/artifacts/bin/coreclr/linux.arm64.Checked/x64/ilc/ilc" @"/__w/1/s/artifacts/obj/System.Resources.ResourceManager.Tests/Release/net10.0-unix/native/System.Resources.ResourceManager.Tests.ilc.rsp"" exited with code 134.
/__w/1/s/artifacts/bin/coreclr/linux.arm64.Checked/build/Microsoft.NETCore.Native.targets(330,5): error MSB3073: The command ""/__w/1/s/artifacts/bin/coreclr/linux.arm64.Checked/x64/ilc/ilc" @"/__w/1/s/artifacts/obj/System.Resources.ResourceManager.Tests/Release/net10.0-unix/native/System.Resources.ResourceManager.Tests.ilc.rsp"" exited with code 134. [/__w/1/s/src/libraries/System.Runtime/tests/System.Resources.ResourceManager.Tests/System.Resources.ResourceManager.Tests.csproj::TargetFramework=net10.0-unix]

This regressed between f3558e4 (last good) and 23a83bc (first bad)

Cc @jakobbotsch @EgorBo @jonathandavies-arm

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions