[Bug malloc/22345] Free does not seem to free the chunk or does not mark it as free.
dj at redhat dot com
sourceware-bugzilla@sourceware.org
Tue Oct 24 20:06:00 GMT 2017
https://sourceware.org/bugzilla/show_bug.cgi?id=22345
dj at redhat dot com <dj at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |dj at redhat dot com
Resolution|--- |INVALID
--- Comment #3 from dj at redhat dot com <dj at redhat dot com> ---
If you are using the latest glibc, you have the per-thread cache enabled.
Chunks stored in the cache are still "in use" as far as the malloc internals
are concerned (i.e. they won't participate in consolidations). To see what I
mean, set GLIBC_TUNABLES=glibc.malloc.tcache_count=0 in your environment to
disable the cache.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list