Bug 132871 - ktorrent incorrect integrety check after finishing a multiple file torrent
Summary: ktorrent incorrect integrety check after finishing a multiple file torrent
Status: RESOLVED FIXED
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-23 15:54 UTC by Bas
Modified: 2006-09-03 15:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bas 2006-08-23 15:54:49 UTC
Version:           2.1dev (using KDE 3.5.4, Gentoo)
Compiler:          gcc version 3.4.6 (Gentoo Hardened 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)
OS:                Linux (i686) release 2.6.17-gentoo-r4

When downloading an 4GB torrent containing 6 ~equal rar files
the torrent completed
However when unraring, the files are corrupt.
So I did a data integrity test and found 5 corrupt chunks
So the torrent start downloading again to 100%
But the problem remains.

The next step I did is loaded the .torrent and downloaded data into Azureus (an other torrent client)
and continue downloading the 5 corrupt chucks
when the download completed the rars are correct
and the data integrity is also correct (in azureus)

So when starting ktorrent again
and testing the data integrity ktorrent said that the 5 chunks where corrupt and the torrent start downloading again... (despite the fact that the torrent is correctly downloaded using azureus and rars are correct

so something is wrong?

I hope the data integrity of my other downloaded torrents (which cannot be checked using the rar internal checksum) is still trustworthy.
Comment 1 Joris Guisson 2006-08-23 18:25:54 UTC
This is a known problem :

https://bugs.kde.org/show_bug.cgi?id=132443

I'm looking at it right now. But it seems that it only happens with files > 4 GB. 

*** This bug has been marked as a duplicate of 132443 ***
Comment 2 Bas 2006-08-23 20:40:03 UTC
some additional information

the total files size is 3.99GB and contains 6 file of approximately 700mb


On Wednesday 23 August 2006 18:25, Joris Guisson wrote:
[bugs.kde.org quoted mail]
Comment 3 Bas 2006-08-24 12:49:46 UTC
using the new svn ktorrent

the problem is solved only one sided

About the 3.99gb torrent which consists of 5x 700mb and 1x582mb
rar files
now the 5 chunsk which were corrupted are downloaded again using ktorrent
and when 100% complete tested the crc checksum of the rar archives
which were all OK. so this is correct.
However when doing a "Check data Integrety" inside ktorrent, again the 5 chuncks appear to be corrupt and the torrent will be downloaded again... 

Comment 4 Bas 2006-08-24 15:49:12 UTC
Some additional info

about the 6 rar files:
file 1 is 100% correct.
The failed chunks are probably in the transition of 2 rar files
Because there are 5 chunks and in the graphic representation they all appear on equal distance (like the 700MB)
Moreover two file report they are missing 2 chunks so I think 1 chunk forms the tail of one rar and the head of the next.
Comment 5 Joris Guisson 2006-09-03 15:17:47 UTC
The other bug was fixed, so this one is also fixed