This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug malloc/22345] Free does not seem to free the chunk or does not mark it as free.
- From: "dj at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 24 Oct 2017 20:06:32 +0000
- Subject: [Bug malloc/22345] Free does not seem to free the chunk or does not mark it as free.
- Auto-submitted: auto-generated
- References: <bug-22345-131@http.sourceware.org/bugzilla/>
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.