cURL / Mailing Lists / curl-library / Single Mail

curl-library

curl related (?) crashes

From: Guy Federovsky <guyfeder_at_gmail.com>
Date: Tue, 3 Jul 2007 11:24:38 +0300

Hi,

I have an application that uses curl to post requests to an internal site
and get the relevant information from it as the response.
I'm using curl 7-15-5-1 (on Debian Linux).

Lately, when trying to work with un-stable hosts, my application crashes
quite consistently.
I turned on CURL's verbose flag and got the following output right before
the crash:

* About to connect() to 172.20.1.60 port 8000
* Expire at 1183451127 / 846334 (300000ms)
* Trying 172.20.1.60... * Expire at 1183451127 / 846709 (300000ms)
* No route to host
* Failed connect to 172.20.1.60:8000; Operation now in progress
* Expire cleared
* Closing connection #0
* About to connect() to 172.20.1.60 port 8000
* Expire at 1183451133 / 849796 (300000ms)
* Trying 172.20.1.60... * Expire at 1183451133 / 850070 (300000ms)
* No route to host
Segmentation fault (core dumped)

The call stack I get using gdb (when analyzing the core) is full of ???? all
the way.
I didn't manage to find how to link with a curl library with debug symbols.

Am I doing something wrong ?
Is this a well-known problem in CURL ?
What ? How ?

Please help

Thanks,
Guy
Received on 2007-07-03