Has anyone built Samba 4.3.x with dmalloc or ...

Richard Sharpe realrichardsharpe at gmail.com
Mon Feb 15 10:43:15 UTC 2016

On Sun, Feb 14, 2016 at 1:05 PM, Richard Sharpe
<realrichardsharpe at gmail.com> wrote:
> Hi Folks,
> I am trying to find the code that is allocating and holding on to
> 2,500+ memory allocations of 2064 bytes. According to gdb-heap it is
> not being allocated by talloc.
> I figure I can use dmalloc if it is easy enough to use with Samba.

Looks like glibc's _malloc_hook features will make it easier to do and
I might be able to reuse the DEBUG infrastructure.

Richard Sharpe

More information about the samba-technical mailing list