App crashes if Dokany is used
Description
I just realized I can use Dokan instead of WebDAV and wanted to test it out. But no luck because the application crashes with an error just a few seconds after unlocking a vault.
I also tested it inside a sandbox to be sure, and it works fine there. It seems to be related to my specific environment, and Iām not sure if you can reproduce the error. Either way, I hope the logs help you debug the issue.
To Reproduce
- Select Dokany as the FS provider
- Unlock any vault
Evidence
Crash event from the event viewer:
Faulting application name: SecureFolderFS.Uno.exe, version: 0.6.2.0, time stamp: 0x66e80000 Faulting module name: Microsoft.ui.xaml.dll, version: 3.1.5.0, time stamp: 0xcd7cc268 Exception code: 0xc000027b Fault offset: 0x00000000004051c5 Faulting process id: 0x0x8334 Faulting application start time: 0x0x1DB8D5E9442A6FA Faulting application path: C:\Program Files\WindowsApps\3515d2dyno.SecureFolderFS_0.6.2.0_x64__kbfntgptcs1ae\SecureFolderFS.Uno.exe Faulting module path: C:\Program Files\WindowsApps\3515d2dyno.SecureFolderFS_0.6.2.0_x64__kbfntgptcs1ae\Microsoft.ui.xaml.dll Report Id: e2308dac-5646-407b-bf2c-d50fa43580dc Faulting package full name: 3515d2dyno.SecureFolderFS_0.6.2.0_x64__kbfntgptcs1ae Faulting package-relative application ID: App
App Version
0.6.2.0 (WinUI)
OS Version
Microsoft Windows NT 10.0.22631.0
Diagnostic information
Hey @d2dyno1,
Just checked the latest release out to see if the Dokany issue was resolved by any chance. Was Dokany support temporarily removed? š¤ The option isn't there for me anymore.
Hey @d2dyno1,
Just checked the latest release out to see if the Dokany issue was resolved by any chance. Was Dokany support temporarily removed? š¤ The option isn't there for me anymore.
![]()
Hi! There were a couple of bugs fixed around Dokany and it wasn't removed. Perhaps the version could not be detected properly. Could you share the Dokany version you have installed? I'll publish the fix as soon as the issue is identified.
@m4heshd
@d2dyno1 Thank you for the quick response.
I actually removed Dokany right when the latest release was announced, and waited till the update reached the MS store. I did this because I recall the previous version directing me to the correct version to install if the application is unable to locate the library.
Was that behaviour changed? If so, can you kindly point me in the right direction to get the proper version installed?
UPDATE:
Just installed Dokany v2.0.5.1000 and tested. Unfortunately, SFFS still crashes if Dokany is used. š
UPDATE:
Just installed Dokany v2.0.5.1000 and tested. Unfortunately, SFFS still crashes if Dokany is used. š
Hmm.. do you have a new exception log file for this issue? Also, could you try enabling telemetry (if you have it disabled) and try to reproduce the crash?
I just enabled telemetry and tried again. Oddly, it's not dumping to the exception log anymore. It's completely empty. It originally did, as you can see, I have attached it to the issue description.
Here's the info from the event log.
Faulting application name: SecureFolderFS.Uno.exe, version: 0.7.0.0, time stamp: 0x68270000
Faulting module name: CoreMessagingXP.dll, version: 10.0.26107.1009, time stamp: 0x67ee82e7
Exception code: 0xc000027b
Fault offset: 0x00000000000951d6
Faulting process id: 0x27FC
Faulting application start time: 0x1DC4F06FEF434CC
Faulting application path: C:\Program Files\WindowsApps\3515d2dyno.SecureFolderFS_0.7.0.0_x64__kbfntgptcs1ae\SecureFolderFS.Uno.exe
Faulting module path: C:\Program Files\WindowsApps\3515d2dyno.SecureFolderFS_0.7.0.0_x64__kbfntgptcs1ae\CoreMessagingXP.dll
Report Id: c6fe9082-d8f7-4a0e-9ef7-dd3c1571b2e6
Faulting package full name: 3515d2dyno.SecureFolderFS_0.7.0.0_x64__kbfntgptcs1ae
Faulting package-relative application ID: App
@d2dyno1 Any chance you could update to use the latest API of Dokany? š„ŗ WebDAV is really sucky to use.
@d2dyno1 Any chance you could update to use the latest API of Dokany? š„ŗ WebDAV is really sucky to use.
I'm working on that. I might also have a fix for a crash when unlocking more than one vault using Dokany. I don't know if it solves your issue but the error log looks similar to your case
@d2dyno1 Thanks for your hard work. Can't wait to test the patches. š¤š¼
@m4heshd The update is out now. Try checking if the issue is fixed now
@d2dyno1 Just tested with the latest Dokany and the SFFS update. Still crashes š. I think this is unique to my specific system. Something might be broken on my Windows installation. Unfortunately, can't afford to reinstall because can't put the time into setting everything back up again. This was the first time I ran into an issue with an application, though.
Here's the event log (SFFS is still not generating a log for the crash):
Faulting application name: SecureFolderFS.Uno.exe, version: 0.7.2.0, time stamp: 0x68fa0000
Faulting module name: CoreMessagingXP.dll, version: 10.0.26107.1009, time stamp: 0x67ee82e7
Exception code: 0xc000027b
Fault offset: 0x00000000000951d6
Faulting process id: 0x41FC
Faulting application start time: 0x1DC59BDAAEB2151
Faulting application path: C:\Program Files\WindowsApps\3515d2dyno.SecureFolderFS_0.7.2.0_x64__kbfntgptcs1ae\SecureFolderFS.Uno.exe
Faulting module path: C:\Program Files\WindowsApps\3515d2dyno.SecureFolderFS_0.7.2.0_x64__kbfntgptcs1ae\CoreMessagingXP.dll
Report Id: 5c66c46f-e509-4408-aad2-bfca5e905555
Faulting package full name: 3515d2dyno.SecureFolderFS_0.7.2.0_x64__kbfntgptcs1ae
Faulting package-relative application ID: App
Either way, I really appreciate the effort you have put into this.
Update:
I even tried the suggested fixes from https://github.com/microsoft/microsoft-ui-xaml/issues/9556, but still no luck.
Maybe you're missing VCLibs 140 which is weird because you said the vault unlocks successfully under WebDav, no?
It's very possible your installation of Windows is causing the exception. I'll look into it more and I'll update you if I find something relevant. In the meantime, try downloading the libs for now
(In the upcoming Release Candidate 1 WinFsp support will be added so it might be a viable alternative, unless the issue persists)
Maybe you're missing VCLibs 140
I tried to reinstall it just in case, and the installer says "There's a newer version of this package already installed".
I'll look into it more and I'll update you if I find something relevant
Thank you. Please do let me know if you can find a possible solution, as many people seem to be experiencing this issue on various apps randomly.
(In the upcoming Release Candidate 1 WinFsp support will be added so it might be a viable alternative, unless the issue persists)
That's good news. I'm looking forward to the update.