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:
The following commands do not produce a segfault:
dotnet(without any arguments)
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.
I had this problem using the dotnet installed via snap. I uninstalled and installed directly, via APT. Now it works perfectly. I used the commands from the following link: Dotnet Core
Answered by AlexQL on January 5, 2022
2 Asked on February 4, 2021 by heniatha
1 Asked on February 4, 2021 by anton-samsonov
3 Asked on February 4, 2021 by kenn
1 Asked on February 3, 2021 by gabor-faludi
0 Asked on February 3, 2021 by slybloty
0 Asked on February 2, 2021 by youpilat13
2 Asked on February 2, 2021 by visc
0 Asked on February 2, 2021 by konrad-hffner
0 Asked on February 1, 2021 by teepee
0 Asked on February 1, 2021
0 Asked on February 1, 2021 by r-matveev
0 Asked on February 1, 2021 by mate-mre
0 Asked on January 31, 2021 by user127167
2 Asked on January 30, 2021 by jackson-a-cubbage
1 Asked on January 30, 2021 by coding
0 Asked on January 30, 2021 by jack-nelson
0 Asked on January 30, 2021 by yehor-pererva
1 Asked on January 29, 2021 by flerb
Get help from others!