FLTK logo

Re: [fltk.general] is there anything i can do about these (font lib) leaks?

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: is there anything i can do about these (font lib) leaks? Dave Jordan Apr 24, 2021  
 


On Sat, Apr 24, 2021 at 6:22 PM Ian MacArthur <imacarthur@gmail.com> wrote:
On 24 Apr 2021, at 21:58, Dave Jordan wrote:
>
> they seem to be mostly re fonts
> maybe i dont need some of these libs?
> maybe there are alternatives?
> i have tried updating libfontconfig and its a train wreck.
> the following valgrind report is incomplete but typical:
>


When in the sequence do you see these reported?
If it is only on exit, then they may not really be leaks per se, just valgrind grumbling about things not being tidied away properly (if the process is exiting anyway, the memory will be reaped by the system, whether it is formally released by the exiting process or not...)
But: If they are occurring during runtime, and are accumulating over time, then that’s a leak.

it's definitely after Fl::run() returns (where i print the message "app window closed") and exit.
it still might be an accumulating leak, but even if not it still would be nice to get rid of the messiness (there's about 5x as many messages, all occurring on exit).
after all, i'm going out of my way to clean up that which IS under my control... but if i have to live with it then i guess i will.

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/CAPdW6bLdwLn_Ht3RDchMkMSG_CPrFnGUmAg5C51a3Z85pAG1cw%40mail.gmail.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.