On iOS, .NET 9.0 Preview 3 corrupts SkiaSharp 3.0 Preview 2.1 memory after a while #101327
Labels
needs-area-label
An area label is needed to ensure this gets routed to the appropriate area owners
Description
When I upgrade my app to .NET 9.0 Preview 3 on iOS, memory of SkiaSharp 3.0 Preview 2.1 gets corrupted after a while. SkiaSharp stops working and just draws a black canvas in the end. This is the same as mono/SkiaSharp#2840 in SkiaSharp repository.
This may have something to do with dotnet/android#9153 and the possibly
InvariantGlobalization
workaround still corrupting the memory on iOS.Reproduction Steps
Expected behavior
Game works as in .NET 9.0 Preview 2 without memory corruption.
Actual behavior
SkiaSharp's memory get corrupted and it stops working.
Regression?
Yes, this used to work in .NET 9.0 Preview 2.
Known Workarounds
None, have to use .NET 9.0 Preview 2.
Configuration
.NET MAUI 9.0.100-preview.3.24204.13
iOS 17.4.1, iPad 11,7
No idea if it is specific, most likely not.
Other information
No response
The text was updated successfully, but these errors were encountered: