Unable to save files with Cryptomator 1.6.10

Since version 9/10 it is not possible to save new data in the vault. Neither with dokany nor with Fuse.

Windows 11 64bit.

Fehler: 0x800703E6: Unzulässiger Zugriff auf einen Speicherbereich

1 Like

I have same issue. Cannot move/copy file from any fold to vault. But can create/save new files within vault fold. Never happened before.
currently on 1.6.10 and Win11 Insider Preview 22616.1
Code 0x800703E6
Dokany

Just a datapoint (recognizing everyone has different configuration and experience): I have no problems moving items into my unlocked vault with file explorer and then editing them there… I’m using cryptomator 1.6.10 on a Windows 10 PC with WinFuse/WinFSP driver.

Maybe the problem is only occurring on Windows 11?

To be more specific, copy/move/drag files to vault is a no go, but open file in normal fold and “save as” into vault is a go… in win11 + 1.6.10

In deed it seems to be a W11 problem. Under same conditions on a W10 system there are no problems with saving/deleting.

for the records: Since Cryptomator 1.6.9/10 no possibility to save new data · Issue #2239 · cryptomator/cryptomator · GitHub

More information:
If I try to move a file to a vault with explorer I get the described error message.
If I write a file directly to the vault (e.g. avidemux, word, excel) everything works fine

As I wrote in the linked github ticket, i cannot reproduce this behaviour. @damienffm, @Jay_Yang Does this also happen, when you created a vault in your local user “Documents” directory?

And when you downgrade to 1.6.8, does the error still appear?

I tried creating new vault under documents, same issue. Below are debug info I found that may be relevant.


11:05:31.342 [dokanMount-4-callback-1] TRACE o.c.frontend.dokany.ReadWriteAdapter - Try to open / as Directory.
11:05:31.342 [dokanMount-4-callback-1] TRACE o.c.frontend.dokany.ReadWriteAdapter - (180) / opened successful with handle 180.
11:05:31.343 [dokanMount-4-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (180) getFileInformation() is called for /.
11:05:31.343 [dokanMount-4-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (180) File Information successful read from /.
11:05:31.343 [dokanMount-4-callback-2] TRACE o.c.frontend.dokany.ReadWriteAdapter - (180) getFileInformation() is called for /.
11:05:31.344 [dokanMount-4-callback-2] TRACE o.c.frontend.dokany.ReadWriteAdapter - (180) File Information successful read from /.
11:05:31.344 [dokanMount-4-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - (180) findFilesWithPattern() is called for / with search pattern zxhz.7z.
11:05:31.344 [dokanMount-4-callback-3] TRACE o.c.c.dir.CryptoDirectoryStream - OPEN 
11:05:31.344 [dokanMount-4-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - (180) Successful searched content in /.
11:05:31.345 [dokanMount-4-callback-3] TRACE o.c.c.dir.CryptoDirectoryStream - CLOSE 
11:05:31.345 [dokanMount-4-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - (180) cleanup() is called for /.
11:05:31.345 [dokanMount-4-callback-1] TRACE o.c.frontend.dokany.ReadWriteAdapter - (180) closeFile() is called for /.
11:05:31.345 [dokanMount-4-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - zwCreateFile() is called for / with the following parameters:
	CreateDisposition -- OPEN_EXISTING
	createOptions -- [FILE_DIRECTORY_FILE, FILE_SYNCHRONOUS_IO_NONALERT]
	accessMasks -- [SYNCHRONIZE]
	fileAccessMasks -- []
	fileAttributes -- [].
11:05:31.346 [dokanMount-4-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - Try to open / as Directory.
11:05:31.346 [dokanMount-4-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (181) / opened successful with handle 181.
11:05:31.346 [dokanMount-4-callback-2] TRACE o.c.frontend.dokany.ReadWriteAdapter - (181) getFileInformation() is called for /.
11:05:31.346 [dokanMount-4-callback-2] TRACE o.c.frontend.dokany.ReadWriteAdapter - (181) File Information successful read from /.
11:05:31.346 [dokanMount-4-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - (181) getFileInformation() is called for /.
11:05:31.347 [dokanMount-4-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - (181) File Information successful read from /.
11:05:31.347 [dokanMount-4-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - (181) findFilesWithPattern() is called for / with search pattern zxhz.zip.
11:05:31.347 [dokanMount-4-callback-4] TRACE o.c.c.dir.CryptoDirectoryStream - OPEN 
11:05:31.347 [dokanMount-4-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - (181) Successful searched content in /.
11:05:31.348 [dokanMount-4-callback-4] TRACE o.c.c.dir.CryptoDirectoryStream - CLOSE 
11:05:31.348 [dokanMount-4-callback-1] TRACE o.c.frontend.dokany.ReadWriteAdapter - (181) cleanup() is called for /.
11:05:31.348 [dokanMount-4-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (181) closeFile() is called for /.
11:05:31.406 [dokanMount-4-callback-2] TRACE o.c.frontend.dokany.ReadWriteAdapter - zwCreateFile() is called for / with the following parameters:
	CreateDisposition -- CREATE_NEW
	createOptions -- [FILE_DIRECTORY_FILE, FILE_SYNCHRONOUS_IO_NONALERT]
	accessMasks -- [SYNCHRONIZE]
	fileAccessMasks -- [NORMAL]
	fileAttributes -- [NORMAL].
11:05:31.406 [dokanMount-4-callback-2] TRACE o.c.frontend.dokany.ReadWriteAdapter - Try to open / as Directory.
11:05:31.407 [dokanMount-4-callback-2] WARN  c.dokany.java.DokanyOperationsProxy - zwCreateFile(): Uncaught exception. Returning generic failure code.
java.lang.NullPointerException: Cannot invoke "org.cryptomator.cryptofs.CryptoPath.toString()" because the return value of "org.cryptomator.cryptofs.CryptoPath.getFileName()" is null
	at org.cryptomator.cryptofs@2.4.1/org.cryptomator.cryptofs.CryptoFileSystemImpl.assertCleartextNameLengthAllowed(CryptoFileSystemImpl.java:624)
	at org.cryptomator.cryptofs@2.4.1/org.cryptomator.cryptofs.CryptoFileSystemImpl.createDirectory(CryptoFileSystemImpl.java:284)
	at org.cryptomator.cryptofs@2.4.1/org.cryptomator.cryptofs.CryptoFileSystemProvider.createDirectory(CryptoFileSystemProvider.java:234)
	at java.base/java.nio.file.Files.createDirectory(Unknown Source)
	at org.cryptomator.frontend.dokany@1.3.3/org.cryptomator.frontend.dokany.ReadWriteAdapter.createDirectory(ReadWriteAdapter.java:162)
	at org.cryptomator.frontend.dokany@1.3.3/org.cryptomator.frontend.dokany.ReadWriteAdapter.zwCreateFile(ReadWriteAdapter.java:147)
	at org.cryptomator.frontend.dokany@1.3.3/com.dokany.java.DokanyOperationsProxy$ZwCreateFileProxy.callback(DokanyOperationsProxy.java:123)
	at jdk.internal.reflect.GeneratedMethodAccessor119.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.jna.CallbackReference$DefaultCallbackProxy.invokeCallback(CallbackReference.java:579)
	at com.sun.jna.CallbackReference$DefaultCallbackProxy.callback(CallbackReference.java:610)
11:05:31.438 [dokanMount-4-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - zwCreateFile() is called for / with the following parameters:
	CreateDisposition -- OPEN_EXISTING
	createOptions -- [FILE_SYNCHRONOUS_IO_NONALERT]
	accessMasks -- [GENERIC_READ]
	fileAccessMasks -- []
	fileAttributes -- [].
11:05:31.438 [dokanMount-4-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - Try to open / as Directory.
11:05:31.438 [dokanMount-4-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - (182) / opened successful with handle 182.
11:05:31.439 [dokanMount-4-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - (182) getFileInformation() is called for /.
11:05:31.439 [dokanMount-4-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - (182) File Information successful read from /.
11:05:31.440 [dokanMount-4-callback-1] TRACE o.c.frontend.dokany.ReadWriteAdapter - (182) getFileInformation() is called for /.
11:05:31.440 [dokanMount-4-callback-1] TRACE o.c.frontend.dokany.ReadWriteAdapter - (182) File Information successful read from /.
11:05:31.440 [dokanMount-4-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (182) getFileInformation() is called for /.
11:05:31.440 [dokanMount-4-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (182) File Information successful read from /.
11:05:31.441 [dokanMount-4-callback-2] TRACE o.c.frontend.dokany.ReadWriteAdapter - getFreeDiskSpace() is called.
11:05:31.441 [dokanMount-4-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - (182) cleanup() is called for /.
11:05:31.442 [dokanMount-4-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - (182) closeFile() is called for /.
11:05:31.443 [dokanMount-4-callback-1] TRACE o.c.frontend.dokany.ReadWriteAdapter - zwCreateFile() is called for / with the following parameters:
	CreateDisposition -- OPEN_EXISTING
	createOptions -- [FILE_DIRECTORY_FILE, FILE_SYNCHRONOUS_IO_NONALERT]
	accessMasks -- [SYNCHRONIZE]
	fileAccessMasks -- []
	fileAttributes -- [].
11:14:37.018 [dokanMount-4-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - Try to open / as Directory.
11:14:37.019 [dokanMount-4-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - (281) / opened successful with handle 281.
11:14:37.019 [dokanMount-4-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (281) getFileInformation() is called for /.
11:14:37.019 [dokanMount-4-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (281) File Information successful read from /.
11:14:37.019 [dokanMount-4-callback-2] TRACE o.c.frontend.dokany.ReadWriteAdapter - (281) cleanup() is called for /.
11:14:37.021 [dokanMount-4-callback-1] TRACE o.c.frontend.dokany.ReadWriteAdapter - (281) closeFile() is called for /.
11:14:37.021 [dokanMount-4-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - zwCreateFile() is called for /brochure_eng.pdf with the following parameters:
	CreateDisposition -- CREATE_NEW
	createOptions -- [FILE_SEQUENTIAL_ONLY, FILE_SYNCHRONOUS_IO_NONALERT, FILE_NON_DIRECTORY_FILE]
	accessMasks -- [GENERIC_READ, GENERIC_WRITE, WRITE_DAC, DELETE]
	fileAccessMasks -- [ARCHIVE]
	fileAttributes -- [ARCHIVE].
11:14:37.021 [dokanMount-4-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - Try to open /brochure_eng.pdf as File.
11:14:37.021 [dokanMount-4-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - Could not read file attributes.
11:14:37.022 [dokanMount-4-callback-3] TRACE o.c.cryptofs.fh.FileHeaderHolder - Generating file header for C:\Users\zijia\Documents\testvault\d\GV\XUW7PILWOAPAAUJFGZYSUQW3Y7EUV3\n9apC-ICWjxzGh-qcjjuxa_guaxVSLi9QE62DHY0eoA=.c9r
11:14:37.022 [dokanMount-4-callback-3] TRACE o.c.cryptofs.fh.OpenCryptoFile - First channel for this openFile. Initializing file size...
11:14:37.024 [dokanMount-4-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - (282) /brochure_eng.pdf opened successful with handle 282.
11:14:37.024 [dokanMount-4-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - (282) getFileInformation() is called for /brochure_eng.pdf.
11:14:37.024 [dokanMount-4-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - (282) File Information successful read from /brochure_eng.pdf.
11:14:37.024 [dokanMount-4-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (282) getFileInformation() is called for /brochure_eng.pdf.
11:14:37.025 [dokanMount-4-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (282) File Information successful read from /brochure_eng.pdf.
11:14:37.025 [dokanMount-4-callback-2] TRACE o.c.frontend.dokany.ReadWriteAdapter - (282) getFileInformation() is called for /brochure_eng.pdf.
11:14:37.025 [dokanMount-4-callback-2] TRACE o.c.frontend.dokany.ReadWriteAdapter - (282) File Information successful read from /brochure_eng.pdf.
11:14:37.025 [dokanMount-4-callback-1] TRACE o.c.frontend.dokany.ReadWriteAdapter - (282) getFileInformation() is called for /brochure_eng.pdf.
11:14:37.027 [dokanMount-4-callback-1] TRACE o.c.frontend.dokany.ReadWriteAdapter - (282) File Information successful read from /brochure_eng.pdf.
11:14:37.027 [dokanMount-4-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - (282) getFileInformation() is called for /brochure_eng.pdf.
11:14:37.027 [dokanMount-4-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - (282) File Information successful read from /brochure_eng.pdf.
11:14:37.028 [dokanMount-4-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (282) getFileInformation() is called for /brochure_eng.pdf.
11:14:37.028 [dokanMount-4-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (282) File Information successful read from /brochure_eng.pdf.
11:14:37.029 [dokanMount-4-callback-2] TRACE o.c.frontend.dokany.ReadWriteAdapter - (282) getFileInformation() is called for /brochure_eng.pdf.
11:14:37.029 [dokanMount-4-callback-2] TRACE o.c.frontend.dokany.ReadWriteAdapter - (282) File Information successful read from /brochure_eng.pdf.
11:14:37.029 [dokanMount-4-callback-1] TRACE o.c.frontend.dokany.ReadWriteAdapter - (282) setEndOfFile() is called for /brochure_eng.pdf.
11:14:37.029 [dokanMount-4-callback-1] TRACE o.c.frontend.dokany.ReadWriteAdapter - (282) Successful truncated /brochure_eng.pdf to size 4202012.
11:14:37.030 [dokanMount-4-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - (282) getFileInformation() is called for /brochure_eng.pdf.
11:14:37.031 [dokanMount-4-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - (282) File Information successful read from /brochure_eng.pdf.
11:14:37.031 [dokanMount-4-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - (282) deleteFile() is called for /brochure_eng.pdf.
11:14:37.031 [dokanMount-4-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - (282) Deletion of /brochure_eng.pdf possible.
11:14:37.032 [dokanMount-4-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (282) getFileInformation() is called for /brochure_eng.pdf.
11:14:37.032 [dokanMount-4-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (282) File Information successful read from /brochure_eng.pdf.
11:14:37.032 [dokanMount-4-callback-2] TRACE o.c.frontend.dokany.ReadWriteAdapter - (282) cleanup() is called for /brochure_eng.pdf.
11:14:37.033 [dokanMount-4-callback-2] TRACE o.c.cryptofs.ch.CleartextFileChannel - org.cryptomator.cryptofs.ch.CleartextFileChannel@76873fd1 - Writing file header.
11:14:37.039 [dokanMount-4-callback-2] TRACE o.c.frontend.dokany.ReadWriteAdapter - (282) /brochure_eng.pdf successful deleted.
11:14:37.039 [dokanMount-4-callback-1] TRACE o.c.frontend.dokany.ReadWriteAdapter - (282) closeFile() is called for /brochure_eng.pdf.
11:14:37.043 [dokanMount-4-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - zwCreateFile() is called for / with the following parameters:
	CreateDisposition -- OPEN_EXISTING
	createOptions -- [FILE_DIRECTORY_FILE, FILE_SYNCHRONOUS_IO_NONALERT]
	accessMasks -- [SYNCHRONIZE]
	fileAccessMasks -- []
	fileAttributes -- [].

Now, I tried it with Cryptomator 1.6.8 same result. I tried to create a new vault, but it is not possibel to move or copy data. I moved the complete vault to a local drive, opened it, same result.

Here is the log file.
cryptomator0.log (301.1 KB)

With update on Windows 11 build 22621.1 everything works fine.

win11 update to 25115 and syndrome magically disappeared.

Well, seems to me that this was bug on the OS side. Windows updates not always fix bugs, but also might introduce new ones :laughing:

© 2022 Skymatic GmbH • Privacy PolicyImpressum