curl-library
libCURL crash in __libc_res_nquery ()
Date: Sat, 27 Mar 2010 08:26:56 +0530
Hello,
I am using libCURL : curl 7.20.0 (i686-pc-linux-gnu) libcurl/7.20.0 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.10 on Ubuntu 9.04.
When I am trying to get a PLS file from a server, some times, curl is not able to fetch it and then crashes. I have run my program in a gdb session
and here is the crash details :
#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 ?? ()
Can some one please tell me why this may happen?
Thanks and Regards,
Souvik
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-27