cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libCURL crash in __libc_res_nquery ()

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Sat, 27 Mar 2010 08:49:36 +0100

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
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-27