cryptomator / cryptomator

Multi-platform transparent client-side encryption of your files in the cloud

Home Page:https://cryptomator.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Apple Silicon/M1 Chip: Crashes on WebDAV when altering files

pawelostr opened this issue · comments

Description

When a vault is mounted and I try to rename any folder inside of it, computer freezes and in few seconds crashes and restarts. It produced no logs in debug mode.

System Setup

  • Operating system and version: macOS Big Sur 11.0.1
  • Cryptomator version: 1.5.10
  • Volume type: WebDAV

Steps to Reproduce

  1. Open a vault
  2. Rename a folder

Expected Behavior

Folder is renamed

Actual Behavior

Computer crashes

Reproducibility

Always

Additional Information

Tried to unmount a vault and now Finder doesn't work. Previously it was fine.

Tried to unmount a vault and now Finder doesn't work. Previously it was fine.

So I couldn't unmount it using cryptomator (it has necessary permissions), Finder wasn't working, and I couldn't reboot because Cryptomator was blocking it. I tried umount, so it crashed Terminal too. Had to force restart.

Edit:

After figuring out the log production and numbering systems, here they are:
cryptomator0.log
cryptomator1.log
cryptomator2.log

Having the same issue. I would assume this to be an issue with Cryptomator and Apple Silicon rather than an edge case.

Seems like I was a little bit premature with stating that it crashes on renaming a folder - it would appear it crashes on any file addition. I got too fixated on creating a folder.

This makes Cryptomator fully unusable for anything but viewing files.

@cryptomator any updates?

edit: if anyone needs it, Cyberduck (or Mountain Duck I think) works, badly - but works.

I'm unable to reproduce the issue. Could you please open Console.app and check if there are any "Crash Reports"?

Edit: Oh, @pawelostr are you also on Apple Silicon as @Jose-Tejera? I guess that's why I can't reproduce it?

@tobihagemann Yup, Apple Silicon

What happens if you connect to a WebDAV server via Finder (without Cryptomator at all). E.g., you can test https://webdavserver.com/. Does that crash as well?

Tried it, exactly the same crash. Upstream it would appear. Crash report attached (didn't copy all the ex's)

crash.txt

PS. swiping between images on iOS ain't upstream

So this knowledge led me to try FUSE (I have the latest version of osxfuse from brew) and I'mm getting this error:

org.cryptomator.common.vaults.Volume$VolumeException: Unable to mount Filesystem
at org.cryptomator.common.vaults.FuseVolume.mount(FuseVolume.java:53)
at org.cryptomator.common.vaults.FuseVolume.mount(FuseVolume.java:42)
at org.cryptomator.common.vaults.Vault.unlock(Vault.java:132)
at org.cryptomator.ui.unlock.UnlockWorkflow.attemptUnlock(UnlockWorkflow.java:107)
at org.cryptomator.ui.unlock.UnlockWorkflow.call(UnlockWorkflow.java:90)
at org.cryptomator.ui.unlock.UnlockWorkflow.call(UnlockWorkflow.java:44)
at javafx.concurrent.Task$TaskCallable.call(Task.java:1425)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.cryptomator.frontend.fuse.mount.CommandFailedException: ru.serce.jnrfuse.FuseException: Unable to mount FS
at org.cryptomator.frontend.fuse.mount.MacMounter.mount(MacMounter.java:48)
at org.cryptomator.frontend.fuse.mount.Mounter.mount(Mounter.java:8)
at org.cryptomator.common.vaults.FuseVolume.mount(FuseVolume.java:51)
... 12 more
Caused by: ru.serce.jnrfuse.FuseException: Unable to mount FS
at ru.serce.jnrfuse.AbstractFuseFS.mount(AbstractFuseFS.java:287)
at org.cryptomator.frontend.fuse.mount.MacMounter.mount(MacMounter.java:46)
... 14 more
Caused by: ru.serce.jnrfuse.FuseException: Unable to mount FS, return code = 1
at ru.serce.jnrfuse.AbstractFuseFS.mount(AbstractFuseFS.java:283)
... 15 more

May I ask what the workaround is @infeo ?

I think the workaround is to use FUSE instead of WebDAV. :D Regarding your FUSE issue, see #1406 (basically, did you give permissions in System Preferences?). Though, I'm not sure about Apple Silicon...

Whoops, was a little too fast.

Workaround does not work. I have tried the latest FUSE v3 and also the betas for v4. Both don’t work.

V3 gets the errors already mentioned above.
V4 when installed you don’t get an option in Cryptomator to use FUSE.

For the ones being in dire need of access: #1419 (comment)

edit: if anyone needs it, Cyberduck (or Mountain Duck I think) works, badly - but works.

Yup, workaround does not work. Just like Jose, tried v3 a few times from brew (edit: I had previously installed osxfuse and am pretty sure I gave permissions ad it asked me for password in zsh), then twice from dmg(pkg), then v4 from dmg (this time I got a new security prompt) and on v3 getting the same crashes, on v4 Cryptomator not giving you an option to use FUSE.

I have the same problem on Mac with M1 Chip with Big Sur. I can open all vault but when I try to edit/copy or anything with the vault the mac crashes and restarts again and again.

Since this issue is about crashes with WebDAV, I've opened a new issue for the support of macFUSE 4.x, see #1446.

Out of curiosity, does the newly released macOS Big Sur 11.1 update make a difference?

To be clear: This is about the WebDAV option. macFUSE 4.x support will be added with the next Cryptomator update, which should be released soon.

Out of curiosity, does the newly released macOS Big Sur 11.1 update make a difference?

To be clear: This is about the WebDAV option. macFUSE 4.x support will be added with the next Cryptomator update, which should be released soon.

I can confirm the problem persists in Big Sur 11.1 on Apple Silicon. I'm running Cryptomator 1.5.10 and MacFuse 4.0.4, so only WebDAV can be selected.

A new Cryptomator update that supports mounting via FUSE cannot come soon enough -- right now Cryptomator is completely unusable on Apple Silicon.

Same experience here, 11.1 and 1.5.10 - same crashes as before.

Cryptomator 1.5.11 has been released just now. Support for macFUSE 4.x (#1446) has been added. This issue remains open because WebDAV seems to be an upstream bug in macOS but I'm curious if "Cryptomator 1.5.11 + macFUSE 4.x" works on Apple Silicon (Edit: Confirmed, has known workaround now).

Workaround

If you stumble upon this issue, please install macFUSE 4.x and use FUSE (Cryptomator Preferences > Virtual Drive > Volume Type) instead of WebDAV.

Cryptomator 1.5.11 has been released just now. Support for macFUSE 4.x (#1446) has been added. This issue remains open because WebDAV seems to be an upstream bug in macOS but I'm curious if "Cryptomator 1.5.11 + macFUSE 4.x" works on Apple Silicon.

IT WORKS!!! (having chosen FUSE in the settings). Haven't tried WebDAV and don't plan to 😆

I can confirm that under FUSE, file/folder renaming doesn't cause the a system crash any more. Copying files do not cause Cryptomator to lock up (and locking up Finder as well).

Thank you SO MUCH for the update!

Guess it's my turn to report on the breaking news - it works. Thanks!

Fair enough, now we have a good workaround: Use FUSE instead.

However, WebDAV still doesn't work, which is an upstream issue in macOS as previously confirmed by @tobihagemann and @pawelostr:

What happens if you connect to a WebDAV server via Finder (without Cryptomator at all). E.g., you can test https://webdavserver.com/. Does that crash as well?

Tried it, exactly the same crash. Upstream it would appear. Crash report attached (didn't copy all the ex's)

So the question remains: How do we proceed with this? Should we close this as it can't be fixed in Cryptomator? Or should we disable WebDAV completely for macOS >= 11.x?

So the question remains: How do we proceed with this? Should we close this as it can't be fixed in Cryptomator? Or should we disable WebDAV completely for macOS >= 11.x?

If I have a say in this, I would disable WebDAV for the affected systems as it's a really nasty crash, and could cause someone a loss of files/work (both inside a safe and anywhere else on the computer). I bet Apple will fix it one day though.

And FUSE while it works - I'd suggest at least some pop-up as it requires additional install of (if I remember right) a system extension.

If I have a say in this, I would disable WebDAV for the affected systems as it's a really nasty crash, and could cause someone a loss of files/work (both inside a safe and anywhere else on the computer). I bet Apple will fix it one day though.

I second this -- it took me a while to realize it was Cryptomator / WebDAV causing a total system crash. At first I thought I received a faulty new Apple unit! Who would've thought WebDAV could've caused a crash that has no warner -- not even the spinning beach ball -- it simply froze the system for a few systems then everything went black.

I recall a few years ago, I had to stop using Cryptomator because, again, WebDAV was causing problems. It wasn't until FUSE was first implemented that I was able to come back to Cryptomator again. So basically I avoid WebDAV like a plague whenever possible.

Did you have any luck in finding an alternative? Because I can't use FUSE, it doesn't work. The author commented the error that FUSE gives in this thread, and it's the same one I get. But I also can't deal with my system crashing.

The author also confirmed that macFUSE 4.x works again. So please read the whole thread and update FUSE. 😉

I was using 4.0.3 for some time, just updated to 4.0.5 and it works just fine.

I came hear as I was searching for a macOS bug in 11.1 which causes the OS to crash when renaming files/folders on a webdav mounted storage.

@tobihagemann:
you said above macOS seems to have an issue. Do you know if this is confirmed anywhere by Apple yet? I got this problem with my nextcloud server but was able to reproduce it via https://webdavserver.com/ - same behaviour...as soon as I try to rename something on the webdav server the whole OS crashes. Uploading files, creating folders or deleting works...

@tobihagemann:
you said above macOS seems to have an issue. Do you know if this is confirmed anywhere by Apple yet?

No, I don't know that. I'm also unable to report this issue since I don't have a Mac with M1 processor.

@tobihagemann:
I opened a bug report (or how Apple calls it 'Feedback') at Apple and sent them all the required files. Like I said...it's reproduceable.

I have submitted it through Feedback Assistant back in november, no one got back to me or anything, and "Resolution: Open".

I have submitted it through Feedback Assistant back in november, no one got back to me or anything, and "Resolution: Open".

so it's not an M1 related issue, isn't it? I've also informed some computer magazines about that ^^

edit:
just talked to the support and the lady found something about this in her system. I had to perform several steps with her and now this will go to the second level support...

so it's not an M1 related issue, isn't it?

I mean, it happens on an M1 machine, but pretty sure is more of a software bug than hardware issue.

It is a software issue, still it only happens on M1 macs.

I get the same, when just trying to edit a file from the Cryptomator volume on Mac Mini M1.

The crash log:
panic(cpu 0 caller 0xfffffe001b89019c): "Invalid mutex 0xfffffe23343ace30"
Debugger message: panic
Memory ID: 0xff
OS release type: User
OS version: 20C69
Kernel version: Darwin Kernel Version 20.2.0: Wed Dec  2 20:40:21 PST 2020; root:xnu-7195.60.75~1/RELEASE_ARM64_T8101
Fileset Kernelcache UUID: 3E6AA74DF723BCB886499A5AAB34FA34
Kernel UUID: 48F71DB3-6C91-3E62-9576-3A1DCEF2B536
iBoot version: iBoot-6723.61.3
secure boot?: YES
Paniclog version: 13
KernelCache slide: 0x0000000013b24000
KernelCache base:  0xfffffe001ab28000
Kernel slide:      0x0000000014664000
Kernel text base:  0xfffffe001b668000
Kernel text exec base:  0xfffffe001b730000
mach_absolute_time: 0x1580babcf5
Epoch Time:        sec       usec
  Boot    : 0x6008299d 0x000c2c5e
  Sleep   : 0x00000000 0x00000000
  Wake    : 0x00000000 0x00000000
  Calendar: 0x6008389e 0x000916f7

CORE 0 recently retired instr at 0xfffffe001b899798
CORE 1 recently retired instr at 0xfffffe001b89ac5c
CORE 2 recently retired instr at 0xfffffe001b89ac5c
CORE 3 recently retired instr at 0xfffffe001b89ac5c
CORE 4 recently retired instr at 0xfffffe001b89ac60
CORE 5 recently retired instr at 0xfffffe001b89ac60
CORE 6 recently retired instr at 0xfffffe001b89ac60
CORE 7 recently retired instr at 0xfffffe001b89ac60
Panicked task 0xfffffe167fc84c70: 3788 pages, 7 threads: pid 1104: TextEdit
Panicked thread: 0xfffffe166e22dfb8, backtrace: 0xfffffe308a5d3160, tid: 26871
		  lr: 0xfffffe001b77df8c  fp: 0xfffffe308a5d31d0
		  lr: 0xfffffe001b77dd58  fp: 0xfffffe308a5d3240
		  lr: 0xfffffe001b89ff5c  fp: 0xfffffe308a5d3260
		  lr: 0xfffffe001b891914  fp: 0xfffffe308a5d3310
		  lr: 0xfffffe001b7377e8  fp: 0xfffffe308a5d3320
		  lr: 0xfffffe001b77d9e8  fp: 0xfffffe308a5d36b0
		  lr: 0xfffffe001b77d9e8  fp: 0xfffffe308a5d3720
		  lr: 0xfffffe001bf183f8  fp: 0xfffffe308a5d3740
		  lr: 0xfffffe001b89019c  fp: 0xfffffe308a5d3760
		  lr: 0xfffffe001e5ef0f4  fp: 0xfffffe308a5d3830
		  lr: 0xfffffe001b9f76d0  fp: 0xfffffe308a5d3b60
		  lr: 0xfffffe001b9dd5cc  fp: 0xfffffe308a5d3db0
		  lr: 0xfffffe001bd7a5a8  fp: 0xfffffe308a5d3e40
		  lr: 0xfffffe001b8915f8  fp: 0xfffffe308a5d3ef0
		  lr: 0xfffffe001b7377e8  fp: 0xfffffe308a5d3f00
      Kernel Extensions in backtrace:
         com.apple.filesystems.webdav(3.0.1)[A70AF71E-4633-3BB8-B9A4-4A8F106AB7D1]@0xfffffe001e5ec000->0xfffffe001e5f3fff

last started kext at 3592959561: com.apple.filesystems.webdav	3.0.1 (addr 0xfffffe001b664000, size 16384)
last stopped kext at 5190091113: com.apple.driver.usb.AppleUSBHostPacketFilter	1.0 (addr 0xfffffe001b4d4000, size 16384)
loaded kexts:
com.apple.filesystems.webdav	3.0.1
com.apple.filesystems.autofs	3.0
com.apple.fileutil	20.036.15
com.apple.iokit.IOBluetoothSerialManager	8.0.2f9
com.apple.driver.BCMWLANFirmware4378.Hashstore	1
com.apple.driver.AppleAOPVoiceTrigger	11.5
com.apple.driver.AppleThunderboltIP	4.0.3
com.apple.iokit.AppleBCM5701Ethernet	11.0.0
com.apple.driver.CoreKDL	1
com.apple.driver.SEPHibernation	1
com.apple.driver.AppleUSBDeviceNCM	5.0.0
com.apple.filesystems.apfs	1677.60.23
com.apple.nke.l2tp	1.9
com.apple.filesystems.tmpfs	1
com.apple.driver.ApplePMP	1
com.apple.driver.ApplePMPFirmware	1
com.apple.driver.AppleSmartIO2	1
com.apple.IOTextEncryptionFamily	1.0.0
com.apple.filesystems.hfs.kext	556.60.1
com.apple.security.BootPolicy	1
com.apple.BootCache	40
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib	1.0.0
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless	1.0.0d1
com.apple.AppleEmbeddedSimpleSPINORFlasher	1
com.apple.driver.AppleTAS5770LAmp	437.96
com.apple.driver.AppleCS42L83Audio	437.96
com.apple.driver.AppleSPMIPMU	1.0.1
com.apple.driver.AppleT8020SOCTuner	1
com.apple.driver.AppleT8103CLPCv3	1
com.apple.AGXG13G	172.20.14
com.apple.driver.AppleAVD	375
com.apple.driver.AppleAVE2	401.63.3
com.apple.driver.AppleJPEGDriver	4.6.0
com.apple.driver.AppleMobileDispH13G-DCP	140.0
com.apple.driver.usb.AppleUSBHostT8103	1
com.apple.driver.AudioDMAController-T8103	1.58
com.apple.driver.AppleSPIMC	1
com.apple.driver.AppleS5L8960XNCO	1
com.apple.driver.AppleT8103PMGR	1
com.apple.driver.AppleS8000AES	1
com.apple.driver.AppleS5L8920XPWM	1.0.0d1
com.apple.driver.AppleS8000DWI	1.0.0d1
com.apple.driver.AppleS5L8960XWatchDogTimer	1
com.apple.driver.AppleInterruptController	1.0.0d1
com.apple.driver.AppleBluetoothModule	1
com.apple.driver.AppleSamsungSerial	1.0.0d1
com.apple.driver.AppleBCMWLANBusInterfacePCIe	1
com.apple.driver.AppleT8020DART	1
com.apple.driver.AppleS5L8940XI2C	1.0.0d2
com.apple.driver.AppleT8101	1
com.apple.driver.AppleM68Buttons	1.0.0d1
com.apple.iokit.IOUserEthernet	1.0.1
com.apple.iokit.IOKitRegistryCompatibility	1
com.apple.iokit.EndpointSecurity	1
com.apple.driver.AppleDiskImages2	1
com.apple.AppleSystemPolicy	2.0.0
com.apple.nke.applicationfirewall	310
com.apple.kec.InvalidateHmac	1
com.apple.kext.triggers	1.0
com.apple.driver.AppleHIDKeyboard	222
com.apple.vecLib.kext	1.2.0
com.apple.iokit.IOAVBFamily	900.12
com.apple.plugin.IOgPTPPlugin	900.11
com.apple.iokit.IOEthernetAVBController	1.1.0
com.apple.driver.AppleAOPAudio	14.32
com.apple.driver.IOBluetoothHostControllerPCIeTransport	8.0.2f9
com.apple.iokit.IOBluetoothHostControllerTransport	8.0.2f9
com.apple.driver.AppleConvergedIPCOLYBTControl	1
com.apple.driver.AppleConvergedPCI	1
com.apple.driver.AppleBluetoothDebug	1
com.apple.driver.usb.AppleEmbeddedUSBXHCIPCI	1
com.apple.driver.usb.AppleUSBXHCIPCI	1.2
com.apple.driver.AppleEmbeddedUSB	1
com.apple.driver.AppleSEPHDCPManager	1.0.1
com.apple.iokit.AppleSEPGenericTransfer	1
com.apple.driver.usb.networking	5.0.0
com.apple.driver.AppleThunderboltPCIDownAdapter	4.1.1
com.apple.driver.AppleThunderboltUSBDownAdapter	1.0.4
com.apple.driver.AppleThunderboltDPInAdapter	8.1.4
com.apple.driver.AppleThunderboltDPAdapterFamily	8.1.4
com.apple.driver.AppleBTM	1.0.1
com.apple.driver.AppleDCPDPTXProxy	1.0.0
com.apple.driver.DCPDPFamilyProxy	1
com.apple.nke.ppp	1.9
com.apple.driver.AppleBSDKextStarter	3
com.apple.filesystems.hfs.encodings.kext	1
com.apple.iokit.IONVMeFamily	2.1.0
com.apple.driver.AppleSPU	1
com.apple.driver.AppleDiagnosticDataAccessReadOnly	1.0.0
com.apple.driver.AppleNANDConfigAccess	1.0.0
com.apple.AGXFirmwareKextG13GRTBuddy	172.20.14
com.apple.AGXFirmwareKextRTBuddy64	172.20.14
com.apple.driver.AppleHPM	3.4.4
com.apple.driver.AppleCSEmbeddedAudio	437.96
com.apple.driver.AppleEmbeddedAudio	437.96
com.apple.iokit.AppleARMIISAudio	80.34
com.apple.driver.AppleStockholmControl	1.0.0
com.apple.driver.AppleDialogPMU	1.0.1
com.apple.driver.ApplePassthroughPPM	3.0
com.apple.driver.AppleMCA2-T8103	510.72
com.apple.iokit.IOGPUFamily	20.21.1
com.apple.driver.AppleH11ANEInterface	4.51.0
com.apple.driver.DCPAVFamilyProxy	1
com.apple.iokit.IOMobileGraphicsFamily-DCP	343.0.0
com.apple.driver.AppleDCP	1
com.apple.driver.AppleFirmwareKit	1
com.apple.iokit.IOMobileGraphicsFamily	343.0.0
com.apple.driver.AppleSPMI	1.0.1
com.apple.driver.AppleUSBXDCIARM	1.0
com.apple.driver.AppleUSBXDCI	1.0
com.apple.iokit.IOUSBDeviceFamily	2.0.0
com.apple.driver.usb.AppleUSBXHCIARM	1
com.apple.driver.usb.AppleUSBXHCI	1.2
com.apple.driver.AppleEmbeddedUSBHost	1
com.apple.driver.usb.AppleUSBHub	1.2
com.apple.driver.usb.AppleUSBHostCompositeDevice	1.2
com.apple.driver.AppleT8103TypeCPhy	1
com.apple.driver.AppleSART	1
com.apple.driver.ApplePMGR	1
com.apple.driver.watchdog	1
com.apple.driver.AppleDisplayCrossbar	1.0.0
com.apple.iokit.IODisplayPortFamily	1.0.0
com.apple.driver.AppleTypeCPhy	1
com.apple.driver.AppleThunderboltNHI	7.2.8
com.apple.driver.AppleT8103PCIeC	1
com.apple.iokit.IOThunderboltFamily	9.3.2
com.apple.driver.ApplePIODMA	1
com.apple.driver.AppleT8103PCIe	1
com.apple.driver.AppleMultiFunctionManager	1
com.apple.driver.AppleEmbeddedPCIE	1
com.apple.driver.AppleBluetoothDebugService	1
com.apple.driver.AppleBCMWLANCore	1.0.0
com.apple.iokit.IO80211FamilyV2	1200.12.2b1
com.apple.driver.IOImageLoader	1.0.0
com.apple.driver.corecapture	1.0.4
com.apple.driver.AppleGPIOICController	1.0.2
com.apple.driver.AppleFireStormErrorHandler	1
com.apple.driver.AppleMobileApNonce	1
com.apple.iokit.IOTimeSyncFamily	900.11
com.apple.driver.DiskImages	493.0.0
com.apple.iokit.IOGraphicsFamily	585
com.apple.iokit.IOBluetoothFamily	8.0.2f9
com.apple.iokit.IOBluetoothPacketLogger	8.0.2f9
com.apple.driver.FairPlayIOKit	68.5.0
com.apple.iokit.CoreAnalyticsFamily	1
com.apple.driver.AppleSSE	1.0
com.apple.driver.AppleSEPKeyStore	2
com.apple.driver.AppleUSBTDM	511.60.2
com.apple.iokit.IOUSBMassStorageDriver	184.40.6
com.apple.iokit.IOPCIFamily	2.9
com.apple.iokit.IOSCSIBlockCommandsDevice	436.40.6
com.apple.iokit.IOSCSIArchitectureModelFamily	436.40.6
com.apple.driver.AppleIPAppender	1.0
com.apple.driver.AppleFDEKeyStore	28.30
com.apple.driver.AppleEffaceableStorage	1.0
com.apple.driver.AppleCredentialManager	1.0
com.apple.driver.KernelRelayHost	1
com.apple.iokit.IOUSBHostFamily	1.2
com.apple.driver.AppleUSBHostMergeProperties	1.2
com.apple.driver.usb.AppleUSBCommon	1.0
com.apple.driver.AppleSMC	3.1.9
com.apple.driver.RTBuddy	1.0.0
com.apple.driver.AppleEmbeddedTempSensor	1.0.0
com.apple.driver.AppleARMPMU	1.0
com.apple.iokit.IOAccessoryManager	1.0.0
com.apple.driver.AppleOnboardSerial	1.0
com.apple.iokit.IOSkywalkFamily	1
com.apple.driver.mDNSOffloadUserClient	1.0.1b8
com.apple.iokit.IONetworkingFamily	3.4
com.apple.iokit.IOSerialFamily	11
com.apple.driver.AppleSEPManager	1.0.1
com.apple.driver.AppleA7IOP	1.0.2
com.apple.driver.IOSlaveProcessor	1
com.apple.driver.AppleBiometricSensor	2
com.apple.iokit.IOHIDFamily	2.0.0
com.apple.AUC	1.0
com.apple.iokit.IOAVFamily	1.0.0
com.apple.iokit.IOHDCPFamily	1.0.0
com.apple.iokit.IOCECFamily	1
com.apple.iokit.IOAudio2Family	1.0
com.apple.driver.AppleEmbeddedAudioLibs	1.17
com.apple.driver.AppleFirmwareUpdateKext	1
com.apple.driver.AppleM2ScalerCSCDriver	265.0.0
com.apple.iokit.IOSurface	289.3
com.apple.driver.IODARTFamily	1
com.apple.security.quarantine	4
com.apple.security.sandbox	300.0
com.apple.kext.AppleMatch	1.0.0d1
com.apple.driver.AppleMobileFileIntegrity	1.0.5
com.apple.kext.CoreTrust	1
com.apple.security.AppleImage4	3.0.0
com.apple.iokit.IOCryptoAcceleratorFamily	1.0.1
com.apple.driver.AppleARMPlatform	1.0.2
com.apple.iokit.IOStorageFamily	2.1
com.apple.iokit.IOSlowAdaptiveClockingFamily	1.0.0
com.apple.iokit.IOReportFamily	47
com.apple.kec.pthread	1
com.apple.kec.corecrypto	11.1
com.apple.kec.Libm	1



** Stackshot Succeeded ** Bytes Traced 289453 (Uncompressed 712320) **

So, that seems to be a bug in the WebDav kernel extention as used by Cryptomator.

So, that seems to be a bug in the WebDav kernel extention as used by Cryptomator.

the log you posted states that the panic occured in com.apple.filesystems.webdav(3.0.1), so yeah...

I've escalated that bug together with german second level Apple support. The Apple employee forwarded the problem to the devs directly - I will get an update on that next week...

Cyberduck is also an alternative for now, works great.

So, that seems to be a bug in the WebDav kernel extention as used by Cryptomator.

the log you posted states that the panic occured in com.apple.filesystems.webdav(3.0.1), so yeah...

I've escalated that bug together with german second level Apple support. The Apple employee forwarded the problem to the devs directly - I will get an update on that next week...

Fantastic, many thanks!!!

Hey I'm joining this issue because of getting a similar issue I guess,
I'm actually accessing my Synology drive with WebDAV and while doing some actions on files like moving, saving... my M1 mac freezes then crash. It's very annoying while working.. I hope Apple will fix it

commented

Hi, I have the same problem.
Apple m1, macOs Big Sur 11.2, cryptomator 1.5.11 (dmg-2600.111).
Cryptomator with WebDAV causes Mac OS to crash when you try to edit a file but it works with macfuse-4.0.5.dmg.
I don't like that with macfuse you need to enable external kernel extensions but at least it works that way)

commented

I've escalated that bug together with german second level Apple support. The Apple employee forwarded the problem to the devs directly - I will get an update on that next week...

Have they ever got back to you, @sub0ne?

Cryptomator 1.5.11 has been released just now. Support for macFUSE 4.x (#1446) has been added. This issue remains open because WebDAV seems to be an upstream bug in macOS but I'm curious if "Cryptomator 1.5.11 + macFUSE 4.x" works on Apple Silicon.

IT WORKS!!! (having chosen FUSE in the settings). Haven't tried WebDAV and don't plan to 😆

I can confirm that under FUSE, file/folder renaming doesn't cause the a system crash any more. Copying files do not cause Cryptomator to lock up (and locking up Finder as well).

Thank you SO MUCH for the update!

How can you chose FUSE ? For me, its only possible to chose WebDav. There is nothing else to chose.

commented

I have MacFUSE installed so I'm not sure if it's a prerequisite, but here are the steps to change it:

  1. ⌘+,
  2. Virtual Drive
  3. Volume Type
  4. FUSE

Hi!

The problem still exists on M1 Big Sur.
Using FUSE instead of WebDav definitely solved the issue.

I have MacFUSE installed so I'm not sure if it's a prerequisite, but here are the steps to change it:

  1. ⌘+,
  2. Virtual Drive
  3. Volume Type
  4. FUSE

Im not able to follow your instructions. Could you please describe it a bit more detailed? Thanks a lot

commented

@jakult2 have you got MacFUSE installed? You should visit osxfuse.github.io, download macFUSE:
CleanShot 2021-02-21 at 11 21 59
Mount the .dmg, and run the "Install macFUSE" application
CleanShot 2021-02-21 at 11 22 59.
Allow it to run the checks and follow the instructions in the wizard. Once you're done it should show up. You may need to enable user management of system extensions.

@jakult2 have you got MacFUSE installed? You should visit osxfuse.github.io, download macFUSE:
CleanShot 2021-02-21 at 11 21 59
Mount the .dmg, and run the "Install macFUSE" application
CleanShot 2021-02-21 at 11 22 59.
Allow it to run the checks and follow the instructions in the wizard. Once you're done it should show up. You may need to enable user management of system extensions.

Solved the problem. Thanks a lot!

commented

It looks like the issue has been fixed upstream - I'm no longer having this problem.

I'm geting this prompt when I switch to FUSE. Anyone have any suggestions? It won't let me view any of my files even after I unlock them.
Screen Shot 2021-04-02 at 1 08 17 PM

It looks like the issue has been fixed upstream - I'm no longer having this problem.

@Danielmeskin Upstream in in this repo? Or webdav?

commented

It looks like the issue has been fixed upstream - I'm no longer having this problem.

I'm having exactly the same crashes as before on latest Cryptomator and macOS (that'd be 1.5.14 and 11.2.3), so it's definitely not fixed - at least for me.

commented

I do have also the same problem with the same versions (Cryptomator 1.5.14; macOS 11.2.3 with M1). The bug is still there.

Same for me on 1.5.14 + 11.2.3 (M1 air).

commented
commented

Have this same issue. Cryptomater 1.5.14 + 11.2.3 M1 Air

WebDAV issues resolved with 11.3 update

Unfortunately, WebDAV issue reappeared with 11.3.1 update

Unfortunately, WebDAV issue reappeared with 11.3.1 update

just did an update to 11.3.1 and retried mounting an webdav folder from webdavserver.com without any issues.

So I can not confirm that the issue reappeared.

Unfortunately, WebDAV issue reappeared with 11.3.1 update

just did an update to 11.3.1 and retried mounting an webdav folder from webdavserver.com without any issues.

So I can not confirm that the issue reappeared.

I reinstalled cryptomator and try again, this time it works fine.

I found the root reason of my problem: if you use PDF Expert application open any pdf file in cryptomator disk and exit the application, then try to lock the disk, Big Sur will crash for sure, it should be a bug of PDF Expert, I tried Acrobat Reader, doesn't have this issue.

I found another app that can cause the problem: if you use the system Preview app open any pic file on cryptomator disk, after exit Preview app and try to lock the disk, Big Sur will hang.

commented

I found another app that can cause the problem: if you use the system Preview app open any pic file on cryptomator disk, after exit Preview app and try to lock the disk, Big Sur will hang.

I'm experiencing the exact same issue. As soon as I use Preview for files inside the Cryptomator Vault I'm unable to lock the Vault (forced). After trying to lock the vault safari stops loading pages and all program's start to hang. I'm unable to soft restart the MacBook Air M1.

Opening files in Excel or Adobe Reader is not a problem at al. Adding files through Finder isn't a problem as well.

Not sure why this issue is closed, I am seeing the exact behavior described by WillemWever, with the latest beta of cryptomator, using either straight WebDAV or using FUSE-T

@shblack This issue was about using WebDAV, it seemed fixed according to the comments and the crashes were caused by external applications. If you have an issue when using FUSE-T, please open a new ticket.