From: <flo...@iw...> - 2012-11-23 14:49:52
|
Hi Guys, it worked with the libraries in the new svn version - all plplot leaks disappeared. Now I have just some GTK related leaks left - but that shouldn't bother you. THANKS a lot for the fast and efficient help!! Flo. Quoting Andrew Ross <and...@us...>: > On Thu, Nov 22, 2012 at 09:10:08PM -0800, Alan Irwin wrote: >> On 2012-11-22 22:13+0100 flo...@iw... wrote: >> >> > Dear Andrew, >> > >> > thanks for the quick reply. My plplot version is 5.9.9 and I use the >> > current cairo driver on Ubuntu12.10. >> >> @Florian: >> Just to jump in here late, we actually need the exact command you used >> with example 2. >> >> @Andrew: >> >> I get valgrind clean results (for the svn trunk version of PLplot >> built on Debian wheezy) for both >> >> valgrind examples/c/x02c -dev pngcairo -o test.png -fam >> >> and >> >> valgrind examples/c/x02c -dev pngcairo -o test.png >> >> In sharp contrast to those good results >> >> valgrind examples/c/x02c -dev pscairo -o test.ps -fam >> >> and >> >> valgrind examples/c/x02c -dev pscairo -o test.ps >> >> both have dirty valgrind results. Pending more precise information >> from Florian, my results may confirm what Florian has found (if in >> fact he used -dev pscairo) or it may be an additional valgrind issue >> that is unrelated to what he found. > > Alan, > > This is odd, because there definitely seems to be a bug in the plplot > code path for plotting text. I've just fixed it now. This gave > problems for both pngcairo and pscairo for me. This involved leaking > quite large amounts of memory, so I suspect this was Florian's > problem. On my Ubuntu system I still see a number of small leaks which > appear to be cairo / freetype related rather than plplot related. > > @Alan Can you check my fix on Debian wheezy? > > @Florian You might want to check the latest svn version of plplot to > see if this fixes your problem. > > Regards > Andrew > > |