C#C
C#2y ago
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
Was this page helpful?