-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
tutorial program gives no output #49687
Comments
Ubuntu 20.04.2 LTS |
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Not sure if this should go to templating as a problem with the template or runtime with a problem on Ubuntu. |
Tagging subscribers to this area: @vitek-karas, @agocke Issue DetailsProblem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/run I have followed the tutorial as shown below. When executing
|
Moved to runtime since 139 indicates runtime SIGSEGV. |
Can you try running the app directly? Should be something like If it fails the same way please try:
This should produce CoreCLR path = ...
Loaded library from ... coreclr.so
..
Execute managed assembly exit code: ... If you don't see this, it would be interesting to see the end of that file. Note: the host.txt may contain information like environment variables, local paths, user name and so on - please make sure you're OK sharing it. |
the file host.txt is not created:
|
Hmm... can you try running: And one last thing (out of desperation) - can you try creating a folder and trying the whole process on a new application? Would it be possible to share the dump? If you're OK with sharing it, can you please send it to vitek.karas at microsoft.com? |
This is working:
I've tried to restart all the process from zero, even from another computer of mines with no luck. Maybe there is some application I use that is interfering? Maybe docker? I would be glad to share the dump. Which file is it? |
I was able to reproduce the same with .NET 5 SDK installed from Snap (according to the docs – notably, .NET Core 3.1 SDK was by default there, so I had to install .NET 5 SDK via terminal). Hello World program simply gives no output when started by Notably, .NET 3.1 had another critical problem when installed from Snap, which has a similar workaround: #3792. |
After reading #3775 (comment), I was able to fix the issue locally. I was starting a Hello World program from a directory
If I start it from a directory |
Dup of #51322 |
Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/run
Operating System: linux
I have followed the tutorial as shown below. When executing
dotnet run
no output is given (not the expected "Hello World" nor any error). Only a 139 exit code.The text was updated successfully, but these errors were encountered: