runtime: System.Runtime.Serialization.Formatters.Tests crashing with DOUBLY_LINKED_FL

  Discovering: System.Runtime.Serialization.Formatters.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Runtime.Serialization.Formatters.Tests (found 77 of 78 test cases)
  Starting:    System.Runtime.Serialization.Formatters.Tests (parallel test collections = on, max threads = 12)
    System.Runtime.Serialization.Formatters.Tests.DisableBitTests.DisabledAlwaysInBrowser [SKIP]
      Condition(s) not met: "IsBinaryFormatterSuppressedOnThisPlatform"
./RunTests.sh: line 161:  9258 Segmentation fault: 11  (core dumped) "$RUNTIME_PATH/dotnet" exec --runtimeconfig System.Runtime.Serialization.Formatters.Tests.runtimeconfig.json --depsfile System.Runtime.Serialization.Formatters.Tests.deps.json xunit.console.dll System.Runtime.Serialization.Formatters.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing $RSP_FILE
/private/tmp/helix/working/B1CC09DC/w/9AF908B5/e
----- end Wed Nov 4 09:37:32 EST 2020 ----- exit code 139 ----------------------------------------------------------
exit code 139 means SIGSEGV Illegal memory access. Deref invalid pointer, overrunning buffer, stack overflow etc. Core dumped.

e.g. https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-44245-merge-141c32ed6af649beb6/System.Runtime.Serialization.Formatters.Tests/console.63352ae9.log?sv=2019-07-07&se=2020-11-24T14%3A36%3A09Z&sr=c&sp=rl&sig=UG98YL2ecYRMMS4pgU6pF65nJVaC9MjU62QvSzk3jGk%3D

https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-44245-merge-141c32ed6af649beb6/System.Runtime.Serialization.Formatters.Tests/core.9258?sv=2019-07-07&se=2020-11-24T14%3A36%3A09Z&sr=c&sp=rl&sig=UG98YL2ecYRMMS4pgU6pF65nJVaC9MjU62QvSzk3jGk%3D

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16 (16 by maintainers)

Commits related to this issue

Most upvoted comments

GC heap corruption:

 # Child-SP          RetAddr           Call Site
00 (Inline Function) --------`-------- coreclr!WKS::my_get_size+0xb [F:\workspace\_work\1\s\src\coreclr\src\gc\gc.cpp @ 9702] 
01 000000b4`68e1b3f0 00007ffd`8539eb10 coreclr!WKS::gc_heap::mark_object_simple+0xa5 [F:\workspace\_work\1\s\src\coreclr\src\gc\gc.cpp @ 20259] 
02 (Inline Function) --------`-------- coreclr!WKS::gc_heap::mark_through_cards_helper+0x28 [F:\workspace\_work\1\s\src\coreclr\src\gc\gc.cpp @ 30791] 
03 000000b4`68e1b440 00007ffd`853b965b coreclr!WKS::gc_heap::mark_through_cards_for_uoh_objects+0x280 [F:\workspace\_work\1\s\src\coreclr\src\gc\gc.cpp @ 35547] 
04 000000b4`68e1b5a0 00007ffd`853b69ce coreclr!WKS::gc_heap::mark_phase+0x35b [F:\workspace\_work\1\s\src\coreclr\src\gc\gc.cpp @ 21677] 
05 000000b4`68e1b650 00007ffd`8539c6b9 coreclr!WKS::gc_heap::gc1+0x96 [F:\workspace\_work\1\s\src\coreclr\src\gc\gc.cpp @ 17521] 
06 (Inline Function) --------`-------- coreclr!GCToOSInterface::GetLowPrecisionTimeStamp+0x5 [F:\workspace\_work\1\s\src\coreclr\src\vm\gcenv.os.cpp @ 1033] 
07 000000b4`68e1b6b0 00007ffd`85338ec0 coreclr!WKS::gc_heap::garbage_collect+0x515 [F:\workspace\_work\1\s\src\coreclr\src\gc\gc.cpp @ 19107] 
08 000000b4`68e1b700 00007ffd`8533897a coreclr!WKS::GCHeap::GarbageCollectGeneration+0x270 [F:\workspace\_work\1\s\src\coreclr\src\gc\gc.cpp @ 38893] 
09 000000b4`68e1b750 00007ffd`853dca8c coreclr!WKS::gc_heap::trigger_gc_for_alloc+0x32 [F:\workspace\_work\1\s\src\coreclr\src\gc\gc.cpp @ 14519] 
0a 000000b4`68e1b780 00007ffd`853dc7b1 coreclr!WKS::gc_heap::try_allocate_more_space+0x2b4 [F:\workspace\_work\1\s\src\coreclr\src\gc\gc.cpp @ 14637] 
0b 000000b4`68e1b7e0 00007ffd`8539ffc7 coreclr!WKS::gc_heap::allocate_more_space+0x31 [F:\workspace\_work\1\s\src\coreclr\src\gc\gc.cpp @ 15132] 
0c (Inline Function) --------`-------- coreclr!WKS::gc_heap::allocate+0x5a [F:\workspace\_work\1\s\src\coreclr\src\gc\gc.cpp @ 15163] 
0d 000000b4`68e1b810 00007ffd`85325316 coreclr!WKS::GCHeap::Alloc+0x87 [F:\workspace\_work\1\s\src\coreclr\src\gc\gc.cpp @ 37892] 
0e 000000b4`68e1b840 00007ffd`85323edb coreclr!Alloc+0x9a [F:\workspace\_work\1\s\src\coreclr\src\vm\gchelpers.cpp @ 239] 
0f 000000b4`68e1b890 00007ffd`853235a0 coreclr!AllocateArrayEx+0x10b [F:\workspace\_work\1\s\src\coreclr\src\vm\gchelpers.cpp @ 657] 
10 000000b4`68e1b960 00007ffd`8535a6cf coreclr!DupArrayForCloning+0x90 [F:\workspace\_work\1\s\src\coreclr\src\vm\gchelpers.cpp @ 800] 
11 000000b4`68e1b9b0 00007ffd`26be3b81 coreclr!ObjectNative::AllocateUninitializedClone+0xff [F:\workspace\_work\1\s\src\coreclr\src\classlibnative\bcltype\objectnative.cpp @ 244] 
12 000000b4`68e1bb10 00000000`00000003 0x00007ffd`26be3b81

Looking for details