Closed pesterhazy closed 12 months ago
Is there a way to get a stacktrace when it freezes to know where in the code the infinite loop is happening?
You could try running set -x
before reproducing the problem. In any case, I'm not able to reproduce this. If you can provide more debug info, I'll reopen the issue.
I think I've been hitting this on my work machine. I'll check CPU while hung next week.
Wedged zsh
again; confirmed 100% CPU usage. If I'm reading it right, it's spending all its time in zsh' runhookdef
calling into complist.so
.
@garthk Unfortunately, that kind of sample doesn't really tell me anything useful. Running with set -x
would provide better output. What would help most, though, is if you could provide a reliable way to reproduce this.
TBH I'm not seeing this problem anymore for some reason (knock on wood). Maybe removing the bunjs shell completion helped fix this as well https://github.com/marlonrichert/zsh-autocomplete/issues/632
zsh-autocomplete (latest master) often freezes with 100% CPU when pressing Enter on a completion
Environment
Steps to reproduce
Not sure how to repro this in a temp dir. This doesn't always happen but when it does, I try to pick a selection and the terminal freezes with 100% CPU.
I've set the following settings