Ticket #458 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

rtorrent segfaults on FC5

Reported by: adam@ilauren.net Owned by: rakshasa
Priority: high Component: rtorrent
Version: Severity: major
Keywords: Cc:

Description

Looks like rtorrent segfaults when a torrent completes.

Caught Segmentation fault, dumping stack:B] [Port: 9003] [U 18/18] [S 5/73/768] [F 128/128] 0 rtorrent [0x80574a1] 1 rtorrent [0x8069416] 2 [0xc8c420] 3 rtorrent [0x80a8230] 4 rtorrent [0x8097bec] 5 rtorrent [0x805905a] 6 /lib/libc.so.6(libc_start_main+0xdc) [0xcbf4e4] 7 rtorrent(_ZN7torrent18set_max_open_filesEj+0x95) [0x8050fb1]

Attachments

curl_splay2.diff Download (2.1 KB) - added by rakshasa 5 years ago.
Well, they included my first fix in 7.15.5, but there were some more bugs fixed by this patch. It will be in the next release of curl.

Change History

Changed 5 years ago by anonymous

saw the same segv some hours ago on FC5 here. cannot tell context, as it ran in a unattendeed windows. anyway, the torrent was completed successfully.

Changed 5 years ago by dorin.lazar@gmail.com

I have the same problem. rtorrent crashes on finishing torrents on HTTP trackers, and DOES NOT crash when finishing torrents on UDP trackers. I was able to produce a trace of such a crash and it seems there's a bug in using curl. (or in curl itself, I cannot be sure of that). I will try, if possible, to paste a trace here.

Changed 5 years ago by rakshasa

Try upgrading to latest libcurl version, I've submitted a patch to fix a bug in it.

Changed 5 years ago by adam@ilauren.net

FC5 currently uses the latest libcurl: curl-7.15.5-1.fc5

Nothing later on their website either. Guess we'll just have to wait for a new release from them and hope the fix is included.

Changed 5 years ago by adam@ilauren.net

Interestingly, I was able to download RPM's for rtorrent 0.6.2 and libtorrent 0.10.2 from Fedora Extras even though they don't seem to be available via yum:

 http://fedoraproject.org/extras/5/i386/repodata/repoview/rtorrent-0-0.6.2-3.fc5.html  http://fedoraproject.org/extras/5/i386/repodata/repoview/libtorrent-0-0.10.2-2.fc5.html

Downloaded a couple of torrents successfully without a crash.

Changed 5 years ago by rakshasa

Well, they included my first fix in 7.15.5, but there were some more bugs fixed by this patch. It will be in the next release of curl.

Changed 5 years ago by rakshasa

  • status changed from new to closed
  • resolution set to fixed

Try the latest svn version, it fixes a bug that should be the cause of these errors.

Note: See TracTickets for help on using tickets.