On Fri, May 1, 2009 at 12:37 PM, Hazen Babcock <[email protected]> wrote: > 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. > > I thought it might have something to do with the recent changes to cairo > text handling, but unfortunately I have to report that I am still seeing the > old behavior. > > Could you try changing line 871 in drivers/cairo.c from: > pls->alt_unicode = 1; > to: > pls->alt_unicode = 0; > and see if you get the old behavior? > > -Hazen
My apologies. It seems I spoke too soon. The process works from the OCaml toplevel (effectively an interactive OCaml interpretercompiler), but not from a compiled binary. I do not know why there would be such a difference between the two since the segfault originates outside of any OCaml code. Sorry again for the misinformation. So the problem seems to be slightly better (the segfault would previously happen in the toplevel and from compiled binaries), but still exists. Hez -- Hezekiah M. Carty Graduate Research Assistant University of Maryland Department of Atmospheric and Oceanic Science ------------------------------------------------------------------------------ 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
