Searching in / and /proc freezes the application
While #637 prevents freezing by just listing the root directory, any search activity at / or /proc still freezes broot (version 1.17.0) for me.
I noticed the same issue with 'fd', while find seems to be the only tool so far which does not have this issue.
Possibly related: https://github.com/sharkdp/fd/issues/288
I've read the issue in fd and I see I'm not the only one failing to make any sense for those occasional freeze in iteration (it's not related to infinite recursion and I don't even manage to find what standard call is blocking).
BTW, It's not "any search activity", it's not really deterministic although a deep search is likely to provoke a freeze.
The same freeze in fd and other rust tools has been tracked to an issue in the rust lib (read_dir). It's been fixed, then unfixed at least twice. fd compiled now has the same problem.
Until it's really fixed and old enough that I can guarantee it with the minimum rust version, I'll add /proc to the set of special paths (in an overridable way).
I'm not closing this issue as it would be more convenient to be able to search in /proc (I was using that feature extensively in the past, when coding lfs...)