This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[bug in 2.2.1] Infinite downloading time (corrupted data)

Tags: None
(comma "," separated)
rvbras
Registered Member
Posts
4
Karma
0
Hello,

the bug I'd like to report is a rather rare issue. It seems that on this particular torrent, ktorrent goes into a loop of infinite downloading (the program's working perfectly fine though) because some data of a particular piece, the final one it has left to complete, is corrupted.

My, rather limited as I have not studied Ktorrent's code in any detail, understanding of this seems to suggest that Ktorrent downloads corrupted data over and over again from the peers who keep sending it, causing some part of that piece to be corrupted all the time.

If you could point me at the particular pieces of code that may be relevant, I might be able to come up with a fix, if I can get Ktorrent to somehow identify which peers are sending the corrupted data and block them.

P.S.:Thank you for your time. I apologize if this bug is already fixed in a newer version, this particular version happens to be what Kubuntu uses and I have not yet recompiled KTorrent from source.
stoeptegel
Registered Member
Posts
1075
Karma
0

Sat Jan 12, 2008 3:52 pm
KTorrent should block the peer automaticly, why this isn't the case is a question to me.

Last edited by stoeptegel on Sat Jan 12, 2008 5:12 pm, edited 1 time in total.
rvbras
Registered Member
Posts
4
Karma
0

Sat Jan 12, 2008 4:24 pm
Does that feature require any specific plugin? I may not have it activated automatically, causing the problem I had.
stoeptegel
Registered Member
Posts
1075
Karma
0

Sat Jan 12, 2008 5:15 pm
No this is a standard feature of KTorrent
rvbras
Registered Member
Posts
4
Karma
0

Sat Jan 12, 2008 10:08 pm
I'll check SVN to see when it was added.

Hmm, doesn't seem to be in the latest changelog, so it's definitely in 2.2.1 indeed... Or at least, it seems to be.

So, the problem seems to be that somehow it doesn't kick in in this one specific case..
George
Moderator
Posts
5421
Karma
1

Sun Jan 13, 2008 12:44 pm
Bad peers can quite easily avoid detection
rvbras
Registered Member
Posts
4
Karma
0

Tue Jan 15, 2008 5:33 pm
Ok, thanks, I'll chalk it up to some misbehaving other clients then.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]