Win10 crashes when KeePass 2.43 is closed
A lightweight and easy-to-use password manager
Brought to you by:
dreichl
Hi--I recently updated to 2.43 on two Win10 64-bit computers. Every time I close KeePass, the computer I am using crashes. The error is stated as a "failed cldfit.sys."
I'm beyond surprised, because I've used the program for years without any problem. It is great--and worth paying for.
Thanks--
cldfit.sys is not a KeePass file. There are plenty of reports of cldfit.sys errors and they suggest a cloud storage problem.
Do you have a cloud storage plug-in? Try disabling it.
Revert to an older KeePass to see if that fixes it.
cheers, Paul
Links to other reports of crashes.
https://sourceforge.net/p/keepass/discussion/329221/thread/93f3868023/
https://sourceforge.net/p/keepass/discussion/329220/thread/7c8f185b14/
https://sourceforge.net/p/keepass/discussion/329221/thread/924b94ea48/
https://sourceforge.net/p/keepass/discussion/329221/thread/2a6b31dc3b/
https://sourceforge.net/p/keepass/discussion/329221/thread/47532ae62e/#cbcc
https://sourceforge.net/p/keepass/discussion/329221/thread/7dbe9586db/
https://sourceforge.net/p/keepass/discussion/329221/thread/ec4ebc6eb6/#93e0
https://sourceforge.net/p/keepass/discussion/329221/thread/b6035a2d70/
https://sourceforge.net/p/keepass/discussion/329221/thread/775ab42a/#3899
Last edit: Paul 2019-12-06
Same problem here!
But I get also a "blue screen" when I create a new password or press save...
The longer I open KeePass, the higher is the chance of a crash.
I've noticed it since yesterday... maybe it's an effect of the latest windows update?
No plug-ins in use.
I've used the version 2.43 for a while without any problems.
Windows updates breaking .NET?
Can you roll back your updates?
cheers, Paul
I have had the same problem for about a week. I don't use cloud storage and don't have a cloud storage pugin that I can find. Can I revert back to 2.42; If so, how. Thanks
Uninstall KeePass, install 2.42.
This is unlikely to fix anything as the issue seems to be Windows patches.
See this thread for info on repairing .NET.
https://sourceforge.net/p/keepass/discussion/329221/thread/80efd61e73/#d244
cheers, Paul
I am experiencing the same problem.
Have been using the official KeePass without any addons or cloud storage plugins on both my Windows 10 laptop and desktop pc for over half a year now without any problems.
I am using an older version of KeePass on my laptop and the latest one on my desktop pc, the crashes are occurring since the latest Windows update/patch.
After "freshly" opening KeePass, I can open and close it without any malfunctions.
Only when I keep KeePass running in the backround for a longer duration and then try to close it/shutdown the pc, it crashes Windows (failed cldfit.sys).
Only KeePass is causing this problem.
Can you remove the recent .NET patches?
cheers, Paul
I had also the problem with few later versions of KeePass.
After removing the latest patch of .NET Framework 3.5 & 4.8, it's working so far!
But you have to pause the windwos updates... because everytime windows is searching for new updates, it will install the latest version of .NET Framework again...
So its just a solution for the moment.
Can you tell us which KB you uninstalled?
You can use wushowhide to hide updates.
cheers, Paul
I uninstalled KB4515871.
I also used the "NetFxRepairTool" from microsoft.
For my PC its fine now... no bluescreens so far!
I'm using KeePass version 2.43 and the latest .NET Framework now...
I don't know why its working now...
But on an other PC, its still broken! I removed the latest 2 patches... I was running the "NetFxRepairTool" and I installed KeePass version 2.40, 2.42 and 2.43 and with all versions i get this bluescreens!
Last edit: Daniel 2019-10-18
Are you using OneDrive? If so, try storing all files (KeePass application and database) outside of OneDrive.
Have you tried disabling the option 'Use file transactions for writing databases' (in 'Tools' → 'Options' → tab 'Advanced')?
Thanks and best regards,
Dominik
I've been having this issue for several weeks (haven't experience blue screens for many years, so this issue resulted in a LOT of lost work). I tried updating to KeePass v2.4.3 with not change (still blue screen after editing and trying to close KeePass without saving the Database first - if it prompts to save changes -> Crash, if I manually saved changes before trying to close -> No Crash). The BSOD message I was getting was pointing to a OneDrive file handler driver (cldfit.sys), so I started searching and found this thread.
I tried the fix above (Disable 'Use file transactions for writing databases') and that seems to have fixed it!!
Question: What functionality/feature/convenience did I lose by disabling this item in KeePass?
Last edit: Gregory J Cotton 2019-10-22
KeePass tries to make the write process as safe as possible by writing the new database to a temporary file, then deleting the old file and renaming the temp. Turning off "transactions" means it just writes the new file over the old.
As always, make regular backups and you will be fine.
cheers, Paul
That does not work on my side.
Yes, I'm using OneDrive. I think I checked this already but I will try it again. Also with turn off the transaction function.
As I wrote before... On my own Notebook its working without problems now.
But there are many colleagues of mine who has still this problem...
It happens to me to on Windows 10 build 1909 (18363.418). Uptil now Keepass is the only program exhibiting problems.
"Disable 'Use file transactions for writing databases'"
That does not work for me either.
Last edit: Dennis Mutsaers 2019-10-22
Symptoms apply to me too. Win 10 Enterprise, version 10.0.18362
This is a corporate machine so I am not authorised to mess with OS versions.
kdbx is in user space, not Program Files...
I did also recently have OneDrive activated. Will investigate that further.
As with the others, so far only KeePass is crashing the system, nothing else.
You can try the online version of KeeWeb to access the database in the short term.
cheers, Paul
I do have the same trouble. Windows 10 Pro. Keeping KeePass 2.43 in 64 Bit open for a long time (with or without open entry). This results in Blue Screens mentioned above.
Do you have KB4515871 or KB4517389 installed?
Does removing either fix it?
cheers, Paul
I do have KB4517389 installed. Currently I recognized a new 'Cumulative Update' with KB number KB4522355. Before I uninstall a KB, I would prefer to install the new one and observe any further.
One question from my site: I do have stored my keyword database on a OneDrive share. This connection is not always stable. Are you holding the file open for all the time an entry is open?
Isn't it possible to open it only when opening the entry? Then close the file and only open it again, if a change is done to the entry?
This could make a faulty connection more flexible and would prevent this issue?
Best wishes
Frank
KeePass does not keep any files open. Files are only open while loading/saving them.
Best regards,
Dominik
You would be better keeping your database on a local drive and copying / syncing to OD. Then the database is always available locally and you can get to the OD password when you need it.
cheers, Paul
Hi Dominic and Paul, thank you very much for your fast replies. I have to insist, that the database file is locally stored already. So it is not stored within any Cloud hard disk.
The Windows Update from last friday executed well, I will observe now, if the BSOD appears again.
For me it seems to be solved now. After the installation of the Windows Update KB4522355 no bluescreen appears anymore. Although KeePass is open for several hours in the background.
Here is the official page from Microsoft about this Update KB4522355: https://support.microsoft.com/de-de/help/4522355/windows-10-update-kb4522355
Best wishes and go on!
Frank
Last edit: Frank Steudle 2019-10-29
Thanks for the update.
cheers, Paul