cURL / Mailing Lists / curl-library / Single Mail


Re: Re: llist->next off by one

From: Daniel Stenberg <>
Date: Tue, 2 Dec 2003 13:56:05 +0100 (CET)

On Mon, 1 Dec 2003, Giuseppe Attardi wrote:

> I still have problems of corruption of an llist in a mulithreaded,
> multihandle cURL application.

Ugha. :-/

> #0 Curl_hash_clean_with_criterium (h=0x81e13c8, user=0xbf7ff4ac,
> comp=0x81165d8 <hostcache_timestamp_remove>) at hash.c:261
> #1 0x08116624 in hostcache_prune (hostcache=0x81e13c8, cache_timeout=300,
> now=1070238892) at hostip.c:193
> #2 0x081166d9 in cache_resolv_response (data=0x852f530, addr=0x99db310,
> hostname=0x85bd7e8 "", port=80) at hostip.c:258
> #3 0x08116beb in host_callback (arg=0x84383d0, status=0, hostent=0x86c5fc0)
> at hostip.c:555

When this happens, does it always happen through the same backtrace? I mean,
is it always when pruning the cache from the host_callback() ?

    Daniel Stenberg -- --
 [[ Do not post private mails to this email address. They won't reach me. ]]
This email is sponsored by: Giveback Program.
Does help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here:
Received on 2003-12-02