emergency saved SVG crashes Inkscape trunk

Bug #243232 reported by jimmac
2
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
High
Johan Engelen

Bug Description

Attached is an SVG that was saved by a crashing Inkscape trunk. The SVG loads in Inkscape 0.46, but crashes Inkscape trunk. The initial crash was triggered by calling stroke to path.

Tags: 2geom crash
Revision history for this message
jimmac (jimmac) wrote :
Changed in inkscape:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Jon A. Cruz (jon-joncruz) wrote :

terminate called after throwing an instance of 'Geom::RangeError'
  what(): lib2geom exception: there is no ellipse that satisfies the given constraints (2geom/elliptical-arc.cpp:616)

The most pertinent line of the backtrace seems to be
#8 0x005f23b1 in Geom::(anonymous namespace)::Parser::parse (this=0xbfffc37c, str=0x15c2c440 "M 15 7.46875 A 0.6384567 0.6384567 0 0 0 14.5625 7.71875 L 10.9375 12.0625 L 9.0625 10.21875 A 0.6384567 0.6384567 0\
 1 0 8.1875 11.15625 L 10.5625 13.46875 L 11.0625 13.9375 L 11.5 13.40625 L 15.5625 "...) at /opt/shared/work/programming/eclipse/eclipse_3.3/lib2geom/src/svg-path-parser.rl:146

Revision history for this message
sas (sas-sas) wrote :

I've reported the stroke-to-path crash as a separate bug: bug 246646.

By the way, for anyone who didn't see it, there was some discussion of this bug on inkscape-devel: http://www.nabble.com/Crash-in-2geom-ellipse-parsing-td18136115.html

Revision history for this message
MenTaLguY (mental-deactivatedaccount) wrote :

Marco should be working on fixing SVGEllipticalArc to accept the full range of data allowed by SVG.

Changed in inkscape:
assignee: nobody → johanengelen
Revision history for this message
sas (sas-sas) wrote :

Closing, as the crash no longer occurs.

Changed in inkscape:
status: Confirmed → 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.