Ubuntu 16.04 with and rtorrent latest and rutorrent latest too
Caught Floating point exception, dumping stack: [Port: 6897] [U 50/0] [D 10/0] [H 32/32] [S 30/105/768] [F 125/128]
rtorrent() [0x415ca7]
rtorrent() [0x4528ec]
/lib/x86_64-linux-gnu/libc.so.6(+0x354a0) [0x7ff99b9584a0]
/usr/lib/x86_64-linux-gnu/libtorrent.so.19(ZNK7torrent8FileList16chunk_index_sizeEj+0x27) [0x7ff99ce1b3e7]
/usr/lib/x86_64-linux-gnu/libtorrent.so.19(+0x9f152) [0x7ff99ce6b152]
/usr/lib/x86_64-linux-gnu/libtorrent.so.19(+0x9f410) [0x7ff99ce6b410]
/usr/lib/x86_64-linux-gnu/libtorrent.so.19(+0x9f56b) [0x7ff99ce6b56b]
/usr/lib/x86_64-linux-gnu/libtorrent.so.19(+0xd2c9f) [0x7ff99ce9ec9f]
/usr/lib/x86_64-linux-gnu/libtorrent.so.19(+0xcf920) [0x7ff99ce9b920]
/usr/lib/x86_64-linux-gnu/libtorrent.so.19(+0xcfcb0) [0x7ff99ce9bcb0]
/usr/lib/x86_64-linux-gnu/libtorrent.so.19(_ZN7torrent9PollEPoll7performEv+0xd1) [0x7ff99ce0ad31]
/usr/lib/x86_64-linux-gnu/libtorrent.so.19(_ZN7torrent9PollEPoll7do_pollEli+0x61) [0x7ff99ce0ae51]
/usr/lib/x86_64-linux-gnu/libtorrent.so.19(_ZN7torrent11thread_base10event_loopEPS0+0x124) [0x7ff99ce46374]
rtorrent() [0x412064]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7ff99b943830]
rtorrent() [0x415329]
Aborted
set port range instead of one port
Same here. Ubuntu 16.04 and stock rtorrent.
libtorrent-0.13.6
rtorrent-0.9.6
gdb says:
Program received signal SIGFPE, Arithmetic exception.
0x00007ffff701d5d7 in torrent::FileList::chunk_index_size (this=0xbab2f8, index=
169 if (index + 1 != size_chunks() || size_bytes() % chunk_size() == 0)
(gdb) print chunk_size()
$1 = 0
(gdb) list
164 return left;
165 }
166
167 uint32_t
168 FileList::chunk_index_size(uint32_t index) const {
169 if (index + 1 != size_chunks() || size_bytes() % chunk_size() == 0)
170 return chunk_size();
171 else
172 return size_bytes() % chunk_size();
173 }
(gdb) bt
Likely m_chunkSize is zero, and that means initialize() is not called, or with the wrong arguments.
I also have this same error. Pops up randomly.
Same problem here:
Caught Floating point exception, dumping stack:rt: 51078] [U 1/100] [D 1/0] [H
rtorrent() [0x415ca7]
rtorrent() [0x45283c]
/lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7f12d68ed4b0]
/usr/lib/libtorrent.so.19(_ZNK7torrent8FileList16chunk_index_sizeEj+0x27) [0x7f12d7dbc1f7]
/usr/lib/libtorrent.so.19(+0xa29c2) [0x7f12d7e0b9c2]
/usr/lib/libtorrent.so.19(+0xa2c80) [0x7f12d7e0bc80]
/usr/lib/libtorrent.so.19(+0xa2ddb) [0x7f12d7e0bddb]
/usr/lib/libtorrent.so.19(+0xd652f) [0x7f12d7e3f52f]
/usr/lib/libtorrent.so.19(+0xd31a0) [0x7f12d7e3c1a0]
/usr/lib/libtorrent.so.19(+0xd3530) [0x7f12d7e3c530]
/usr/lib/libtorrent.so.19(_ZN7torrent9PollEPoll7performEv+0xd1) [0x7f12d7dabb81]
/usr/lib/libtorrent.so.19(_ZN7torrent9PollEPoll7do_pollEli+0x61) [0x7f12d7dabca1]
/usr/lib/libtorrent.so.19(_ZN7torrent11thread_base10event_loopEPS0_+0x124) [0x7f12d7de6f04]
rtorrent() [0x412064]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f12d68d8830]
rtorrent() [0x415329]
Aborted
I also have this problem.
$ rtorrent -h | head -n 1
Rakshasa's BitTorrent client version 0.9.6.
$ pkg_info rtorrent | head -n 1
Information for inst:rtorrent-0.9.6p2v0
egdb gives this:
(gdb) run
Thread 1 received signal SIGFPE, Arithmetic exception.
0x000001078d4ab3fa in torrent::FileList::chunk_index_size(unsigned int) const ()
from /usr/local/lib/libtorrent.so.22.1
(gdb) bt
from /usr/local/lib/libtorrent.so.22.1
from /usr/local/lib/libtorrent.so.22.1
from /usr/local/lib/libtorrent.so.22.1
from /usr/local/lib/libtorrent.so.22.1
Most helpful comment
Same here. Ubuntu 16.04 and stock rtorrent.