Comment 11 for bug 1330295

Revision history for this message
Alvin Penner (apenner) wrote :

I am not entirely convinced that line 383 of path.cpp is the source of the problem

- on my machine, Windows XP, Inkscape rev 13470, I have not been able to produce a crash
- however there is something unusual about the svg. The first arc is given by
  M 108.4 12.2 A 4.801 4.801 0 0 1 108.4 12.2
  In svg this type of construction is illegal because the start point of the arc is the same as the endpoint. Hopefully, if all goes well, the parser will ignore this arc entirely. If it does not ignore it, then it will almost certainly lead to a crash, probably a divide by zero. However, the crash will be caused by the fact that two points are the same, not by the fact that they are unequal as tested in line 383.
- The remaining two arcs, after this, look normal: they both represent 90 degree arcs.