Question regarding failing xcheck posix/bug-ga2-mem and resolv/mtrace-tst-leaks2 on Fedora 33
Stefan Liebler
stli@linux.ibm.com
Tue Nov 17 08:36:09 GMT 2020
On 11/10/20 5:10 PM, Stefan Liebler via Libc-alpha wrote:
> Hi,
>
> starting with Fedora 33, the xcheck tests posix/bug-ga2-mem and
> resolv/mtrace-tst-leaks2 are failing with "Memory not freed" output of
> mtrace.
>
> Both tests are activating mtrace and are calling getaddrinfo or
> res_init+gethostbyname for multiple rounds.
>
> The /etc/nsswitch.conf differs between
> Fedora 32: hosts: files dns myhostname
> Fedora 33: hosts: files resolve [!UNAVAIL=return] myhostname dns
>
> Therefore /lib64/libnss_resolve.so.2 (from systemd) and the dependencies
> libgcc_s.so.1 and libpthread.so.0 are loaded. It seems as those loads
> are recognized in the mtrace output. Does anybody else also get those fails?
>
> Should we adjust the tests by:
>
> - calling mtrace() after the first round?
>
> - running the tests in a container e.g. with a /etc/nsswitch.conf with
> "services: files" and "hosts: files" and a /etc/hosts containing
> www.gnu.org? Those tests would then run with "make check" instead of
> "make xcheck".
>
> Any ideas?
>
> Bye,
> Stefan
>
ping
More information about the Libc-alpha
mailing list