I/O errors with qbt 2.9.0 on Windows

Bug #871328 reported by sledgehammer999
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
libtorrent-rasterbar
Unknown
Unknown
qBittorrent
New
Undecided
Unassigned

Bug Description

Some users report I/O errors with the new 2.9.0 version on Windows.
The IO errors don't appear on every torrent. Also they seem to occur when a torrent is being downloaded.
The error reported is "The parameter is incorrect" (from user ironcross) and "Reached the end of file." (from me)

The users shared some torrents files with me that produce these errors. The IO error seems to be triggered almost instanteneously when the first KBs are to be written to disk.

I changed the disk_io_write_mode to disable_os_cache_for_aligned_files and the errors where gone for me and one other user. But for the other user(ironcross who got a different description) the errors continue . Also they appear to other torrents that were unaffected by the previous setting. This user is using Windows 7 32bit.

I'll attach 2 sample torrents that produce the error for me.
Also I am going to be quite busy this week so don't assign the bug to me.

Revision history for this message
sledgehammer999 (sledgehammer-999) wrote :
Revision history for this message
sledgehammer999 (sledgehammer-999) wrote :
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

This should be reported against libtorrent ASAP.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Known libtorrent bug apparently, please provide more information via the libtorrent tracker (report link attached)

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Maybe we should just enable the os cache again until the bug is fixed in libtorrent for sure? It is better to avoid memory issues on torrent force recheck than I/O errors preventing users from downloading torrent IMHO... :(

Revision history for this message
sledgehammer999 (sledgehammer-999) wrote :

ok. I agree with you. I'll upload a 2.9.0.1 version shortly.

Revision history for this message
sledgehammer999 (sledgehammer-999) wrote :

one question. Should I use "enable_os_cache" or "disable_os_cache_for_aligned_files" in read/write_mode?

Revision history for this message
Christophe Dumez (hydr0g3n) wrote : Re: [Bug 871328] Re: I/O errors with qbt 2.9.0 on Windows

Enable os cache in both modes for now
On Oct 9, 2011 7:30 PM, "Sledgehammer_999" <email address hidden>
wrote:

> one question. Should I use "enable_os_cache" or
> "disable_os_cache_for_aligned_files" in read/write_mode?
>
> --
> You received this bug notification because you are subscribed to
> qBittorrent.
> https://bugs.launchpad.net/bugs/871328
>
> Title:
> I/O errors with qbt 2.9.0 on Windows
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/libtorrent-rasterbar/+bug/871328/+subscriptions
>

Revision history for this message
sledgehammer999 (sledgehammer-999) wrote :

qbt 2.9.0.1 is up on qbittorrent-win32 with enable_os_cache

Revision history for this message
loki (loki8428) wrote :

It seems to have solved the I/O error for me too, at least for now. (Reached end of file)
On windows 7 64-bit. Were you saying I can't do force recheck due to memory leak problem?

Revision history for this message
sledgehammer999 (sledgehammer-999) wrote :

Try it. Technically it isn't a leak. It is Windows' (OS) cache not being smart enough. It keeps the data around although it shouldn't.

I am not sure, but the RAM usage will grow until some point(pretty close to 100%), but Windows will start dropping earlier data so it won't grow past that point. Other programs will suffer though and you'll experience disk/RAM swapping.

Here is the relevant bug report: https://bugs.launchpad.net/qbittorrent/+bug/841138

Revision history for this message
Cas (calumlind) wrote :

FYI "The parameter is incorrect" issue has now been fixed in libtorrent 0.15.10.

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.