[Asterisk-bsd] Asterisk mem leak

Dinesh Nair dinesh at alphaque.com
Wed Jun 20 00:52:36 CDT 2007


On Tue, 19 Jun 2007 20:04:29 +0100, Stuart Henderson wrote:

> On 2007/06/19 18:39, Dinesh Nair wrote:
> > On Tue, 19 Jun 2007 10:02:24 +0100, Stuart Henderson wrote:
> > 
> > > (or 'show memory allocations' and 'show memory summary' in 1.2,
> > > you don't even say what Asterisk version you run, what OS you run,
> > > ...)
> > 
> > a grep for MALLOC_DEBUG in the 1.2 codebase shows nothing.
> 
> It's in the Makefile:
> 
> <sthen at zephyr:18162>$ pwd
> /usr/ports/telephony/asterisk/w-asterisk-1.2.19/asterisk-1.2.19
> <sthen at zephyr:18163>$ fgrep -R MALLOC_DEBUG *
> ChangeLog:        with MALLOC_DEBUG enabled. This was not reported in
> the bug ChangeLog:      * channels/chan_sip.c: fix a crash when
> MALLOC_DEBUG is enabled and Makefile:MALLOC_DEBUG = #-include
> $(PWD)/include/asterisk/astmm.h Makefile:ASTCFLAGS+= $(MALLOC_DEBUG)

thanx, never thought of looking there. just grepped through the .c files. 

-- 
Regards,                           /\_/\   "All dogs go to heaven."
dinesh at alphaque.com                (0 0)   http://www.openmalaysiablog.com/
+==========================----oOO--(_)--OOo----==========================+
| for a in past present future; do                                        |
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo "The opinions here in no way reflect the opinions of my $a $b."  |
| done; done                                                              |
+=========================================================================+



More information about the Asterisk-BSD mailing list