-
-
Notifications
You must be signed in to change notification settings - Fork 118
findFiles() hanging indefinitely #72
Copy link
Copy link
Closed
Description
In 3.9, w/ changing of the order of reading the standard output/error, /usr/bin/find is now hanging indefinitely for me.
If I swap the order so standardOutput is read first, it works as expected with ~1000 files found and 0 errors:
(lldb) po errdata.isEmpty
true
Reproducing
The magic number (on my machine, at least. macOS 10.12.6, Xcode 9.0 9A235) seems to be 983 files, anything over that and it seems to hang. I've attached a zip file with a file hierarchy that reproduced the bug on my machine. It is just a bunch of empty .swift/h/m files in folders.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels