xombiemp / ultimate-torrent-setup

All the files needed for the Ultimate Torrent Setup, featuring Ubuntu, rtorrent, ruTorrent, Sonarr, Radarr.
232 stars 44 forks source link

Error when running rtorrent #42

Closed canonlp closed 7 years ago

canonlp commented 7 years ago

I get this error when running rtorrent

Caught internal_error: SocketFd::close() called on an invalid file descriptor
/usr/local/lib/libtorrent.so.19(_ZN7torrent14internal_error10initializeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x234) [0x7f51a0245f84]
rtorrent(_ZN7torrent14internal_errorC2EPKc+0xa6) [0x451f46]
/usr/local/lib/libtorrent.so.19(+0xcc254) [0x7f51a02e1254]
/usr/local/lib/libtorrent.so.19(+0xcb359) [0x7f51a02e0359]
/usr/local/lib/libtorrent.so.19(_ZN7torrent17ConnectionManager11listen_openEtt+0x1a) [0x7f51a02430fa]
rtorrent() [0x4c4be1]
rtorrent() [0x4505a9]
rtorrent() [0x410dc3]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f519ed83830]
rtorrent() [0x412119]

I used the feature bind branch

liranbg commented 7 years ago

I tend to believe its a problem with the rtorrent conf file, check it out by running rtorrent with minimum configurations

rv10guy commented 7 years ago

I am having the exact same problem. I have been able to narrow it down to the ports specified in the rtorrent.rc. The one here specifics ports as follows:

port_range = 49155-49155

When I changed it to:

port_range = 51001-51250

rtorrent starts correctly. I have not tested to find out why exactly it is failing with the port as specified but this does fix the failed start.

xombiemp commented 7 years ago

I've updated to guide to revert rtorrent to a know working commit until the Master branch starts working again.

I also updated rtorrent.rc to the 0.9.x syntax.