cURL / Mailing Lists / curl-library / Single Mail

curl-library

crash in DNS cache

From: Avery Fay <avery_fay_at_symantec.com>
Date: Fri, 8 Nov 2002 09:58:13 -0500

Using recent cvs version of libcurl. I renabled DNS caching which I had
disabled before. I've gotten the following crash a few times after running
my program for a long time.

Output ends with:

*** WARNING: locked DNS cache entry detected: <little square char>wW
*** WARNING: locked DNS cache entry detected: no-cache
Accet
Segmentation fault

Here's the backtrace:

#0 Curl_scan_cache_used (user=0x0, ptr=0x40034951) at hostip.c:205
205 *(void **)0 = 0;
(gdb) bt
#0 Curl_scan_cache_used (user=0x0, ptr=0x40034951) at hostip.c:205
#1 0x40033e16 in Curl_hash_apply (h=0x840ecbc, user=0x0, cb=0x4001af7b
<Curl_scan_cache_used>) at hash.c:234
#2 0x40027b83 in Curl_done (conn=0x8620564) at url.c:2845
#3 0x40031c9d in Curl_perform (data=0x83fa4bc) at transfer.c:1557
#4 0x400320b8 in curl_easy_perform (curl=0x83fa4bc) at easy.c:245
#5 0x08049f72 in worker_main (nothing=0x0) at worker_thread.c:100
#6 0x40042048 in pthread_start_thread () from /lib/libpthread.so.0

Avery Fay

-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
Received on 2002-11-08