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

ghozt <ghozt.glider at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED
         Resolution|INVALID                     |FIXED

--- Comment #5 from ghozt <ghozt.glider at gmail dot com> ---
(In reply to dj@redhat.com from comment #3)
> 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.

Makes sense, thanks for your answer :)

I close the issue.

Regards, 

ghozt

-- 
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]