apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sander Striker" <stri...@apache.org>
Subject RE: [PACTH] debug ideas for memory allocation
Date Mon, 30 Jun 2003 22:44:23 GMT
> From: ranier [mailto:ranier@cultura.com.br]
> Sent: Monday, June 30, 2003 5:28 AM

> I read a Steve Maguire book named "Guia Microsoft para o desenvolvimento 
> de programas
> sem erros" [ironic not?] and add some ideas for debugging memory 
> allocation in apr_pool.c.
> 1. Memory not initialized or freed is trash, on debug force this!
> 2. Use intensive of the function "assert" on debug development.

Using pools debug mode in combination with tools like valgrind
have worked wonders.  I personally don't think this will add extra


View raw message