Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#87 ZSH crash during tab completion

open
nobody
None
5
2013-01-27
2013-01-22
Michael Daffin
No

Zsh crashes every time aftter the following is typed and tab is hit (with the cursor somewhere within the cmake part)

$ !>cmake ..
completing file
Warning: Program '/bin/zsh' crashed.

This happens every time. Just type "!>cmake .." place the cursor just after the cmake: "!>cmake| .." and hit tab.

Attached is my zshrc that causes this.

Discussion

  • Michael Daffin
    Michael Daffin
    2013-01-22

     
    Attachments
  • Bart Schaefer
    Bart Schaefer
    2013-01-26

    What version of zsh? I tested with 5.0.2 and with a build from just before the 5.0 release.

    The attached .zshrc is almost entirely commented out, except for a few alias assignments, so if that's really accurate it's unlikely to be related. Has compinit been run by some other startup file (/etc/zsh* or the like)?

    I'm unable to reproduce the crash. With compinit run, I get offered files at that command line position. With compctl, I get nothing (no error, no beep, no completions), so if in the reported example compinit has not been run I suspect a platform-specific bug in the old code.

     
  • Michael Daffin
    Michael Daffin
    2013-01-27

    Opps, sorry, forgot I had made my zshrc mostly redundant by using grml-zsh-config as my systems zsh config (installed via archlinux repos)

    My zsh version is zsh 5.0.2 (x86_64-unknown-linux-gnu)