cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: libCURL crash in __libc_res_nquery ()

From: <souvik.datta_at_wipro.com>
Date: Sun, 28 Mar 2010 13:51:20 +0530

Hi Kamil,

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.

Regards,
Souvik

-----Original Message-----
From: Kamil Dudka [mailto:kdudka_at_redhat.com]
Sent: Saturday, March 27, 2010 1:20 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 ()

Hey Souvik,

On Saturday 27 of March 2010 03:56:56 souvik.datta_at_wipro.com wrote:
> #0 0xb75712a4 in __libc_res_nquery () from /lib/libresolv.so.2
> #1 0xb75719eb in ?? () from /lib/libresolv.so.2
> #2 0xb7571cd2 in __libc_res_nsearch () from /lib/libresolv.so.2
> #3 0xb13b5fc3 in _nss_dns_gethostbyname4_r () from /lib/libnss_dns.so.2
> #4 0xb76967c3 in ?? () from /lib/libc.so.6
> #5 0xb7698627 in getaddrinfo () from /lib/libc.so.6
> #6 0xb78588d2 in ?? () from /usr/lib/libcurl.so.4
> #7 0xb7858864 in ?? () from /usr/lib/libcurl.so.4
> #8 0xb7857d54 in ?? () from /usr/lib/libcurl.so.4
> #9 0x00000001 in ?? ()
> #10 0xb7ffefd0 in free () from /lib/ld-linux.so.2
> #11 0xb78d3a30 in ?? ()
> #12 0x153ac2dc in ?? ()
> #13 0xb44311d0 in ?? ()
> #14 0xb7fe82f7 in ?? () from /lib/ld-linux.so.2
> #15 0xb78d3860 in ?? ()
> #16 0xb788de94 in protocols () from /usr/lib/libcurl.so.4
> #17 0xb78d3b18 in ?? ()
> #18 0xb78d35b8 in ?? ()

a backtrace with debuginfo installed would be much better.

> Can some one please tell me why this may happen?

Could you try the following bugfix?

http://github.com/bagder/curl/commit/6657f12fff9e7b14e56da3790f0a271989c8b6a2

> 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.

Sounds really amusing on a public mailing list :-)

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-28