Skip to content

[AMD64 Unix ELT] Some CoreCLR tests fail with COMPlus_JitELTHookEnabled=1 without actual generating profiler ELT callback bodies and calls (PR #7719)  #7825

@sergign60

Description

@sergign60

The current version of CoreCLR gives the following failures on the CoreCLR test suite with the environment variables:

COMPlus_JitELTHookEnabled=1
COMPlus_TailcallStress=1
COMPlus_GCStress=0xC

The result is

=======================
     Test Results
=======================
# CoreCLR Bin Dir  : ./coreclr/bin/Product/Linux.x64.Checked
# Tests Discovered : 7078
# Passed           : 6205
# Failed           : 19
# Skipped          : 854
=======================
99 minutes and 38 seconds taken to run CoreCLR tests.

The failed tests are

coreclr/Tests/Loader/classloader/regressions/523654/test532654_b (segfault)
coreclr/Tests/Loader/classloader/TypeInitialization/CircularCctors/CircularCctorThreeThreads03 (segfault)
coreclr/Tests/Interop/MarshalAPI/ReadWrite/ReadWriteInt64 (hanged)
coreclr/Tests/Interop/MarshalAPI/ReadWrite/ReadWriteIntPtr (hanged)
coreclr/Tests/Interop/MarshalAPI/ReadWrite/ReadWriteInt32 (hanged)
coreclr/Tests/Interop/MarshalAPI/ReadWrite/ReadWriteInt16 (hanged)
coreclr/Tests/Interop/MarshalAPI/ReadWrite/ReadWriteByte (hanged)
coreclr/Tests/JIT/Performance/CodeQuality/BenchmarksGame/k-nucleotide (segfault)
coreclr/Tests/JIT/Regression/CLR-x86-JIT/V1-M1/b08944/b08944b/ (hanged)
coreclr/Tests/JIT/Regression/VS-ia64-JIT/V1.2-M01/b10827/b10827/  (segfault)
coreclr/Tests/JIT/Methodical/VT/callconv/_il_relvtret2
(Assert failure(PID 23016 [0x000059e8], Thread: 23016 [0x59e8]): Assertion failed 'xtraReg != varDsc->lvArgReg + i' in 'MS.VT:add(struct,struct):struct' (IL size 23) coreclr/src/jit/codegencommon.cpp Line: 4432)
coreclr/Tests/JIT/Methodical/VT/callconv/_il_relvtret
(Assert failure(PID 23016 [0x000059e8], Thread: 23016 [0x59e8]): Assertion failed 'xtraReg != varDsc->lvArgReg + i' in 'MS.VT:add(struct,struct):struct' (IL size 23) coreclr/src/jit/codegencommon.cpp Line: 4432)
coreclr/Tests/JIT/Methodical/tailcall_v4/hijacking (segfault)
coreclr/Tests/JIT/Methodical/structs/systemvbringup/structinregs (Assert failure(PID 19018 [0x00004a4a], Thread: 19018 [0x4a4a]): !CREATE_CHECK_STRING(pMT && pMT->Validate())  coreclr/src/vm/object.cpp Line: 1719)
coreclr/Tests/JIT/Methodical/tailcall/Desktop/_il_relthread-race (segfault)
coreclr/Tests/JIT/Directed/Misc/function_pointer/MutualThdRecur-fptr (segfault)
coreclr/Tests/JIT/CodeGenBringUpTests/LocallocLarge (segfault)

The used versions of
coreclr - f9d0333 [Local GC] Fix a bad merge (#10748)
corefx - 9326e91 Remove CSEE code from Microsoft.CSharp (#17979)
test binaries - Artifacts of debug_windows_nt 1361

To reproduce these failures you need to apply the following simple patch:
patch.txt

This issue is the blocker for PR dotnet/coreclr#7719

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions