Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FUSE mirror: Hangs when navigating recursively in Explorer #357

Open
Rondom opened this issue Sep 28, 2016 · 3 comments
Open

FUSE mirror: Hangs when navigating recursively in Explorer #357

Rondom opened this issue Sep 28, 2016 · 3 comments

Comments

@Rondom
Copy link
Contributor

Rondom commented Sep 28, 2016

Environment

  • Windows version: Win2K8R2
  • Processor architecture: amd64
  • Dokany version: 4071984 (build 1.0.1.781)
  • Library type (Dokany/FUSE): Cygwin FUSE

Check List

  • [ x ] I checked my issue doesn't exist yet
  • [ x ] My issue is valid with mirror default sample and not specific to my user-mode driver implementation
  • [ x ] I can always reproduce the issue with the provided description below.
  • [ x ] I have updated Dokany to the latest version (https://github.com/dokan-dev/dokany/releases) and have reboot my computer after.

Description

  1. Run Cygwin as Admin and run Cygwin mirror to mirror to M:
  2. In the explorer, navigate to M:\cygdrive\m\cygdrive (one by one, by double-clicking each folder in the right pane of the explorer Window

Problem: Explorer will hang for a very long time at step 2 until we get a timeout from the Dokan side. Then after dismissing the error from the explorer, one can try again and navigate to M:\cygdrive\m\cygdrive successfully. But then if one wants to navigate further, it hangs again.
Even worse, this time the Explorer process will crash 😢

Logs

fuse_recursive_browsing.txt

@Liryna
Copy link
Member

Liryna commented Oct 1, 2016

Hi @Rondom ,

Is there a flood of request made ? or do you think there is a deadlock somewhere ?

@Rondom
Copy link
Contributor Author

Rondom commented Feb 5, 2017

This might be related to something else. Please ignore this for now and let me investigate more.
UPDATE: The behaviour described below seems to be issue #434. Let's wait until that one is fixed.

I have just tested this on Win 2016
Same behaviour.

  1. Manually navigating (as described in the issue description)

  2. Entering the path M:\cygdrive\m\cygdrive\m into the Explorer's address bar (Ctrl+L)

  3. PowerShell

     cd M:\cygdrive\m\cygdrive
     cd .\M
     dir
    

As you suspected, there is a flood of requests to individual files in the root of M:, for example

ReadFile: \Cygwin.ico from 155648 len 4096

My suspicion is that this has to do with the . and .. directory entries and how they are interpreted.

@Rondom
Copy link
Contributor Author

Rondom commented Mar 12, 2017

I can still reproduce this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants