On Fri, May 01, 2009 at 11:42:56AM -0400, Hezekiah M. Carty wrote: > While doing some comparisons using the Qt and Cairo devices on my own > plots, I noticed that the: > > plsdev(something_cairo); > plenv ...; > plend(); > plsdev(something_cairo); > plenv...; > > sequence with Cairo output devices no longer gives segmentation faults > on my Ubuntu Intrepid system using the latest PLplot SVN! Previously, > rendering text on a Cairo device in a new PLplot session after calling > plend() for a previous Cairo PLplot session would lead to a > segmentation fault. The version of Cairo installed on my system has > not changed since the last time I tested this, so it seems that > something has changed in the PLplot sources to fix this. > > Whoever fixed this, whether intentionally or otherwise, thank you!
I yesterday ran into the same problem with the octave bindings and today found svn had solved it. I checked recent commits to cairo.c and I can't see any explicit mention of it. I haven't tested with other languages. As an aside, calling plend1 instead of plend gets round the problem. This may give a big clue as to the cause of the problem Andrew ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Plplot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-devel
