From: Alan W. Irwin <irwin@be...> - 2009-07-31 15:56:26
I have just discovered that the new C example 16 (yet to be propagated to
non-C languages) exposes severe memory management issues with -dev cgm.
The various symptoms are segfaults, double frees, and lots of messages
All other examples I have checked with this device are absolutely valgrind
clean so I suspect it is the new updating of the colour palettes that occurs
for every page of example 16 that is exposing the cgm issue.
Note the rather similar gd.c (also written originally by Andrew Roach) has
no such issues with the new example 16 so the fix to cgm.c is probably
straightforward, but I don't have time right now to deal with this so I
am hoping someone else will deal with it.
Because of this issue I have disabled this device by default (revision
10194) for now. Thus, to see the issue, you will have to specify
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
Get latest updates about Open Source Projects, Conferences and News.