arvidn / libtorrent

an efficient feature complete C++ bittorrent implementation

Home Page:http://libtorrent.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Vort opened this issue · comments

commented

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): 5ce4c51
platform/architecture: Windows x64
compiler and compiler version: clang version 15.0.7

commented

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