Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 4.3.9: frequent crashes in completion menu selection
- X-seq: zsh-workers 26353
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: 4.3.9: frequent crashes in completion menu selection
- Date: Sun, 18 Jan 2009 12:52:15 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=1xiUX4OXWW2jLcrLWwxRiUqMZbP80gXcbUJGQvlScCg=; b=c215MsFn57+PjjGtXjyIRBMmVrlWDIsR5tkCH/z6nzowlfhM7KWryK7UqYdB/OTTLo NogTnEX0RFDAKjf+pwj9ogePXiVn0FVxiGNFnLqtG7vv917fC1IxLmU0D5iKGjtMC5mD RigqPUc8XODbVmr+lkLMTv/xBCCtyeZNxy76c=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Ajz69EGywVdWqZ+tLBdR7sCphm7O5lB/zehHnNUIuUxzCfZM0R+ZXCkv0BH+2LI0oK zl+GCT+4pEpot8XuZcXvvwdP6QWekyk1fAqItReR7mWPv2/twI3h0Dt1mSIWX/igyqpl jkSv/iWbJ8vc5rZvssWgMQwglnh5S7e5mymxI=
- In-reply-to: <200901181447.54147.arvidjaar@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <200901081526.48797.arvidjaar@xxxxxxxxxx> <200901081230.n08CUXTB010409@xxxxxxxxxxxxxx> <200901181447.54147.arvidjaar@xxxxxxxxxx>
2009/1/18 Andrey Borzenkov <arvidjaar@xxxxxxxxxx>:
> On 8 ÑÐÐÐÑÑ 2009 15:30:33 Peter Stephenson wrote:
>> Andrey Borzenkov wrote:
>> > I hit it quite often on Mandriva cooker; I do not see any obvious
>> > post-4.3.9 commits dealing with crashes in this area. This usually
>> > happens during menu selection browsing file system.
>>
>> There's probably not a cat's chance in hell of getting anywhere with
>> this (given the code it affects) unless it can be reproduced easily.
>
> The following seems to do it here:
>
> mkdir /tmp/u{1,2}/w{1,2}
> {pts/1}% zsh -f
> cooker% autoload compinit; compinit
> cooker% zmodload zsh/complist
> cooker% zstyle ':completion:*' menu 'select=0'
> cooker% bindkey -M menuselect "/" accept-and-infer-next-history
> cooker% setopt menucomplete
> cooker% zstyle ':completion:*' format Completing %d
> cooker% ls /tmp/uTAB
>
> Now you get menu selection; press two times '/' to get "Completing
> 'files'" (at /tmp/u1/w1/ line contents); now press undo (^_) until you
> get empty line; press RETURN; press 'ls /tmp/uTAB'. Zsh crashes.
>
> For some reasons crucial point is setting "format". Not only can I not
> make it crash without this; it seems to change the undo behaviour as
> well - pressing undo multiples times with and without "format" set
> cycles through *different* line contents.
While it doesn't explain the crash, I'm pretty sure that should be
zstyle ':completion:*' format 'Completing %d'
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author