curl / Mailing Lists / curl-users / Single Mail

curl-users

curl hangs in poll

From: ganesh patwardhan via curl-users <curl-users_at_cool.haxx.se>
Date: Mon, 26 Dec 2016 09:05:44 +0000 (UTC)

Hi
I am using very old version of 'curl'  (version : 7.20.1,  I don't want to upgrade for some other reason)and some times curl library gets stuck in "poll' system call for ever (below is the stack trace).I read few posts on internet and they say its due to abrupt connection termination by ftp server.
Any idea / work around ??

#0  0x00776430 in __kernel_vsyscall ()
#1  0x00513d96 in ppoll () from /lib/libc.so.6
#2  0x00833199 in ?? () from /lib/libcurl.so.4
#3  0x00833353 in Curl_socket_ready () from /lib/libcurl.so.4
#4  0x0083af5c in ?? () from /lib/libcurl.so.4
#5  0x0083b2cc in ?? () from /lib/libcurl.so.4
#6  0x00824716 in Curl_protocol_connect () from /lib/libcurl.so.4
#7  0x0082571b in Curl_connect () from /lib/libcurl.so.4
#8  0x0082b500 in Curl_perform () from /lib/libcurl.so.4
#9  0x0082c14c in curl_easy_perform () from /lib/libcurl.so.4 Regards
Ganesh Patwardhan

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-users
FAQ: https://curl.haxx.se/docs/faq.html
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-12-26