cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Gaurav Pruthi <gaurav.pruthi88_at_gmail.com>
Date: Fri, 4 Mar 2016 16:26:16 +0530

Hi,

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.

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