zsh-autocomplete
zsh-autocomplete copied to clipboard
ZSH segfault when zsh-autosuggestions is enabled
Environment
% typeset -p1 VENDOR OSTYPE ZSH_PATCHLEVEL _autocomplete__funcfiletrace
typeset VENDOR=pc
typeset OSTYPE=linux-gnu
typeset ZSH_PATCHLEVEL=zsh-5.9-0-g73d3173
typeset -a _autocomplete__funcfiletrace=(
/home/yaro/.oh-my-zsh/plugins/zsh-autocomplete/zsh-autocomplete.plugin.zsh:4
/home/yaro/.oh-my-zsh/oh-my-zsh.sh:181
/home/yaro/.oh-my-zsh/oh-my-zsh.sh:208
/home/yaro/.zshrc:75
zsh:0
)
% git -C ~autocomplete log --oneline -n1
Unavailable, using Arch linux version: zsh-autosuggestions 0.7.0-2
- Operating system: Manjaro 24.0.1
- Terminal emulator: gnome-terminal + plugins: fast-syntax-highlighting zsh-autosuggestions zsh-autocomplete
Steps to reproduce
- Type (or call it from history)
adb shell am broadcast -a android.intent.action.BOOT_COMPLETED
- Hit CTR+C or execute the command
- Hit arrow key up to open history
- Segfault.
This adb shell line seems to reproduce it 10/10 times, but I've caught segfaults in a few other places, which I assume are caused by the same issue.