Skip to content

Crossgen outerloop regression: arrres_il_r fails #109311

Open

Description

@kg

arrres_il_r fails on the crossgen outerloop lanes.

Unhandled exception. System.Exception: Exception of type 'System.Exception' was thrown.
   at GCTest_arrres_il.Test.Main()

Return code:      1
Raw output file:      C:\h\w\A5E609B0\w\B0ED09BA\uploads\Arrays\misc\arrres_il_r\output.txt
Raw output:
BEGIN EXECUTION
arrres_il_r.dll
        1 file(s) copied.
 7:01:51.99
Response file: C:\h\w\A5E609B0\w\B0ED09BA\e\JIT\Methodical\Arrays\misc\arrres_il_r\\composite-r2r.dll.rsp
C:\h\w\A5E609B0\w\B0ED09BA\e\JIT\Methodical\Arrays\misc\arrres_il_r\IL-CG2\*.dll
-o:C:\h\w\A5E609B0\w\B0ED09BA\e\JIT\Methodical\Arrays\misc\arrres_il_r\\composite-r2r.dll
--targetarch:x64
--targetos:windows
--verify-type-and-field-layout
--method-layout:random
-r:C:\h\w\A5E609B0\p\System.*.dll
-r:C:\h\w\A5E609B0\p\Microsoft.*.dll
-r:C:\h\w\A5E609B0\p\xunit.*.dll
-r:C:\h\w\A5E609B0\p\mscorlib.dll
-r:C:\h\w\A5E609B0\p\netstandard.dll
"Running CrossGen2:  "C:\h\w\A5E609B0\p\crossgen2\crossgen2.exe" @"C:\h\w\A5E609B0\w\B0ED09BA\e\JIT\Methodical\Arrays\misc\arrres_il_r\\composite-r2r.dll.rsp"   --composite  --composite"
Emitting R2R PE file: C:\h\w\A5E609B0\w\B0ED09BA\e\JIT\Methodical\Arrays\misc\arrres_il_r\\composite-r2r.dll
Emitting R2R PE file: C:\h\w\A5E609B0\w\B0ED09BA\e\JIT\Methodical\Arrays\misc\arrres_il_r\arrres_il_r.dll
"Running R2RDump:  "dotnet" "C:\h\w\A5E609B0\p\r2rdump\r2rdump.dll" --header --sc --in C:\h\w\A5E609B0\w\B0ED09BA\e\JIT\Methodical\Arrays\misc\arrres_il_r\\composite-r2r.dll --out C:\h\w\A5E609B0\w\B0ED09BA\e\JIT\Methodical\Arrays\misc\arrres_il_r\\composite-r2r.dll.r2rdump --val"
 7:01:52.47
 "C:\h\w\A5E609B0\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" -p "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true"  arrres_il_r.dll 
Expected: 100
Actual: -532462766
END EXECUTION - FAILED
FAILED

Activity

  1. added
    untriaged
    on Oct 28, 2024
  2. kg commented on Jul 24, 2025

    @kg
    ContributorAuthor

    This looks like a test quality issue, similar to some of the other tests like IsAlive and lifetime2. It doesn't look like a regression.

    I think the correct course of action is to rewrite this test in C# and make it use NoInlining methods carefully in order to get the desired behavior, since it's trying to force execution of finalizers at particular times. Alternately, we can delete it. I don't think we benefit from this test in its current form.

  3. added this to the 11.0.0 milestone on Jul 24, 2025
  4. removed
    untriaged
    on Jul 24, 2025
  5. modified the milestones: 11.0.0, 12.0.0 on Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions