-
Notifications
You must be signed in to change notification settings - Fork 546
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
Crash drawing polygon using DrawPath with SKGLView on iOS #571
Comments
Tested it with a SKCanvasView instead of SKGLView. There it isn't crashing. So I assume, that it is a problem with the GL part. The crash report:
CrashWhenDrawingPolygon-2018-06-30-125327.ips.zip Btw. when using SKGLView I get now and than artefacts like missing points, so that more parts are red than there should be or parts not red. |
This appears to be a bug in skia itself. What you can do is try the latest update and see if it goes away. I have been working in a branch, and CI has created some output:
Please note that these files are still in preview and this bot only produces the macOS bits (iOS, Android, tvOS, watchOS, macOS). I hope to release a version this week - even if just a preview release. Let me know if you have any questions. |
I can't say for certain - because much has changed - but it may also have to do with this issue: #647 |
I can not reproduce the crash when updating the test project with v1.68.0-preview28. |
Description
The entire app crashes when drawing a polygon with 450 points.
Message in Debug console:
Code
https://raw.githubusercontent.com/pauldendulk/PolygonCrash/master/CrashWhenDrawingPolygon/MyView.cs
Expected Behavior
No crash
Actual Behavior
After fast pinch zooming in and out the iOS application crashes.
Basic Information
Screenshots
Reproduction Link
https://github.com/pauldendulk/PolygonCrash
Reproduce: Place two fingers on the screen and pinch zoom in and out repeatedly. For me it crashes within 10 seconds most of the time.
The text was updated successfully, but these errors were encountered: