rakshasa / rtorrent

rTorrent BitTorrent client
https://github.com/rakshasa/rtorrent/wiki
GNU General Public License v2.0
4.15k stars 414 forks source link

Curl 8.9.0 causes 100% cpu use #1289

Closed CountMurphy closed 2 months ago

CountMurphy commented 2 months ago

Running rtorrent on Arch. After updating curl to 8.9.0, rtorrent uses 100% cpu. Downgrading back to 8.8.0 fixes the issue.

CountMurphy commented 2 months ago

Might be related to https://github.com/curl/curl/issues/14280 as the symptoms sound similar.

mackal commented 2 months ago

I noticed this too, running lsof -i I noticed the tracker connection is stuck in CLOSE_WAIT. This isn't happening with all trackers, but it's happening with ubuntu ones. https://releases.ubuntu.com/22.04/ubuntu-22.04.4-desktop-amd64.iso.torrent this torrent specifically I can re-create the issue with. Looking at Tracker list, the "https://torrent.ubuntu.com/announce" one is bolded.

mackal commented 2 months ago

The patch to resolve https://github.com/curl/curl/issues/14280 appears to resolve my issue. (It doesn't apply completely cleanly to 8.9.0, but fuzzing seems to get it to)

Ketchup901 commented 2 months ago

Fixed in 8.9.1.

mackal commented 2 months ago

Fixed in 8.9.1.

Can confirm as well.

CountMurphy commented 2 months ago

8.9.1 hasn't made it to the arch repos yet, but I'll close the ticket as fixed.