LykosAI / StabilityMatrix

Multi-Platform Package Manager for Stable Diffusion
https://lykos.ai
GNU Affero General Public License v3.0
4.86k stars 315 forks source link

Stability stuck in infinitely recursing directories. #1010

Open taiyu-len opened 1 week ago

taiyu-len commented 1 week ago

What happened?

Stability can get stuck in infinitely recursing directories if they exist under the current working directory, and fail to load.

from a glance, it appears to use inotify to monitor changes recursively in the current working directory. I assume the intended behavior is to monitor a config directory or something

this would probably also causes issues if you run it in a very large directory

Steps to reproduce

  1. Have virtual file system with infinite directory somewhere.
  2. cd anywhere below that
  3. run

Relevant logs

No response

Version

2.12.3-1

What Operating System are you using?

Linux