Who is the maintainer of libfontconfig?

Hi, ALL,

When I ran my program under GNOME I’m getting a lot of memory leaks .

I’d like to know if it is possible to fix them, but for that I’d like to know who to report them to and where.

Thank you.

Probably this project.

One-off allocations are not memory leaks.

You should look at the GLib and GTK suppression files.

@ebassi ,

I do not run it under Valgrind. I do it under address sanitizer…

Thank you.

ASan also has suppression files: AddressSanitizer — Clang 23.0.0git documentation

@ebassi,

The report says:

Direct leak of 39425 bytes in 61 objects allocated from

#0 in **interceptor**realloc /var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/work/gcc-1320240210/libsanitizer/asan/asan_malloc_linux.cpp:85

#1 /usr/lib64/libfontconfig.so.1+0x23aed

Is it suppressable?

Thank you.

There’s not enough information to give you an answer. You need to build everything with debugging symbols enabled.

@ebassi ,

Please check the thread at Gentoo Forums :: View topic - ASAN reports memory leaks from libfontconfig .

It has full ASAN log with the backtrace info.

Sorry, but my browsers are too old to post here.

Thank you.

You can also check View paste NLKDU.

Thank you.

If the allocations don’t grow over time, and are done once, then they are not a leak. It’s just how things work, same as GType allocating global memory for the type system.

Otherwise, you’ll have to look at how Pango and Fontconfig themselves allocate things.

@ebassi ,

That’s why I asked for maintainers.

They would know what is happening…

Thank you.