Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
5.7.0
-
None
-
VS2015 update 2 on Windows 8.1
Description
The attached program does the following:
- create a file
- watch it with QFileSystemWatcher
- open it with flags out | trunc | binary
- wait for the fileChanged event and exit
The fileChanged event is not emitted sometimes. I run the program in a loop in git bash and after 1 to 10 runs, it deadlocks because the signal is not emitted.
If we add a short sleep before opening the file after starting watching it, the program always succeeds.