Skip to content

CoreCLR tests on Mono runtime : crash running JIT/Regression/CLR-x86-JIT/V2.0-Beta2/b441487/b441487/b441487.sh #34383

@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/Regression/CLR-x86-JIT/V2.0-Beta2/b441487/b441487/b441487.sh”

Crash report :

=================================================================
External Debugger Dump:
=================================================================
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/JIT/Regression/CLR-x86-JIT/V2.0-Beta2/b441487/b441487/b441487.sh: line 275: 85261 Abort trap: 6 $LAUNCHER $ExePath "${CLRTestExecutionArguments[@]}"

      Return code:      1
      Raw output file:      /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/JIT/Regression/Reports/JIT.Regression/CLR-x86-JIT/V2.0-Beta2/b441487/b441487/b441487.output.txt
      Raw output:
      BEGIN EXECUTION
      /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/corerun b441487.dll ''
      Running tests for System.String
      Foo
      
      =================================================================
      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:
      =================================================================
      0x104d814b2 - /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/libcoreclr.dylib : mono_dump_native_crash_info
      0x104d23105 - /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/libcoreclr.dylib : mono_handle_native_crash
      0x104f4a387 - /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/libcoreclr.dylib : altstack_handle_and_restore.cold.1
      0x104d7bdee - /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/libcoreclr.dylib : altstack_handle_and_restore
      0x104d20a9e - /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/libcoreclr.dylib : get_generic_info_from_stack_frame
      0x104d215fb - /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/libcoreclr.dylib : mono_handle_exception_internal
      0x104d20cbb - /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/libcoreclr.dylib : mono_handle_exception
      0x104d7bd86 - /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/libcoreclr.dylib : altstack_handle_and_restore
      0x1053e1baf - Unknown
      0x1052c2853 - Unknown
      0x104c86f9e - /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/libcoreclr.dylib : mono_jit_runtime_invoke
      0x104e5c2c8 - /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/libcoreclr.dylib : mono_runtime_invoke_checked
      0x104e62645 - /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/libcoreclr.dylib : mono_runtime_exec_main_checked
      0x104ce102c - /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/libcoreclr.dylib : mono_jit_exec
      0x104ce4126 - /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/libcoreclr.dylib : mono_main
      0x104d5d589 - /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/libcoreclr.dylib : monovm_execute_assembly
      0x104c3b896 - /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/corerun : _Z22ExecuteManagedAssemblyPKcS0_S0_iPS0_
      0x104c3a18d - /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/corerun : main
      0x7fff726fa7fd - /usr/lib/system/libdyld.dylib : start
      
      =================================================================
      Telemetry Dumper:
      =================================================================
      Pkilling 0x123145455353856x from 0x4525411776x
      Entering thread summarizer pause from 0x4525411776x
      Finished thread summarizer pause from 0x4525411776x.
      
      Waiting for dumping threads to resume
      
      =================================================================
      Basic Fault Address Reporting
      =================================================================
      Memory around native instruction pointer (0x104d20a9e):0x104d20a8e  ff ff 49 8b 46 08 f6 40 20 04 0f 85 3c ff ff ff  ..I.F..@ ...<...
      0x104d20a9e  4d 8b 24 24 e9 33 ff ff ff 8b 43 f0 89 45 d4 8b  M.$$.3....C..E..
      0x104d20aae  73 f4 4c 89 e7 e8 58 95 05 00 49 89 c4 83 7d d4  s.L...X...I...}.
      0x104d20abe  00 75 a1 48 63 43 f8 4d 8b 24 04 45 3b 6e 08 7c  .u.HcC.M.$.E;n.|
      
      =================================================================
      Managed Stacktrace:
      =================================================================
      =================================================================
      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/Regression/CLR-x86-JIT/V2.0-Beta2/b441487/b441487/b441487.sh
      Expected: True
      Actual:   False
      Stack Trace:
        /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/TestWrappers/JIT.Regression/JIT.Regression.XUnitWrapper.cs(32926,0): at JIT_Regression._CLR_x86_JIT_V2_0_Beta2_b441487_b441487_b441487_._CLR_x86_JIT_V2_0_Beta2_b441487_b441487_b441487_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

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions