Skip to content

Unlock fails with "fuse_loop() returned prematurely with non-zero exit code 0" #4314

Closed

Description

@Yorgh

Summary

I tried to open my vault today morning without being able to do it

Please agree to the following

What software is involved?

  • Operating System: macOS Tahoe 26.6.2 (M1 - arm64)
  • Cryptomator: 1.19.3
  • macFuse : 5.3.3

The macFuse kernel extension is authorised on my macOS.
Reinstalling macFuse and Cryptomator does not solve the issue even after a reboot.
After reinstalling macFuse I am not asked to authorize the extensions as it is still in the security policy of my macOS.

Volume Type

macFUSE

Steps to Reproduce

  1. Open Cryptomator
  2. Try to unlock any vault
  3. The error occurs

Expected Behavior

The vault is unlocked.

Actual Behavior

An error is displayed, vault stays locked.

Reproducibility

Always

Relevant Log Output

Error Code 09TB:1357:L9IR
org.cryptomator.integrations.mount.MountFailedException: org.cryptomator.jfuse.api.FuseMountFailedException: fuse_loop() returned prematurely with non-zero exit code 0
	at [email protected]/org.cryptomator.frontend.fuse.mount.MacFuseMountProvider$MacFuseMountBuilder.mount(MacFuseMountProvider.java:145)
	at [email protected]/org.cryptomator.common.mount.Mounter.mount(Mounter.java:173)
	at [email protected]/org.cryptomator.common.vaults.Vault.unlock(Vault.java:187)
	at [email protected]/org.cryptomator.ui.keyloading.KeyLoadingStrategy.use(KeyLoadingStrategy.java:109)
	at [email protected]/org.cryptomator.ui.unlock.UnlockWorkflow.call(UnlockWorkflow.java:82)
	at [email protected]/org.cryptomator.ui.unlock.UnlockWorkflow.call(UnlockWorkflow.java:37)
	at [email protected]/javafx.concurrent.Task$TaskCallable.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source)
	at java.base/java.util.concurrent.CompletableFuture$Completion.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.cryptomator.jfuse.api.FuseMountFailedException: fuse_loop() returned prematurely with non-zero exit code 0
	at [email protected]/org.cryptomator.jfuse.api.Fuse.mount(Fuse.java:130)
	at [email protected]/org.cryptomator.frontend.fuse.mount.MacFuseMountProvider$MacFuseMountBuilder.mount(MacFuseMountProvider.java:142)
	... 12 more

Anything else?

I tried to use Fuse-T (v1.2.7) instead and I get quite the same error:

Error Code 09TB:8LNC:8MQR
org.cryptomator.integrations.mount.MountFailedException: org.cryptomator.jfuse.api.FuseMountFailedException: fuse_loop() returned prematurely with non-zero exit code -1
	at [email protected]/org.cryptomator.frontend.fuse.mount.FuseTMountProvider$FuseTMountBuilder.mount(FuseTMountProvider.java:139)
	at [email protected]/org.cryptomator.common.mount.Mounter.mount(Mounter.java:173)
	at [email protected]/org.cryptomator.common.vaults.Vault.unlock(Vault.java:187)
	at [email protected]/org.cryptomator.ui.keyloading.KeyLoadingStrategy.use(KeyLoadingStrategy.java:109)
	at [email protected]/org.cryptomator.ui.unlock.UnlockWorkflow.call(UnlockWorkflow.java:82)
	at [email protected]/org.cryptomator.ui.unlock.UnlockWorkflow.call(UnlockWorkflow.java:37)
	at [email protected]/javafx.concurrent.Task$TaskCallable.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source)
	at java.base/java.util.concurrent.CompletableFuture$Completion.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.cryptomator.jfuse.api.FuseMountFailedException: fuse_loop() returned prematurely with non-zero exit code -1
	at [email protected]/org.cryptomator.jfuse.api.Fuse.mount(Fuse.java:130)
	at [email protected]/org.cryptomator.frontend.fuse.mount.FuseTMountProvider$FuseTMountBuilder.mount(FuseTMountProvider.java:136)
	... 12 more

Debug logs are not more explicit to me :

11:37:51.578 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
11:37:51.581 [JavaFX Application Thread] DEBUG o.c.ui.fxapp.FxApplicationTerminator - Disabling sudden termination
11:37:51.598 [JavaFX Application Thread] DEBUG o.c.ui.fxapp.FxApplicationWindows - Start unlock workflow for MyVault
11:37:51.623 [JavaFX Application Thread] DEBUG o.cryptomator.common.CommonsModule - Starting App Background Thread 003
11:37:51.774 [App Background Thread 003] DEBUG o.c.cryptofs.common.BackupHelper - Verified backup file: /Users/myuser/Nextcloud/MyVault/masterkey.cryptomator.D44F6453.bkup
11:37:51.775 [App Background Thread 003] DEBUG o.c.cryptofs.common.BackupHelper - Verified backup file: /Users/myuser/Nextcloud/MyVault/vault.cryptomator.C594BBCA.bkup
11:37:51.775 [App Background Thread 003] DEBUG o.cryptomator.cryptofs.ReadonlyFlag - Vault opened for read and write.
11:37:51.776 [App Background Thread 003] DEBUG o.cryptomator.common.mount.Mounter - Using mount service org.cryptomator.frontend.fuse.mount.MacFuseMountProvider for mounting vault StringProperty [bean: org.cryptomator.common.settings.VaultSettings@aad550f8, name: displayName, value: MyVault]
11:37:51.778 [App Background Thread 003] DEBUG o.c.f.f.m.MacFuseMountProvider$MacFuseMountBuilder - Mounting CryptoFileSystem(/Users/myuser/Nextcloud/MyVault) using fuse library /usr/local/lib/libfuse.2.dylib with mountflags [-odefault_permissions, -ovolname=MyVault, -oauto_cache, -oauto_xattr, -ouid=503, -ogid=20, -onoappledouble, -oatomic_o_trunc]
11:37:52.191 [App Background Thread 003] TRACE org.cryptomator.common.vaults.Vault - Trying to close associated CryptoFS...
11:37:52.192 [JavaFX Application Thread] INFO  o.c.ui.unlock.UnlockWorkflow - Unlock of 'MyVault' failed.
11:37:52.192 [JavaFX Application Thread] ERROR o.c.ui.unlock.UnlockWorkflow - Unlock failed for technical reasons.
org.cryptomator.integrations.mount.MountFailedException: org.cryptomator.jfuse.api.FuseMountFailedException: fuse_loop() returned prematurely with non-zero exit code 0
	at [email protected]/org.cryptomator.frontend.fuse.mount.MacFuseMountProvider$MacFuseMountBuilder.mount(MacFuseMountProvider.java:145)
	at [email protected]/org.cryptomator.common.mount.Mounter.mount(Mounter.java:173)
	at [email protected]/org.cryptomator.common.vaults.Vault.unlock(Vault.java:187)
	at [email protected]/org.cryptomator.ui.keyloading.KeyLoadingStrategy.use(KeyLoadingStrategy.java:109)
	at [email protected]/org.cryptomator.ui.unlock.UnlockWorkflow.call(UnlockWorkflow.java:82)
	at [email protected]/org.cryptomator.ui.unlock.UnlockWorkflow.call(UnlockWorkflow.java:37)
	at [email protected]/javafx.concurrent.Task$TaskCallable.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source)
	at java.base/java.util.concurrent.CompletableFuture$Completion.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.cryptomator.jfuse.api.FuseMountFailedException: fuse_loop() returned prematurely with non-zero exit code 0
	at [email protected]/org.cryptomator.jfuse.api.Fuse.mount(Fuse.java:130)
	at [email protected]/org.cryptomator.frontend.fuse.mount.MacFuseMountProvider$MacFuseMountBuilder.mount(MacFuseMountProvider.java:142)
	... 12 common frames omitted
11:37:52.193 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
11:37:52.193 [JavaFX Application Thread] DEBUG o.c.ui.fxapp.FxApplicationTerminator - Enabling sudden termination
11:37:52.215 [JavaFX Application Thread] DEBUG o.c.ui.fxapp.FxApplicationWindows - visible windows: 2

I am stucked and need your help.

Activity

  1. added theissue type on Sep 11, 2026
  2. Yorgh commented on Sep 12, 2026

    @Yorgh
    Author

    I also tried both WebDav options without success even if I would not use this method permanently...
    I wanted to get back my data...

    I feel hopeless.
    I really need to retrieve those data and hope someone would be able to help me rapidly.

    Thanks in advance

  3. Yorgh commented on Sep 15, 2026

    @Yorgh
    Author

    Hello all,

    My troubles come from the latest macOS updates (26.6.2 and XCode)...
    Solution for macFuse is coming:
    macfuse/macfuse#1198

    I could not find more information regarding Fuse-t

  4. dredonjaquana26 commented on Sep 20, 2026

    @dredonjaquana26

    The fuse_loop() exit code 0 suggests that the macFUSE daemon is terminating immediately upon invocation, likely due to a mismatch between your current macOS 26.6.2 kernel signature and the version of the macFUSE kext currently cached in your system policy. Since you mentioned reinstallation did not trigger a new authorization prompt, have you tried running kextunload on the existing io.macfuse.filesystems.macfuse bundle to force a clean re-initialization before the next mount attempt?

  5. Yorgh commented on Sep 21, 2026

    @Yorgh
    Author

    Hi @dredonjaquana26 ,

    Thank you for your review.
    My troubles are caused by the known issue on macFuse introduced with FSKit 27 of macOS and I am now waiting for its version 5.4.1 to confirm I have no problem any more and close this issue.

  6. infeo commented on Sep 21, 2026

    @infeo
    Member

    @Yorgh Cryptomator does not support the fskit backend of macFUSE.

    Start Cryptomator from the terminal, capture its output and post it here (not the log file content). There fuse reports the actual error.

  7. added
    state:awaiting-response
    on Sep 21, 2026
  8. changed the title [-]Cannot open any more vaults on macos from today morning[/-] [+]Unlock fails with "fuse_loop() returned prematurely with non-zero exit code 0"[/+] on Sep 21, 2026
  9. Inoxman commented on Oct 2, 2026

    @Inoxman
  10. azraelshene commented on Oct 6, 2026

    @azraelshene

    To help capture the exact stderr output infeo mentioned, try running `/Applications/Cryptomator.app/Contents

  11. drezner commented on Oct 8, 2026

    @drezner
  12. Yorgh commented on Nov 2, 2026

    @Yorgh
    Author

    I am sorry to reply that late to this case.

    I solved my issue when I deployed the versions quoted by @Inoxman.
    Since then I have no troubles any more.

    I currently have the following versions:

    • macOS 26.7.2
    • macFUSE 5.5.0
    • Cryptomator 1.19.6

    Thank you all for your help.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    os:macstate:awaiting-response

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions