This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug malloc/22345] Free does not seem to free the chunk or does not mark it as free.


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]