Skip to content

Test failure: GC/Features/KeepAlive/keepaliveother/keepalivescope/keepalivescope.cmd #117638

@SakeTao

Description

@SakeTao

Failed in: runtime-coreclr r2r-extra 20250713.1

Failed tests:

R2R-CG2 osx arm64 Checked jitstress1_tiered @ OSX.13.Arm64.Open
    - GC/Features/KeepAlive/keepaliveother/keepalivescope/keepalivescope.cmd

Error message:

DOTNET_DbgEnableMiniDump is set and the createdump binary does not exist: /private/tmp/helix/working/BD6A0A35/p/crossgen2/createdump
/private/tmp/helix/working/BD6A0A35/w/B1BD096B/e/GC/Features/GC-features/../KeepAlive/keepaliveother/keepalivescope/keepalivescope.sh: line 265: 10113 Segmentation fault: 11  $__Command

Return code:      1
Raw output file:      /tmp/helix/working/BD6A0A35/w/B1BD096B/uploads/KeepAlive/keepaliveother/keepalivescope/output.txt
Raw output:
BEGIN EXECUTION
in takeLock
/private/tmp/helix/working/BD6A0A35/w/B1BD096B/e/GC/Features/KeepAlive/keepaliveother/keepalivescope/IL-CG2/keepalivescope.dll
23:29:14
Response file: /private/tmp/helix/working/BD6A0A35/w/B1BD096B/e/GC/Features/KeepAlive/keepaliveother/keepalivescope/keepalivescope.dll.rsp
/private/tmp/helix/working/BD6A0A35/w/B1BD096B/e/GC/Features/KeepAlive/keepaliveother/keepalivescope/IL-CG2/keepalivescope.dll
-o:/private/tmp/helix/working/BD6A0A35/w/B1BD096B/e/GC/Features/KeepAlive/keepaliveother/keepalivescope/keepalivescope.dll
--targetarch:arm64
--targetos:osx
--verify-type-and-field-layout
--method-layout:random
-r:/tmp/helix/working/BD6A0A35/p/System.*.dll
-r:/tmp/helix/working/BD6A0A35/p/Microsoft.*.dll
-r:/tmp/helix/working/BD6A0A35/p/xunit.*.dll
-r:/tmp/helix/working/BD6A0A35/p/mscorlib.dll
-r:/tmp/helix/working/BD6A0A35/p/netstandard.dll
Running CrossGen2:  /tmp/helix/working/BD6A0A35/p/crossgen2/crossgen2 @/private/tmp/helix/working/BD6A0A35/w/B1BD096B/e/GC/Features/KeepAlive/keepaliveother/keepalivescope/keepalivescope.dll.rsp   -r:/private/tmp/helix/working/BD6A0A35/w/B1BD096B/e/GC/Features/KeepAlive/keepaliveother/keepalivescope/IL-CG2/*.dll
Running R2RDump:  dotnet /tmp/helix/working/BD6A0A35/p/R2RDump/R2RDump.dll --header --sc --in /private/tmp/helix/working/BD6A0A35/w/B1BD096B/e/GC/Features/KeepAlive/keepaliveother/keepalivescope/keepalivescope.dll --out /private/tmp/helix/working/BD6A0A35/w/B1BD096B/e/GC/Features/KeepAlive/keepaliveother/keepalivescope/keepalivescope.dll.r2rdump --val
Error: System.BadImageFormatException: The file is not a ReadyToRun image
   at ILCompiler.Reflection.ReadyToRun.ReadyToRunReader.Initialize(IAssemblyMetadata metadata) in /_/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunReader.cs:line 518
   at ILCompiler.Reflection.ReadyToRun.ReadyToRunReader..ctor(IAssemblyResolver assemblyResolver, String filename) in /_/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunReader.cs:line 429
   at R2RDump.Program.Run() in /_/src/coreclr/tools/r2rdump/Program.cs:line 449
23:29:14
Crossgen2 failed with exitcode: 139
in ReleaseLock
Test failed. Trying to see if dump file was created in /cores since 7/13/2025 11:29:14 PM
Test Harness Exitcode is : 1
To run the test:
Set up CORE_ROOT and run.
> /private/tmp/helix/working/BD6A0A35/w/B1BD096B/e/GC/Features/GC-features/../KeepAlive/keepaliveother/keepalivescope/keepalivescope.sh

Stack trace:

   at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 141
   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
   at Program.<<Main>$>g__TestExecutor24|0_25(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions