curl-library
Re: segfault in hash.c
Date: Tue, 9 Sep 2003 11:20:29 -0700 (PDT)
> The results:
> 1. Worked fine without ares.
> 2. Crashed when running with ares (at lib/llist.c:131)
> Does this match your results?
Yes, I get the same results exactly, unless I build
with ares and without debug, then the crash is in :
Curl_readwrite() at transfer.c:611
data->info.contenttype = malloc(len + 1);
( Can't alloc 10 bytes? )
It also depends on the particular set of url's , if I try
to get the images from aol's homepage, then the crash moves:
Without debug:
Curl_disconnect() at url.c:1325 Curl_safefree(conn->user);
With debug:
Curl_llist_remove () at llist.c:125
For what it's worth, I also tried linking against electric fence,
which crashes at Curl_resolv_unlock () at hostip.c:339
339 dns->inuse--;
...but that doesn't make much sense to me.
#ifdef AOL_HOME
char *urls[] = {
"http://www.aol.com/PromoArt/aolcom_logo.gif.208.4.gif",
"http://cdn.aol.com/gr/spacer.gif",
"http://cdn.aol.com/gr/bluboxlf.gif",
"http://cdn.aol.com/gr/blubotil.gif",
"http://cdn.aol.com/gr/sntext.gif",
"http://cdn.aol.com/gr/passtext.gif",
"http://cdn.aol.com/PromoArt/mailbut.gif.596.2.gif",
"http://cdn.aol.com/gr/aimbutt.gif",
"http://www.aol.com/PromoArt/myaolbt.gif.597.1.gif",
"http://www.aol.com/PromoArt/porfolbt.gif.600.1.gif",
"http://www.aol.com/PromoArt/parntbt.gif.599.1.gif",
"http://www.aol.com/PromoArt/calendbt.gif.585.1.gif",
"http://www.aol.com/PromoArt/remindbt.gif.601.3.gif",
"http://www.aol.com/PromoArt/ygpbut.gif.607.1.gif",
"http://cdn.aol.com/gr/bluboxrt.gif",
"http://cdn.aol.com/gr/grncaplf.gif",
"http://cdn.aol.com/gr/grntile.gif",
"http://cdn.aol.com/gr/searchtx.gif",
"http://cdn.aol.com/gr/googlmn.gif",
"http://cdn.aol.com/gr/search_div.gif",
"http://cdn.aol.com/gr/grncaprt.gif",
"http://http.edge.ru4.com/smartserve/ad?placement=pl-0294-002&invocation=1000",
"http://http.edge.ru4.com/smartserve/ad?placement=pl-0294-001&invocation=1000",
"http://cdn.aol.com/gr/btm_box_top.gif",
"http://cdn.aol.com/gr/purple.gif",
"http://cdn.aol.com/gr/white_separator.gif",
"http://cdn.aol.com/gr/btm_box_btm.gif",
"http://ad.doubleclick.net/ad/N2885.AOLcom/B910031.10;sz=197x150;ord=1063129410?",
"http://ad.doubleclick.net/ad/N2885.AOLcom/B910031.11;sz=197x150;ord=1063129410?",
"http://ar.atwola.com/image/93165317/aol"
};
#endif
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-09-09