Created attachment 150742 [details] bugged file SUMMARY This specific SVG file of an icon puts Krita in a state of infinitely increasing memory used until I have to kill it. For testing purposes I've loaded it into Inkscape and saved it. This worked without any problems. This happened in 4.4.x too but didn't change when I upgraded my installation. STEPS TO REPRODUCE 1. Load the file SOFTWARE/OS VERSIONS Windows: Windows 10 x64
I can confirm this in 5.0.6 and 5.1.0-beta2, but, interestingly, not with git master. That branch must have a fix somewhere that didn't get backported.
The bug looks really familiar. Let me check this.
I'm pretty sure you already fixed this somewhen in master :-)
A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/1532
Git commit ac4afecd320ff029e3dddfab7e1b0a941ef141e9 by Sharaf Zaman. Committed on 26/07/2022 at 07:41. Pushed by szaman into branch 'master'. Fix Elliptic Arc to Bezier curve function in SVG To get rid of undefined behavior. Related: bug 439145 M +106 -98 libs/flake/KoPathShapeLoader.cpp https://invent.kde.org/graphics/krita/commit/ac4afecd320ff029e3dddfab7e1b0a941ef141e9
Git commit 07108aaa0d1e473b0b8c78347c2934d57dc8f497 by Sharaf Zaman. Committed on 28/07/2022 at 15:55. Pushed by szaman into branch 'krita/5.1'. Fix Elliptic Arc to Bezier curve function in SVG To get rid of undefined behavior. Related: bug 439145 (cherry picked from commit ac4afecd320ff029e3dddfab7e1b0a941ef141e9) M +106 -98 libs/flake/KoPathShapeLoader.cpp https://invent.kde.org/graphics/krita/commit/07108aaa0d1e473b0b8c78347c2934d57dc8f497