Skip to content

Loader/classloader/RefFields/Validate test failing intermittently #116358

Closed
@SakeTao

Description

@SakeTao

Failed in: runtime-coreclr gcstress-extra 20250605.1

Failed tests:

coreclr linux arm Checked gcstress0xc_jitstress1 @ (Debian.13.Arm32.Open)Ubuntu.2204.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-13-helix-arm32v7
    - Loader/classloader/RefFields/Validate/Validate.cmd

Error message:

 ASSERT FAILED
	Expression: (GetComponentSize() <= 2) || IsArray()
	Location:   line 6277 in /__w/1/s/src/coreclr/vm/methodtable.cpp
	Function:   SanityCheck
	Process:    335
waitpid() returned successfully (wstatus 00000000) WEXITSTATUS 0 WTERMSIG 0
/root/helix/work/workitem/e/Loader/Loader/../classloader/RefFields/Validate/Validate.sh: line 465:   335 Aborted                 (core dumped) $LAUNCHER $ExePath "${CLRTestExecutionArguments[@]}"

Return code:      1
Raw output file:      /root/helix/work/workitem/uploads/classloader/RefFields/Validate/output.txt
Raw output:
BEGIN EXECUTION
/root/helix/work/correlation/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true Validate.dll ''
Validate_Invalid_RefField_Fails...
Validate_RefStructWithRefField_Load...
Validate_Create_RefField...
Validate_Create_RefStructField...
[createdump] Gathering state for process 335 corerun
[createdump] Crashing thread 014f signal 5 (0005)
[createdump] Writing crash report to file /home/helixbot/dotnetbuild/dumps/coredump.335.dmp.crashreport.json
[createdump] Crash report successfully written
[createdump] Writing minidump with heap to file /home/helixbot/dotnetbuild/dumps/coredump.335.dmp
[createdump] Written 63975424 bytes (15619 pages) to core file
[createdump] Target process is alive
[createdump] Dump successfully written in 60ms
Expected: 100
Actual: 134
END EXECUTION - FAILED
Test failed. Trying to see if dump file was created in /home/helixbot/dotnetbuild/dumps since 6/5/2025 10:21:42 PM
Processing /home/helixbot/dotnetbuild/dumps/coredump.335.dmp.crashreport.json
Printing stacktrace from '/home/helixbot/dotnetbuild/dumps/coredump.335.dmp.crashreport.json'
Invoking llvm-symbolizer --pretty-print
Stack trace:
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
PROCCreateCrashDump(std::vector<char const*, std::allocator<char const*>>&, char*, int, bool) at /__w/1/s/src/coreclr/pal/src/thread/process.cpp:2300:22
?? at ??:0:0
PROCCreateCrashDumpIfEnabled at /__w/1/s/src/coreclr/pal/src/thread/process.cpp:2529:9
?? at ??:0:0
PROCAbort at /__w/1/s/src/coreclr/pal/src/thread/process.cpp:2563:5
?? at ??:0:0
invoke_previous_action(sigaction*, int, siginfo_t*, void*, bool) at /__w/1/s/src/coreclr/pal/src/exception/signal.cpp:447:5
 (inlined by) sigtrap_handler(int, siginfo_t*, void*) at /__w/1/s/src/coreclr/pal/src/exception/signal.cpp:751:5
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
CorUnix::CPalSynchronizationManager::ReadBytesFromProcessPipe(int, unsigned char*, int) at /__w/1/s/src/coreclr/pal/src/synchmgr/synchmanager.cpp:1852:24
?? at ??:0:0
CorUnix::CPalSynchronizationManager::ReadCmdFromProcessPipe(int, CorUnix::CPalSynchronizationManager::SynchWorkerCmd*, void**, unsigned int*) at /__w/1/s/src/coreclr/pal/src/synchmgr/synchmanager.cpp:1682:15
?? at ??:0:0
CorUnix::CPalSynchronizationManager::WorkerThread(void*) at /__w/1/s/src/coreclr/pal/src/synchmgr/synchmanager.cpp:1560:26
?? at ??:0:0
CorUnix::CPalThread::ThreadEntry(void*) at /__w/1/s/src/coreclr/pal/src/thread/thread.cpp:1621:5
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
ipc_retry_syscall(int) at /__w/1/s/src/native/eventpipe/ds-ipc-pal-socket.c:304:22
 (inlined by) ipc_poll_fds(pollfd*, unsigned int, unsigned int) at /__w/1/s/src/native/eventpipe/ds-ipc-pal-socket.c:507:11
 (inlined by) ds_ipc_poll(_DiagnosticsIpcPollHandle*, unsigned int, unsigned int, void (*)(char const*, unsigned int)) at /__w/1/s/src/native/eventpipe/ds-ipc-pal-socket.c:1126:16
?? at ??:0:0
ds_ipc_stream_factory_get_next_available_stream(void (*)(char const*, unsigned int)) at /__w/1/s/

Stack trace:

   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
   at Program.<<Main>$>g__TestExecutor192|0_193(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)

Known Issue Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "Loader/classloader/RefFields/Validate",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1060361
Error message validated: [Loader/classloader/RefFields/Validate]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 6/8/2025 4:32:29 AM UTC

Report

Build Definition Test Pull Request
1061913 dotnet/runtime Loader.WorkItemExecution #116331
1061832 dotnet/runtime Loader.WorkItemExecution #116331
1060361 dotnet/runtime Loader/classloader/RefFields/Validate/Validate.cmd

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
2 3 3

Metadata

Metadata

Assignees

Labels

GCStressKnown Build ErrorUse this to report build issues in the .NET Helix tabblocking-clean-ci-optionalBlocking optional rolling runstest-bugProblem in test source code (most likely)

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions