cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Getting crash at Curl_resolv_timeout () while the device is disconnected from the network.

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 4 Mar 2016 18:31:36 +0100

On Fri, Mar 04, 2016 at 04:26:16PM +0530, Gaurav Pruthi wrote:
> I am getting segmentation fault in curl_resolv_timeout() when DNS
> lookup times out. I've set the CURLOPT_NOSIGNAL to 1L after searching
> on several forums for its solution, but that didn't help.
> Below is the stack trace:
>
> #0 0x080d47fc in addbyter ()
> #1 0x080d3bcc in dprintf_formatf ()
> #2 0x080d4841 in curl_mvsn_printf ()
> #3 0x080c9b64 in Curl_failf ()
> #4 0x080c30fa in Curl_resolv_timeout ()
> #5 0x00000000 in ?? ()
>
> We are using libcurl 7.19.7.
>
> Any help will be appreciated.

This version is almost 7 years old. Does it happen in a recent version?

>>> Dan
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-03-04