New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Completion of non-existent file make zsh
segfault
#343
Comments
Sorry, but I'm unable to reproduce this. In your test functions -t .autocomplete.complete-word.completion-widget |
here you go: |
Thanks! It looks like the crash happens after the widget's completion function has returned. Can you try adding the following to your test zstyle ':autocomplete:*' async off Does the crash still occur then? If it doesn't, then try the following:
|
it doesn't
only these lines:
|
Thanks. Can you try this?
|
mh, don't know how to do this, since it happens when i tab and the terminal close.
here is the file: thanks |
Have another terminal window open where you execute print -P — '%D{%T.%.}' roughly at the same time as the crash. It would also help if you wait a couple of seconds before pressing the Tab that causes the crash. These two things combined will help me identify the exact spot in the log where things go wrong. |
-13:08:22.571 hope it helps |
Thanks, I'm able to reproduce it now. It looks like a bug in |
zsh
segfault
@pbosab It's fixed now. PS: If you enjoy using my software, please consider sponsoring me. 🙂 |
zsh-autocomplete
version: latest gitmade a new .zshrc empty, with only:
(5.0 was only for testing purpose)
now try to "cat /var/log/the_first_letter_of_a_non_existent_file" and TAB before the 5sec
in my example:
cat /var/log/xTAB
zsh segfault:
The text was updated successfully, but these errors were encountered: