KTorrent miscalculates small files size

Bug #280409 reported by Dimitar Mihailov
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ktorrent (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: ktorrent

When I load a torrent with many files and folders and select all of them to be downloaded everything is ok.

Before downloading if I select only few files, the're also ok.

After downloading some of the files, when I select some of the previosly not downloaded files, there's some miscalculation with the file size. SRT files, wich according to the torrent info are 56KB when downloaded become 3.2MB.

The subtitle files are readable, but when opened with Kate, there's a message saying "The file ....... is a binary, saving it will result in a corrupt file."

I'm using Kubuntu 8.04.1 and KTorrent 2.2.5 (2.2.5-0ubuntu1)

I figured that this problem has something to do with the preallocation option wich I use, so i tried either basic (slow) and filesystem specific.

Revision history for this message
Harald Sitter (apachelogger) wrote :

Does this still happen with the KDE 4 version of KTorrent? It is much more advanced and reliable than the KDE 3 version.

Changed in ktorrent:
status: New → Incomplete
Revision history for this message
Dimitar Mihailov (theomouse) wrote :

I'll install it and let you know if the bug is still there.

Revision history for this message
Dimitar Mihailov (theomouse) wrote :

The KDE 4 version is ok! I deleted the messed up files, and KTorrent recreated them just fine! Thank you very much!

Revision history for this message
Harald Sitter (apachelogger) wrote :

You're welcome.

Changed in ktorrent:
status: Incomplete → Fix Released
Revision history for this message
Dimitar Mihailov (theomouse) wrote :

Unfortunately the bug is not gone at all. Using KTorrent (Version 3.1.2 Using KDE 4.1.2) to download small files of the contents still messes up the chunks, but after manually deleting the damaged .srt files and forcing KTorrent to recreate them, the problem disappears, but only temporarily.

The bug repeats with the next file I manually choose to download parts of the torrent.

I think the bug is still present and the status of the bug report needs to be updated :(

Revision history for this message
Harald Sitter (apachelogger) wrote :

You can update the bug status yourself.

Changed in ktorrent:
status: Fix Released → New
Revision history for this message
Dimitar Mihailov (theomouse) wrote :

I didn't know that :), 10x.

So, can I give you some more info, regarding the bug?

Revision history for this message
Johnny Levai (digistyl3) wrote :

I can confirm this bug.

Changed in ktorrent:
status: New → Confirmed
Revision history for this message
Harald Sitter (apachelogger) wrote :

Hi there!

Thanks for reporting this bug! Your bug seems to be a problem with the KDE program itself, and not with our KDE packages. While we appreciate your issue, it would be better if it was tracked at https://bugs.kde.org, so that the KDE developers can deal with this speedily and have direct communication with you as the reporter for more effective debugging.

Thanks!

Changed in ktorrent (Ubuntu):
status: Confirmed → Invalid
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.