rakshasa / rtorrent

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

Keeps on crashing under load #1047

Open BenBE opened 3 years ago

BenBE commented 3 years ago

While downloading a single torrent (multifile, ~1TiB, 16MiB chunks) I keep on seeing crashes of rtorrent that result in the following backtrace:

Caught internal_error: DhtServer::event_write called but both write queues are empty.
/usr/lib/x86_64-linux-gnu/libtorrent.so.21(_ZN7torrent14internal_error10initializeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x257) [0x7fc9c517f4e7]
/usr/lib/x86_64-linux-gnu/libtorrent.so.21(_ZN7torrent14internal_errorC1EPKc+0x98) [0x7fc9c517b1d8]
/usr/lib/x86_64-linux-gnu/libtorrent.so.21(+0x3484c) [0x7fc9c516d84c]
/usr/lib/x86_64-linux-gnu/libtorrent.so.21(_ZN7torrent9PollEPoll7performEv+0xed) [0x7fc9c5199e6d]
/usr/lib/x86_64-linux-gnu/libtorrent.so.21(_ZN7torrent9PollEPoll7do_pollEli+0x69) [0x7fc9c5199f59]
/usr/lib/x86_64-linux-gnu/libtorrent.so.21(_ZN7torrent11thread_base10event_loopEPS0_+0x12b) [0x7fc9c51cff6b]
rtorrent(+0x4459e) [0x5585c07bd59e]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7fc9c4d240b3]
rtorrent(+0x44ebe) [0x5585c07bdebe]

Using: rTorrent 0.9.8/libtorrent 0.13.8 on Ubuntu 20.04.