cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libCURL crash in __libc_res_nquery ()

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Sun, 28 Mar 2010 14:50:49 +0200

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.

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