cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl segfault

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 24 Mar 2003 18:09:51 +0100 (CET)

On Mon, 24 Mar 2003, Philippe Raoult wrote:

> notice how conn doesnt have the same value in frame 4 and 5 ? In frame 5 is
> looks ok but below it points nowhere. Curl_connecthost is nevertheless
> called with the right argument, so there seem to be some subtle stack
> corruption below. Maybe it has to see with the connect timeout ? FYI i
> have removed all timeouts and added the NOSIGNAL option. If anyone has a
> clue please let me know :)

I can only verify what you're saying and by the look of that stack trace, it
certainly looks as if the 'conn' pointer is trashed within the
Curl_connecthost() function.

But I can't see why or where this would happen.

Can you see any pattern in when this happens?

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-03-24