-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
Godot crashes when importing a certain SVG icon with embedded PNG images #91781
Comments
Here the backtrace using a debug version:
|
I can confirm the crash, and it's still reproducible in latest thorvg 0.13.3 (as of #91788). Full
I'm not sure how to reproduce it minimally to file a bug report upstream, maybe @capnm @hermet @mgrudzinska can advise. I tested upstream On the other hand I tested https://thorvg.github.io/thorvg.viewer/ and it seems to fail handling that file, with this error:
|
Removing the embedded PNG images from the file (by manually editing it) seems to solve the crash. |
To reproduce the crash, one needs to use the mesh. Neither svg2png nor svg2tvg use it. If we load the image into the example |
@nongvantinh @akien-mga the crash issue will be fixed in thorvg v0.13.5. Thanks |
Tested versions
Godot Engine v4.2.stable.official.46dc27791 also happens with mono version
System information
Windows 11
Issue description
Godot crashes when importing a certain SVG icon
Steps to reproduce
Simply place this file somewhere in the project folder and return to the editor. Godot will attempt to import the file and crash.
Minimal reproduction project (MRP)
If you don’t want to create a minimal reproducible project (MRP) yourself, you can use mine.
godot-crash.zip
The text was updated successfully, but these errors were encountered: