curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: libcurl hangs in curl_multi_cleanup

From: Firefox OS via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 10 Jun 2021 00:38:58 +0200

Dnia 2019-05-06, o godz. 23:59:25
Firefox OS via curl-library <curl-library_at_cool.haxx.se> napisał(a):

> Dnia 2019-04-21, o godz. 23:21:07
> Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se> napisał(a):
>
> > On Fri, 19 Apr 2019, Daniel Stenberg via curl-library wrote:
> >
> > > My proposed fix for this issue is now here:
> > >
> > > https://github.com/curl/curl/pull/3795
> >
> > That one landed in git too and will ship in the next release.
> >
>
> Hi,
>
> I've rebuilt libcurl-7.64.1 patched with just
> https://github.com/curl/curl/commit/e06b8bdae6a6e552d7430c00853d18b9378eac29
> and the issue seems to be gone.
>
> Thanks

Hi,

Unfortunately the bug is there again.
At least in 7.76.1 and 7.70.0.
Particularly, curl_multi_cleanup() hangs for exactly 2 minutes.

#0 0x00007ffff7e355bf in poll () from /lib64/libc.so.6
#1 0x00007ffff7f5c61e in Curl_poll () from /lib64/libcurl.so.4
#2 0x00007ffff7f5c756 in Curl_socket_check () from /lib64/libcurl.so.4
#3 0x00007ffff7f550de in Curl_pp_statemach () from /lib64/libcurl.so.4
#4 0x00007ffff7f4bb7d in imap_disconnect.lto_priv () from /lib64/libcurl.so.4
#5 0x00007ffff7f6b53f in Curl_disconnect () from /lib64/libcurl.so.4
#6 0x00007ffff7f24917 in Curl_conncache_close_all_connections () from /lib64/libcurl.so.4
#7 0x00007ffff7f5308b in curl_multi_cleanup () from /lib64/libcurl.so.4
#8 0x000000000040139a in main (argc=<optimized out>, argv=<optimized out>) at curl_imap_teardown_issue.c:89

-- 
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2021-06-10