Skip to content

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

Closed

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

Activity

  1. added
    area-CodeGen-coreclr
    on Nov 18, 2025
  2. added
    untriaged
    on Nov 18, 2025
  3. dotnet-policy-service commented on Nov 18, 2025

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
    See info in area-owners.md if you want to be subscribed.

  4. EgorBo commented on Nov 19, 2025

    @EgorBo
    Member

    Thanks for the commit range, it's indeed #120667
    Closing this issue as a dup of #121723

  5. removed
    untriaged
    on Nov 19, 2025
  6. locked and limited conversation to collaborators on Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-CodeGen-coreclr

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions