-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
.NET Core apps and some dotnet commands freeze with no output on FreeBSD 12.0 #11867
Comments
CC: @wfurt |
Just to double-check: you tried both publishing self-contained app on windows as well as running the app with SDK on FreeBSD? you can try to set following variables
first three may make some difference, last one simply enables some diagnostic output and that may show something interesting. Another option may be: |
Having the same issue on FreeBSD 12.0. output.txt is coreclr trace, and trace.txt is truss output (those SIGINT at the last lines were fired by me with Ctrl-C). |
thanks. I did upgrade one of my systems and I can reproduce it easily. It seems like some problem with threading/locking. I don't know if this is binary compatibility or if it is related to some OS changes in 12. |
Can you please try this @joperator ?
|
dotnet --info works as well as --help, --list-sdks and --list-runtimes. Publishing a self-contained app on Windows and running it on FreeBSD also works. |
It seems like LD_DEBUG does not work when LD_PRELOAD is used as well ;(
That is not great but hopefully this will help unblocking your testing @joperator It seems like we may need more build changes or perhaps split FreeBSD 11.x builds from 12. Maybe @russellhadley or @josteink would have some suggestions how binary portability should work. |
Yes, this allows me to publish a self-contained app on FreeBSD 12.0. |
This issue only seems to affect this .NET Core SDK, provided by the daily builds on December 18, 2019 with SDK version 3.0.100-preview-010021. |
I've published and run .NET Core apps on FreeBSD 11.2 with the .NET Core 3.0 SDKs for Windows and FreeBSD provided by the daily builds.
But I can't get it work on FreeBSD 12.0 because .NET Core apps just freeze with no output. Even dotnet commands like dotnet --help, --info and publish freeze with no output, whereas dotnet --list-sdks and --list-runtimes work as expected.
The text was updated successfully, but these errors were encountered: