[asterisk-dev] link asterisk to dmalloc

Tomas Maldonado tomas.maldonado at intraway.com
Fri Aug 24 10:40:42 CDT 2012


Great, didnt know what the MALLOC_DEBUG option uses, and didnt know about
--enable-dev-mode configure option.

Many thanks,
Tomas Maldonado

On Fri, Aug 24, 2012 at 12:32 PM, Tilghman Lesher <tilghman at meg.abyt.es>wrote:

> On Fri, Aug 24, 2012 at 10:27 AM, Tomas Maldonado
> <tomas.maldonado at intraway.com> wrote:
> > I hope this is the right list for this question.  I am trying to debug a
> > segmentation fault in the res_pktcops module.  In some point there is a
> free
> > of an invalid pointer, so I want to search the source of this problem
> using
> > dmalloc library.  I was hoping someone would point me out how to achieve
> > this, I took a look at the Makefiles but I cant figure out where to add
> this
> > library.
>
> We already have a builtin method for doing this.  Make sure you've
> invoked configure with --enable-dev-mode, then in 'make menuselect',
> under Compiler Options, enable "MALLOC_DEBUG".
>
> -Tilghman
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120824/21d73b3a/attachment-0001.htm>


More information about the asterisk-dev mailing list