Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Server Version: 3.9.5
Desktop Version: 3.9.5
Shoko keeps crashing while hashing files. Only happens since 3.9.5. Since 3.9.4 sometimes hashing recognized files as being 0 bytes file size and a workaround was moving the file out of the watch folder and back in again.
STEPS TO REPRODUCE
Have qbittorrent download a file (incomplete torrents are kept in a folder not watched by Shoko with the option "keep incomplete torrents in") and when complete, the file is moved from the temp folder into an anime folder which is watched by Shoko. Shoko starts hashing the file. Shoko crashes with no visible error messages.
Maybe it make server unstable with some many issues (leak or something).
If Shoko really tries moving the file, when it wants to hash, then it is obvious why it is not working, as I too have the file open in qBittorrent and need to have it open to keep it seeded. In the past (pre 3.9.4) I never had this problem with Shoko. Why would Shoko need write access (or "move access") to a file, which it should only read?
The function that sh!t itself is
Instead of throwing exception that It cannot Lock files it terminate or stackoverflow; according to ms documentation.
It could be possible if there is a overwrite to