curl-library
Re: SIGSEGV in resolver (redhat 6.0, 7.3)
Date: Mon, 9 Dec 2002 11:23:01 +0100 (MET)
On Sun, 8 Dec 2002, Vojtech Janota wrote:
> I'm very sorry, but I'm not an gdb guru. More detailed instruction
> please...
Sure, here it comes:
First, apply this patch and see if it helps:
--- curl-7.10.2/lib/hostip.c Mon Nov 11 23:51:09 2002
+++ curl-7.10.2-fix/lib/hostip.c Mon Dec 9 11:05:35 2002
@@ -627,7 +627,7 @@
size is too small. Previous versions are known to return ERANGE for
the same. */
- if((ERANGE == res) || (EAGAIN == res)) {
+ if(ERANGE == res) {
step_size+=200;
continue;
}
If it does not help it surely is odd, but then you should be able to correct
the problem by applying this patch:
--- curl-7.10.2/lib/hostip.c Mon Nov 11 23:51:09 2002
+++ curl-7.10.2-fix/lib/hostip.c Mon Dec 9 11:04:46 2002
@@ -632,7 +632,7 @@
continue;
}
break;
- } while(1);
+ } while(step_size <= CURL_NAMELOOKUP_SIZE);
if(!h) /* failure */
res=1;
> I'm sorry but I'm currently too busy to help you hacking on this. I've put
> that urls to http://vojta.pohoda.cz/curlbug.txt if you want to check it
> yourself.
I can't. http://imgt.cnusc.fr:8104/ just returns "Couldn't resolve host
'imgt.cnusc.fr'" for me.
-- Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sfReceived on 2002-12-09