Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.4.0
-
None
-
Windows
-
6545404afad30b60d1a8e9a2abaf301abaf8f6a5 (qtbase/5.5, 23.4.2015, 5.5)
Description
On windows, QLockFile::LockError QLockFilePrivate::tryLock_sys(); incorrectly returns LockFailedError instead of PermissionError.
that in turns causes QLockFile::tryLock to never return, freezing the application.
I observed the behaviour on several windows 7 and windows 8 machines. I encountered the bug while trying to call QSettings::sync() on an ini file stored in Program files.