zsh-autocomplete icon indicating copy to clipboard operation
zsh-autocomplete copied to clipboard

ZSH segfault when zsh-autosuggestions is enabled

Open YaroST12 opened this issue 8 months ago • 1 comments

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

  1. Type (or call it from history) adb shell am broadcast -a android.intent.action.BOOT_COMPLETED
  2. Hit CTR+C or execute the command
  3. Hit arrow key up to open history
  4. 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.

YaroST12 avatar Jun 10 '24 12:06 YaroST12