cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl strange behaviour

From: Bjorn Reese <breese_at_mail1.stofanet.dk>
Date: Fri, 16 Nov 2001 18:28:36 +0000

Julien MOUTTE wrote:

> #0 0x400c5531 in chunk_alloc (ar_ptr=0x4017d060, nb=32) at malloc.c:2878
> #1 0x400c5338 in __libc_malloc (bytes=25) at malloc.c:2811

A crash in malloc often occurs because the heap has been corrupted earlier
in the program flow (for instance by freeing the same memory twice).

I suggest that you use a dedicated memory debugging utility to find the
problem. Pick your favorite from (mine is, without a doubt, Purify, but
something like Electric Fence may solve your problem)

  http://www.cs.colorado.edu/homes/zorn/public_html/MallocDebug.html
Received on 2001-11-16