rtorrent crashes unexpectedly on hashing

Bug #392745 reported by Shaggy
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
rtorrent (Ubuntu)
Expired
Low
Unassigned

Bug Description

Binary package hint: rtorrent

I just ran into a really weird problem with rtorrent. I had left my computer working on a large torrent (5.76 GB in size) for a few days and I came back and found that it had crashed with the following error message printed on the terminal:

Caught Bus error, dumping stack:
0 rtorrent [0x4337fb]
1 rtorrent [0x43805a]
2 /lib/libc.so.6 [0x7f463e218040]
3 /lib/libcrypto.so.0.9.8(sha1_block_data_order+0x205) [0x7f463f9b2745]
4 /lib/libcrypto.so.0.9.8(SHA1_Update+0x1ce) [0x7f463f9b379e]
5 /usr/lib/libtorrent.so.9 [0x7f463fd123b5]
6 /usr/lib/libtorrent.so.9 [0x7f463fd125c5]
7 /usr/lib/libtorrent.so.9 [0x7f463fd12ca8]
8 /usr/lib/libtorrent.so.9 [0x7f463fd12f0a]
9 /usr/lib/libtorrent.so.9(_ZN7torrent7performEv+0xad) [0x7f463fcfb07d]

I checked the hard drive space and I have over 75 gigs left on that particular drive. So I started rtorrent again and it started hashing. Within 20 minutes it crashed with the same error.

Some details:

Ubuntu jaunty 64-bit 9.04
4 GB RAM/ Intel QuadCore @ 2.43 GHz
rtorrent version: 0.8.2-0ubuntu1

I found some interesting errors in my dmesg, I will post that as an attachment

Revision history for this message
Shaggy (bdmason) wrote :
Revision history for this message
Shaggy (bdmason) wrote :

Here is my .rtorrent.rc

Revision history for this message
schickm (theman) wrote :

I was having the same issue, with an almost identical backtrace. My solution was to remove all of the data in the session directory. This way when rtorrent starts up again it performs the hash check from the very beginning. I vaguely recall reading about this solution (if you'd call it that) on the rtorrent bug tracker.

Revision history for this message
Shaggy (bdmason) wrote :

I also tried removing data in the session directory, but that did not work. It crashed with the same error. I eventually came up with a solution. I discovered that my torrent was 99% done and it had hundreds of files in it. But there were only 3 files that were incomplete. I deleted those 3 files and then restarted it and it re-hashed and completed downloading just fine.

Revision history for this message
schickm (theman) wrote :

heh, well removing the session directory worked for awhile but now I'm back to getting a backtrace right after rtorrent starts up. here's my backtrace:

0 rtorrent [0x4337fb]
1 rtorrent [0x43805a]
2 /lib/libc.so.6 [0x7f4234991040]
3 /usr/lib/libcurl.so.4 [0x7f42378d6740]
4 /usr/lib/libcurl.so.4 [0x7f42378d7536]
5 /usr/lib/libcurl.so.4 [0x7f42378e30d6]
6 /usr/lib/libcurl.so.4 [0x7f42378f5f34]
7 /usr/lib/libcurl.so.4(curl_multi_perform+0x8b) [0x7f42378f624b]
8 rtorrent [0x479485]
9 rtorrent [0x4730a3]
10 rtorrent [0x4340af]
11 /lib/libc.so.6(__libc_start_main+0xe6) [0x7f423497c5a6]
12 rtorrent(_ZNSt8ios_base4InitD1Ev+0x71) [0x40df79]
Aborted

Revision history for this message
Andreas Moog (ampelbein) wrote :

Thanks for the report, this report hasn't been changed in a while, is that still an issue with current versions?

Changed in rtorrent (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
schickm (theman) wrote :

I'm now running rtorrent 0.8.6 with libtorrent 0.12.6 and haven't had this issue in a year or so.

Revision history for this message
Rogério Theodoro de Brito (rbrito) wrote : Re: [Bug 392745] Re: rtorrent crashes unexpectedly on hashing

Hi there.

On Mar 11 2011, schickm wrote:
> I'm now running rtorrent 0.8.6 with libtorrent 0.12.6 and haven't had
> this issue in a year or so.

Thank you very much for the feedback. I think that we can, then, close this
bug.

Just for your information, I think that the version that I just uploaded to
Debian's sid is, in some ways, better than the versions in stable/testing
and in natty.

I would encorage you to test those versions.

Regards,

--
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFCAAAA
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for rtorrent (Ubuntu) because there has been no activity for 60 days.]

Changed in rtorrent (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.