[LIBART] problem with art_rgb_svp_alpha()



I'm generating an svp from a set of 23 points.  I pass
that into art_rgb_svp_alpha(), and it hangs.  I've used
gdb to trace it to line 283 in  art_svp_render_aa.c.

It appears that it's stuck in an infinite loop, where it
keeps trying to 

(gdb) print n_steps
$1 = 15
(gdb) print ix_max
$2 = 2147483647
(gdb) print ix_min
$3 = 190
(gdb) print n_steps_max
$4 = 0
(gdb) print iter->n_steps_max
$5 = 256

The while() condition is testing

n_steps + ix_max + 2 - ix_min > n_steps_max

but n_steps_max will never get bigger.  Since it's equal to 0,
left-shifting it does nothing.

Have I uncovered a bug?  Or is it my input that is bad?
The points I'm using are below.  Thanks for any help!

[p_v_f_p] building vpath with 23 points...
[p_v_f_p] point 0: 183.1, 157.0 (1)
[p_v_f_p] point 1: 183.1, 155.4 (3)
[p_v_f_p] point 2: 183.1, 153.8 (3)
[p_v_f_p] point 3: 181.5, 152.1 (3)
[p_v_f_p] point 4: 178.8, 152.1 (3)
[p_v_f_p] point 5: 177.2, 155.4 (3)
[p_v_f_p] point 6: 174.6, 158.0 (3)
[p_v_f_p] point 7: 174.6, 159.6 (3)
[p_v_f_p] point 8: 177.2, 163.9 (3)
[p_v_f_p] point 9: 183.1, 163.9 (3)
[p_v_f_p] point 10: 187.4, 162.8 (3)
[p_v_f_p] point 11: 187.4, 161.2 (3)
[p_v_f_p] point 12: 187.4, 159.6 (3)
[p_v_f_p] point 13: 187.4, 157.0 (3)
[p_v_f_p] point 14: 187.4, 158.0 (3)
[p_v_f_p] point 15: 189.0, 159.6 (3)
[p_v_f_p] point 16: 190.6, 163.9 (3)
[p_v_f_p] point 17: 193.3, 169.8 (3)
[p_v_f_p] point 18: 193.3, 175.6 (3)
[p_v_f_p] point 19: 190.6, 178.8 (3)
[p_v_f_p] point 20: 186.3, 181.5 (3)
[p_v_f_p] point 21: 180.4, 181.5 (3)
[p_v_f_p] point 22: 175.6, 180.4 (3)
[p_v_f_p] point 23: 0.0, 0.0 (4)

Jason Priebe
Mi-Co
http://www.mi-corporation.com/ 
BEGIN:VCARD
VERSION:2.1
N:Priebe;Jason
FN:Jason Priebe
ORG:Mi-Co
TITLE:Director of Internet Services
TEL;WORK;VOICE:(919) 485-4819 x615
TEL;HOME;VOICE:(919) 838-0630
TEL;CELL;VOICE:(919) 523-6300
TEL;WORK;FAX:(919) 990-8561
ADR;WORK:;;2 Davis Drive;Research Triangle Park;North Carolina;27709;United States of America
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:2 Davis Drive=0D=0AResearch Triangle Park, North Carolina 27709=0D=0AUnited =
States of America
EMAIL;PREF;INTERNET:priebe mi-corporation com
EMAIL;INTERNET:9195236300 dpcs mobile att net
EMAIL;INTERNET:jason_priebe yahoo com
REV:20010209T141307Z
END:VCARD


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]