cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: how can i deal with the situation of network interruption while transfering data on FTP?

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Thu, 18 Mar 2010 08:34:51 +0100

On Thursday 18 of March 2010 08:06:44 Jogeshwar Karthik Akundi wrote:
> Hi,
> I have a problem with libcurl here.
> We use libcurl to talk to a our HTTP server from our client.
> We poll our webserver about every minute for updates.
>
> Envorinment: RHEL latest
> Previously we were using libcurl dynamic build version 7.20.0 (we compiled
> it on our own). The code was running fine.
> Just yesterday we switched to using libcurl static version 7.20.0 (we
> compiled it again) which links statically to openssl (compiled on our own).
>
> The same code which was previously working suddenly started crashing.
> static libcurl with dynamic linking to openssl also crashes.
> The crash doesn't happen immediately. We could successfully poll the server
> thrice before crashing while polling the 4th time.
>
> The gdb output of the crash is:
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x08151a1c in addbyter ()
> (gdb) bt
> #0 0x08151a1c in addbyter ()
> #1 0x08151dd2 in dprintf_formatf ()
> #2 0x081531cf in curl_mvsnprintf ()
> #3 0x08161772 in Curl_failf ()
> #4 0x081597d0 in Curl_resolv_timeout ()

Which resolver did you compile?

Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-18