(Crash) issue when saving radial gradient to EMF/WMF

Bug #1549015 reported by Patrick Storz
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
High
Patrick Storz
0.92.x
Fix Released
High
Patrick Storz

Bug Description

Export of documents containing radial gradients to EMF/WMF fails with certain settings.
It also brings Inkscape into a state where it is likely to crash.

Steps to reproduce:
- open testcase.svg
- Choose "Save as" and select EMF or WMF
- Click "Save" and be sure to mark "Convert gradients to colored polygons series"
-> Inkscape notifies the user that "File [...] could not be saved"
- Click close, then highlight the rectangle in the document and delete it
-> Inkscape crashes ("Inkscape encountered an internal error and will close now.")

This crash is reproducible with Inkscape 0.91 stable as well as Inkscape trunk (r14666) on Windows 7 x64.

Revision history for this message
Patrick Storz (ede123) wrote :
jazzynico (jazzynico)
tags: added: crash emf exporting gradient
Revision history for this message
jazzynico (jazzynico) wrote :

Reproduced on Windows XP, Inkscape trunk rev. 14666, when "Convert gradients to colored polygons series" is selected.

Inkscape crashes when deleting or moving the rectangle, with the following error message:

Program received signal SIGSEGV, Segmentation fault.
0x0050d929 in Inkscape::DrawingItem::setTransform(Geom::Affine const&) ()

As often, no useful backtrace on Windows...

Changed in inkscape:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
jazzynico (jazzynico) wrote :

Sometimes I get a different error message:

0x0051771c in Inkscape::Drawing::outline() const ()

Note that radial gradients are not affected.

Revision history for this message
jazzynico (jazzynico) wrote :

Also reproduced on Xubuntu 15.10, Inkscape 0.91 and trunk rev. 14707.

Changed in inkscape:
status: Confirmed → Triaged
Revision history for this message
jazzynico (jazzynico) wrote :

Three different GDB backtraces. They all share the same trace up to SPShape::update and then differ a bit (the crash happens each time in a different part of the code).

Revision history for this message
Patrick Storz (ede123) wrote :
Changed in inkscape:
assignee: nobody → Eduard Braun (eduard-braun2)
status: Triaged → Fix Committed
jazzynico (jazzynico)
Changed in inkscape:
milestone: none → 0.93
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.