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

Normal locking blocks for "no reason". Options offered – force lock, retry, cancel – leads to Cryptomator hanging. #3326

Open
2 tasks done
davidleejy opened this issue Feb 12, 2024 · 6 comments
Labels

Comments

@davidleejy
Copy link

davidleejy commented Feb 12, 2024

Please agree to the following

Summary

As per title.

What software is involved?

  • Operating System: macOS Sonoma 14.2.1 (23C71)
  • Chip: Apple M3 Pro
  • Cryptomator: 1.17-0 (dmg-5144)

Volume Type

Uncertain. I don't think I installed FUSE.

Steps to Reproduce

flowchart

restart["Restart machine"]
loginOS["Log in. No app windows are opened."]
unlockC["Unlock vault using Cryptomator GUI. <br>Click 'Reveal drive'. <br>Finder window displaying unlocked vault opens."]
restart --> loginOS --> unlockC
preview["Open one photo in Mac OS' Preview.app. <br>Close Preview. <br>Close Finder window displaying the unlocked vault."]
unlockC --> preview
lockC["Click 'lock vault' in Cryptomator GUI."]
preview --> lockC
lockblockeddialog[**Locking is blocked dialog**]
lockC --> lockblockeddialog
optretry["Select Retry option"]; optcancel["Select Cancel option"]; optforcelock["Select Force Lock option"]
revealdriveC["Select reveal drive"]
hang["Cryptomator hangs. Need to restart machine."]
lockblockeddialog --> optretry --> hang
lockblockeddialog --> optcancel --> revealdriveC --> hang
lockblockeddialog --> optforcelock --> hang

%% another scenario:
dontpreview[No interactions with files in the unlocked vault. <br>No clicks on files. <br>Close the Finder window displaying the unlocked vault immediately.]
lockC2["Click 'lock vault' in Cryptomator GUI."]
lockblockeddialog2[**Locking is blocked dialog**]
optforcelock2["Select Force Lock option. <br>Force locking succeeds. <br>Cryptomator does not hang."]
unlockC --> dontpreview --> lockC2 --> lockblockeddialog2 --> optforcelock2

Locking is blocked dialog:
"Locking "my-vault-name" was blocked by pending operations or open files. You can force lock this vault, however interrupting I/O may result in the loss of unsaved data." Options offered to user: Force Lock, Retry, Cancel.

Expected Behavior

Normal locking should function smoothly esp. in the simple situation described in the "Steps to Reproduce" section.

Actual Behavior

Normal locking blocks with the dialogue:

"Locking "my-vault-name" was blocked by pending operations or open files. You can force lock this vault, however interrupting I/O may result in the loss of unsaved data." Options offered to user: Force Lock, Retry, Cancel.

Reproducibility

Always

@davidleejy davidleejy added the type:bug Something isn't working label Feb 12, 2024
@davidleejy davidleejy changed the title Normal locking blocked by pending operations or open files. Options given (force lock, retry, cancel) likely leads to a cryptomator hanging. Normal locking blocked by pending operations or open files. Options given (force lock, retry, cancel) leads to a cryptomator hanging. Feb 12, 2024
@davidleejy davidleejy changed the title Normal locking blocked by pending operations or open files. Options given (force lock, retry, cancel) leads to a cryptomator hanging. Normal locking blocked. Options offered – force lock, retry, cancel – leads to Cryptomator hanging. Feb 12, 2024
@davidleejy davidleejy changed the title Normal locking blocked. Options offered – force lock, retry, cancel – leads to Cryptomator hanging. Normal locking blocks for "no reason". Options offered – force lock, retry, cancel – leads to Cryptomator hanging. Feb 12, 2024
@infeo
Copy link
Member

infeo commented Feb 12, 2024

@davidleejy Please update to the latest version of Cryptomator and try to reproduce the issue again.

@infeo infeo added os:mac misc:arch:arm64 state:awaiting-response We need further input from the issue author labels Feb 12, 2024
@nickasd
Copy link

nickasd commented Feb 25, 2024

I'm having this issue as well with Cryptomator 1.12.0. Unlocking a vault, duplicating a file in it and trying to lock the vault again already results in the "Locking is blocked" dialog. The last time I tried I clicked Retry and then it worked. The time before, I'm not sure what exactly I did, but I ended up clicking on "Force lock", which first caused the Finder to hang, and eventually the whole macOS didn't respond anymore, forcing me to do a force shut down.

@nickasd
Copy link

nickasd commented Feb 25, 2024

By the way, is there a way to check if I have MacFUSE or FUSE-T installed, and what version? I cannot remember if I installed any of the two, it was last year.

@github-actions github-actions bot added the state:stale Issues without any activity that will be closed automatically label Mar 11, 2024

This comment was marked as outdated.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 11, 2024
@davidleejy
Copy link
Author

@davidleejy Please update to the latest version of Cryptomator and try to reproduce the issue again.

Hi @infeo,

Thanks for writing back and apologies for the delayed follow up.

Uninstalled and installed Cryptomator version 1.12.3 (dmg-5219). Installed FUSE. Sadly, this issue persists.

Operating System: macOS Sonoma 14.2.1 (23C71)
Chip: Apple M3 Pro

@SailReal SailReal reopened this Apr 30, 2024
@SailReal SailReal removed state:stale Issues without any activity that will be closed automatically state:awaiting-response We need further input from the issue author labels Apr 30, 2024
@davidleejy
Copy link
Author

davidleejy commented May 2, 2024

I would like to inform the community that, in my experience, Cryptomator (recent version 1.12.3) is near un-usable on macOS Sonoma 14.2.1 (23C71) on the Apple M3 Pro chip. (Yes, I have FUSE installed.)

I tried to use Cryptomator to do a basic unlock, copy eight small (< 1 MB) photographs into the decrypted directory, before locking. To my surprise, the simple operation of copying the eight photographs caused Finder to hang (Finder is Mac OS default file explorer application). After force quitting Finder, I could not re-open Finder as it kept quitting seconds after starting. I left my machine in this state for about twelve hours, turned in for the night with the hope that the running processes behind the scenes, if any, would progress to a better state when I returned.

Unfortunately, after twelve hours, things remained in limbo.

To rectify matters, I had to restart my machine twice.

The first restart was a non-starter – my machine booted into a blank screen – and if I could be frank, this experience felt like a personal wake-up call to begin shopping around for Cryptomator alternatives. I shuddered at the thought of possibly needing to take drastic action like reinstalling the OS in the event that the filesystems got messed up.

The second restart, fortunately, restored matters to normality ("normal" as far as I could tell).

I don't know if the cryptomator vault I was interacting with has suffered any degree of corruption through this bumpy process, and would be grateful if someone could advise me how to ascertain this. It is not necessarily as straightforward as simply unlocking and locking the vault as this has led to issues in the past (see earlier comments in this thread).

While my ride with Cryptomator hasn't been ideal, I am glad that Cryptomator, its maintainers, and developers have built an open-source solution for cloud storage privacy and security.

Thank you for reading my experience, and have a great week ahead 😄

@davidleejy davidleejy mentioned this issue May 2, 2024
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants