Skip to content

CoreCLR tests on Mono runtime : crash running JIT/Methodical/VT/callconv/_il_dbgjumps4/_il_dbgjumps4.sh #34379

@SamMonoRT

Description

@SamMonoRT

Crash seen when running the following CoreCLR test on the mono runtime from the dotnet\runtime repo.
Repro : Command to run individual tests : From the dotnet\runtime repo src\mono\netcore run this command or relevant one for a particular test - make run-tests-coreclr CoreClrTest="bash ../../artifacts/tests/coreclr/OSX.x64.Debug/JIT/Methodical/VT/callconv/_il_dbgjumps4/_il_dbgjumps4.sh"

Crash report :

=================================================================
External Debugger Dump:
=================================================================
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/JIT/Methodical/VT/callconv/_il_dbgjumps4/_il_dbgjumps4.sh: line 275: 82110 Abort trap: 6 $LAUNCHER $ExePath "${CLRTestExecutionArguments[@]}"

      Return code:      1
      Raw output file:      /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/JIT/Methodical/Reports/JIT.Methodical/VT/callconv/_il_dbgjumps4/_il_dbgjumps4.output.txt
      Raw output:
      BEGIN EXECUTION
      /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/corerun _il_dbgjumps4.dll ''
      --VT-- : ->ToStringHelper
      --VT-- : ->ToStringHelper->ToStringHelper
      
      =================================================================
      Native Crash Reporting
      =================================================================
      Got a segv while executing native code. This usually indicates
      a fatal error in the mono runtime or one of the native libraries 
      used by your application.
      =================================================================
      
      =================================================================
      Native stacktrace:
      =================================================================
      0x1027bb4b2 - /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/libcoreclr.dylib : mono_dump_native_crash_info
      0x10275d105 - /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/libcoreclr.dylib : mono_handle_native_crash
      0x102984387 - /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/libcoreclr.dylib : altstack_handle_and_restore.cold.1
      0x1027b5dee - /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/libcoreclr.dylib : altstack_handle_and_restore
      0x7fff728f0769 - /usr/lib/system/libsystem_platform.dylib : _platform_memmove$VARIANT$Haswell
      0x102973581 - /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/libcoreclr.dylib : mono_gc_memmove_atomic
      0x102bbb358 - Unknown
      
      =================================================================
      Telemetry Dumper:
      =================================================================
      Pkilling 0x123145441099776x from 0x4564549056x
      Entering thread summarizer pause from 0x4564549056x
      Finished thread summarizer pause from 0x4564549056x.
      
      Waiting for dumping threads to resume
      
      =================================================================
      Basic Fault Address Reporting
      =================================================================
      Memory around native instruction pointer (0x7fff728f0769):0x7fff728f0759  81 fa 00 40 00 00 0f 82 cb 00 00 00 48 89 d1 fc  ...@........H...
      0x7fff728f0769  f3 a4 5d c3 48 39 fe 74 f9 48 01 d6 48 01 d7 48  ..].H9.t.H..H..H
      0x7fff728f0779  83 fa 60 0f 82 8c 01 00 00 e9 a9 01 00 00 48 83  ..`...........H.
      0x7fff728f0789  fa 10 76 56 c5 f8 10 4c 16 f0 48 83 ea 20 76 2a  ..vV...L..H.. v*
      
      =================================================================
      Managed Stacktrace:
      =================================================================
        at <unknown> <0xffffffff>
        at System.Buffer:__Memmove <0x00087>
        at System.Buffer:_Memmove <0x00052>
        at System.Buffer:Memmove <0x004da>
        at System.String:FillStringChecked <0x0008a>
        at System.String:Concat <0x00122>
        at MS.VT:ToString <0x0005a>
        at MS.VT:ToStringHelper <0x001a1>
        at MS.VT:RunTests <0x00152>
        at MS.VT:Main <0x0006a>
        at <Module>:runtime_invoke_int <0x000a5>
      =================================================================
      Expected: 100
      Actual: 134
      END EXECUTION - FAILED
      Test Harness Exitcode is : 1
      To run the test:
      > set CORE_ROOT=/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root
      > /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/JIT/Methodical/VT/callconv/_il_dbgjumps4/_il_dbgjumps4.sh
      Expected: True
      Actual:   False
      Stack Trace:
        /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/TestWrappers/JIT.Methodical/JIT.Methodical.XUnitWrapper.cs(70077,0): at JIT_Methodical._VT_callconv__il_dbgjumps4__il_dbgjumps4_._VT_callconv__il_dbgjumps4__il_dbgjumps4_sh()
        /Users/samarthpatel/Documents/DotNetRunTime/runtime/src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs(339,0): at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions