-
Notifications
You must be signed in to change notification settings - Fork 594
Description
Description
We upgraded our application from .NET 6 to .NET 9. Some external dependencies use SkiaSharp version 3.119.0. The application crashes, but only on Linux ARM64. It works correctly on Windows. I tested this on our device with an IMX8 processor and on a Raspberry Pi 5. In both cases, the application closes and does not leave any trace in the logs. It worked on 2.88.8 and .Net 6. I already tested preview version of 3.119.1 and the same thing happens.
I have prepared a test application to reproduce this issue. For testing, you need, for example, an RP5, and it is enough to build the project in VS2022 for .NET 9 with the Blazor workload. After launching, simply go to localhost:8841 in the browser and press the button. The code is in the Home.razor file.
I know the crash is caused by SkiaSharp, but I have no idea why, so I am unable to help further in this matter. I have no clue if .Net 9 is to blame or rather SkiaSharp itself.
Use publish profile to publish app on ARM64.
Code
Expected Behavior
Application shoud generate red circle.
Actual Behavior
Application have a hard crash.
Version of SkiaSharp
3.119.0 (Current)
Last Known Good Version of SkiaSharp
2.88.8 (Deprecated)
IDE / Editor
Visual Studio (Windows)
Platform / Operating System
Linux
Platform / Operating System Version
- LInux with ARM64 CPU
Devices
- Toradex IMX8
- RPI5
Relevant Screenshots
No response
Relevant Log Output
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
Type
Projects
Status