dokan-dev / dokany

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

problems with dokan x64 2.0.3.2000 #1091

Closed gilles007- closed 2 years ago

gilles007- commented 2 years ago

Environment

Check List

Description

programs crash when using dokany x64 2.0.3.2000 with cppcryptfs >= 1.4.3.11 sometimes; i can close them, sometimes i can't even kill them and i need to reboot cppcryptfs 1.4.3.10 and dokany 1.5.1.1000 is OK

i can replicate with : mirror.exe /d /s /r C:\ /l m when my program is blocked, i use ctrl+c to terminate mirror.exe

Logs

Document.txt

Liryna commented 2 years ago

Could you provide in detail the steps I need to follow to reproduce the issue ? Which program are you talking about ?

gilles007- commented 2 years ago

on windows : mirror.exe /d /s /r C:\ /l m download sublime text 3 or 4 (portable version) : https://www.sublimetext.com/download create a text file on M:\ and use ctrl+s to save (sometimes you need to do it multiple times) program will freeze (tested on 3 W10 and a W2012 VM) i can replicate with others programs : VS2019, paint shop pro 6

Liryna commented 2 years ago

I cannot reproduce the issue with sublime text 3 portable or not.

gilles007- commented 2 years ago

What is the output of https://github.com/dokan-dev/dokany/blob/master/dokan/dokan.c#L798 ? (it is not part of your logs. Dokan: Using 2 main pull threads

Does it also happens without /d /s ? yes

And with mirror.exe /r C:\ /l m /o ? yes

i made a video and uploaded logs from procmon Document.txt Logfile.CSV keep in mind that i don't have this bug all the time : it can happen on save or on close file to make the video, i had to close the file and reopen it

https://user-images.githubusercontent.com/4212960/165717111-02bb49db-6e53-4904-b764-3a811b8fe3c3.mp4

Liryna commented 2 years ago

From the logs, the write happen but follow a lot of QueryBasicInformationFile & NotifyChangeDirectory which probably are due to the incorrect repetition of change notification https://github.com/dokan-dev/dokany/issues/1086

Will try to make a new release this weekend

gilles007- commented 2 years ago

OK, i'm still using Dokany 1.5.0.3000

Liryna commented 2 years ago

@gilles007- please give a try with https://github.com/dokan-dev/dokany/releases/tag/v2.0.4.1000

gilles007- commented 2 years ago

tested 2.0.4.1000 for 2 days and it's OK. thank you