© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
2 replies
Moos

dotnet run throws segfault

I somehow bricked my console application since every time i run dotnet run it just exits with no output and exit code 139 (segmentation fault).
I could not find anything about that on google so i hope someone here can help me.

This problem started when i tried to introduce some unsafe code to the project (like i have done many times before) and as soon as I added "<AllowUnsafeBlocks>true</AllowUnsafeBlocks>" to the .csproj file the "dotnet run" command no longer worked.
Now it still fails with that line and all unsafe code removed.

Maybe it is important to say that I am on Linux and use the dotnet CLI tool.
"dotnet clean" does not help
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Unable to run dotnet project
C#CC# / help
3y ago
✅ set "dotnet run" to always run in release
C#CC# / help
2y ago
Github actions failing to run project (dotnet run)
C#CC# / help
3y ago
Why is dotnet run not working?
C#CC# / help
12mo ago