Bug 445612

Summary: SVG image gives ImageMagick a segfault
Product: [Fedora] Fedora Reporter: Penelope Fudd <bugzilla.redhat.com>
Component: ImageMagickAssignee: Norm Murray <nmurray>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 8CC: hdegoede, nmurray
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-08 06:17:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
A sample SVG file that causes the error. none

Description Penelope Fudd 2008-05-07 23:27:42 UTC
Description of problem:
An SVG file causes ImageMagick to die with a segmentation fault

Version-Release number of selected component (if applicable):
ImageMagick-6.3.5.9-1.fc8

How reproducible:
Always

Steps to Reproduce:
1. Type 'display Graphic.svg'
2. Type 'q'
  
Actual results:
Segmentation fault

Expected results:
Normal exit

Additional info:
The included file was generated by "Graphing Calculator Toolbar", a plugin for
Firefox, but even if it produces a bad SVG file, it should not cause a segfault.

Comment 1 Penelope Fudd 2008-05-07 23:27:42 UTC
Created attachment 304819 [details]
A sample SVG file that causes the error.

Comment 2 Penelope Fudd 2008-05-07 23:30:56 UTC
This is the SVG library being used: librsvg2-2.18.2-2.fc8
This is a freshly installed copy of Fedora 8, all updates applied as of this
morning.

Comment 3 Hans de Goede 2008-05-08 06:17:21 UTC
Short intro: I'm an ImageMagick co-maintainer.

I cannot reproduce this with: ImageMagick-6.4.0.10-1.fc10.i386, which will
become available in rawhide when rawhide unfreezes from the current F-9 freeze.

I'm assuming you are on an i386 machine, like me, and therefor I assume that
this is fixed either with the latest ImageMagick update, or with the newer
libsrvg2 in F-9, and thus closing this. If you're on a different architecture,
please reopen this bug.

I'm afraid that the new ImageMagick will not become available as an update to
F-9 / F-8 as it breaks the ImageMagick ABI. So for now you we will have to live
with this.