libtorrent icon indicating copy to clipboard operation
libtorrent copied to clipboard

100% of CPU core is used when torrent with mix of I2P and non-I2P trackers is added

Open Vort opened this issue 2 years ago • 10 comments

This problem can be reproduced with I2P mode disabled. Just run client_test with default parameters, like this: client_test --alert_mask=all and add such magnet link: magnet:?xt=urn:btih:70260ca39b2867a59f46d81db85eecb256b9365c&dn=I2P%20Update%202.1.0&tr=http%3A%2F%2Ftracker2.postman.i2p%2Fannounce.php&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce Then observe CPU usage.

I suspect hang may be related to function libtorrent::torrent::update_tracker_timer.

libtorrent version (or branch): 5ce4c516479085eda9327d35891b7732d6d5037b platform/architecture: Windows x64 compiler and compiler version: clang version 15.0.7

Vort avatar Oct 23 '23 10:10 Vort

confirm 1 core 100% 2nd 50%, not going past 'no metadata' 209 win64 MSVS 17.7.3

ilayanyatto72733 avatar Oct 24 '23 12:10 ilayanyatto72733