Repository navigation
Description
Description
(I tried to open an issue but it was closed because ignored the template, but I failed to see where :( )
Hi,
After I made an in-place reinstall of Windows, I changed the Windows UI from English to Japanese. Then, I installed Cryptomator with WebDav and Dokan checked, the installation ran without any problems. However, when I tried to open Cryptomator, nothing happened, no window, no notification bar icon, but the Cryptomator process briefly appeared for a few seconds in task manager and then it is gone. I googled around and could find some issues with the JDK:
https://bugs.openjdk.java.net/browse/JDK-8241245
https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8249215
The attached log matches with the issues' log above, especially the exception thrown:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffa8f07f74a, pid=2100, tid=4492
If I change back the UI from Japanese to English it works, with no reinstall needed. And if I go back to Japanese, it doesn't work. Also, running as administrator makes no difference (except the log file is written to Cryptomator folder).
I have another computer in Japanese which I can use Cryptomator normally, but I think that Windows is already the Japanese version (not UI language changed) and I am using a old version of Cryptomator (I can't check now because I am out of the city).
Looks like it is not a Cryptomator bug per si, but it may indicate that the next release should use the version 16 of JDK?
System Setup
- Operating system and version:
Edition Windows 10 Home
Version 20H2
Data of installation 11/12/2020
OS Build 19042.685
Experience Pack Windows Feature Experience Pack 120.2212.551.0
Surface Pro 6 - Cryptomator version: 1.5.10.0
- Volume type: [Dokany/FUSE/WebDAV, shown in the settings]
Steps to Reproduce
- Install Windows 10 English Version
- Change the Windows UI to Japanese
- Try to open Cryptomator - nothing happens.
Expected Behavior
Cryptomator should open.
Actual Behavior
Cryptomator process briefly appears in task manager for a few seconds and then it is gone. Nothing else happens.
Reproducibility
Always
Additional Information
Log file attached, with some paths redacted. Log file is "C:\Program Files\Cryptomator\hs_err_pid2100.log". No Event Viewer logs.
%appdata%/Cryptomator log only has one line: 13:06:51.185 [main] INFO org.cryptomator.launcher.Cryptomator - Starting Cryptomator 1.5.10 on Windows 10 10.0 (amd64)
Workaround: Change Windows 10 UI to English :(
hs_err_pid2100.log
Thanks.
Activity
overheadhunter commentedon Dec 14, 2020
Thanks for reporting this. There is at least one other bug fixed in JDK 16, that I'm aware of. Therefore we'll update to JDK 16 asap.
childoftheabyss commentedon Dec 16, 2020
Finally arrived home, the version which works is 1.5.8 exe-174, in Windows 10 Version 2004. I needed to rollback the Windows version in the Surface Pro from 20H2 to 1909 due many "bugs" (Microsoft "decisions") not related to Cryptomator, installed the Japanese ISO, however version 1.5.10.0 didn't work any way. But the 1.5.8 works, so for now I'm sticking with it (looks like it uses JDK 14).
Thanks for the quick reply. I'll leave the issue open because I don't know if I should close.
overheadhunter commentedon Dec 16, 2020
If it isn't fixed with the current version, it is still an issue. Can you give 1.5.11 a try?
childoftheabyss commentedon Dec 16, 2020
Same error, process blinks, nothing happens. Version 1.5.11.
Log attached.
hs_err_pid15208.log
overheadhunter commentedon Dec 17, 2020
This crash log is identical of that in JDK-8241129, which is marked as duplicate of non-public JDK-8229126, which again is a duplicate of JDK-8249215, which points to the cause of this being
-Dfile.encoding=UTF-8.@childoftheabyss Can you try removing
-Dfile.encoding=UTF-8fromC:\Program Files\Cryptomator\app\Cryptomator.cfg?@infeo I think we introduced the file encoding because of WinFSP support, however I can't find any related issue that I can link this to. Is this not documented yet?
infeo commentedon Dec 17, 2020
Sure, here is the issue (unfortunately closed, but not fixed): SerCeMan/jnr-fuse#75
And a PR referencing it: SerCeMan/jnr-fuse#76
overheadhunter commentedon Dec 17, 2020
Not sure if we can consider that jnr-fuse PR a fix. It still requires UTF-8 and just prints a warning otherwise.
childoftheabyss commentedon Dec 17, 2020
It worked!
The %appdata%\Cryptomator log is:
Just to make sure that Japanese characters won't brake the app, I created the folder
~\Documents\テスト漢字\テストto store the encrypted volume and it mounted with no problems using Dokany and WebDAV. Is there something else I should test?overheadhunter commentedon Dec 17, 2020
Thanks for verifying this, nothing else to test atm.
@infeo I guess we should remove that
-Dfile.encoding=UTF-8again and reintroduce it not before the bug is fixed upstream with JDK 16. Until then, we need to postpone official WinFSP support.infeo commentedon Dec 18, 2020
We should be cautious about simply removing this line, because some users already tried (maybe even switched) to FUSE on Windows. If we remove it, it needs to be clearly communicated (even for users not reading release notes). A note in the installer would be good, but also the installer can be executed silent. Of course the latter might be more of an edge case.
overheadhunter commentedon Dec 18, 2020
Hard to tell if there is more users affected by this bug or already using WinFSP... 🤔
infeo commentedon Jan 13, 2021
For affected users there are two workarounds:
java-options=-Dfile.encoding=UTF-8fromC:\Program Files\Cryptomator\app\Cryptomator.cfgjava-options=-Duser.language=entoC:\Program Files\Cryptomator\app\Cryptomator.cfgBoth require admin rights.
infeo commentedon Mar 19, 2021
Fixed with update to JDK 16 in 31e938d