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

Error writing to vault on certain Windows 11 builds #2239

Closed
2 tasks done
callibsoffm opened this issue May 8, 2022 · 7 comments
Closed
2 tasks done

Error writing to vault on certain Windows 11 builds #2239

callibsoffm opened this issue May 8, 2022 · 7 comments
Labels
type:bug Something isn't working

Comments

@callibsoffm
Copy link

Please agree to the following

Summary

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

What software is involved?

  • Operating System: Windows 11 64 bit Build 22000.6123 und 22616.1
  • Cryptomator: 1.6.9 und 1.6.10

Volume Type

FUSE, Dokany

Steps to Reproduce

  1. Open an existing vault either under Fuse or under Dokany
  2. Try to save new files in it.
  3. ERROR:
    cryptomator

Expected Behavior

Save the file in vault

Actual Behavior

See Error

Reproducibility

Always

Relevant Log Output

No response

Anything else?

No response

@callibsoffm callibsoffm added the type:bug Something isn't working label May 8, 2022
@infeo
Copy link
Member

infeo commented May 10, 2022

With Build 22000.613 I cannot reproduce the problem.

@callibsoffm Is this problem reproducable with a new vault located in your user Documents directory? And can you proide a log file with Debug-Mode enabled?

@enricodetoma
Copy link

Same error (0x800703E6) with Windows 11 22H2 build 22616.1.
The problem was already present in Cryptomator 1.6.8, I upgraded to 1.6.10 but didn't change.
The log below is from Cryptomator 1.6.10, trying to copy file desktop.ini to the root of the mounted drive:

12:12:23.797 [dokanMount-1-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - zwCreateFile() is called for /desktop.ini with the following parameters:
	CreateDisposition -- OPEN_EXISTING
	createOptions -- [FILE_DIRECTORY_FILE, FILE_SYNCHRONOUS_IO_NONALERT]
	accessMasks -- [SYNCHRONIZE]
	fileAccessMasks -- []
	fileAttributes -- [].
12:12:23.798 [dokanMount-1-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - Try to open /desktop.ini as Directory.
12:12:23.798 [dokanMount-1-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - /desktop.ini not found.
12:12:23.798 [dokanMount-1-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 -- [].
12:12:23.799 [dokanMount-1-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - Try to open / as Directory.
12:12:23.799 [dokanMount-1-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - (79) / opened successful with handle 79.
12:12:23.799 [dokanMount-1-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (79) getFileInformation() is called for /.
12:12:23.799 [dokanMount-1-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (79) File Information successful read from /.
12:12:23.799 [dokanMount-1-callback-1] TRACE o.c.frontend.dokany.ReadWriteAdapter - (79) findFilesWithPattern() is called for / with search pattern desktop.ini.
12:12:23.800 [dokanMount-1-callback-1] TRACE o.c.c.dir.CryptoDirectoryStream - OPEN 
12:12:23.801 [dokanMount-1-callback-1] TRACE o.c.frontend.dokany.ReadWriteAdapter - (79) Successful searched content in /.
12:12:23.801 [dokanMount-1-callback-1] TRACE o.c.c.dir.CryptoDirectoryStream - CLOSE 
12:12:23.802 [dokanMount-1-callback-2] TRACE o.c.frontend.dokany.ReadWriteAdapter - (79) cleanup() is called for /.
12:12:23.802 [dokanMount-1-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - (79) closeFile() is called for /.
12:12:23.802 [dokanMount-1-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 -- [].
12:12:23.802 [dokanMount-1-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - Try to open / as Directory.
12:12:23.802 [dokanMount-1-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - (80) / opened successful with handle 80.
12:12:23.803 [dokanMount-1-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (80) getFileInformation() is called for /.
12:12:23.803 [dokanMount-1-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (80) File Information successful read from /.
12:12:23.803 [dokanMount-1-callback-1] TRACE o.c.frontend.dokany.ReadWriteAdapter - zwCreateFile() is called for / with the following parameters:
	CreateDisposition -- OPEN_EXISTING
	createOptions -- []
	accessMasks -- [SYNCHRONIZE]
	fileAccessMasks -- []
	fileAttributes -- [].
12:12:23.805 [dokanMount-1-callback-1] TRACE o.c.frontend.dokany.ReadWriteAdapter - Try to open / as Directory.
12:12:23.805 [dokanMount-1-callback-1] TRACE o.c.frontend.dokany.ReadWriteAdapter - (81) / opened successful with handle 81.
12:12:23.805 [dokanMount-1-callback-2] TRACE o.c.frontend.dokany.ReadWriteAdapter - (81) getFileInformation() is called for /.
12:12:23.805 [dokanMount-1-callback-2] TRACE o.c.frontend.dokany.ReadWriteAdapter - (81) File Information successful read from /.
12:12:23.805 [dokanMount-1-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - (81) cleanup() is called for /.
12:12:23.805 [dokanMount-1-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - (81) closeFile() is called for /.
12:12:23.827 [dokanMount-1-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 -- [].
12:12:23.827 [dokanMount-1-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - Try to open / as Directory.
12:12:23.827 [dokanMount-1-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (82) / opened successful with handle 82.
12:12:23.828 [dokanMount-1-callback-1] TRACE o.c.frontend.dokany.ReadWriteAdapter - getFreeDiskSpace() is called.
12:12:23.828 [dokanMount-1-callback-2] TRACE o.c.frontend.dokany.ReadWriteAdapter - (82) cleanup() is called for /.
12:12:23.828 [dokanMount-1-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - (82) closeFile() is called for /.
12:12:23.834 [dokanMount-1-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - zwCreateFile() is called for /desktop.ini 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, HIDDEN, SYSTEM]
	fileAttributes -- [ARCHIVE, HIDDEN, SYSTEM].
12:12:23.834 [dokanMount-1-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - Try to open /desktop.ini as File.
12:12:23.834 [dokanMount-1-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - Could not read file attributes.
12:12:23.842 [dokanMount-1-callback-3] TRACE o.c.cryptofs.fh.FileHeaderHolder - Generating file header for E:\Users\Enrico\Google Drive\crypto_google_drive\d\LW\QJ6BYQ336GST6FXLRJG7DJP76Z5IKJ\vfUGf7feijPclXySOdhO7sAceIBYkDnK0Qkz.c9r
12:12:23.842 [dokanMount-1-callback-3] DEBUG o.c.c.common.ReseedingSecureRandom - Seeding CSPRNG with 55 bytes...
12:12:23.844 [dokanMount-1-callback-3] DEBUG o.c.c.common.ReseedingSecureRandom - Seeded CSPRNG.
12:12:23.844 [dokanMount-1-callback-3] TRACE o.c.cryptofs.fh.OpenCryptoFile - First channel for this openFile. Initializing file size...
12:12:23.847 [dokanMount-1-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - (83) /desktop.ini opened successful with handle 83.
12:12:23.848 [dokanMount-1-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (83) getFileInformation() is called for /desktop.ini.
12:12:23.848 [dokanMount-1-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (83) File Information successful read from /desktop.ini.
12:12:23.848 [dokanMount-1-callback-1] TRACE o.c.frontend.dokany.ReadWriteAdapter - (83) getFileInformation() is called for /desktop.ini.
12:12:23.848 [dokanMount-1-callback-1] TRACE o.c.frontend.dokany.ReadWriteAdapter - (83) File Information successful read from /desktop.ini.
12:12:23.849 [dokanMount-1-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - (83) getFileInformation() is called for /desktop.ini.
12:12:23.849 [dokanMount-1-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - (83) File Information successful read from /desktop.ini.
12:12:23.849 [dokanMount-1-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - (83) setEndOfFile() is called for /desktop.ini.
12:12:23.850 [dokanMount-1-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - (83) Successful truncated /desktop.ini to size 282.
12:12:23.850 [dokanMount-1-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (83) getFileInformation() is called for /desktop.ini.
12:12:23.850 [dokanMount-1-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (83) File Information successful read from /desktop.ini.
12:12:23.850 [dokanMount-1-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (83) deleteFile() is called for /desktop.ini.
12:12:23.852 [dokanMount-1-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (83) Deletion of /desktop.ini possible.
12:12:23.852 [dokanMount-1-callback-1] TRACE o.c.frontend.dokany.ReadWriteAdapter - (83) cleanup() is called for /desktop.ini.
12:12:23.852 [dokanMount-1-callback-1] TRACE o.c.cryptofs.ch.CleartextFileChannel - org.cryptomator.cryptofs.ch.CleartextFileChannel@6d9bfd9 - Writing file header.
12:12:23.855 [dokanMount-1-callback-1] TRACE o.c.frontend.dokany.ReadWriteAdapter - (83) /desktop.ini successful deleted.
12:12:23.855 [dokanMount-1-callback-2] TRACE o.c.frontend.dokany.ReadWriteAdapter - (83) closeFile() is called for /desktop.ini.
12:12:26.122 [dokanMount-1-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - (80) cleanup() is called for /.
12:12:26.123 [dokanMount-1-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - (80) closeFile() is called for /.

@infeo
Copy link
Member

infeo commented May 12, 2022

@enricodetoma I see from the logs that you are using google drive. Does this error also appear, when a new, local (e.g. in your user documents directory) vault is used?

@callibsoffm
Copy link
Author

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. Writing data from within e.g. Word is without any problem.
Here the logfile of Cryptomator 1.6.8
cryptomator0.log

@enricodetoma
Copy link

UPDATE: with Windows 11 build 22621.1 the problem disappeared!

@infeo I didn't try with a vault in a different location: I checked for Windows update, noticed the new build and first of all I updated Windows, and that fixed it.

@callibsoffm
Copy link
Author

I can confirm this too

@infeo
Copy link
Member

infeo commented May 16, 2022

I'll close this as resolved.

For anyone reading this: It seems that Windows 11 Builds 22000.6123 und 22616.1 caused this bug and it was fixed with 22621.1

@infeo infeo closed this as completed May 16, 2022
@overheadhunter overheadhunter changed the title Since Cryptomator 1.6.9/10 no possibility to save new data Error writing to vault on certain Windows 11 builds May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants