rakshasa / rtorrent

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

rtorrent Caught Segmentation fault, dumping stack: #1175

Open blixten85 opened 1 year ago

blixten85 commented 1 year ago

pi@raspberrypi:~ $ rtorrent Caught Segmentation fault, dumping stack: rtorrent(+0x22190) [0x557ab02190] linux-vdso.so.1(kernel_rt_sigreturn+0) [0x7fa36b4788] /lib/aarch64-linux-gnu/libc.so.6(+0x88940) [0x7fa30e3940] /lib/aarch64-linux-gnu/libxmlrpc.so.3(+0xd240) [0x7fa3421240] /lib/aarch64-linux-gnu/libxmlrpc_xmlparse.so.3(+0x4d64) [0x7fa2aa9d64] /lib/aarch64-linux-gnu/libxmlrpc_xmlparse.so.3(+0x6554) [0x7fa2aab554] /lib/aarch64-linux-gnu/libxmlrpc_xmlparse.so.3(+0x7228) [0x7fa2aac228] /lib/aarch64-linux-gnu/libxmlrpc_xmlparse.so.3(+0x7e44) [0x7fa2aace44] /lib/aarch64-linux-gnu/libxmlrpc_xmlparse.so.3(+0x80dc) [0x7fa2aad0dc] /lib/aarch64-linux-gnu/libxmlrpc_xmlparse.so.3(xmlrpc_XML_Parse+0x15c) [0x7fa2aaaeb4] /lib/aarch64-linux-gnu/libxmlrpc.so.3(xml_parse+0xd4) [0x7fa342147c] /lib/aarch64-linux-gnu/libxmlrpc.so.3(xmlrpc_parse_call+0xc4) [0x7fa34219ac] /lib/aarch64-linux-gnu/libxmlrpc_server.so.3(xmlrpc_registry_process_call2+0xd0) [0x7fa343c110] /lib/aarch64-linux-gnu/libxmlrpc_server.so.3(xmlrpc_registry_process_call+0x34) [0x7fa343c27c] rtorrent(+0xfaed8) [0x557abdaed8] rtorrent(+0xf8aac) [0x557abd8aac] rtorrent(+0xf993c) [0x557abd993c] /lib/libtorrent.so.21(_ZN7torrent9PollEPoll7performEv+0xcc) [0x7fa3486d5c] /lib/libtorrent.so.21(_ZN7torrent11thread_base10eventloopEPS0+0x13c) [0x7fa34b827c] /lib/aarch64-linux-gnu/libpthread.so.0(+0x8628) [0x7fa33d5628] Caught Segmentation fault, dumping stack: rtorrent(+0x22190) [0x557ab02190] linux-vdso.so.1(kernel_rt_sigreturn+0) [0x7fa36b4788] /lib/aarch64-linux-gnu/libc.so.6(+0x88940) [0x7fa30e3940] /lib/aarch64-linux-gnu/libxmlrpc.so.3(+0xd240) [0x7fa3421240] /lib/aarch64-linux-gnu/libxmlrpc_xmlparse.so.3(+0x4d64) [0x7fa2aa9d64] /lib/aarch64-linux-gnu/libxmlrpc_xmlparse.so.3(+0x6554) [0x7fa2aab554] /lib/aarch64-linux-gnu/libxmlrpc_xmlparse.so.3(+0x7228) [0x7fa2aac228] /lib/aarch64-linux-gnu/libxmlrpc_xmlparse.so.3(+0x7e44) [0x7fa2aace44] /lib/aarch64-linux-gnu/libxmlrpc_xmlparse.so.3(+0x80dc) [0x7fa2aad0dc] /lib/aarch64-linux-gnu/libxmlrpc_xmlparse.so.3(xmlrpc_XML_Parse+0x15c) [0x7fa2aaaeb4] /lib/aarch64-linux-gnu/libxmlrpc.so.3(xml_parse+0xd4) [0x7fa342147c] /lib/aarch64-linux-gnu/libxmlrpc.so.3(xmlrpc_parse_call+0xc4) [0x7fa34219ac] /lib/aarch64-linux-gnu/libxmlrpc_server.so.3(xmlrpc_registry_process_call2+0xd0) [0x7fa343c110] /lib/aarch64-linux-gnu/libxmlrpc_server.so.3(xmlrpc_registry_process_call+0x34) [0x7fa343c27c] rtorrent(+0xfaed8) [0x557abdaed8] rtorrent(+0xf8aac) [0x557abd8aac] rtorrent(+0xf993c) [0x557abd993c] /lib/libtorrent.so.21(_ZN7torrent9PollEPoll7performEv+0xcc) [0x7fa3486d5c] /lib/libtorrent.so.21(_ZN7torrent11thread_base10eventloopEPS0+0x13c) [0x7fa34b827c] /lib/aarch64-linux-gnu/libpthread.so.0(+0x8628) [0x7fa33d5628] Aborted

PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"

Linux raspberrypi 5.15.32-v8+ #1538 SMP PREEMPT Thu Mar 31 19:40:39 BST 2022 aarch64 GNU/Linux Model : Raspberry Pi 4 Model B Rev 1.1

zalckos commented 1 year ago

I'm also on Debian 11 on a Raspberry Pi 4 with a similar issue.

raspberry@pi:~$ rtorrent
Caught Segmentation fault, dumping stack:
rtorrent(+0x22190) [0xaaaad1692190]
linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffff918a17d0]
/lib/aarch64-linux-gnu/libc.so.6(+0x85540) [0xffff912db540]
/lib/aarch64-linux-gnu/libxmlrpc.so.3(+0xd240) [0xffff9161d240]
/lib/aarch64-linux-gnu/libxmlrpc_xmlparse.so.3(+0x4d64) [0xffff90ca1d64]
/lib/aarch64-linux-gnu/libxmlrpc_xmlparse.so.3(+0x6554) [0xffff90ca3554]
/lib/aarch64-linux-gnu/libxmlrpc_xmlparse.so.3(+0x7228) [0xffff90ca4228]
/lib/aarch64-linux-gnu/libxmlrpc_xmlparse.so.3(+0x7e44) [0xffff90ca4e44]
/lib/aarch64-linux-gnu/libxmlrpc_xmlparse.so.3(+0x80dc) [0xffff90ca50dc]
/lib/aarch64-linux-gnu/libxmlrpc_xmlparse.so.3(xmlrpc_XML_Parse+0x15c) [0xffff90ca2eb4]
/lib/aarch64-linux-gnu/libxmlrpc.so.3(xml_parse+0xd4) [0xffff9161d47c]
/lib/aarch64-linux-gnu/libxmlrpc.so.3(xmlrpc_parse_call+0xc4) [0xffff9161d9ac]
/lib/aarch64-linux-gnu/libxmlrpc_server.so.3(xmlrpc_registry_process_call2+0xd0) [0xffff91638110]
/lib/aarch64-linux-gnu/libxmlrpc_server.so.3(xmlrpc_registry_process_call+0x34) [0xffff9163827c]
rtorrent(+0xfaed8) [0xaaaad176aed8]
rtorrent(+0xf8aac) [0xaaaad1768aac]
rtorrent(+0xf993c) [0xaaaad176993c]
/lib/libtorrent.so.21(_ZN7torrent9PollEPoll7performEv+0xcc) [0xffff91682d5c]
/lib/libtorrent.so.21(_ZN7torrent11thread_base10event_loopEPS0_+0x13c) [0xffff916b427c]
/lib/aarch64-linux-gnu/libpthread.so.0(+0x7648) [0xffff915ce648]
Aborted

Linux pi 5.10.0-20-arm64 #1 SMP Debian 5.10.158-2 (2022-12-13) aarch64 GNU/Linux Model: Raspberry Pi 4 Model B Rev 1.2

blixten85 commented 1 year ago

Any solution?

zalckos commented 1 year ago

Sort of. I just installed rtorrent (0.9.8/0.13.8) straight from the package manager over my compiled version (compiled using rtinst) and now it's working.

blixten85 commented 1 year ago

On 64 bit version or 32bit version?

blixten85 commented 1 year ago

Can you give me a step by step of how you exactly did this. Copy from history or something :)

blixten85 commented 1 year ago

Nevermind, packag manager you said. apt install rtorrent that is :D