Summary: | Leaks reported by valgrind | ||
---|---|---|---|
Product: | fontconfig | Reporter: | Kjartan Maraas <kmaraas> |
Component: | library | Assignee: | Keith Packard <keithp> |
Status: | RESOLVED NOTABUG | QA Contact: | |
Severity: | normal | ||
Priority: | high | ||
Version: | 2.4 | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | system font config file |
Description
Kjartan Maraas
2006-09-10 15:41:24 UTC
The first one looks like a fairly simple leak caused by some configuration combination I haven't tested; I'll need a complete copy of all of the configuration files included in this environment (including any ~/.fonts.conf). Also, please try to reproduce this with fc-list or fc-match. actually, neither of these are certainly leaks; fontconfig uses 'interesting' data structures these days where objects are referred to by offset rather than directly by pointers. I'm not sure how we can teach valgrind about this; it's rather complicated. Given that the enclosing pattern objects aren't being marked as lost, I'm betting the referenced pattern elements are still referenced, just not in a way valgrind can see. I'm going to mark this as 'notabug'. If you can somehow convince pango to release all of the fontconfig patterns and still see leaks, then please reopen it and I'll investigate further. Created attachment 6899 [details]
system font config file
This is a standard FC6 devel install and I have no ~/.fonts.conf
I guess the right thing to do then would be to make the valgrind suppression file handle this? Yeah, I think we probably should do that for pattern elements and charset pieces as well. btw -- are you using the new configuration setup? Or just leaving that part alone? |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.