-
-
Notifications
You must be signed in to change notification settings - Fork 415
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
rtorrent keeps crashing #944
Comments
Hello, I can the same but sometimes with :
I got the same previous error with libcurl4 7.64.0-4 |
I got the same: ---END--- |
I'm seeing similar crashes on a weekly basis on several FreeBSD 12.1-RELEASE-p1 GENERIC amd64 systems running rTorrent 0.9.8/0.13.8. All dependencies like cURL etc. are up to date with FreeBSD ports and have been rebuilt several times. user@system: ~ % rtorrent System 1: GNU gdb (GDB) 8.3.1 [GDB v8.3.1 for FreeBSD] System 2: GNU gdb (GDB) 8.3.1 [GDB v8.3.1 for FreeBSD] |
@TakerMc I had many crashes, too. Mine were related to DHT, so disabling it fixed the crashes for now. Maybe it's worth a try, just set #914 (comment) is a good example how to get more hints. I also opened an issue about my problem, which seems libtorrent-related. |
The crash reported by @TakerMc is most likely related to curl 7.64.0 shipped with Debian Buster. Upgrading to 7.67.0 (backported from Bullseye) seems to have fixed this particular crash on my system. Incidentally, this also fixed recurring |
I have the same problem.
rtorrent: 0.9.8 |
Update: I downgraded libcurl to 7.64.0 (from the Debian Buster repo) and the crashing appears to have gone away. |
Same error as above:
rtorrent: 0.9.8 |
Same for me . It happens on three different computers 1580785271 C Caught signal: 'Segmentation fault. ---END--- |
I have a fresh installation (today) where I migrated an old session with a lot of torrents. I am getting this segfault as well. I currently have XMLRPC disabled. I played around with the logging/dbg stuff a lot, and I got this error which seems to indicate curl:
I also did a backtrace right after that error:
After I did that, I went to double check my version numbers and post this. Curl displayed a mismatch, because I installed 7.68 from source but it was still getting the old (7.64) version of libcurl. I actually wrote most of this several days ago, and only today resolved the libcurl issue. I had to search from and remove all libcurl packages shipped with my distro in order to get rtorrent to use the new version. Not sure why that is. Anyway, I've been stable for a bit now, so I'm convinced my issue was due to a bad libcurl version, specifically 7.64. |
I also fought this issue for several months last year, after migrating my rTorrent from an ancient Debian box to a new VM. I tried Debian 10 (Buster), Void Linux (both musl and glibc), Alpine Linux 3.9 and FreeBSD 12.0, but rTorrent would never run for more than 10 minutes without a cURL related segfault. My solution was to setup a VM running Debian 9 (Stretch), which uses good old cURL 7.52.1. Now my rTorrent stays running for months on end. |
Upgrade Debian packages solved my problem. Env:
Upgrade:
After:
|
The problem started for me too today, without any change in the system / rtorrent settings. I started with a new session folder, and the problem continue, so i assumed its not on rtorrent side. And that's not the libcurl problem in my case since my libcurl was last updated on 22 Feb. After closing my rutorrent tab in firefox, rtorrent stopped crashing. Because i've changed some hidden firefox settings recently (but don't have time to find which one caused the problem), i created a new clean profile, and the segfault just stopped. To be sure i relaunched my old profile, and rtorrent segfault immediatly. |
started for me today aswell, no changes anywhere rtorrent: 0.9.6 |
I can confirm @alswl (#944 (comment)) answer.
|
Also worked for me !! |
Anyone been able to fix this without upgrading to Bullseye? I attempted an upgrade to Bullseye on my Proxmox LXC, but it sadly failed to boot after, so I am looking for a simpler fix... |
You could compile newer versions of cURL and rTorrent yourself, or find a pre-built statically linked binary using non-broken versions. However that it not an optimal solution since you wouldn't receive security fixes. You could also try to identify which tracker is triggering the crash, and stop using that until you're able to upgrade. Or install another torrent client on the server to use for that specific tracker. |
Thanks for the reply, I think I will indeed have to start with a fresh Bullseye LXC. It's just that I have a really fully customized Buster image with all my personal tweaks on it, only partially reproducible using Salt. But I think I'll go this route. It's indeed one specific tracker that's causing this behavior, due to their use of Cloudflare (seeing from the error logs before the crashes). Have paused usage of that one right now. |
Bug is back again since I migrated to debian 12 (bookworm).
I tried to use a static version of curl 7.74, but it doesn't work. |
Same here. Were you able to fix it? |
Hello,
rtorrent keeps crashing regularly, I've not been able to find why.
OS: Debian 10.2
rtorrent version: 0.9.8
libtorrent: 0.13.8
Anyone here ever faced this issue ?
The text was updated successfully, but these errors were encountered: