qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
28.48k stars 3.99k forks source link

An IO error occurred #10288

Open saurabh6377 opened 5 years ago

saurabh6377 commented 5 years ago

qBittorrent version 4.1.5 OS: Windows 10 professional build 1809 10.0.17763

PROBLEM:

(I switched to qBittorrent because transmission refused to work on windows) Today I unchecked some unneeded files in torrent paused torrent and exited and when i came back and resumed the torrent I ended up getting error: An I/O error occurred for some torrent and i lost 80% of my downloaded data, and it matters because I am limited on bandwidth and torrent files are 400GB and i downloaded about 300GB (in 5 months). In execution log it says 12/02/2019 09:15 - UPnP/NAT-PMP: Port mapping failure, message: could not map port using UPnP: no router found 12/02/2019 09:15 - UPnP/NAT-PMP: Port mapping failure, message: could not map port using UPnP: no router found and I got the below error more than 100 times 12/02/2019 09:18 - An I/O error occurred, '<torrent name>' paused. <torrent name>read (D:\path\to\file\in\torrent) error: End of file for most files in torrent

And when I see the torrent files in file manager most of them became 0KB now even the completely downloaded ones and qBittorrent is showing the progress of completely downloaded ones 100% even when they are 0kb

EXPECTED BEHAVIOUR

This error must not happen again!!! OR at least no data must be lost if this kind of error happens OR is there any way to resume the torrent again with the leftover downloaded data as some files are still not corrupted.

Steps to reproduce

  1. First grab some hugely sized torrent greater than 50GB (make sure torrent contains multiple files of large size and folders)
  2. Download 20-80%
  3. Uncheck and recheck some files in the torrent
  4. pause and exit and wait for 2-3 hrs (do not exit qbittorrent completely)
  5. open and resume again and get the error notification.
  6. open file manager and enter the directory you will find many files are 0Kb (even those which are checked to download)

Extra info

this error never happened to my torrents on any torrents clients before on linux or windows. This is first time I ever used qBittorrent.

umk3j commented 5 years ago

I have the same issue but i have to say an additional information. It is VERY often to me. Any torrent any sized can be affected by this. I don't know any clues how to see this but i'm really tired of this thing up to change my client. If i press pause then start my torrent again it will goes ok for a while then it also shows this error. I checked my HDD by software which shows it's healthy.

1265578519 commented 5 years ago

非常严重的问题,确实经常出现 一样4.1.5最新版

kovalensky commented 3 years ago

I was trying to seed old files, I downloaded their torrents and referred them in their directories in QB, it stuck with I/O error. Spent entire day trying to understand why is this happening, even disabled microsoft defender or any third-party thing, disk checks - seems healthy. qBittorrent deleted some files, then started to download them again, but stuck couple times, I did rechecks a few times. What I had to do is -> delete the torrent(from list), download files at which qBittorrent stuck into separate directory, then copy those files into original folder, pause torrent status, then to choose all files to be downloaded in Content, then re-check, it worked. qBittorrent 4.3.1.

phil123456 commented 3 years ago

same thing here "Errored : End of file"

johny-numbers commented 3 years ago

This happened to me today on a 22GB torrent. Pop!_OS 20.10 qBittorrent 4.3.3

Recheck worked.