cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: libCURL crash in __libc_res_nquery ()

From: <souvik.datta_at_wipro.com>
Date: Mon, 29 Mar 2010 10:19:29 +0530

I am using following timeouts in my application:

CURLOPT_CONNECTTIMEOUT
CURLOPT_LOW_SPEED_LIMIT
CURLOPT_LOW_SPEED_TIME

There is no custom SIGNAL handler in my application for time outs.

Pl. find the lib/curl_config.h file as attached.

Regards,
Souvik

-----Original Message-----
From: Kamil Dudka [mailto:kdudka_at_redhat.com]
Sent: Sunday, March 28, 2010 6:27 PM
To: Souvik Datta (WT01 - PES-Mobile-Auto-CE Practice)
Cc: curl-library_at_cool.haxx.se
Subject: Re: libCURL crash in __libc_res_nquery ()

On Sunday 28 of March 2010 14:50:49 Kamil Dudka wrote:
> On Sunday 28 of March 2010 14:36:38 Kamil Dudka wrote:
> > On Sunday 28 of March 2010 10:21:20 souvik.datta_at_wipro.com wrote:
> > > Thanks for your reply. I have added the patch as mentioned in the
link
> > > , but this time I find that it is failing (very frequently ) by
> > > throwing the print "Alarm clock" on the console.
> >
> > AFAIK there is no such message in libcurl sources. You will need to
> > check your appliction.
>
> The message may be printed by the shell. Does your application set
its own
> handler for SIGALRM? If so, it clashes with the libcurl's handler.
> libcurl removes the original handler and the signal comes unhadled,
causing
> the application to crash.

Could you please attach lib/curl_config.h from your build of libcurl?
Thanks
in advance!

> > Kamil

Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2010-03-29