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

Cryptomator Crashing #3351

Closed
2 tasks done
Kapowpenguin1 opened this issue Feb 29, 2024 · 18 comments
Closed
2 tasks done

Cryptomator Crashing #3351

Kapowpenguin1 opened this issue Feb 29, 2024 · 18 comments
Labels
os:windows type:bug Something isn't working
Milestone

Comments

@Kapowpenguin1
Copy link

Please agree to the following

Summary

Cyptomator abruptly closes when attempting to add an existing vault

What software is involved?

  • Operating System: Windows 11 Home, version 22h2, build 22621.3155
  • Cryptomator: 1.12.3 (msi-5219)

Volume Type

None

Steps to Reproduce

  1. go to "Add" vault
  2. select "Existing Vault"
  3. select "Choose"

Expected Behavior

some sort of dialogue allowing me to select a directory/file

Actual Behavior

app crashes

Reproducibility

Always

Relevant Log Output

19:38:13.355 [main] INFO  o.c.common.settings.SettingsProvider - Settings loaded from C:\Users\user\AppData\Roaming\Cryptomator\settings.json
19:38:13.430 [main] INFO  org.cryptomator.common.Environment - user.home: C:\Users\user
19:38:13.430 [main] INFO  org.cryptomator.common.Environment - java.library.path: C:\Program Files\Cryptomator;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files (x86)\VMware\VMware Player\bin\;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\chocolatey\bin;C:\Program Files\WireGuard\;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\nodejs\;D:\Program Files\Amazon CLI\;D:\Program Files\Git\cmd;D:\Program Files\TortoiseSVN\bin;D:\Program Files\CMake\bin;D:\Program Files\UltraEdit;C:\Program Files\Docker\Docker\resources\bin;C:\xampp\php;C:\xampp\ffmpeg\bin;C:\xampp\LibreOfficePortable\App\LibreOffice64\program;D:\Program_Files\Python\Python3-10\Scripts\;D:\Program_Files\Python\Python3-10\;D:\Program_Files\Python\Python3-9\Scripts\;D:\Program_Files\Python\Python3-9\;D:\Program Files\Python\310\Scripts\;D:\Program Files\Python\310\;C:\Users\user\AppData\Local\Microsoft\WindowsApps;c:\users\user\appdata\local\programs\python\python310\lib\site-packages;C:\Users\user\AppData\Roaming\npm;C:\Users\user\AppData\Local\Android\Sdk\platform-tools;C:\Users\user\AppData\Local\Android\Sdk\tools;D:\Program_Files\Microsoft VS Code\bin;C:\Program Files\Cryptomator\app;.
19:38:13.441 [main] INFO  org.cryptomator.common.Environment - user.language: en
19:38:13.441 [main] INFO  org.cryptomator.common.Environment - user.region: null
19:38:13.441 [main] INFO  org.cryptomator.common.Environment - logback.configurationFile: null
19:38:13.441 [main] INFO  org.cryptomator.common.Environment - cryptomator.settingsPath: C:\Users\user\AppData\Roaming/Cryptomator/settings.json;C:\Users\user/AppData/Roaming/Cryptomator/settings.json
19:38:13.442 [main] INFO  org.cryptomator.common.Environment - cryptomator.ipcSocketPath: C:\Users\user\AppData\Local/Cryptomator/ipc.socket
19:38:13.442 [main] INFO  org.cryptomator.common.Environment - cryptomator.integrationsWin.keychainPaths: C:\Users\user\AppData\Roaming/Cryptomator/keychain.json;C:\Users\user/AppData/Roaming/Cryptomator/keychain.json
19:38:13.442 [main] INFO  org.cryptomator.common.Environment - cryptomator.p12Path: C:\Users\user\AppData\Roaming/Cryptomator/key.p12;C:\Users\user/AppData/Roaming/Cryptomator/key.p12
19:38:13.442 [main] INFO  org.cryptomator.common.Environment - cryptomator.logDir: C:\Users\user\AppData\Local/Cryptomator
19:38:13.442 [main] INFO  org.cryptomator.common.Environment - cryptomator.loopbackAlias: cryptomator-vault
19:38:13.442 [main] INFO  org.cryptomator.common.Environment - cryptomator.mountPointsDir: C:\Users\user/Cryptomator
19:38:13.442 [main] INFO  org.cryptomator.common.Environment - cryptomator.minPwLength: null
19:38:13.442 [main] INFO  org.cryptomator.common.Environment - cryptomator.appVersion: 1.12.3
19:38:13.442 [main] INFO  org.cryptomator.common.Environment - cryptomator.buildNumber: msi-5219
19:38:13.442 [main] INFO  org.cryptomator.common.Environment - cryptomator.pluginDir: C:\Users\user\AppData\Roaming/Cryptomator/Plugins
19:38:13.442 [main] INFO  org.cryptomator.common.Environment - cryptomator.showTrayIcon: true
19:38:13.442 [main] INFO  org.cryptomator.common.Environment - cryptomator.disableUpdateCheck: null
19:38:13.442 [main] INFO  o.cryptomator.launcher.Cryptomator - Starting Cryptomator 1.12.3 on Windows 11 10.0 (amd64)
19:38:13.442 [main] DEBUG org.cryptomator.logging.DebugMode - Debug mode enabled
19:38:13.444 [main] DEBUG o.c.launcher.SupportedLanguages - Using locale en_US
19:38:13.490 [main] INFO  org.cryptomator.ipc.Server - Spawning IPC server listening on socket C:\Users\user\AppData\Local\Cryptomator\ipc.socket
19:38:13.535 [main] DEBUG o.c.launcher.IpcMessageHandler - Received launch args: 
19:38:13.536 [main] DEBUG o.cryptomator.launcher.Cryptomator - Did not find running application instance. Launching GUI...
19:38:13.650 [JavaFX Application Thread] INFO  o.cryptomator.launcher.Cryptomator - JavaFX runtime started after 670ms
19:38:13.657 [JavaFX Application Thread] DEBUG o.c.i.common.ClassLoaderFactory - Found jars in cryptomator.pluginDir: 
19:38:13.690 [JavaFX Application Thread] DEBUG o.c.i.common.ClassLoaderFactory - Found jars in cryptomator.pluginDir: 
19:38:13.692 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - MountService: Found implementation: org.cryptomator.frontend.fuse.mount.LinuxFuseMountProvider in jar /C:/Program%20Files/Cryptomator/app/mods/fuse-nio-adapter-4.0.0.jar
19:38:13.695 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - MountService: Found implementation: org.cryptomator.frontend.fuse.mount.MacFuseMountProvider in jar /C:/Program%20Files/Cryptomator/app/mods/fuse-nio-adapter-4.0.0.jar
19:38:13.696 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - MountService: Found implementation: org.cryptomator.frontend.fuse.mount.FuseTMountProvider in jar /C:/Program%20Files/Cryptomator/app/mods/fuse-nio-adapter-4.0.0.jar
19:38:13.696 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - MountService: Found implementation: org.cryptomator.frontend.fuse.mount.WinFspMountProvider in jar /C:/Program%20Files/Cryptomator/app/mods/fuse-nio-adapter-4.0.0.jar
19:38:13.697 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - MountService: Found implementation: org.cryptomator.frontend.fuse.mount.WinFspNetworkMountProvider in jar /C:/Program%20Files/Cryptomator/app/mods/fuse-nio-adapter-4.0.0.jar
19:38:13.698 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - MountService: Found implementation: org.cryptomator.frontend.webdav.mount.MacAppleScriptMounter in jar /C:/Program%20Files/Cryptomator/app/mods/webdav-nio-adapter-2.0.6.jar
19:38:13.698 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - MountService: Found implementation: org.cryptomator.frontend.webdav.mount.FallbackMounter in jar /C:/Program%20Files/Cryptomator/app/mods/webdav-nio-adapter-2.0.6.jar
19:38:13.699 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - MountService: Found implementation: org.cryptomator.frontend.webdav.mount.WindowsMounter in jar /C:/Program%20Files/Cryptomator/app/mods/webdav-nio-adapter-2.0.6.jar
19:38:13.699 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - MountService: Found implementation: org.cryptomator.frontend.webdav.mount.LinuxGioMounter in jar /C:/Program%20Files/Cryptomator/app/mods/webdav-nio-adapter-2.0.6.jar
19:38:13.699 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - MountService: Found implementation: org.cryptomator.frontend.dokany.mount.DokanyMountProvider in jar /C:/Program%20Files/Cryptomator/app/mods/dokany-nio-adapter-2.0.0.jar
19:38:13.702 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - MountService: Implementation is available: org.cryptomator.frontend.fuse.mount.WinFspNetworkMountProvider
19:38:13.721 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - MountService: Implementation is available: org.cryptomator.frontend.fuse.mount.WinFspMountProvider
19:38:13.722 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - MountService: Implementation is available: org.cryptomator.frontend.dokany.mount.DokanyMountProvider
19:38:13.797 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - MountService: Implementation is available: org.cryptomator.frontend.webdav.mount.WindowsMounter
19:38:13.797 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - MountService: Implementation is available: org.cryptomator.frontend.webdav.mount.FallbackMounter
19:38:13.801 [JavaFX Application Thread] DEBUG o.cryptomator.common.CommonsModule - Starting App Scheduled Executor 01
19:38:13.801 [App Scheduled Executor 01] DEBUG o.cryptomator.common.CommonsModule - Starting App Scheduled Executor 02
19:38:13.803 [JavaFX Application Thread] DEBUG o.c.i.common.ClassLoaderFactory - Found jars in cryptomator.pluginDir: 
19:38:13.803 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - UiAppearanceProvider: Found implementation: org.cryptomator.windows.uiappearance.WinUiAppearanceProvider in jar /C:/Program%20Files/Cryptomator/app/mods/integrations-win-1.2.5.jar
19:38:13.804 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - UiAppearanceProvider: Implementation is available: org.cryptomator.windows.uiappearance.WinUiAppearanceProvider
19:38:13.818 [JavaFX Application Thread] TRACE o.cryptomator.ui.fxapp.FxApplication - FxApplication.start()
19:38:13.895 [JavaFX Application Thread] DEBUG o.c.ui.fxapp.FxApplicationTerminator - Enabling sudden termination
19:38:13.898 [JavaFX Application Thread] DEBUG o.c.i.common.ClassLoaderFactory - Found jars in cryptomator.pluginDir: 
19:38:13.899 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - TrayMenuController: Found implementation: org.cryptomator.ui.traymenu.AwtTrayMenuController in jar /C:/Program%20Files/Cryptomator/app/mods/cryptomator-1.12.3.jar
19:38:13.904 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - TrayMenuController: Implementation is available: org.cryptomator.ui.traymenu.AwtTrayMenuController
19:38:13.968 [JavaFX Application Thread] DEBUG o.c.u.traymenu.AwtTrayMenuController - initialized tray icon
19:38:13.975 [JavaFX Application Thread] DEBUG o.cryptomator.common.CommonsModule - Starting App Background Thread 001
19:38:14.289 [JavaFX Application Thread] DEBUG o.cryptomator.ui.common.FontLoader - Loaded family: Font Awesome 5 Free Solid
19:38:14.307 [JavaFX Application Thread] TRACE o.c.u.m.MainWindowTitleController - init MainWindowTitleController
19:38:14.326 [JavaFX Application Thread] DEBUG o.c.i.common.ClassLoaderFactory - Found jars in cryptomator.pluginDir: 
19:38:14.328 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - KeychainAccessProvider: Found implementation: org.cryptomator.windows.keychain.WindowsProtectedKeychainAccess in jar /C:/Program%20Files/Cryptomator/app/mods/integrations-win-1.2.5.jar
19:38:14.329 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - KeychainAccessProvider: Implementation is available: org.cryptomator.windows.keychain.WindowsProtectedKeychainAccess
19:38:14.392 [JavaFX Application Thread] DEBUG o.c.i.common.ClassLoaderFactory - Found jars in cryptomator.pluginDir: 
19:38:14.393 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - RevealPathService: Found implementation: org.cryptomator.windows.revealpath.ExplorerRevealPathService in jar /C:/Program%20Files/Cryptomator/app/mods/integrations-win-1.2.5.jar
19:38:14.393 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - RevealPathService: Implementation is available: org.cryptomator.windows.revealpath.ExplorerRevealPathService
19:38:14.440 [JavaFX Application Thread] TRACE o.c.ui.mainwindow.ResizeController - init ResizeController
19:38:14.442 [JavaFX Application Thread] TRACE o.c.u.m.MainWindowController - init MainWindowController
19:38:14.730 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Main window initialized after 1750ms
19:38:19.310 [JavaFX Application Thread] DEBUG o.cryptomator.common.CommonsModule - Starting App Background Thread 002
19:38:19.311 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.UpdateChecker - Checking for updates...
19:38:20.511 [JavaFX Application Thread] INFO  o.cryptomator.ui.fxapp.UpdateChecker - Current version: 1.12.3, lastest version: 1.12.3

Anything else?

cryptomator was working fine when i initially installed it. the only change i can remember making which may have impacted the ability of cryptomator to function properly was installing and configuring FileCloud on my system. but i'm not sure how exactly it would've affected cryptomator. i know it affected an install of stable diffusion i had, by changing the PATH of python, so something similar might've happened here. i'm just not sure what exactly

@Kapowpenguin1 Kapowpenguin1 added the type:bug Something isn't working label Feb 29, 2024
@infeo
Copy link
Member

infeo commented Feb 29, 2024

@Kapowpenguin1 Can you provide us with the crash log? Follow these instructions to create one:

  1. Quit Cryptomator (no running in tray!)
  2. Open Powershell
  3. Copy Cryptomator config file to your user directory:
    Copy-Item -Path "C:\Program Files\Cryptomator\app\Cryptomator.cfg" -Destination "$env:APPDATA\Cryptomator\"
    
  4. Append crashlog option to the config:
    "java-options=-XX:ErrorFile=`"$env:USERPROFILE\cryptomator_crash.log`"" >> "$env:APPDATA\Cryptomator\Cryptomator.cfg"
    
  5. Restart Cryptomator and provoke the crash
  6. Remove the temporary config file
    Remove-Item -Path "$env:APPDATA\Cryptomator\Cryptomator.cfg"
    

In your home folder you should see the file cryptomator_crash.log. Post the file here.

@infeo infeo added the state:awaiting-response We need further input from the issue author label Feb 29, 2024
@Kapowpenguin1
Copy link
Author

Kapowpenguin1 commented Feb 29, 2024

@Kapowpenguin1 Can you provide us with the crash log? Follow these instructions to create one:

1. Quit Cryptomator (no running in tray!)

2. Open Powershell

3. Copy Cryptomator config file to your user directory:
   ```
   Copy-Item -Path "C:\Program Files\Cryptomator\app\Cryptomator.cfg" -Destination "$env:APPDATA\Cryptomator\"
   ```

4. Append crashlog option to the config:
   ```
   "java-options=-XX:ErrorFile=`"$env:USERPROFILE\cryptomator_crash.log`"" >> "$env:APPDATA\Cryptomator\Cryptomator.cfg"
   ```

5. Restart Cryptomator and provoke the crash

6. Remove the temporary config file
   ```
   Remove-Item -Path "$env:APPDATA\Cryptomator\Cryptomator.cfg"
   ```

In your home folder you should see the file cryptomator_crash.log. Post the file here.

unfortunately, i don't seem to see any file of the sort. i looked under "C:", "C:\Users\user", and did a search for "cryptomator_crash" using WizTree [file explorer was taking too long] and none of those yielded any results. however, i see that java seems to be involved in this process. does cryptomator use a specific version of java? bc i know that i changed the PATH for java while i was installing FIleCloud [to jdk 11.0.2]

@infeo
Copy link
Member

infeo commented Feb 29, 2024

unfortunately, i don't seem to see any file of the sort.

Strange. In our forum we have another user reporting the exactly same problem (thread is in german). I also asked for a crash log and the user also reported that none was created.

@Kapowpenguin1 Can you post the value of your PATH variable then?

$env:Path

Additionally, i would like to ensure, that in the above crashlog instructions the copied config file is really used. To do so, can you repeat the instructions, but add between step 4 and 5 a new step?

  1. .5 Change version number of Cryptomator to 1.99.0
    (Get-Content -Raw -Path "$env:APPDATA\Cryptomator\Cryptomator.cfg") -creplace 'appVersion=1.12.3','appVersion=1.99.0' | Set-Content -Path "$env:APPDATA\Cryptomator\Cryptomator.cfg"

Before performing step 5, please check the current version in the general preferences, tab "Updates". It should be 1.99.0.

@infeo infeo added state:awaiting-response We need further input from the issue author and removed state:awaiting-response We need further input from the issue author labels Feb 29, 2024
@Kapowpenguin1
Copy link
Author

Kapowpenguin1 commented Feb 29, 2024

unfortunately, i don't seem to see any file of the sort.

Strange. In our forum we have another user reporting the exactly same problem (thread is in german). I also asked for a crash log and the user also reported that none was created.

@Kapowpenguin1 Can you post the value of your PATH variable then?

$env:Path

Additionally, i would like to ensure, that in the above crashlog instructions the copied config file is really used. To do so, can you repeat the instructions, but add between step 4 and 5 a new step?

4. .5 Change version number of Cryptomator to 1.99.0
   ```powershell
   (Get-Content -Raw -Path "$env:APPDATA\Cryptomator\Cryptomator.cfg") -creplace 'appVersion=1.12.3','appVersion=1.99.0' | Set-Content -Path "$env:APPDATA\Cryptomator\Cryptomator.cfg"
   ```

Before performing step 5, please check the current version in the general preferences, tab "Updates". It should be 1.99.0.

PATH variable:

C:\Program Files (x86)\VMware\VMware Player\bin\;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\chocolatey\bin;C:\Program Files\WireGuard\;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\nodejs\;D:\Program Files\Amazon CLI\;D:\Program Files\Git\cmd;D:\Program Files\TortoiseSVN\bin;D:\Program Files\CMake\bin;D:\Program Files\UltraEdit;C:\Program Files\Docker\Docker\resources\bin;C:\xampp\php;C:\xampp\ffmpeg\bin;C:\xampp\LibreOfficePortable\App\LibreOffice64\program;D:\Program_Files\Python\Python3-10\Scripts\;D:\Program_Files\Python\Python3-10\;D:\Program_Files\Python\Python3-9\Scripts\;D:\Program_Files\Python\Python3-9\;D:\Program Files\Python\310\Scripts\;D:\Program Files\Python\310\;C:\Users\user\AppData\Local\Microsoft\WindowsApps;c:\users\user\appdata\local\programs\python\python310\lib\site-packages;C:\Users\user\AppData\Roaming\npm;C:\Users\user\AppData\Local\Android\Sdk\platform-tools;C:\Users\user\AppData\Local\Android\Sdk\tools;D:\Program_Files\Microsoft VS Code\bin

4.5: same deal, went through the modified steps [and cryptomator showed 1.99.0] but still no cryptomator_crash anywhere

@infeo
Copy link
Member

infeo commented Mar 1, 2024

Okay, let's take out bigger guns. You can download a debug version of Cryptomator here

To ensure, that it is a valid installer, you can use its SH256-Checksum: f83cefbd3b7bf3d013ae84463185df2d7f730e2ea60cb61faac0152aefaaeccd

The debug version always opens a terminal. In the terminal, application log and output of the gui framework is shown.

@Kapowpenguin1 Can you uninstall current Cryptomator version and install the debug one? Then start it with the following command in Powershell:

& "C:\Program Files\Cryptomator\Cryptomator.exe" 2>&1 > .\cryptomatorDebug.log

Trigger the crash and afterwards paste the content of cryptomatorDebug.log here.

@infeo infeo added state:awaiting-response We need further input from the issue author and removed state:awaiting-response We need further input from the issue author labels Mar 1, 2024
@Kapowpenguin1
Copy link
Author

Kapowpenguin1 commented Mar 1, 2024

Okay, let's take out bigger guns. You can download a debug version of Cryptomator here

To ensure, that it is a valid installer, you can use its SH256-Checksum: f83cefbd3b7bf3d013ae84463185df2d7f730e2ea60cb61faac0152aefaaeccd

The debug version always opens a terminal. In the terminal, application log and output of the gui framework is shown.

@Kapowpenguin1 Can you uninstall current Cryptomator version and install the debug one? Then start it with the following command in Powershell:

& "C:\Program Files\Cryptomator\Cryptomator.exe" 2>&1 > .\cryptomatorDebug.log

Trigger the crash and afterwards paste the content of cryptomatorDebug.log here.

the log is too big so i think i have to share it as a file
cryptomatorDebug.log

@infeo
Copy link
Member

infeo commented Mar 4, 2024

@Kapowpenguin1 thanks for the log. Unfortunately, another let-down, there is no sign, why the app terminated suddenly.

I followed the track of "FileCloud app changed something", but on my Windows 11 VM after installing FileCloud Drive, i could still open and use the file picker dialog with the choose button.

If you install Cryptomator 1.11.1, does it then work?

Another guess of me is an external applicaiton, e.g. antivirus software. It could kill Cryptomator immediately with the TerminateProcess-API.

@infeo infeo added state:awaiting-response We need further input from the issue author and removed state:awaiting-response We need further input from the issue author labels Mar 4, 2024
@Kapowpenguin1
Copy link
Author

@Kapowpenguin1 thanks for the log. Unfortunately, another let-down, there is no sign, why the app terminated suddenly.

I followed the track of "FileCloud app changed something", but on my Windows 11 VM after installing FileCloud Drive, i could still open and use the file picker dialog with the choose button.

If you install Cryptomator 1.11.1, does it then work?

Another guess of me is an external applicaiton, e.g. antivirus software. It could kill Cryptomator immediately with the TerminateProcess-API.

unfortunately, 1.11.1 seems to have the same issue.
is there some sort of system log that might be able to show what's causing cryptomator to crash?

@Kapowpenguin1
Copy link
Author

@Kapowpenguin1 thanks for the log. Unfortunately, another let-down, there is no sign, why the app terminated suddenly.

I followed the track of "FileCloud app changed something", but on my Windows 11 VM after installing FileCloud Drive, i could still open and use the file picker dialog with the choose button.

If you install Cryptomator 1.11.1, does it then work?

Another guess of me is an external applicaiton, e.g. antivirus software. It could kill Cryptomator immediately with the TerminateProcess-API.

i decided to try using procmon to see what cryptomator was up to:
image
does anything look off here?

@infeo
Copy link
Member

infeo commented Mar 4, 2024

i decided to try using procmon

That is indeed a good idea! @Kapowpenguin1 Can you provide the procmon log file by storing/exporting it? Since those can be quire big, i think it is enough to start the procmon capture right before you click the choose button in the Cryptomator GUI. You can start or stop the capture with "CRTL+E" shortcut.

@infeo infeo added state:awaiting-response We need further input from the issue author and removed state:awaiting-response We need further input from the issue author labels Mar 4, 2024
@Kapowpenguin1
Copy link
Author

Kapowpenguin1 commented Mar 4, 2024

i decided to try using procmon

That is indeed a good idea! @Kapowpenguin1 Can you provide the procmon log file by storing/exporting it? Since those can be quire big, i think it is enough to start the procmon capture right before you click the choose button in the Cryptomator GUI. You can start or stop the capture with "CRTL+E" shortcut.

Logfile.CSV
this should be it. i'm assuming the relevant section is the "process exit" bit at the bottom

@infeo
Copy link
Member

infeo commented Mar 5, 2024

The error code contained in it is already helpful: -1073741819 , meaning 0xC0000005 or STATUS_ACCESS_VIOLATION. It can also be seen, that WerFault.exe is called, which creates a minidump in %localappdata%/Crashdumps.

@Kapowpenguin1 Can you send this minidump? It's name should be something like Cryptomator.exe.XXX.dmp.

@infeo infeo added state:awaiting-response We need further input from the issue author and removed state:awaiting-response We need further input from the issue author labels Mar 5, 2024
@Kapowpenguin1
Copy link
Author

%localappdata%/Crashdumps

Cryptomator.exe.21796.dmp
i'm guessing this is it

@infeo infeo removed the state:awaiting-response We need further input from the issue author label Mar 5, 2024
@infeo
Copy link
Member

infeo commented Mar 6, 2024

Finally! We found the culprit: dokan1.dll.

*******************************************************************************
*                                                                             *
*                        Exception Analysis                                   *
*                                                                             *
*******************************************************************************

*** WARNING: Unable to verify timestamp for jli.dll
*** WARNING: Unable to verify timestamp for jvm.dll
*** WARNING: Unable to verify timestamp for awt.dll
*** WARNING: Unable to verify timestamp for nio.dll
*** WARNING: Unable to verify timestamp for glass.dll

KEY_VALUES_STRING: 1

    Key  : AV.Dereference
    Value: NullClassPtr

    Key  : AV.Fault
    Value: Write

    Key  : Analysis.CPU.mSec
    Value: 14109

    Key  : Analysis.DebugAnalysisManager
    Value: Create

    Key  : Analysis.Elapsed.mSec
    Value: 20188

    Key  : Analysis.Init.CPU.mSec
    Value: 608

    Key  : Analysis.Init.Elapsed.mSec
    Value: 22768

    Key  : Analysis.Memory.CommitPeak.Mb
    Value: 201

    Key  : Timeline.OS.Boot.DeltaSec
    Value: 94376

    Key  : Timeline.Process.Start.DeltaSec
    Value: 12

    Key  : WER.OS.Branch
    Value: ni_release

    Key  : WER.OS.Timestamp
    Value: 2022-05-06T12:50:00Z

    Key  : WER.OS.Version
    Value: 10.0.22621.1

    Key  : WER.Process.Version
    Value: 10.0.17763.132


FILE_IN_CAB:  Cryptomator.exe.21796.dmp

NTGLOBALFLAG:  0

PROCESS_BAM_CURRENT_THROTTLED: 0

PROCESS_BAM_PREVIOUS_THROTTLED: 0

APPLICATION_VERIFIER_FLAGS:  0

CONTEXT:  (.ecxr)
rax=0000000000000001 rbx=0000000000000000 rcx=00000050e65f8c70
rdx=0000000000000020 rsi=0000000000000000 rdi=0000000000000000
rip=00007ffd78fa6f1e rsp=00000050e65f8ba0 rbp=0000000000000000
 r8=0000000000000001  r9=00000050e65f8c48 r10=0000000000000003
r11=00000050e65f8ad0 r12=0000000000004000 r13=000001695d5ce080
r14=000001695d5ca080 r15=0000000000000000
iopl=0         nv up ei pl zr na po nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010246
dokan1+0x6f1e:
00007ffd`78fa6f1e 8932            mov     dword ptr [rdx],esi ds:00000000`00000020=????????
Resetting default scope

EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 00007ffd78fa6f1e (dokan1+0x0000000000006f1e)
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 0000000000000001
   Parameter[1]: 0000000000000020
Attempt to write to address 0000000000000020

PROCESS_NAME:  Cryptomator.exe

WRITE_ADDRESS:  0000000000000020 

ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.

EXCEPTION_CODE_STR:  c0000005

EXCEPTION_PARAMETER1:  0000000000000001

EXCEPTION_PARAMETER2:  0000000000000020

IP_ON_HEAP:  006e0069003e002d
The fault address in not in any loaded module, please check your build's rebase
log at <releasedir>\bin\build_logs\timebuild\ntrebase.log for module which may
contain the address if it were loaded.

FRAME_ONE_INVALID: 1

STACK_TEXT:  
00000050`e65f8ba0 006e0069`003e002d     : 00200078`00650064 00000000`000a0030 00000050`e65f8c18 0000e65e`02f3f3a9 : dokan1+0x6f1e
00000050`e65f8ba8 00200078`00650064     : 00000000`000a0030 00000050`e65f8c18 0000e65e`02f3f3a9 00000000`00000000 : 0x006e0069`003e002d
00000050`e65f8bb0 00000000`000a0030     : 00000050`e65f8c18 0000e65e`02f3f3a9 00000000`00000000 00000000`00000000 : 0x00200078`00650064
00000050`e65f8bb8 00000050`e65f8c18     : 0000e65e`02f3f3a9 00000000`00000000 00000000`00000000 00000169`5d5ca080 : 0xa0030
00000050`e65f8bc0 0000e65e`02f3f3a9     : 00000000`00000000 00000000`00000000 00000169`5d5ca080 00000000`00000000 : 0x00000050`e65f8c18
00000050`e65f8bc8 00000000`00000000     : 00000000`00000000 00000169`5d5ca080 00000000`00000000 00000169`5d5ca080 : 0x0000e65e`02f3f3a9


SYMBOL_NAME:  dokan1+6f1e

MODULE_NAME: dokan1

IMAGE_NAME:  dokan1.dll

STACK_COMMAND:  ~64s; .ecxr ; kb

FAILURE_BUCKET_ID:  NULL_CLASS_PTR_WRITE_c0000005_dokan1.dll!Unknown

OS_VERSION:  10.0.22621.1

BUILDLAB_STR:  ni_release

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

IMAGE_VERSION:  1.5.1.1000

FAILURE_ID_HASH:  {c2e59efc-da0f-5763-ac76-b0693bef4c89}

Followup:     MachineOwner

@Kapowpenguin1 Are you still using Dokan as the volume type? If not, i suggest to remove it (can be done via system settings) and try again.

@infeo infeo added the state:awaiting-response We need further input from the issue author label Mar 6, 2024
@infeo infeo mentioned this issue Mar 6, 2024
2 tasks
@Kapowpenguin1
Copy link
Author

Kapowpenguin1 commented Mar 6, 2024

Finally! We found the culprit: dokan1.dll.

*******************************************************************************
*                                                                             *
*                        Exception Analysis                                   *
*                                                                             *
*******************************************************************************

*** WARNING: Unable to verify timestamp for jli.dll
*** WARNING: Unable to verify timestamp for jvm.dll
*** WARNING: Unable to verify timestamp for awt.dll
*** WARNING: Unable to verify timestamp for nio.dll
*** WARNING: Unable to verify timestamp for glass.dll

KEY_VALUES_STRING: 1

    Key  : AV.Dereference
    Value: NullClassPtr

    Key  : AV.Fault
    Value: Write

    Key  : Analysis.CPU.mSec
    Value: 14109

    Key  : Analysis.DebugAnalysisManager
    Value: Create

    Key  : Analysis.Elapsed.mSec
    Value: 20188

    Key  : Analysis.Init.CPU.mSec
    Value: 608

    Key  : Analysis.Init.Elapsed.mSec
    Value: 22768

    Key  : Analysis.Memory.CommitPeak.Mb
    Value: 201

    Key  : Timeline.OS.Boot.DeltaSec
    Value: 94376

    Key  : Timeline.Process.Start.DeltaSec
    Value: 12

    Key  : WER.OS.Branch
    Value: ni_release

    Key  : WER.OS.Timestamp
    Value: 2022-05-06T12:50:00Z

    Key  : WER.OS.Version
    Value: 10.0.22621.1

    Key  : WER.Process.Version
    Value: 10.0.17763.132


FILE_IN_CAB:  Cryptomator.exe.21796.dmp

NTGLOBALFLAG:  0

PROCESS_BAM_CURRENT_THROTTLED: 0

PROCESS_BAM_PREVIOUS_THROTTLED: 0

APPLICATION_VERIFIER_FLAGS:  0

CONTEXT:  (.ecxr)
rax=0000000000000001 rbx=0000000000000000 rcx=00000050e65f8c70
rdx=0000000000000020 rsi=0000000000000000 rdi=0000000000000000
rip=00007ffd78fa6f1e rsp=00000050e65f8ba0 rbp=0000000000000000
 r8=0000000000000001  r9=00000050e65f8c48 r10=0000000000000003
r11=00000050e65f8ad0 r12=0000000000004000 r13=000001695d5ce080
r14=000001695d5ca080 r15=0000000000000000
iopl=0         nv up ei pl zr na po nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010246
dokan1+0x6f1e:
00007ffd`78fa6f1e 8932            mov     dword ptr [rdx],esi ds:00000000`00000020=????????
Resetting default scope

EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 00007ffd78fa6f1e (dokan1+0x0000000000006f1e)
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 0000000000000001
   Parameter[1]: 0000000000000020
Attempt to write to address 0000000000000020

PROCESS_NAME:  Cryptomator.exe

WRITE_ADDRESS:  0000000000000020 

ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.

EXCEPTION_CODE_STR:  c0000005

EXCEPTION_PARAMETER1:  0000000000000001

EXCEPTION_PARAMETER2:  0000000000000020

IP_ON_HEAP:  006e0069003e002d
The fault address in not in any loaded module, please check your build's rebase
log at <releasedir>\bin\build_logs\timebuild\ntrebase.log for module which may
contain the address if it were loaded.

FRAME_ONE_INVALID: 1

STACK_TEXT:  
00000050`e65f8ba0 006e0069`003e002d     : 00200078`00650064 00000000`000a0030 00000050`e65f8c18 0000e65e`02f3f3a9 : dokan1+0x6f1e
00000050`e65f8ba8 00200078`00650064     : 00000000`000a0030 00000050`e65f8c18 0000e65e`02f3f3a9 00000000`00000000 : 0x006e0069`003e002d
00000050`e65f8bb0 00000000`000a0030     : 00000050`e65f8c18 0000e65e`02f3f3a9 00000000`00000000 00000000`00000000 : 0x00200078`00650064
00000050`e65f8bb8 00000050`e65f8c18     : 0000e65e`02f3f3a9 00000000`00000000 00000000`00000000 00000169`5d5ca080 : 0xa0030
00000050`e65f8bc0 0000e65e`02f3f3a9     : 00000000`00000000 00000000`00000000 00000169`5d5ca080 00000000`00000000 : 0x00000050`e65f8c18
00000050`e65f8bc8 00000000`00000000     : 00000000`00000000 00000169`5d5ca080 00000000`00000000 00000169`5d5ca080 : 0x0000e65e`02f3f3a9


SYMBOL_NAME:  dokan1+6f1e

MODULE_NAME: dokan1

IMAGE_NAME:  dokan1.dll

STACK_COMMAND:  ~64s; .ecxr ; kb

FAILURE_BUCKET_ID:  NULL_CLASS_PTR_WRITE_c0000005_dokan1.dll!Unknown

OS_VERSION:  10.0.22621.1

BUILDLAB_STR:  ni_release

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

IMAGE_VERSION:  1.5.1.1000

FAILURE_ID_HASH:  {c2e59efc-da0f-5763-ac76-b0693bef4c89}

Followup:     MachineOwner

@Kapowpenguin1 Are you still using Dokan as the volume type? If not, i suggest to remove it (can be done via system settings) and try again.

are you still using dokan

i have no idea what dokan is. my settings > virtual drive > default volume type has always been "Automatic"

@infeo
Copy link
Member

infeo commented Mar 6, 2024

@Kapowpenguin1 You can check out the docs what Dokany is. Ensure, that WinFsp is installed (by using the Cryptomator EXE installer). Afterwards you can uninstall Dokany.

@infeo infeo added state:awaiting-response We need further input from the issue author and removed state:awaiting-response We need further input from the issue author labels Mar 6, 2024
@Kapowpenguin1
Copy link
Author

Kapowpenguin1 commented Mar 6, 2024

@Kapowpenguin1 You can check out the docs what Dokany is. Ensure, that WinFsp is installed (by using the Cryptomator EXE installer). Afterwards you can uninstall Dokany.

i looked up "dokany" under "installed apps" in settings, uninstalled it, and cryptomator immediately began working properly again. it's so weird bc it wasn't giving me any problems before, but ig it was the culprit for some reason? i don't get it. anyways, i appreciate your guidance through this

@infeo infeo removed the state:awaiting-response We need further input from the issue author label Mar 6, 2024
@infeo
Copy link
Member

infeo commented Mar 7, 2024

Issue will be fixed with #3361.

@infeo infeo closed this as completed in 4a1eaf2 Mar 12, 2024
@infeo infeo added this to the minor milestone Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os:windows type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants