|
From: Alan W. I. <ir...@be...> - 2001-11-28 14:27:43
|
iOn Wed, 28 Nov 2001, Andrew Roach wrote: > I only actually added about 8 new lines to the driver, so the differences > are minimal, and there would seem to be little to go wrong there. Hmmm. I just tried a test with the old version of gd.c, and all the segfaults go away. With the new gd.c I also overrode GD2_VERS to be 1 and the result was no segfaults. However, if I left it at 2 (i.e., actually compile your 3 calls to gdImageSetThickness(dev->im_out, pls->width)), the segfaults come back. Either there is something wrong with libgd 2.0.1 or more likely dev->im_out or pls->width are not properly set when you make these calls. (Recall our previous Linux segfault problem with gd was caused by a subtle undefined argument problem.) Until you can find the answer, I have overriden GD2_VERS in the interest of keeping -dev png operational on CVS head. Alan |