Description of problem:
createdump utility reports the segmentation fault.
Version-Release number of selected component (if applicable):
# dotnet --info
.NET Core SDK (reflecting any global.json):
OS Name: rhel
OS Version: 7
OS Platform: Linux
Base Path: /opt/rh/rh-dotnet22/root/usr/lib64/dotnet/sdk/2.2.100/
Host (useful for support):
.NET Core SDKs installed:
.NET Core runtimes installed:
Microsoft.NETCore.App 2.2.0 [/opt/rh/rh-dotnet22/root/usr/lib64/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs:
Steps to Reproduce:
1. Create an example ASP.NET Core project and runt.
$ dotnet new webapp
$ dotnet run
2. Find the PID.
$ ps aux | grep dotne[t]
3. Execute createdump.
$ # /opt/rh/rh-dotnet22/root/usr/lib64/dotnet/shared/Microsoft.NETCore.App/2.2.0/createdump 127347
Writing minidump with heap to file /tmp/coredump.127347
Create dump successfully.
I confirmed createdump works well with rh-dotnet21.
This was fixed upstream and included in the 2.2.2 release: https://github.com/dotnet/coreclr/pull/21534
It will be part of the upcoming .NET Core 2.2.2 release on RHEL 7.
I have added a regression test for this: https://github.com/redhat-developer/dotnet-regular-tests/pull/46
Radka, Can you please sanity check and merge that test and confirm that this issue was fixed in our 2.2.2 update?
This was resolved in the past release.