Qt 5.9.2 (x86_64-little_endian-llp64 shared (dynamic) debug build; by MSVC 2015) () using "D:\\temp\\qtbug61792-l9Mfi9" ### adding ("D:/temp/qtbug61792-l9Mfi9/File 1-1.txt", "D:/temp/qtbug61792-l9Mfi9/File 1-2.txt", "D:/temp/qtbug61792-l9Mfi9/File 1-3.txt") ### adding "D:\\temp\\qtbug61792-l9Mfi9" QWindowsFileSystemWatcherEngine::addPaths >Adding 1 ("D:/temp/qtbug61792-l9Mfi9") to existing 0 watchers Looking for a thread/handle for "D:/temp/qtbug61792-l9Mfi9" No thread found ###Creating new thread Thread( 0x26b6edd36a0 , handleForDir= 0 QHash() , pathInfoForHandle= 0 QHash() ( 1 threads) QWindowsFileSystemWatcherEngine::addPaths < ("D:/temp/qtbug61792-l9Mfi9") ### added "D:\\temp\\qtbug61792-l9Mfi9" returns true ### adding "D:\\temp\\qtbug61792-l9Mfi9\\File 1-1.txt" QWindowsFileSystemWatcherThread Thread( 0x26b6edd36a0 , handleForDir= 1 QHash(("D:/temp/qtbug61792-l9Mfi9", Handle(0x1a4,0x3))) , pathInfoForHandle= 1 QHash((0x1a4, QHash(("D:/temp/qtbug61792-l9Mfi9", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=true))))) waiting on 2 handles QWindowsFileSystemWatcherEngine::addPaths >Adding 1 ("D:/temp/qtbug61792-l9Mfi9/File 1-1.txt") to existing 1 watchers Looking for a thread/handle for "D:/temp/qtbug61792-l9Mfi9/File 1-1.txt" Looking for "D:/temp/qtbug61792-l9Mfi9" 287 Before Thread( 0x26b6edd36a0 , handleForDir= 1 QHash(("D:/temp/qtbug61792-l9Mfi9", Handle(0x1a4,0x3))) , pathInfoForHandle= 1 QHash((0x1a4, QHash(("D:/temp/qtbug61792-l9Mfi9", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=true))))) handle match true flag match false 3 287 No thread found Added handle 0x1ac for "D:/temp/qtbug61792-l9Mfi9" to watch "D:/temp/qtbug61792-l9Mfi9/File 1-1.txt" to existing thread Thread( 0x26b6edd36a0 , handleForDir= 1 QHash(("D:/temp/qtbug61792-l9Mfi9", Handle(0x1a4,0x3))) , pathInfoForHandle= 1 QHash((0x1a4, QHash(("D:/temp/qtbug61792-l9Mfi9", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=true))))) Added handle Handle( 0x1ac , 0x11f ) Thread( 0x26b6edd36a0 , handleForDir= 1 QHash(("D:/temp/qtbug61792-l9Mfi9", Handle(0x1ac,0x11f))) , pathInfoForHandle= 2 QHash((0x1a4, QHash(("D:/temp/qtbug61792-l9Mfi9", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=true))))(0x1ac, QHash(("D:/temp/qtbug61792-l9Mfi9/File 1-1.txt", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=false))))) QWindowsFileSystemWatcherEngine::addPaths < ("D:/temp/qtbug61792-l9Mfi9/File 1-1.txt") ### added "D:\\temp\\qtbug61792-l9Mfi9\\File 1-1.txt" returns true ### adding "D:\\temp\\qtbug61792-l9Mfi9\\File 1-2.txt" QWindowsFileSystemWatcherThread Thread( 0x26b6edd36a0 , handleForDir= 1 QHash(("D:/temp/qtbug61792-l9Mfi9", Handle(0x1ac,0x11f))) , pathInfoForHandle= 2 QHash((0x1a4, QHash(("D:/temp/qtbug61792-l9Mfi9", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=true))))(0x1ac, QHash(("D:/temp/qtbug61792-l9Mfi9/File 1-1.txt", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=false))))) waiting on 3 handles QWindowsFileSystemWatcherEngine::addPaths >Adding 1 ("D:/temp/qtbug61792-l9Mfi9/File 1-2.txt") to existing 2 watchers Looking for a thread/handle for "D:/temp/qtbug61792-l9Mfi9/File 1-2.txt" Looking for "D:/temp/qtbug61792-l9Mfi9" 287 Before Thread( 0x26b6edd36a0 , handleForDir= 1 QHash(("D:/temp/qtbug61792-l9Mfi9", Handle(0x1ac,0x11f))) , pathInfoForHandle= 2 QHash((0x1a4, QHash(("D:/temp/qtbug61792-l9Mfi9", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=true))))(0x1ac, QHash(("D:/temp/qtbug61792-l9Mfi9/File 1-1.txt", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=false))))) handle match true flag match true 287 287 Found a thread Thread( 0x26b6edd36a0 , handleForDir= 1 QHash(("D:/temp/qtbug61792-l9Mfi9", Handle(0x1ac,0x11f))) , pathInfoForHandle= 2 QHash((0x1a4, QHash(("D:/temp/qtbug61792-l9Mfi9", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=true))))(0x1ac, QHash(("D:/temp/qtbug61792-l9Mfi9/File 1-1.txt", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=false))))) Inserted Thread( 0x26b6edd36a0 , handleForDir= 1 QHash(("D:/temp/qtbug61792-l9Mfi9", Handle(0x1ac,0x11f))) , pathInfoForHandle= 2 QHash((0x1a4, QHash(("D:/temp/qtbug61792-l9Mfi9", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=true))))(0x1ac, QHash(("D:/temp/qtbug61792-l9Mfi9/File 1-1.txt", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=false))("D:/temp/qtbug61792-l9Mfi9/File 1-2.txt", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=false))))) QWindowsFileSystemWatcherEngine::addPaths < ("D:/temp/qtbug61792-l9Mfi9/File 1-2.txt") ### added "D:\\temp\\qtbug61792-l9Mfi9\\File 1-2.txt" returns true ### adding "D:\\temp\\qtbug61792-l9Mfi9\\File 1-3.txt" QWindowsFileSystemWatcherThread Thread( 0x26b6edd36a0 , handleForDir= 1 QHash(("D:/temp/qtbug61792-l9Mfi9", Handle(0x1ac,0x11f))) , pathInfoForHandle= 2 QHash((0x1a4, QHash(("D:/temp/qtbug61792-l9Mfi9", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=true))))(0x1ac, QHash(("D:/temp/qtbug61792-l9Mfi9/File 1-1.txt", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=false))("D:/temp/qtbug61792-l9Mfi9/File 1-2.txt", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=false))))) waiting on 3 handles QWindowsFileSystemWatcherEngine::addPaths >Adding 1 ("D:/temp/qtbug61792-l9Mfi9/File 1-3.txt") to existing 3 watchers Looking for a thread/handle for "D:/temp/qtbug61792-l9Mfi9/File 1-3.txt" Looking for "D:/temp/qtbug61792-l9Mfi9" 287 Before Thread( 0x26b6edd36a0 , handleForDir= 1 QHash(("D:/temp/qtbug61792-l9Mfi9", Handle(0x1ac,0x11f))) , pathInfoForHandle= 2 QHash((0x1a4, QHash(("D:/temp/qtbug61792-l9Mfi9", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=true))))(0x1ac, QHash(("D:/temp/qtbug61792-l9Mfi9/File 1-1.txt", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=false))("D:/temp/qtbug61792-l9Mfi9/File 1-2.txt", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=false))))) handle match true flag match true 287 287 Found a thread Thread( 0x26b6edd36a0 , handleForDir= 1 QHash(("D:/temp/qtbug61792-l9Mfi9", Handle(0x1ac,0x11f))) , pathInfoForHandle= 2 QHash((0x1a4, QHash(("D:/temp/qtbug61792-l9Mfi9", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=true))))(0x1ac, QHash(("D:/temp/qtbug61792-l9Mfi9/File 1-1.txt", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=false))("D:/temp/qtbug61792-l9Mfi9/File 1-2.txt", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=false))))) Inserted Thread( 0x26b6edd36a0 , handleForDir= 1 QHash(("D:/temp/qtbug61792-l9Mfi9", Handle(0x1ac,0x11f))) , pathInfoForHandle= 2 QHash((0x1a4, QHash(("D:/temp/qtbug61792-l9Mfi9", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=true))))(0x1ac, QHash(("D:/temp/qtbug61792-l9Mfi9/File 1-1.txt", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=false))("D:/temp/qtbug61792-l9Mfi9/File 1-2.txt", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=false))("D:/temp/qtbug61792-l9Mfi9/File 1-3.txt", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=false))))) QWindowsFileSystemWatcherEngine::addPaths < ("D:/temp/qtbug61792-l9Mfi9/File 1-3.txt") ### added "D:\\temp\\qtbug61792-l9Mfi9\\File 1-3.txt" returns true QFileSystemWatcher(dirs= ("D:/temp/qtbug61792-l9Mfi9") , files= ("D:/temp/qtbug61792-l9Mfi9/File 1-1.txt", "D:/temp/qtbug61792-l9Mfi9/File 1-2.txt", "D:/temp/qtbug61792-l9Mfi9/File 1-3.txt") ) QWindowsFileSystemWatcherThread Thread( 0x26b6edd36a0 , handleForDir= 1 QHash(("D:/temp/qtbug61792-l9Mfi9", Handle(0x1ac,0x11f))) , pathInfoForHandle= 2 QHash((0x1a4, QHash(("D:/temp/qtbug61792-l9Mfi9", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=true))))(0x1ac, QHash(("D:/temp/qtbug61792-l9Mfi9/File 1-1.txt", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=false))("D:/temp/qtbug61792-l9Mfi9/File 1-2.txt", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=false))("D:/temp/qtbug61792-l9Mfi9/File 1-3.txt", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=false))))) waiting on 3 handles ### removing files ("D:/temp/qtbug61792-l9Mfi9/File 1-1.txt", "D:/temp/qtbug61792-l9Mfi9/File 1-2.txt", "D:/temp/qtbug61792-l9Mfi9/File 1-3.txt") Removing 3 Files QWindowsFileSystemWatcherEngine::removePaths > ("D:/temp/qtbug61792-l9Mfi9/File 1-1.txt", "D:/temp/qtbug61792-l9Mfi9/File 1-2.txt", "D:/temp/qtbug61792-l9Mfi9/File 1-3.txt") ("D:/temp/qtbug61792-l9Mfi9/File 1-1.txt", "D:/temp/qtbug61792-l9Mfi9/File 1-2.txt", "D:/temp/qtbug61792-l9Mfi9/File 1-3.txt") ("D:/temp/qtbug61792-l9Mfi9") removing "D:/temp/qtbug61792-l9Mfi9/File 1-1.txt" "D:/temp/qtbug61792-l9Mfi9/File 1-1.txt" QWindowsFileSystemWatcherEngine::removePaths "D:/temp/qtbug61792-l9Mfi9" INVALID_HANDLE_VALUE1 found Handle( 0x1ac , 0x11f ) for "D:/temp/qtbug61792-l9Mfi9" in Thread( 0x26b6edd36a0 , handleForDir= 1 QHash(("D:/temp/qtbug61792-l9Mfi9", Handle(0x1ac,0x11f))) , pathInfoForHandle= 2 QHash((0x1a4, QHash(("D:/temp/qtbug61792-l9Mfi9", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=true))))(0x1ac, QHash(("D:/temp/qtbug61792-l9Mfi9/File 1-1.txt", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=false))("D:/temp/qtbug61792-l9Mfi9/File 1-2.txt", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=false))("D:/temp/qtbug61792-l9Mfi9/File 1-3.txt", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=false))))) removed PathInfoHash QHash(("D:/temp/qtbug61792-l9Mfi9/File 1-2.txt", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=false))("D:/temp/qtbug61792-l9Mfi9/File 1-3.txt", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=false))) removing "D:/temp/qtbug61792-l9Mfi9/File 1-2.txt" "D:/temp/qtbug61792-l9Mfi9/File 1-2.txt" QWindowsFileSystemWatcherEngine::removePaths "D:/temp/qtbug61792-l9Mfi9" INVALID_HANDLE_VALUE1 found Handle( 0x1ac , 0x11f ) for "D:/temp/qtbug61792-l9Mfi9" in Thread( 0x26b6edd36a0 , handleForDir= 1 QHash(("D:/temp/qtbug61792-l9Mfi9", Handle(0x1ac,0x11f))) , pathInfoForHandle= 2 QHash((0x1a4, QHash(("D:/temp/qtbug61792-l9Mfi9", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=true))))(0x1ac, QHash(("D:/temp/qtbug61792-l9Mfi9/File 1-2.txt", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=false))("D:/temp/qtbug61792-l9Mfi9/File 1-3.txt", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=false))))) removed PathInfoHash QHash(("D:/temp/qtbug61792-l9Mfi9/File 1-3.txt", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=false))) removing "D:/temp/qtbug61792-l9Mfi9/File 1-3.txt" "D:/temp/qtbug61792-l9Mfi9/File 1-3.txt" QWindowsFileSystemWatcherEngine::removePaths "D:/temp/qtbug61792-l9Mfi9" INVALID_HANDLE_VALUE1 found Handle( 0x1ac , 0x11f ) for "D:/temp/qtbug61792-l9Mfi9" in Thread( 0x26b6edd36a0 , handleForDir= 1 QHash(("D:/temp/qtbug61792-l9Mfi9", Handle(0x1ac,0x11f))) , pathInfoForHandle= 2 QHash((0x1a4, QHash(("D:/temp/qtbug61792-l9Mfi9", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=true))))(0x1ac, QHash(("D:/temp/qtbug61792-l9Mfi9/File 1-3.txt", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=false))))) removed PathInfoHash QHash() Closing handle 0x1ac After removing "D:/temp/qtbug61792-l9Mfi9/File 1-3.txt" with abspath= "D:/temp/qtbug61792-l9Mfi9" : Thread( 0x26b6edd36a0 , handleForDir= 0 QHash() , pathInfoForHandle= 2 QHash((0x1a4, QHash(("D:/temp/qtbug61792-l9Mfi9", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=true))))(0x1ac, QHash())) Stopping thread Thread( 0x26b6edd36a0 , handleForDir= 0 QHash() , pathInfoForHandle= 2 QHash((0x1a4, QHash(("D:/temp/qtbug61792-l9Mfi9", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=true))))(0x1ac, QHash())) no handle for "D:/temp/qtbug61792-l9Mfi9" thread Thread( 0x26b6edd36a0 , handleForDir= 0 QHash() , pathInfoForHandle= 2 QHash((0x1a4, QHash(("D:/temp/qtbug61792-l9Mfi9", PathInfo("D:/temp/qtbug61792-l9Mfi9",isDir=true))))(0x1ac, QHash())) told to quit QWindowsFileSystemWatcherEngine::removePaths < ("D:/temp/qtbug61792-l9Mfi9/File 1-1.txt", "D:/temp/qtbug61792-l9Mfi9/File 1-2.txt", "D:/temp/qtbug61792-l9Mfi9/File 1-3.txt") Files removed successfully ### removing dirs ("D:/temp/qtbug61792-l9Mfi9") Removing 1 Directories QWindowsFileSystemWatcherEngine::removePaths > ("D:/temp/qtbug61792-l9Mfi9") () ("D:/temp/qtbug61792-l9Mfi9") removing "D:/temp/qtbug61792-l9Mfi9" "D:/temp/qtbug61792-l9Mfi9" QWindowsFileSystemWatcherEngine::removePaths < ("D:/temp/qtbug61792-l9Mfi9") Directories removed fail ("D:/temp/qtbug61792-l9Mfi9") QFileSystemWatcher(dirs= ("D:/temp/qtbug61792-l9Mfi9") , files= () )