Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh 5.3.1 crashes on completion
- X-seq: zsh-workers 41098
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: ChenYao <chenyao@xxxxxxxxxxx>, zsh-workers@xxxxxxx
- Subject: Re: zsh 5.3.1 crashes on completion
- Date: Thu, 11 May 2017 14:19:03 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=JcHbuN6FzadBOWDQdXQNg+NDesQL1rJG+E2O5E6nO+s=; b=co5jZSvZXcF6PxYT1bmBT4p2gApivfVOI9uQgaY0f3XHow52taP3nMRElOANg7jOSO UOagt3+eff0jmTcIIuKtSD8DpdNDiSA/34O7nTOxD9m0+mBYUOWz3KfBQd+qbJAKEvE3 U8XG04iSaIe/10BtDqbi8Ghh71dTLXE3JLpEh7lHU6MSSzrjq9ANPCBOSjTyFWucf4eT PTVtOhIEyZUEru7/9m/c6tovF+MXpytOORcvEa/ResSEmqjs2ftr8jkQvmkzwW/4Dbeu QriLGY5NctCmDoR/q/uAB4A1hU37GXvqTsd8R7Pl7nbHJZBaZeDfzp3GTWrh/nB0kU0q weIg==
- In-reply-to: <E2298111-0CDA-429D-B3E8-7B8CE06CD974@remrain.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <E2298111-0CDA-429D-B3E8-7B8CE06CD974@remrain.com>
On May 11, 10:35am, ChenYao wrote:
}
} It seems that zsh is attempting to double free memory when
} autocompleting `fc` or `r`. And it causes zsh crash.
I'm NOT able to reproduce this from "zsh -f" with the most recent git
checkout.
Completing after an expression in backticks causes that expression to
be executed inside the completion system, which means among other things
that `fc` tries to run the editor without any terminal, and then any
terminal control sequences that the editor emits may end up as part
of the command name that is next attempted to run; so it's possible
that the choice of editor affects what ends up getting processed into
the command buffer, which might in turn change whether the crash is
triggered.
Or it might just be that any of several other recent fixes has also
swept up this one.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author