9.0.100-rc.1.24452.12 linux-arm64 and Segmentation fault
- Dominant language
- C#
- Stars
- 3.2k
- Forks
- 1.3k
- PR merge metrics
- PR metrics pending
Description
When publishing a blank dotnet new worker app using "dotnet publish --runtime linux-arm64 --self-contained -p:PublishSingleFile=true" and running it on raspberry pi the app quits with a Segmentation fault.
Output: .Net 9
info: linuxtest.Worker[0]
Worker running at: 09/13/2024 03:03:59 +00:00
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
Content root path: /home/pi/test2
Segmentation fault
If I publish the same app and do not publish single file, the app seems to run without failure. It also runs without failure using .Net 8 as a single file.
Output: .Net 8
info: linuxtest.Worker[0]
Worker running at: 09/13/2024 03:07:52 +00:00
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
Content root path: /home/pi/test2
info: linuxtest.Worker[0]
Worker running at: 09/13/2024 03:07:54 +00:00
info: linuxtest.Worker[0]
Worker running at: 09/13/2024 03:07:55 +00:00
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.