-
Notifications
You must be signed in to change notification settings - Fork 841
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
Dotnet 9 Crash on Linux only #2652
Comments
I can't repro this on WSL.
Are you able to share error messages / stack traces / crash dumps? |
Oh I'm stupid i thought i added the stack trace. For the time being I've wrapped Yarp if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
app.MapReverseProxy();
}
|
YARP will attempt to fetch the
This indicates that something went wrong when loading the Since I can't repro the same issue, it's possibly affected by something in your environment (how you installed dotnet, how you're packaging the app (self-contained, trimming, ...), any special monitoring/AV software, ...). Can you please file an issue in https://github.com/dotnet/aspnetcore? |
Are you publishing the app as self-contained/with trimming/native AOT? |
No they might be published self contained but normal |
Describe the bug
YARP on Dotnet 9 crashes on Linux-x64
YARP attempts to use either IIS or HttpSys on linux machine in net9, but just works as intended on net8.
same package version just different runtime, strange enough the application works just fine under Docker, but doesn't work under WSL and native Ubuntu Server(24).
I originally caught it because the CICD tests were all failing after a dotnet 9 update, but they all passed on Windows (tested multiple workstation).
To Reproduce
Further technical details
.NET SDK:
Version: 9.0.100
Commit: a2bc464e40
Workload version: 9.0.100-manifests.6bf02610
MSBuild version: 17.12.7+a2bc464e4
Runtime Environment:
OS Name: ubuntu
OS Version: 22.04
OS Platform: Linux
RID: ubuntu.22.04-x64
Base Path: /usr/lib/dotnet/sdk/9.0.100/
.NET workloads installed:
There are no installed workloads to display.
Configured to use loose manifests when installing new manifests.
Host:
Version: 9.0.0
Architecture: x64
Commit: a2bc464e40
.NET SDKs installed:
9.0.100 [/usr/lib/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 9.0.0 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 9.0.0 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]
Include the version of the packages you are using Version 2.2.0 (worked under net8 no longer under net9)
The platform (Linux/macOS/Windows) Linux
Settings json
The text was updated successfully, but these errors were encountered: