[Gimp-user] Perl-fu script crashes *Except* under debugger | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Hi all - I have spent most of the last three days hacking at a perl-fu script to place copies of a selection along a path, with and without rotation and scaling. When I run it under the perl debugger it works fine; when I try to run it directly from either the perl server or from the menu in Gimp, it segfaults. Well, mostly it segfaults. For a while it was working just fine, but during a Gimp session this evening it suddenly started segfaulting again, sort of in mid-career. I think the problem lies in the use of an eval construct to catch the error when gimp_path_get_point_at_dist is given a dist that is beyond the end of the path. I use this construct because I couldn't find anything else that would give the length of a path, so I do a sort of binary search to find the end, depending on the eval to catch the error. Details: Gimp 1.2.2, perl-5.6.0 Script source available at http://trefftzs.topcities.com/scripts/xrx Your assistance will be greatly appreciated - -- --Jeff Jeff Trefftzs <trefftzs@tcsn.net> http://www.tcsn.net/trefftzs Home Page http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery http://members4.clubphoto.com/jeff309574 A photo gallery
[Home] [GIMP Development] [Video For Linux] [Photo] [Yosemite News] [Yosemite Photos] [Yosemite Book Store] [gtk] [KDE] [Scanner] [Gimp's Home] [Gimp Docs] [Gimp on Windows] [Steve's Art] [Webcams] [Share Your Images] [Free Online Dating] [Script Fu]
![]() |
![]() |