dotnet / corert

This repo contains CoreRT, an experimental .NET Core runtime optimized for AOT (ahead of time compilation) scenarios, with the accompanying compiler toolchain.
http://dot.net
MIT License
2.91k stars 508 forks source link

[Linux] crash upon generating debug symbols #7907

Open s-m-k opened 4 years ago

s-m-k commented 4 years ago

Software version: ILCompiler 1.0.0-alpha-28407-01 .NET Core 3.1 Ubuntu 18.04 x64 (native/VirtualBox)

Symptoms: Segmentation fault upon generating debug symbols.

Compiling [S.P.TypeLoader]Internal.Runtime.TypeLoader.ConstrainedCallSupport+GenericConstrainedCallDesc+<>c..ctor()...
Compiling [S.P.TypeLoader]Internal.Runtime.TypeLoader.ConstrainedCallSupport+NonGenericConstrainedCallDesc+<>c..ctor()...
Compiling [S.P.TypeLoader]Internal.Runtime.TypeLoader.ConstrainedCallSupport.GetThunkThatDereferencesThisPointerAndTailCallsTarget(native int)...
Segmentation fault (core dumped)

gdb output:

Thread 1 "ilc" received signal SIGSEGV, Segmentation fault.
DwarfMemberFunctionIdTypeInfo::DumpTypes (this=<optimized out>, TypeBuilder=<optimized out>, Streamer=<optimized out>, TypeSection=<optimized out>, StrSection=<optimized out>)
    at /root/corert_3112221/bin/obj/Native/Linux.x64.Release/ObjWriter/llvmCap/LLVM-prefix/src/LLVM/tools/ObjWriter/debugInfo/dwarf/dwarfTypeBuilder.cpp:559
559     in /root/corert_3112221/bin/obj/Native/Linux.x64.Release/ObjWriter/llvmCap/LLVM-prefix/src/LLVM/tools/ObjWriter/debugInfo/dwarf/dwarfTypeBuilder.cpp
(gdb) where
#0  DwarfMemberFunctionIdTypeInfo::DumpTypes (this=<optimized out>, TypeBuilder=<optimized out>, Streamer=<optimized out>, TypeSection=<optimized out>, StrSection=<optimized out>)
    at /root/corert_3112221/bin/obj/Native/Linux.x64.Release/ObjWriter/llvmCap/LLVM-prefix/src/LLVM/tools/ObjWriter/debugInfo/dwarf/dwarfTypeBuilder.cpp:559
#1  0x00007fff5e289a76 in DwarfClassTypeInfo::DumpTypes (this=<optimized out>, TypeBuilder=<optimized out>, Streamer=<optimized out>, TypeSection=<optimized out>, StrSection=<optimized out>)
    at /root/corert_3112221/bin/obj/Native/Linux.x64.Release/ObjWriter/llvmCap/LLVM-prefix/src/LLVM/tools/ObjWriter/debugInfo/dwarf/dwarfTypeBuilder.cpp:375
#2  0x00007fff5e288c2b in DwarfInfo::Dump (this=0x83d2870, TypeBuilder=<optimized out>, Streamer=0x1a0dd30, TypeSection=0x18ffb18, StrSection=0x1901ee0)
    at /root/corert_3112221/bin/obj/Native/Linux.x64.Release/ObjWriter/llvmCap/LLVM-prefix/src/LLVM/tools/ObjWriter/debugInfo/dwarf/dwarfTypeBuilder.cpp:34
#3  0x00007fff5e289ac5 in DwarfClassTypeInfo::Dump (this=0x83d2870, TypeBuilder=0x1a0cb00, Streamer=0x1a0dd30, TypeSection=0x18ffb18, StrSection=0x1901ee0)
    at /root/corert_3112221/bin/obj/Native/Linux.x64.Release/ObjWriter/llvmCap/LLVM-prefix/src/LLVM/tools/ObjWriter/debugInfo/dwarf/dwarfTypeBuilder.cpp:384
#4  0x00007fff5e28a287 in UserDefinedDwarfTypesBuilder::EmitTypeInformation (this=<optimized out>, TypeSection=<optimized out>, StrSection=<optimized out>)
    at /root/corert_3112221/bin/obj/Native/Linux.x64.Release/ObjWriter/llvmCap/LLVM-prefix/src/LLVM/tools/ObjWriter/debugInfo/dwarf/dwarfTypeBuilder.cpp:641
#5  0x00007fff5e28fc38 in DwarfGen::Finish (this=0x1a2bf10) at /root/corert_3112221/bin/obj/Native/Linux.x64.Release/ObjWriter/llvmCap/LLVM-prefix/src/LLVM/tools/ObjWriter/debugInfo/dwarf/dwarfGen.cpp:1038

Expected behavior: The compiler succeeds and the executable with proper debug symbols is generated.

Workaround: Specify <DebugSymbols>false</DebugSymbols> and <DebugType>none</DebugType> in your project configuration file to avoid executing the problematic code path, e.g.:

  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
    <DebugSymbols>false</DebugSymbols>
    <DebugType>none</DebugType>
    <PlatformTarget>AnyCPU</PlatformTarget>
  </PropertyGroup>
josephmoresena commented 4 years ago

Without DebugSymbols, DebugType works?

jkotas commented 4 years ago

Any chance you can create a repro for this problem that you can share?

s-m-k commented 4 years ago

@josephmoresena I don't remember if I had tested it myself, but there's an open issue with MSBuild (https://github.com/Microsoft/msbuild/issues/2169), so I figure including both options just makes the workaround guaranteed in most circumstances.

@jkotas I might give it a go once I have more time to spare, but it's unlikely to happen anytime soon. My gut feeling tells me that it might have something to do with the compiler optimizing certain paths/structures away and dwarfTypeBuilder expecting them to remain unchanged.

DjArt commented 4 years ago

I got that issue too. There you can find project, that causes issue.

DjArt commented 4 years ago

Also, probably, [ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)] can cause this error too.

jkotas commented 4 years ago

@DjArt I have tried your repro on Ubuntu 20.04 and it does not crash for me. What is the Linux distro that you are running this on?

DjArt commented 4 years ago

@jkotas Ubuntu 20.04 on wsl1

DjArt commented 4 years ago

@jkotas Also I can provide dump and other info, if you say me how to do it and what you need.

jkotas commented 4 years ago

The core dumps (and debuggers in general) do not work well on WSL1 https://github.com/microsoft/WSL/issues/1262 .

Yes, sharing a core dump of the crash would help.

DjArt commented 4 years ago

Also I find that it's happens only in Release mode for me.

DjArt commented 4 years ago

@jkotas okay, I generated dump with gdb by running gdb --args source/repos/corert/bin/Linux.x64.Debug/tools/ilc @obj/corert/netstandard2.0/linux-x64/native/libEGL.Linux.ilc.rsp. Used ilc version: https://github.com/dotnet/corert/tree/325f31dce46e893506899c913c39be6c4b219750 gdb output before dump generation:

(gdb) r
Starting program: source/repos/corert/bin/Linux.x64.Debug/tools/ilc @obj/corert/netstandard2.0/linux-x64/native/libEGL.Linux.ilc.rsp
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffffe440700 (LWP 9545)]
[New Thread 0x7ffffdbf0700 (LWP 9546)]
[New Thread 0x7ffffd3d0700 (LWP 9547)]
[New Thread 0x7ffffc6f0700 (LWP 9548)]
Warning: RD.XML processing will change before release (https://github.com/dotnet/corert/issues/5001)
[New Thread 0x7ffff89c0700 (LWP 9549)]
[New Thread 0x7ffff81b0700 (LWP 9550)]
[New Thread 0x7ffff8160700 (LWP 9551)]
[New Thread 0x7ffff7950700 (LWP 9552)]
[New Thread 0x7ffff7110700 (LWP 9553)]
[New Thread 0x7ffff6900700 (LWP 9554)]
[New Thread 0x7fff84860700 (LWP 9555)]
[New Thread 0x7fff5ffe0700 (LWP 9559)]
[New Thread 0x7fff5f7d0700 (LWP 9560)]
[New Thread 0x7fff5efc0700 (LWP 9561)]
[New Thread 0x7fff5e7b0700 (LWP 9562)]
[New Thread 0x7fff5dfa0700 (LWP 9563)]
[New Thread 0x7fff5d790700 (LWP 9564)]
[New Thread 0x7fff5cf80700 (LWP 9565)]
[New Thread 0x7fff27ff0700 (LWP 9566)]

Thread 17 "ilc" received signal SIG34, Real-time event 34.
[Switching to Thread 0x7fff5dfa0700 (LWP 9563)]
0x00007ffffe93ec10 in CorUnix::CSimpleHandleManager::GetObjectFromHandle(CorUnix::CPalThread*, void*, unsigned int*, CorUnix::IPalObject**) ()
   from source/repos/corert/bin/Linux.x64.Debug/tools/libcoreclr.so

Dump generation output:

(gdb) gcore ilc.dump
warning: target file /proc/9538/cmdline contained unexpected null characters
warning: Memory read failed for corefile section, 1048576 bytes at 0x7fff1c037000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7fff20048000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7fff277f0000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7fff280fb000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7fff2c06b000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7fff30049000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7fff34099000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7fff3807a000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7fff3c081000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7fff40021000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7fff440be000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7fff48056000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7fff4c0cb000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7fff50021000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7fff54090000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7fff580f9000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7fff5c780000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7fff5cf90000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7fff5d7a0000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7fff5dfb0000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7fff5e7c0000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7fff5efd0000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7fff5f7e0000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7fff61c3e000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7fff70442000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7fff78021000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7fff7c021000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7fff80021000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7fff84060000.
warning: Memory read failed for corefile section, 212992 bytes at 0x7fff8486c000.
warning: Memory read failed for corefile section, 8192 bytes at 0x7fff848ae000.
warning: Memory read failed for corefile section, 8192 bytes at 0x7fff848be000.
warning: Memory read failed for corefile section, 8192 bytes at 0x7fff848c2000.
warning: Memory read failed for corefile section, 20480 bytes at 0x7fff848c6000.
warning: Memory read failed for corefile section, 180224 bytes at 0x7fff848d0000.
warning: Memory read failed for corefile section, 319488 bytes at 0x7fff84902000.
warning: Memory read failed for corefile section, 20480 bytes at 0x7fff84951000.
warning: Memory read failed for corefile section, 20480 bytes at 0x7fff84957000.
warning: Memory read failed for corefile section, 12288 bytes at 0x7fff8495d000.
warning: Memory read failed for corefile section, 151552 bytes at 0x7fff84961000.
warning: Memory read failed for corefile section, 233472 bytes at 0x7fff84987000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff849c1000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff84bff000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff84c39000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff854df000.
warning: Memory read failed for corefile section, 24576 bytes at 0x7fff8551a000.
warning: Memory read failed for corefile section, 204800 bytes at 0x7fff8556e000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff855c1000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff855d1000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff855ea000.
warning: Memory read failed for corefile section, 24576 bytes at 0x7fff855fa000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85601000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85631000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85643000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff856ae000.
warning: Memory read failed for corefile section, 8192 bytes at 0x7fff856be000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff856c1000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff856d3000.
warning: Memory read failed for corefile section, 65536 bytes at 0x7fff8572f000.
warning: Memory read failed for corefile section, 28672 bytes at 0x7fff85749000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85761000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85771000.
warning: Memory read failed for corefile section, 122880 bytes at 0x7fff85782000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff857a1000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff857b6000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff858c4000.
warning: Memory read failed for corefile section, 45056 bytes at 0x7fff858d5000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7fff858ff000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85901000.
warning: Memory read failed for corefile section, 65536 bytes at 0x7fff85916000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff859bf000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7fff859df000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff859f1000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85a02000.
warning: Memory read failed for corefile section, 65536 bytes at 0x7fff85a3e000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7fff85a4f000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85a61000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85a71000.
warning: Memory read failed for corefile section, 122880 bytes at 0x7fff85a82000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85aa1000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85ab1000.
warning: Memory read failed for corefile section, 98304 bytes at 0x7fff85ad8000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85b01000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85b11000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85b24000.
warning: Memory read failed for corefile section, 49152 bytes at 0x7fff85b34000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85b41000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85b51000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85b69000.
warning: Memory read failed for corefile section, 28672 bytes at 0x7fff85b79000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85b81000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85b91000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85bb1000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85bc1000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85bd1000.
warning: Memory read failed for corefile section, 65536 bytes at 0x7fff85be3000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85c58000.
warning: Memory read failed for corefile section, 28672 bytes at 0x7fff85c69000.
warning: Memory read failed for corefile section, 12288 bytes at 0x7fff85c9d000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85ca1000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85cb2000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85cf2000.
warning: Memory read failed for corefile section, 57344 bytes at 0x7fff85d02000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85d21000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85d32000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85d7c000.
warning: Memory read failed for corefile section, 16384 bytes at 0x7fff85d8c000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85d91000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85da1000.
warning: Memory read failed for corefile section, 122880 bytes at 0x7fff85db2000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85de1000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85df1000.
warning: Memory read failed for corefile section, 122880 bytes at 0x7fff85e02000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85e31000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85e41000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85e5e000.
warning: Memory read failed for corefile section, 8192 bytes at 0x7fff85e6e000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85e91000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85ea1000.
warning: Memory read failed for corefile section, 122880 bytes at 0x7fff85eb2000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85ed1000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85ee1000.
warning: Memory read failed for corefile section, 122880 bytes at 0x7fff85ef2000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85f11000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85f21000.
warning: Memory read failed for corefile section, 122880 bytes at 0x7fff85f32000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85f51000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85f61000.
warning: Memory read failed for corefile section, 122880 bytes at 0x7fff85f72000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85f91000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff85fa1000.
warning: Memory read failed for corefile section, 122880 bytes at 0x7fff85fb2000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7fff85fef000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff86001000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff86011000.
warning: Memory read failed for corefile section, 122880 bytes at 0x7fff86022000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff86041000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff86053000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff860ba000.
warning: Memory read failed for corefile section, 24576 bytes at 0x7fff860ca000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff860d1000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff86104000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff86904000.
warning: Memory read failed for corefile section, 24576 bytes at 0x7fff8691a000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7fff8695f000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff86971000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff86982000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff869c9000.
warning: Memory read failed for corefile section, 28672 bytes at 0x7fff869d9000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff869f1000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff86a01000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff86a18000.
warning: Memory read failed for corefile section, 32768 bytes at 0x7fff86a28000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff86a31000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff86a43000.
warning: Memory read failed for corefile section, 65536 bytes at 0x7fff86aa7000.
warning: Memory read failed for corefile section, 32768 bytes at 0x7fff86ab8000.
warning: Memory read failed for corefile section, 16384 bytes at 0x7fff86adc000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff86af1000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff86b01000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff86b24000.
warning: Memory read failed for corefile section, 49152 bytes at 0x7fff86b34000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff86b81000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff86b92000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff86bd1000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff86be1000.
warning: Memory read failed for corefile section, 106496 bytes at 0x7fff86c86000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff86d01000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff86d11000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff86d27000.
warning: Memory read failed for corefile section, 36864 bytes at 0x7fff86d37000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff86d61000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff86d71000.
warning: Memory read failed for corefile section, 122880 bytes at 0x7fff86d82000.
warning: Memory read failed for corefile section, 53248 bytes at 0x7fff86e93000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff86ed1000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff86ee1000.
warning: Memory read failed for corefile section, 122880 bytes at 0x7fff86ef2000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7fff86f1f000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff86f61000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff86f71000.
warning: Memory read failed for corefile section, 122880 bytes at 0x7fff86f82000.
warning: Memory read failed for corefile section, 57344 bytes at 0x7fff86fc2000.
warning: Memory read failed for corefile section, 122880 bytes at 0x7fff87052000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff87071000.
warning: Memory read failed for corefile section, 61440 bytes at 0x7fff87081000.
warning: Memory read failed for corefile section, 122880 bytes at 0x7fff87092000.
warning: Memory read failed for corefile section, 45056 bytes at 0x7fff870e5000.
warning: Memory read failed for corefile section, 28672 bytes at 0x7fff87109000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7fff87125000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffff6670000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffff66e0000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffff66f0000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffff6700000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffff6720000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffff6740000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffff6750000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffff6790000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffff6870000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffff68c0000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffff6910000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffff7120000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffff7130000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffff7140000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffff7150000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffff7960000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffff8170000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffff81c0000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffff8ca5000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffff9085000.
warning: Memory read failed for corefile section, 8192 bytes at 0x7ffff90c1000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7ffff90c3000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffff9620000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffff96b0000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffff96c0000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffff97fe000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7ffff97ff000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffff9cec000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffffb9a0000.
warning: Memory read failed for corefile section, 20480 bytes at 0x7ffffb9d2000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7ffffb9d7000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffffbee0000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffffbef0000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7ffffc8b9000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffffcbc0000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffffcbd0000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffffd3e0000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffffd3f0000.
warning: Memory read failed for corefile section, 106496 bytes at 0x7ffffdc07000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffffdc30000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffffdc40000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7ffffe458000.
warning: Memory read failed for corefile section, 8192 bytes at 0x7ffffed4c000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7ffffed4e000.
warning: Memory read failed for corefile section, 8192 bytes at 0x7ffffeff7000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7ffffeff9000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7fffff407000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7fffff440000.
warning: Memory read failed for corefile section, 4096 bytes at 0x7fffff75f000.
Saved corefile ilc.dump

Dump file (zipped by 7z) ilc.part1.zip ilc.part2.zip ilc.part3.zip ilc.part4.zip

jkotas commented 4 years ago

This crash dump is stopped on signal that the GC thread suspension uses internally. gdb stops on this signal by default unfortunately. The runtime will handle this gracefully and continue.

The best way to get the right crash dump is to run ulimit -c unlimited and then look for core file (or whatever is configured by /proc/sys/kernel/core_pattern) once the crash occurs.

DjArt commented 4 years ago

Oh, then I should prepare native Linux environment. It will take some time.