Re: --with-tests and address sanitizer

2022-09-05 Thread Bruno Haible
> Regarding memory leaks in particular, we had a discussion a while ago: > https://lists.gnu.org/archive/html/bug-gnulib/2020-05/threads.html I mean the thread starting at https://lists.gnu.org/archive/html/bug-gnulib/2020-05/msg00155.html

Re: --with-tests and address sanitizer

2022-09-05 Thread Bruno Haible
Hi Vivien, > Are my memory leaks a known problem? Is there a way to fix them? It is known that the address sanitizer reports important problems (e.g. accessing invalid memory) and unimportant problems (e.g. memory leaks) together. It is your duty, as a user, to let it report only the important pr

--with-tests and address sanitizer

2022-09-05 Thread Vivien Kraus
Dear gnulib developers, If I try to include the gnulib tests with my project, and build with address sanitizer, then almost all tests fail, many of which because of 64 bytes allocated in argz_add_sep, a few others are because the amount of bytes required for an allocation is too large, and asan de