How do I get more debug information for "thread '<unknown>' has overflowed its stack" #5523
-
In some of my projects with various Ruff releases (like 0.0.277 for instance) I upgrade and get a message like this:
I'm not sure what to do in this scenario or how to start opening a bug. Any advice? More information:
[tool.ruff]
target-version = "py311"
line-length = 100
select = [
"I", # isort
"C4", # flake8-comprehensions
"UP", # pyupgrade
"F", # pyflakes
"E", # pycodestyle
]
ignore = [
"E501", # line too long, handled by black
"C401", # generator syntax for sets vs always force set comprehension
"PLC0414", # allow explicit re-exports using 'as' without forcing __all__
]
[tool.ruff.isort]
known-first-party = ["app", "tests"] |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There must be some kind of instability in the import sorter, something that's causing an infinite loop. You could run with |
Beta Was this translation helpful? Give feedback.
There must be some kind of instability in the import sorter, something that's causing an infinite loop. You could run with
RAYON_NUM_THREADS=1 ruff check --verbose --no-cache .
, which should list out each file as it checks it. Use that to determine which file is erroring, and see if you can trim the file down to a minimal reproduction -- that'd be really useful.