Skip to content

Test failure: Loader/classloader/TypeInitialization/CircularCctors/CircularCctorThreeThreads01BFI/CircularCctorThreeThreads01BFI.cmd #119449

Description

@SakeTao

Failed in: runtime-coreclr r2r-extra 20250906.1

Failed tests:

R2R-CG2 osx arm64 Checked jitstressregs0x80 @ OSX.13.Arm64.Open
    - Loader/classloader/TypeInitialization/CircularCctors/CircularCctorThreeThreads01BFI/CircularCctorThreeThreads01BFI.cmd

Error message:

DOTNET_DbgEnableMiniDump is set and the createdump binary does not exist: /private/tmp/helix/working/CAA60A86/p/crossgen2/createdump
/private/tmp/helix/working/CAA60A86/w/B56909FE/e/Loader/Loader/../classloader/TypeInitialization/CircularCctors/CircularCctorThreeThreads01BFI/CircularCctorThreeThreads01BFI.sh: line 258: 87988 Segmentation fault: 11  $__Command
Image file '/private/tmp/helix/working/CAA60A86/w/B56909FE/e/Loader/classloader/TypeInitialization/CircularCctors/CircularCctorThreeThreads01BFI/CircularCctorThreeThreads01BFI.dll' information:
Size: 4096 byte(s)
MetadataSize: 1828 byte(s)
SizeOfImage: 24576 byte(s)
ImageBase: 0x400000
FileAlignment: 0x200
SectionAlignment: 0x2000
CorHeader.Flags: ILOnly
Sections:
  .text 8192 - 10836
  .reloc 16384 - 16396
HasExportTable: False
ExportTableHeaderLength: 0
_namedExportRva: 0 item(s)
Image file '/private/tmp/helix/working/CAA60A86/w/B56909FE/e/Loader/classloader/TypeInitialization/CircularCctors/CircularCctorThreeThreads01BFI/CircularCctorThreeThreads01BFI.dll' information:
Size: 4096 byte(s)
MetadataSize: 1828 byte(s)
SizeOfImage: 24576 byte(s)
ImageBase: 0x400000
FileAlignment: 0x200
SectionAlignment: 0x2000
CorHeader.Flags: ILOnly
Sections:
  .text 8192 - 10836
  .reloc 16384 - 16396
HasExportTable: False
ExportTableHeaderLength: 0
_namedExportRva: 0 item(s)

Return code:      1
Raw output file:      /tmp/helix/working/CAA60A86/w/B56909FE/uploads/classloader/TypeInitialization/CircularCctors/CircularCctorThreeThreads01BFI/output.txt
Raw output:
BEGIN EXECUTION
in takeLock
/private/tmp/helix/working/CAA60A86/w/B56909FE/e/Loader/classloader/TypeInitialization/CircularCctors/CircularCctorThreeThreads01BFI/IL-CG2/CircularCctorThreeThreads01BFI.dll
20:41:33
Response file: /private/tmp/helix/working/CAA60A86/w/B56909FE/e/Loader/classloader/TypeInitialization/CircularCctors/CircularCctorThreeThreads01BFI/CircularCctorThreeThreads01BFI.dll.rsp
/private/tmp/helix/working/CAA60A86/w/B56909FE/e/Loader/classloader/TypeInitialization/CircularCctors/CircularCctorThreeThreads01BFI/IL-CG2/CircularCctorThreeThreads01BFI.dll
-o:/private/tmp/helix/working/CAA60A86/w/B56909FE/e/Loader/classloader/TypeInitialization/CircularCctors/CircularCctorThreeThreads01BFI/CircularCctorThreeThreads01BFI.dll
-O
--targetarch:arm64
--targetos:osx
--verify-type-and-field-layout
--method-layout:random
-r:/tmp/helix/working/CAA60A86/p/System.*.dll
-r:/tmp/helix/working/CAA60A86/p/Microsoft.*.dll
-r:/tmp/helix/working/CAA60A86/p/xunit.*.dll
-r:/tmp/helix/working/CAA60A86/p/mscorlib.dll
-r:/tmp/helix/working/CAA60A86/p/netstandard.dll
Running CrossGen2:  /tmp/helix/working/CAA60A86/p/crossgen2/crossgen2 @/private/tmp/helix/working/CAA60A86/w/B56909FE/e/Loader/classloader/TypeInitialization/CircularCctors/CircularCctorThreeThreads01BFI/CircularCctorThreeThreads01BFI.dll.rsp   -r:/private/tmp/helix/working/CAA60A86/w/B56909FE/e/Loader/classloader/TypeInitialization/CircularCctors/CircularCctorThreeThreads01BFI/IL-CG2/*.dll
Running R2RDump:  dotnet /tmp/helix/working/CAA60A86/p/R2RDump/R2RDump.dll --header --sc --in /private/tmp/helix/working/CAA60A86/w/B56909FE/e/Loader/classloader/TypeInitialization/CircularCctors/CircularCctorThreeThreads01BFI/CircularCctorThreeThreads01BFI.dll --out /private/tmp/helix/working/CAA60A86/w/B56909FE/e/Loader/classloader/TypeInitialization/CircularCctors/CircularCctorThreeThreads01BFI/CircularCctorThreeThreads01BFI.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 523
   at R2RDump.Program.Run() in /_/src/coreclr/tools/r2rdump/Program.cs:line 449
20:41:33
Crossgen2 failed with exitcode: 139
in ReleaseLock
Test failed. Trying to see if dump file was created in /cores since 9/6/2025 8:41:33 PM
Test Harness Exitcode is : 1
To run the test:
Set up CORE_ROOT and run.

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__TestExecutor282|0_283(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)

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