StackOverflowException in SKCanvas after upgrade to .NET 9 #3147
Unanswered
MisterVinz
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Folks,
In my C# code I do the following: newBitmap.SetPixel(w, h, originalBitmap.GetPixel(w, h)); // newBitmap is type SKBitmap
SetPixel calls canvas.DrawPoint (x, y, color); which in turn calls DrawPoint (x, y, paint);
This used to work fine but after our upgrade to .net9 and skia 3.116.1.0 this last DrawPoint call throws a StackOverFlowException when the project runs in Release mode. In Debug mode it runs fine. See attached image.
Has anybody else run into this issue? The code on our end hasn't changed, all we did was upgrade to .net9 and skia 3.116.1.0.
This issue is really difficult to debug for me, any help would be greatly appreciated.
Thanks,
Vincent.
Beta Was this translation helpful? Give feedback.
All reactions