Comment 10 for bug 1492153

Revision history for this message
su_v (suv-lp) wrote :

The trigger of Inkscape's crash (rev >= 14226) with the simpler test case seems to be an (erroneous (?)) repeated 'Z' path command in libcdr's output:

$ diff -u 442010-Frenchcurve-libcdr-0.0.1{4,5}.xhtml.svg
--- 442010-Frenchcurve-libcdr-0.0.14.xhtml.svg 2015-09-04 18:47:36.000000000 +0200
+++ 442010-Frenchcurve-libcdr-0.0.15.xhtml.svg 2015-09-04 19:03:02.000000000 +0200
@@ -24,6 +24,7 @@
 C166.6063,239.0322 165.6869,217.7318 173.5338,206.2086
 C193.3502,191.1311 246.2469,179.8439 284.2312,174.0744
 Z
+Z
 M342.5271,231.3037
 C382.1765,223.2296 430.8154,209.9802 474.0071,218.5390
 C508.5851,225.3916 544.9724,242.0104 567.4143,268.1390
$

After removing one of the two 'Z' path commands, the file opens ok in latest Inkscape trunk.

Note that Firefox, Chromium, Squiggle (Batik 1.7) as well as rsvg-view-3 (librsvg 2.40.10) render both versions of the SVG file as expected.