-
Notifications
You must be signed in to change notification settings - Fork 81
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
Infinite loop Reading an SVG with MSVG #96
Comments
Thanks for the problem report. We can reproduce it and will have a patch to fix it in the GIT master branch @ https://github.com/ImageMagick/ImageMagick within a few days. The patch will be available in the beta releases of ImageMagick @ https://www.imagemagick.org/download/beta/ shortly after we commit a patch. |
I just ran the updated version and tested it against the full breeze-icons set that was giving me trouble, and the patch seems to work. Thank you! |
* Build found a bug in imagemagick, inkscape is a build dep for all current versions of imagemagick 6 & 7, will update deps when the bug is resolved See: ImageMagick/ImageMagick6#96
2020-09-05 7.0.10-29 <quetzlzacatenango@image...> * Release ImageMagick version 7.0.10-29 GIT revision 17580:fc52fa0a9:20200905 2020-09-05 7.0.10-28 <quetzlzacatenango@image...> * Eliminate infinite loop for certain SVG styles (reference ImageMagick/ImageMagick6#96). * Add version element to JSON file format (reference ImageMagick/ImageMagick6#91). 2020-09-01 7.0.10-29 Dirk Lemstra <dirk@lem.....org> * Enabled support for AVIF encoding on Windows. * Clip path in 8bim profile is updated when the image is extended. (reference ImageMagick/ImageMagick#2414)
Prerequisites
Description
When I try to convert some SVGs to PNG (or any other format, like jpg),
convert
enters an infinite loop. Tested on two seperate debian buster systems running ImageMagick 6.9.10-23, I confirmed it on git master (ImageMagick6), my slackware system running 7.0.10-24 does NOT have this problem. The loop appears to be in RenderMVGContent, and best I can tell it's doing a push/pop and then see's a class from the svg and puts the same push/pop back on the stack. I git bisected this and it appears to be f6bf2ee, I have no idea how that causes thisSteps to Reproduce
I was converting many of the SVGs in KDE breeze-icons to PNGs, this bug happens on many of their SVGs
This is my bisect script:
System Configuration
The text was updated successfully, but these errors were encountered: