GNOME Bugzilla – Bug 108380
Infinite loops on zero radius arcs
Last modified: 2004-12-22 21:47:04 UTC
Filed on behalf of Ross Alexander; he posted to nautilus-list - I have the following simple example. <?xml version="1.0" standalone="yes"?> <svg width="3100" height="2200"> <g style="stroke-width: 4pt;"> <rect x="0" y="0" width="310" height="220" style="fill:pink;"/> </g> </svg> This works on linux, but only by luck. On HP-UX it goes into infinite loops. Below is a trace from gdb.
+ Trace 34903
Many thanks Ross --------------------------------------------------------------------------------- Ross Alexander "We demand clearly defined MIS - NEC Europe Limited boundaries of uncertainty and Work ph: +44 20 8752 3394 doubt."
See original post: http://mail.gnome.org/archives/nautilus-list/2003-March/msg00116.html
what is the value of n_segs and th_arc at rsvg-path.c:153 on your hpux machine
(gdb) print n_segs $3 = 2147483647 (gdb) print th_arc $4 = nan(0x4000000000000)
patch committed, as well as some w3 rect conformance fixes. thanks.