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

Closed

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

Activity

  1. sergign60 commented on Apr 6, 2017

    @sergign60
    ContributorAuthor
  2. sergign60 commented on Apr 7, 2017

    @sergign60
    ContributorAuthor
  3. sergign60 commented on Apr 11, 2017

    @sergign60
    ContributorAuthor

    dotnet/coreclr#10857

  4. sergign60 commented on Jul 3, 2017

    @sergign60
    ContributorAuthor
  5. sergign60 commented on Jul 3, 2017

    @sergign60
    ContributorAuthor
  6. lt72 commented on Nov 28, 2017

    @lt72
    Contributor

    This seems resolved with the implementation of ELT callbacks. Please re-open as needed.

  7. transferred this issue fromdotnet/coreclron Jan 31, 2020
  8. added this to the Future milestone on Jan 31, 2020
  9. ghost locked as resolved and limited conversation to collaborators on Dec 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-Diagnostics-coreclrtest-bug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions