runtime: [x86/Linux] GC.API.GC.Collect_neg regression

FAILED   - [ 021 :    2 sec ] GC/API/GC/Collect_neg/Collect_neg.sh
               BEGIN EXECUTION
               /root/dotnet-test/coreclr_unittest_20170629_134449_x86_x86-emu/coreclr-unittest-170629-044527/Core_Root/corerun Collect_neg.exe
               ./Collect_neg.sh: line 200: 23053 Segmentation fault      (core dumped) $_DebuggerFullPath "$CORE_ROOT/corerun" $ExePath $CLRTestExecutionArguments
               Expected: 100
               Actual: 139
               END EXECUTION - FAILED

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 22 (22 by maintainers)

Most upvoted comments

The signature of FastPrimitiveArrayAllocatorFuncPtr is Object* FastPrimitiveArrayAllocatorFuncPtr(CorElementType type, DWORD cElements). It creates array of a given primitive type.

I think that the problem was introduced in dotnet/coreclr#12369. The following line should not have been removed: https://github.com/dotnet/coreclr/pull/12369/files#diff-a894b2fd6ca33d239bd799a1ccccb59cL942 . Instead, there needs to be an extra instruction added to convert the relative pointer to obsolute pointer.