Segmentation fault (core dumped) - NetCore 3.0
See original GitHub issueAfter updating to 3.0.1 on Linux Mint:
When running dotnet new console -n cs-hello
I get :
Segmentation fault (core dumped)
info:
.NET Core SDK (reflecting any global.json):
Version: 3.0.100
Commit: 04339c3a26
Runtime Environment:
OS Name: linuxmint
OS Version: 19
OS Platform: Linux
RID: linuxmint.19-x64
Base Path: /usr/share/dotnet/sdk/3.0.100/
Host (useful for support):
Version: 3.0.0
Commit: 95a0a61858
.NET Core SDKs installed:
3.0.100 [/usr/share/dotnet/sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.App 3.0.0 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.0.0 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Removing DOTNET_CLI_TELEMETRY_OPTOUT=1
fixes the problem.
Consequently, putting back DOTNET_CLI_TELEMETRY_OPTOUT=1
after first run won’t cause the problem to re-occur again.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:17 (5 by maintainers)
Top Results From Across the Web
Segmentation fault (core dumped) while using dotnet #67465
Using a fresh Ubuntu 20.04 VM + .NET 6 installed via SNAP, I can execute the neo express create command (which uses only...
Read more >c# - How to fix "Segmentation fault (core dumped)" when ...
I had the same problem in VS Code, it runs the dotnet commands without sudo and I recived the "Segmentation fault (core dumped)"...
Read more >dotnet --help -> Segmentation fault (core dumped)
I had this problem using the dotnet installed via snap. I uninstalled and installed directly, via APT. Now it works perfectly.
Read more >13 hours debugging a segmentation fault in .NET Core on ...
I booted up and got ready to install some prereqs. I'm only 15 min in at this point. Setting up a Raspberry Pi...
Read more >Suddenly dotnet gives me segmentation fault (core dumped)
dotnet is a CLI for building and running dotnet souce code. I've been using 5.0.100 SDK since 3 months. Suddenly I got this...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oh I have figured it out. Don’t use snap version - just install via pacman.
sudo snap remove dotnet-sdk
sudo pacman -S dotnet-sdk
Facing exactly the same issue. Can’t use it in our ci/cd.