This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC][PATCH] malloc: Fix test for malloc_usable_size
- From: DJ Delorie <dj at redhat dot com>
- To: Matheus Castanho <msc at linux dot ibm dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 16 Dec 2019 14:55:39 -0500
- Subject: Re: [RFC][PATCH] malloc: Fix test for malloc_usable_size
Matheus Castanho <msc@linux.ibm.com> writes:
> We have seen some tests on recent builds on ppc64le failing with
> the following:
>
> ---=== ./malloc/tst-malloc-usable-tunables.out ===---
> malloc_usable_size: expected 7 but got 24
> FAIL: malloc/tst-malloc-usable-tunables.c
The root cause here is much more insidious.
See https://bugzilla.redhat.com/show_bug.cgi?id=1659276
Basically, tunables has a bug-er-design-issue, and without the right
tunables, the malloc test can't work right anyway.
See also https://sourceware.org/bugzilla/show_bug.cgi?id=25035
Fix imminent :-)