dust: Dust never finishes
Did cargo install and ran it in my home directory.
Quickly counted up to
Indexing: . 2835562 files, 299G ... /
but then doesn’t seem to get any further. Interrupted it after 5 minutes.
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 1
- Comments: 23 (7 by maintainers)
Commits related to this issue
- fix: bug: Remove bad error handling This may be causing dust to lock up as we were accidentally creating a second editable_error causing threads to lock. https://github.com/bootandy/dust/issues/495 — committed to bootandy/dust by bootandy a year ago
- fix: bug: Remove bad error handling This may be causing dust to lock up as we were accidentally creating a second editable_error causing threads to lock. https://github.com/bootandy/dust/issues/495 — committed to bootandy/dust by bootandy a year ago
- fix: dir_walker interrupted error Ignore and continue if we get many interrupted errors instead of panicing on 3. This is from user feedback who reported occasional panics from too many interrupted ... — committed to bootandy/dust by bootandy a year ago
- fix: dir_walker interrupted error Ignore and continue if we get many interrupted errors instead of panicing on 3. This is from user feedback who reported occasional panics from too many interrupted ... — committed to bootandy/dust by bootandy a year ago
- fix: dir_walker interrupted error (#507) * fix: dir_walker interrupted error Ignore and continue if we get many interrupted errors instead of panicing on 3. This is from user feedback who reported ... — committed to bootandy/dust by bootandy a year ago
With
v1.2.1I now intermittently face the below situation:Other times it finishes execution and shows results (for the same dir).
Managed to get a backtrace after many retries:
Yes thanks @sankalp-khare - I think your summary is correct
I think the fix is simple - we just remove the second unwrap2 - I think this is simply my own dumb refactoring error:
https://github.com/bootandy/dust/pull/497
coo, this is interesting, I’ll look into this soon.
thanks for the investigation so far
I have not had it happen again, but I know that if you scan your home directory from a newly installed application on macOS, it will pop up dialogs asking for permissions to read various directories.
well there is no verbose in the flags yet i have tried to add it locally to my version-tbh i don’t want this flag to be there for many reasons fork my repo I have added the following changes to the latest commit