C# .Net Core 6 - Segmentation fault (core dumped) on linux fedora

1.4k Views Asked by At

I have a compiled succesfuly a .Net core dll, on a win10 machine and a fedora 35 both with .Net core 6 sdk, from https://github.com/MindFlavor/prometheus_sql_server_exporter

On win10, it runs correctly and executes correctly when I visit http://localhost:9966.

When I run on the fedora box, I get correct output as a start

Hosting environment: Production Content root path: /home/salam/projects/prometheus_sql_server_exporter Now listening on: http://[::]:9966 Application started. Press Ctrl+C to shut down.

Executing anything like visiting the url http://localhost:9966 as on the win10 machine I get right away

Segmentation fault (core dumped) .

Not sure where I can find any log or how to debug. On MS site at https://learn.microsoft.com/en-us/dotnet/core/install/linux-fedora#troubleshoot-the-package-manager there a hint in the dependencies section indicating

If the target runtime environment's OpenSSL version is 1.1 or newer, you'll need to install compat-openssl10.

Mine is 1.1.11

I tried to install compat-openssl10 but it is not available starting Fedoar 34 as it seems it has security issues. So is this is really the problem or it is something else? Thanks for your help

0

There are 0 best solutions below