dokan-dev / dokany

User mode file system library for windows with FUSE Wrapper
http://dokan-dev.github.io
5.21k stars 661 forks source link

Error when download torrent with qBittorrent to dokany volume #1057

Closed IncubusRK closed 2 years ago

IncubusRK commented 2 years ago

Environment

Check List

Description

qBittorrent stoped download with error when torrent contains many small files and download files to dokany volume. Possible race condition when qBittorent try to create and write many files at once. Step to reproduce:

  1. Install latest dokany
  2. Install latest qBittorent
  3. use mirror.exe to create volume
  4. download torrnet to created volume
  5. downloading stopped with error "the system cannot find the path specified"

for example archive of sample DICOM images https://academictorrents.com/details/6ef7c6d039e85152c4d0f31d83fa70edc4aba088

Liryna commented 2 years ago

Have you tried with Dolan version 1 ? What command line are you using ?

IncubusRK commented 2 years ago

Check with 1.5.1.1000 also got error. command line: mirror.exe /r \temp_dir /l R

Liryna commented 2 years ago

Can you retry by adding the /o option ?

IncubusRK commented 2 years ago

Tested. Aslo got error. But now it is: "Errored: The system detected an invalid pointer address in attempting to use a pointer argument in a call"

PS If I try to resume download every time when it's stop to I can complete download after many attempts

Liryna commented 2 years ago

I do not seem to be able to reproduce the issue. My guess would be that an antivirus is interrupting some of the calls. If you could disable it or exclude the folder destination it might already help. image

IncubusRK commented 2 years ago

I completly unload AV software, but again got error. I also try to make mirror to SSD rather than HDD. Similar error reported in cppcryptfs project #https://github.com/bailey27/cppcryptfs/issues/89 but may by it was resolved

I created clean Hyper-V VM with no AV soft, install qBittorent 4.4.0, dokany 2.0.1.2000 and again got error. Try to find another hardware to test with

Liryna commented 2 years ago

Thanks @IncubusRK for your feedback. Let me know if there is anything that can be improved here