tribler
tribler copied to clipboard
[7.11] RuntimeError: invalid torrent handle used
Sentry Issue: TRIBLER-FW
RuntimeError: invalid torrent handle used
File "asyncio\events.py", line 81, in _run
File "tribler_core\components\libtorrent\utils\torrent_utils.py", line 39, in done_cb
File "tribler_core\components\libtorrent\download_manager\download.py", line 723, in force_dht_announce
Sentry issue: TRIBLER-G1
Fixed by https://github.com/Tribler/tribler/pull/7415
Here:
@require_handle
def force_dht_announce(self):
self.handle.force_dht_announce()
The bug appears again in 7.13.0. Can it be a race condition when the @require_handle
decorator successfully checks that the handle is valid, but then the handle becomes invalid a moment after?
https://sentry.tribler.org/organizations/tribler/issues/2149/
This seems very similar to #6454 (addressed in #7678).