-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
preview8 - signal SIGSEGV on executables #10432
Comments
Attempting to reproduce. |
I was unable to reproduce with the generic Linux x64 tar.gz on However, I was able to reproduce with the .NET Core SDK installed via snap. @leecow are there known issues in this area with snap installed .NET Core SDKs? I'll try to see if I can capture a meaningful backtrace. |
It looks like this may be a dupe of dotnet/core-setup#5186. |
This is a dupe of the core-setup issue. The problem is the that the apphost can't resolve its dependencies because its RPATH isn't correct to resolve them in the snap's directory. I was able to get the apphost working with this workaround:
Edit "configProperties": {
"System.Globalization.Invariant": true
} And then finally run with
Another workaround is to disable building with the apphost by setting I'm going to close this issue in favor of the dotnet/core-setup issue referenced above. @thild thanks for reporting this to us! |
Just an obs.: this issue doesn't happen in preview7. |
Thanks for the workaround. All I needed was Because this information is scattered all over the place, here is my complete solution to get the dotnet core snap fully up and running (on Solus) if it helps anyone:
To resolve some certificate errors with nuget packages, I also needed:
|
preview8 - signal SIGSEGV on executables
Create a console app "console1" and run with
dotnet run
Nothing happens. Program just exits silently.
The program builds normally.
dotnet bin/Debug/netcoreapp3.0/console1.dll
works../bin/Debug/netcoreapp3.0/console1
crashes with segmentation fault.General
The text was updated successfully, but these errors were encountered: