Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

curl caused crash using rtorrent-ps from pimp-my-box #620

Closed
2600box opened this issue Jun 30, 2017 · 4 comments
Closed

curl caused crash using rtorrent-ps from pimp-my-box #620

2600box opened this issue Jun 30, 2017 · 4 comments

Comments

@2600box
Copy link

2600box commented Jun 30, 2017

just when i think rtorrent is finally behaving in a stable way... Similar problem here but I am using rtorrent-ps through Ansible pimp-my-box

(pyroscope) rtorrent@debian:~$ curl --version
curl 7.52.1 (x86_64-pc-linux-gnu) libcurl/7.52.1 OpenSSL/1.0.2l zlib/1.2.8 libidn2/0.16 libpsl/0.17.0 (+libidn2/0.16) libssh2/1.7.0 nghttp2/1.18.1 librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP HTTP2 UnixSockets HTTPS-proxy PSL
(pyroscope) rtorrent@debian:~$ ldd /opt/rtorrent/bin/rtorrent |grep curl
libcurl.so.4 => /opt/rtorrent/lib/libcurl.so.4 (0x00007f621452b000)
(pyroscope) rtorrent@debian:~$ readlink -e /opt/rtorrent/lib/libcurl.so.4
/opt/rtorrent/lib/libcurl.so.4.4.0
Caught internal_error: Call to curl_easy_init() failed.
/opt/rtorrent/lib/libtorrent.so.19(_ZN7torrent14internal_error10initializeERKSs+0x1cf) [0x7f2ff5872fbf]
/opt/rtorrent/bin/rtorrent(_ZN7torrent14internal_errorC2EPKc+0x3c) [0x44e97c]
/opt/rtorrent/bin/rtorrent() [0x4e4371]
/opt/rtorrent/lib/libtorrent.so.19(+0xca16f) [0x7f2ff590f16f]
/opt/rtorrent/lib/libtorrent.so.19(_ZN7torrent11TrackerList10send_stateEPNS_7TrackerEi+0x74) [0x7f2ff588cab4]
/opt/rtorrent/lib/libtorrent.so.19(_ZN7torrent17TrackerController10do_timeoutEv+0x23c) [0x7f2ff588bd1c]
/opt/rtorrent/lib/libtorrent.so.19(+0x2a60a) [0x7f2ff586f60a]
/opt/rtorrent/lib/libtorrent.so.19(_ZN7torrent11thread_base10event_loopEPS0_+0x1a2) [0x7f2ff58ba682]
/opt/rtorrent/bin/rtorrent() [0x4125fb]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f2ff3fb92b1]
/opt/rtorrent/bin/rtorrent() [0x413674]
@rakshasa
Copy link
Owner

rakshasa commented Jul 3, 2017

As with #373 it doesn't seem like an issue with rtorrent, so closing.

@rakshasa rakshasa closed this as completed Jul 3, 2017
@2600box
Copy link
Author

2600box commented Jul 3, 2017

are you saying it is a problem with the version of libcurl which rtorrent is built against? if so, what is the correct version of libcurl to be using?

@rakshasa
Copy link
Owner

rakshasa commented Jul 3, 2017

I have no idea, it isn't my responsibility to keep track compatibility issues in 3rd party binaries.

@bitmarshal
Copy link

It appears this occurs when the user rtorrent is run under exceeds its max open files. Raising the ulimits resolves the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants