Sample Header Ad - 728x90

dotnet --help -> Segmentation fault (core dumped)

3 votes
3 answers
5723 views
Most dotnet commands I run on my Ubuntu 20.04 system gives me the error:
Segmentation fault (core dumped) I tried rerunning the dotnet installation scripts and I tried modifying the stack size with uint -n (as advised on the internet). (It's important to note that I was using the backend of an app on dotnet without any problems, and this error seems to have come out of nowhere.) I cannot find a solution for this. What can I do to fix this? The following commands produce the segfault: - dotnet -h - dotnet --info The following commands do **not** produce a segfault: - dotnet (without any arguments) - dotnet --list-sdks - dotnet --list-runtimes I used the official microsoft documentation from here https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu to install .NET and it ran just fine until a few days ago. EDIT: Upon further investigation, I found out that if I uninstall the SDK I stop getting the error but as soon as I reinstall, it reapears.
Asked by Szoke Lorand (31 rep)
Jul 24, 2020, 10:49 PM
Last activity: Sep 2, 2022, 03:37 AM