apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sander Striker" <stri...@samba-tng.org>
Subject RE: cvs commit: apr/test testmem.c
Date Thu, 10 May 2001 14:19:49 GMT
Attached diff should solve the problem.


> -----Original Message-----
> From: dreid@apache.org [mailto:dreid@apache.org]
> Sent: 10 May 2001 12:45
> To: apr-cvs@apache.org
> Subject: cvs commit: apr/test testmem.c
> 
> 
> dreid       01/05/10 03:45:04
> 
>   Modified:    test     testmem.c
>   Log:
>   This adds Sanders suggestion of testing the reset for the 
> tracking memory
>   system.  This also exposes a problem in that code where free is 
> called twice
>   for the same piece of memory, generating a segfault.  Using 
> some extra debugging
>   This is what I see...
>   
>   Tracking Memory
>           Creating the memory area............................OK
>           Creating 10 lumps of memory, each 1024 bytes........OK
>           Writing to the lumps of memory......................OK
>           Check what we wrote.................................OK
>           About to reset the tracking memory..................
>   calling free on 800259a8
>   calling free on 80025598
>   calling free on 80025598
>   
>   I don't have tim to investigate in more detail at the moment.
>   
>   NB this will segfault, but it's being committed to allow people to
>   see the problem themselves :)
>   
>   Submitted by:	Sander Striker <striker@samba-tng.org>
>   Reviewed by:	David Reid <dreid@apache.org>

Mime
View raw message