Skip to content

Sometimes a RejectedExecutionException occurs on shutdown or the process won't stop for minutes #1403

Closed

Description

@swiesend

Description

  • Sometimes there is Exception in thread "DBusConnection" java.util.concurrent.RejectedExecutionException at shutdown (log attached)
  • Sometimes the process won't stop for as long as 5-10 min (log attached)

System Setup

  • Operating system and version: Ubuntu 20.04: Linux *** 5.4.0-52-generic #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
  • Cryptomator version: cryptomator-1.5.9-beta1-x86_64.AppImage
  • Volume type: FUSE
  • Libs:
dbus-java-3.2.3.jar
secret-service-1.2.1.jar
slf4j-api-1.7.30.jar

Steps to Reproduce

Start the Cryptomator app multiple times in a row and shutdown with the upper right UI button (X) and confirm "Lock and Quit" until the error occurs.

Expected Behavior

Should not complain about any with an RejectedExecutionException, but just teardown grecefully.

Actual Behavior

See: #1308 (comment)

Reproducibility

Sometimes (1/25 times)

Additional Information

Race condition while logging:

$ ~/downloads/cryptomator-1.5.9-beta1-x86_64.AppImage
15:51:35.297 [main] DEBUG org.cryptomator.common.Environment - java.library.path: /tmp/.mount_cryptoiZ6Hp1/lib/app:/tmp/.mount_cryptoiZ6Hp1/bin
15:51:35.300 [main] DEBUG org.cryptomator.common.Environment - user.language: en
15:51:35.300 [main] DEBUG org.cryptomator.common.Environment - user.region: null
15:51:35.300 [main] DEBUG org.cryptomator.common.Environment - logback.configurationFile: null
15:51:35.300 [main] DEBUG org.cryptomator.common.Environment - cryptomator.settingsPath: ~/.config/Cryptomator/settings.json:~/.Cryptomator/settings.json
15:51:35.300 [main] DEBUG org.cryptomator.common.Environment - cryptomator.ipcPortPath: ~/.config/Cryptomator/ipcPort.bin:~/.Cryptomator/ipcPort.bin
15:51:35.300 [main] DEBUG org.cryptomator.common.Environment - cryptomator.keychainPath: null
15:51:35.300 [main] DEBUG org.cryptomator.common.Environment - cryptomator.logDir: ~/.local/share/Cryptomator/logs
15:51:35.300 [main] DEBUG org.cryptomator.common.Environment - cryptomator.mountPointsDir: ~/.local/share/Cryptomator/mnt
15:51:35.300 [main] DEBUG org.cryptomator.common.Environment - cryptomator.minPwLength: null
15:51:35.300 [main] DEBUG org.cryptomator.common.Environment - cryptomator.buildNumber: appimage-1
15:51:35.300 [main] DEBUG org.cryptomator.common.Environment - fuse.experimental: false
15:51:35.349 [main] DEBUG org.cryptomator.common.ShutdownHook - Registered shutdown hook.
15:51:35.461 [main] DEBUG org.cryptomator.common.settings.SettingsProvider - Attempting to load settings from /home/sebastian/.config/Cryptomator/settings.json
15:51:35.547 [main] INFO org.cryptomator.common.settings.SettingsProvider - Settings loaded from /home/sebastian/.config/Cryptomator/settings.json
15:51:36.195 [main] INFO  org.cryptomator.launcher.Cryptomator - Starting Cryptomator 1.5.9-beta1 on Linux 5.4.0-52-generic (amd64)
15:51:36.477 [JavaFX Application Thread] INFO  o.c.ui.launcher.FxApplicationStarter - JavaFX Runtime started.
15:51:40.587 [App Background Thread 003] INFO  o.c.ui.unlock.UnlockWorkflow - Unlock of 'sebastian' succeeded.
15:51:44.520 [JavaFX Application Thread] INFO  o.cryptomator.ui.fxapp.UpdateChecker - Current version: 1.5.9-beta1, lastest version: 1.5.8
15:52:32.439 [JavaFX Application Thread] INFO  o.cryptomator.ui.quit.QuitController - Locked sebastian
15:52:32.459 [main] INFO  org.cryptomator.launcher.Cryptomator - UI shut down
Exception in thread "DBusConnection" java.util.concurrent.RejectedExecutionException: Task org.freedesktop.dbus.connections.AbstractConnection$1@e855db7 rejected from java.util.concurrent.ThreadPoolExecutor@3fcbf031[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 45]
	at java.base/java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.reject(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.execute(Unknown Source)
	at org.freedesktop.dbus.connections.AbstractConnection.sendMessage(AbstractConnection.java:378)
	at org.freedesktop.dbus.connections.AbstractConnection.handleMessage(AbstractConnection.java:1054)
	at org.freedesktop.dbus.connections.AbstractConnection.handleMessage(AbstractConnection.java:713)
	at org.freedesktop.dbus.connections.IncomingMessageThread.run(IncomingMessageThread.java:43)

Process won't stop for as long as 5-10 min:

$ /home/sebastian/downloads/cryptomator-1.5.9-beta1-x86_64.AppImage
16:13:54.672 [main] DEBUG org.cryptomator.common.Environment - java.library.path: /tmp/.mount_cryptoezEBLM/lib/app:/tmp/.mount_cryptoezEBLM/bin
16:13:54.675 [main] DEBUG org.cryptomator.common.Environment - user.language: en
16:13:54.675 [main] DEBUG org.cryptomator.common.Environment - user.region: null
16:13:54.675 [main] DEBUG org.cryptomator.common.Environment - logback.configurationFile: null
16:13:54.675 [main] DEBUG org.cryptomator.common.Environment - cryptomator.settingsPath: ~/.config/Cryptomator/settings.json:~/.Cryptomator/settings.json
16:13:54.675 [main] DEBUG org.cryptomator.common.Environment - cryptomator.ipcPortPath: ~/.config/Cryptomator/ipcPort.bin:~/.Cryptomator/ipcPort.bin
16:13:54.675 [main] DEBUG org.cryptomator.common.Environment - cryptomator.keychainPath: null
16:13:54.675 [main] DEBUG org.cryptomator.common.Environment - cryptomator.logDir: ~/.local/share/Cryptomator/logs
16:13:54.675 [main] DEBUG org.cryptomator.common.Environment - cryptomator.mountPointsDir: ~/.local/share/Cryptomator/mnt
16:13:54.675 [main] DEBUG org.cryptomator.common.Environment - cryptomator.minPwLength: null
16:13:54.675 [main] DEBUG org.cryptomator.common.Environment - cryptomator.buildNumber: appimage-1
16:13:54.675 [main] DEBUG org.cryptomator.common.Environment - fuse.experimental: false
16:13:54.718 [main] DEBUG org.cryptomator.common.ShutdownHook - Registered shutdown hook.
16:13:54.837 [main] DEBUG org.cryptomator.common.settings.SettingsProvider - Attempting to load settings from /home/sebastian/.config/Cryptomator/settings.json
16:13:54.927 [main] INFO org.cryptomator.common.settings.SettingsProvider - Settings loaded from /home/sebastian/.config/Cryptomator/settings.json
16:13:55.574 [main] INFO  org.cryptomator.launcher.Cryptomator - Starting Cryptomator 1.5.9-beta1 on Linux 5.4.0-52-generic (amd64)
16:13:55.866 [JavaFX Application Thread] INFO  o.c.ui.launcher.FxApplicationStarter - JavaFX Runtime started.
16:13:59.916 [App Background Thread 003] INFO  o.c.ui.unlock.UnlockWorkflow - Unlock of 'sebastian' succeeded.
16:14:03.247 [JavaFX Application Thread] INFO  o.cryptomator.ui.quit.QuitController - Locked sebastian
16:14:03.259 [main] INFO  org.cryptomator.launcher.Cryptomator - UI shut down







^C


^C


^C^C^C




^C^C^C^C^C

Activity

  1. changed the title [-]Sometimes a `RejectedExecutionException` occurs on shutdown or the process won't stop[/-] [+]Sometimes a `RejectedExecutionException` occurs on shutdown or the process won't stop for minutes[/+] on Nov 10, 2020
  2. swiesend commented on Nov 10, 2020

    @swiesend
    ContributorAuthor

    I already tried to eradicate this behaviour, but did not succeed until now. I only could fix swiesend/secret-service#20 to my knowledge, but swiesend/secret-service#21 is still open.

    There is version 1.2.3, which might relief the situation a bit, but does not solve it entirely:
    https://github.com/swiesend/secret-service/blob/master/CHANGELOG.md

    There can also occur some unhandled RuntimeExceptions, like a java.security.AccessControlException on prompt dismiss or theoretical IllegalArgumentExceptions. The AccessControlException was not thrown in older versions, but documented in some method signatures, now there is an actual interface for the SimpleCollection.

    I created a new PR on https://github.com/cryptomator/integrations-linux with version 1.2.3 to handle the IllegalArgumentExceptions and using the new isAvailable()method.

    $ ~/downloads/cryptomator-1.5.9-beta1-x86_64.AppImage
    16:39:25.708 [main] DEBUG org.cryptomator.common.Environment - java.library.path: /tmp/.mount_cryptooQVBjk/lib/app:/tmp/.mount_cryptooQVBjk/bin
    16:39:25.711 [main] DEBUG org.cryptomator.common.Environment - user.language: en
    16:39:25.711 [main] DEBUG org.cryptomator.common.Environment - user.region: null
    16:39:25.711 [main] DEBUG org.cryptomator.common.Environment - logback.configurationFile: null
    16:39:25.711 [main] DEBUG org.cryptomator.common.Environment - cryptomator.settingsPath: ~/.config/Cryptomator/settings.json:~/.Cryptomator/settings.json
    16:39:25.711 [main] DEBUG org.cryptomator.common.Environment - cryptomator.ipcPortPath: ~/.config/Cryptomator/ipcPort.bin:~/.Cryptomator/ipcPort.bin
    16:39:25.711 [main] DEBUG org.cryptomator.common.Environment - cryptomator.keychainPath: null
    16:39:25.711 [main] DEBUG org.cryptomator.common.Environment - cryptomator.logDir: ~/.local/share/Cryptomator/logs
    16:39:25.711 [main] DEBUG org.cryptomator.common.Environment - cryptomator.mountPointsDir: ~/.local/share/Cryptomator/mnt
    16:39:25.711 [main] DEBUG org.cryptomator.common.Environment - cryptomator.minPwLength: null
    16:39:25.711 [main] DEBUG org.cryptomator.common.Environment - cryptomator.buildNumber: appimage-1
    16:39:25.711 [main] DEBUG org.cryptomator.common.Environment - fuse.experimental: false
    16:39:25.752 [main] DEBUG org.cryptomator.common.ShutdownHook - Registered shutdown hook.
    16:39:25.875 [main] DEBUG org.cryptomator.common.settings.SettingsProvider - Attempting to load settings from /home/sebastian/.config/Cryptomator/settings.json
    16:39:25.967 [main] INFO org.cryptomator.common.settings.SettingsProvider - Settings loaded from /home/sebastian/.config/Cryptomator/settings.json
    16:39:26.641 [main] INFO  org.cryptomator.launcher.Cryptomator - Starting Cryptomator 1.5.9-beta1 on Linux 5.4.0-52-generic (amd64)
    16:39:26.923 [JavaFX Application Thread] INFO  o.c.ui.launcher.FxApplicationStarter - JavaFX Runtime started.
    16:39:30.975 [App Background Thread 003] INFO  o.c.ui.unlock.UnlockWorkflow - Unlock of 'sebastian' succeeded.
    16:39:34.834 [JavaFX Application Thread] INFO  o.cryptomator.ui.fxapp.UpdateChecker - Current version: 1.5.9-beta1, lastest version: 1.5.8
    16:39:35.929 [JavaFX Application Thread] INFO  o.cryptomator.ui.common.VaultService - Locked sebastian
    16:39:39.535 [App Scheduled Executor 02] INFO  o.c.common.settings.SettingsProvider - Settings saved to /home/sebastian/.config/Cryptomator/settings.json
    16:39:41.503 [DBus Worker Thread-3] INFO  o.f.secret.handlers.SignalHandler - Received signal Service.CollectionChanged: /org/freedesktop/secrets/collection/login
    16:39:41.621 [JavaFX Application Thread] INFO  o.f.secret.handlers.SignalHandler - Await signal org.freedesktop.secret.interfaces.Prompt$Completed(/org/freedesktop/secrets/prompt/u1) within 120 seconds.
    16:39:44.800 [DBus Worker Thread-1] INFO  o.f.secret.handlers.SignalHandler - Received signal Prompt.Completed(/org/freedesktop/secrets/prompt/u1): {dismissed: true, result: [[]]}
    Exception in thread "JavaFX Application Thread" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    	at javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1862)
    	at javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(FXMLLoader.java:1729)
    	at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
    	at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:234)
    	at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
    	at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
    	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
    	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    	at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
    	at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)
    	at javafx.event.Event.fireEvent(Event.java:198)
    	at javafx.scene.Node.fireEvent(Node.java:8886)
    	at javafx.scene.control.Button.fire(Button.java:203)
    	at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:208)
    	at com.sun.javafx.scene.control.inputmap.InputMap.handle(InputMap.java:274)
    	at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:247)
    	at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
    	at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:234)
    	at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
    	at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
    	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
    	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    	at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
    	at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
    	at javafx.event.Event.fireEvent(Event.java:198)
    	at javafx.scene.Scene$MouseHandler.process(Scene.java:3856)
    	at javafx.scene.Scene.processMouseEvent(Scene.java:1851)
    	at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2584)
    	at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:409)
    	at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:299)
    	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
    	at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:447)
    	at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:412)
    	at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:446)
    	at com.sun.glass.ui.View.handleMouseEvent(View.java:556)
    	at com.sun.glass.ui.View.notifyMouse(View.java:942)
    	at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
    	at com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:277)
    	at java.base/java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.reflect.InvocationTargetException
    	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
    	at com.sun.javafx.reflect.Trampoline.invoke(MethodUtil.java:76)
    	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
    	at com.sun.javafx.reflect.MethodUtil.invoke(MethodUtil.java:273)
    	at com.sun.javafx.fxml.MethodHelper.invoke(MethodHelper.java:83)
    	at javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1859)
    	... 50 more
    Caused by: java.security.AccessControlException: The collection was not unlocked with user permission.
    	at org.freedesktop.secret.simple.SimpleCollection.unlockWithUserPermission(SimpleCollection.java:287)
    	at org.freedesktop.secret.simple.SimpleCollection.deleteItem(SimpleCollection.java:533)
    	at org.cryptomator.linux.keychain.SecretServiceKeychainAccess.deletePassphrase(SecretServiceKeychainAccess.java:59)
    	at org.cryptomator.common.keychain.KeychainManager.deletePassphrase(KeychainManager.java:56)
    	at org.cryptomator.ui.vaultoptions.MasterkeyOptionsController.removePasswordFromKeychain(MasterkeyOptionsController.java:65)
    	... 62 more
    16:40:02.062 [main] INFO  org.cryptomator.launcher.Cryptomator - UI shut down
    
  3. infeo commented on Nov 11, 2020

    @infeo
    Member
  4. added this to the milestone on Nov 16, 2020
  5. added
    state:confirmed
    on Dec 4, 2020
  6. modified the milestones: , 1.5.13 on Feb 24, 2021
  7. infeo commented on Feb 24, 2021

    @infeo
    Member

    Fixed with bumping the integrations-linux version in 81091d4

  8. infeo commented on Feb 24, 2021

    @infeo
    Member

    Well... the shutdown is not blocked anymore, but the RejectedExectutionException still appears from time to time.

  9. reopened this on Feb 24, 2021
  10. modified the milestones: 1.5.13, on Feb 24, 2021
  11. infeo commented on Feb 24, 2021

    @infeo
    Member

    I'll open a new issue for that.

  12. swiesend commented on Feb 24, 2021

    @swiesend
    ContributorAuthor

    Oh, no. Don't see it popping up on my tests thou. Did you trigger it with the ui shutdown or with an interrupt by ctrl+c?

    With an interrupt I only can trigger a org.cryptomator.frontend.fuse.mount.CommandFailedException on half way loading the vault.

    $ ./launcher-linux.sh 
    23:54:04.832 [main] DEBUG org.cryptomator.common.Environment - user.home: /home/sebastian
    23:54:04.836 [main] DEBUG org.cryptomator.common.Environment - java.library.path: /usr/local/cuda-11.1/lib64:/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib
    23:54:04.836 [main] DEBUG org.cryptomator.common.Environment - user.language: en
    23:54:04.837 [main] DEBUG org.cryptomator.common.Environment - user.region: null
    23:54:04.837 [main] DEBUG org.cryptomator.common.Environment - logback.configurationFile: null
    23:54:04.837 [main] DEBUG org.cryptomator.common.Environment - cryptomator.settingsPath: ~/.config/Cryptomator/settings.json
    23:54:04.837 [main] DEBUG org.cryptomator.common.Environment - cryptomator.ipcPortPath: ~/.config/Cryptomator/ipcPort.bin
    23:54:04.837 [main] DEBUG org.cryptomator.common.Environment - cryptomator.keychainPath: null
    23:54:04.837 [main] DEBUG org.cryptomator.common.Environment - cryptomator.logDir: ~/.local/share/Cryptomator/logs
    23:54:04.837 [main] DEBUG org.cryptomator.common.Environment - cryptomator.mountPointsDir: ~/.local/share/Cryptomator/mnt
    23:54:04.837 [main] DEBUG org.cryptomator.common.Environment - cryptomator.minPwLength: null
    23:54:04.837 [main] DEBUG org.cryptomator.common.Environment - cryptomator.buildNumber: null
    23:54:04.837 [main] DEBUG org.cryptomator.common.Environment - cryptomator.showTrayIcon: null
    23:54:04.837 [main] DEBUG org.cryptomator.common.Environment - fuse.experimental: false
    23:54:04.873 [main] DEBUG org.cryptomator.common.ShutdownHook - Registered shutdown hook.
    23:54:04.957 [main] DEBUG org.cryptomator.common.settings.SettingsProvider - Attempting to load settings from /home/sebastian/.config/Cryptomator/settings.json
    23:54:05.014 [main] INFO org.cryptomator.common.settings.SettingsProvider - Settings loaded from /home/sebastian/.config/Cryptomator/settings.json
    Gtk-Message: 23:54:05.463: Failed to load module "canberra-gtk-module"
    23:54:05.643 [main] INFO  org.cryptomator.launcher.Cryptomator - Starting Cryptomator 1.5.13 on Linux 5.8.0-44-generic (amd64)
    Error in glXCreateNewContext, remote GLX is likely disabled
    23:54:05.847 [JavaFX Application Thread] INFO  o.c.ui.launcher.FxApplicationStarter - JavaFX Runtime started.
    23:54:08.207 [JavaFX Application Thread] WARN  o.cryptomator.ui.fxapp.FxApplication - has visible stages: true
    23:54:09.685 [App Background Thread 003] INFO  o.c.ui.unlock.UnlockWorkflow - Unlock of 'xxx' succeeded.
    23:54:13.286 [JavaFX Application Thread] INFO  o.cryptomator.ui.fxapp.UpdateChecker - Current version: 1.5.13, lastest version: 1.5.12
    
    ^C23:54:15.048 [ShutdownTasks] ERROR o.c.ui.launcher.AppLifecycleListener - Failed to unmount vault /home/sebastian/xxx
    org.cryptomator.common.vaults.Volume$VolumeException: org.cryptomator.frontend.fuse.mount.CommandFailedException: Unmount failed. STDERR: fusermount: entry for /home/sebastian/.local/share/cryptomator/mnt/xxx not found in /etc/mtab
    
    	at org.cryptomator.common.vaults.FuseVolume.unmountForced(FuseVolume.java:94)
    	at org.cryptomator.common.vaults.Vault.lock(Vault.java:154)
    	at org.cryptomator.ui.launcher.AppLifecycleListener.forceUnmountRemainingVaults(AppLifecycleListener.java:127)
    	at org.cryptomator.common.ShutdownHook$OrderedTask.run(ShutdownHook.java:92)
    	at org.cryptomator.common.ShutdownHook.run(ShutdownHook.java:42)
    Caused by: org.cryptomator.frontend.fuse.mount.CommandFailedException: Unmount failed. STDERR: fusermount: entry for /home/sebastian/.local/share/cryptomator/mnt/xxx not found in /etc/mtab
    
    	at org.cryptomator.frontend.fuse.mount.LinuxMounter$LinuxMount.assertUmountSucceeded(LinuxMounter.java:91)
    	at org.cryptomator.frontend.fuse.mount.LinuxMounter$LinuxMount.unmountForcedInternal(LinuxMounter.java:77)
    	at org.cryptomator.frontend.fuse.mount.AbstractMount.unmountForced(AbstractMount.java:41)
    	at org.cryptomator.common.vaults.FuseVolume.unmountForced(FuseVolume.java:91)
    	... 4 common frames omitted
    
  13. infeo commented on Feb 25, 2021

    @infeo
    Member

    Did you trigger it with the ui shutdown or with an interrupt by ctrl+c?

    I triggered the stacktrace by normally exiting the application, but it was started from an IDE. In a small test run with the 1.5.13 appimage and starts i was unable to trigger the issue. This might also be an "IDE only" issue 🤷 I dunno. Before reopening this, i favor to let this case be until it reappears again.

    Your stack trace is something different. While this might look unsettling, closing an application via signal/interrupt rather than shutting it regulary down has its consequences.

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:linuxstate:confirmed

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions