todds icon indicating copy to clipboard operation
todds copied to clipboard

Exception with corrupted filesystems

Open joseasoler opened this issue 2 years ago • 0 comments

A Windows user was experiencing the following exception:

todds has been terminated because of an exception: filesystem::recursive_directory_iterator increment error: The system cannot find the file specified [system:2]

According to this boost::filesystem issue, this exception happens when the filesystem is corrupt. Another fact that points to a corruption as the cause is that I managed to repro this issue at one point using mods from RimWorld as the input, but the issue went away after validating game files and letting Steam update the mods.

Potential fixes are discussed in the boost::filesystem issue mentioned above and in here: https://github.com/boostorg/filesystem/commit/9a14c37d6f954c371ab1f6d78e9445417a206545

joseasoler avatar Jan 06 '24 06:01 joseasoler