zsh-workers
 help / color / mirror / code / Atom feed
From: Andrey Borzenkov <arvidjaar@newmail.ru>
To: zsh-workers@sunsite.dk
Subject: Re: 4.3.9: frequent crashes in completion menu selection
Date: Sun, 18 Jan 2009 14:47:52 +0300	[thread overview]
Message-ID: <200901181447.54147.arvidjaar@newmail.ru> (raw)
In-Reply-To: <200901081230.n08CUXTB010409@news01.csr.com>

[-- Attachment #1: Type: text/plain, Size: 1267 bytes --]

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.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2009-01-18 11:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-08 12:26 Andrey Borzenkov
2009-01-08 12:30 ` Peter Stephenson
2009-01-18 11:47   ` Andrey Borzenkov [this message]
2009-01-18 11:52     ` Mikael Magnusson
2009-01-18 11:56       ` Andrey Borzenkov
2009-01-18 19:24     ` Richard Hartmann
2009-01-18 23:47       ` Bart Schaefer
2009-01-20 10:39         ` Peter Stephenson
2009-01-08 15:58 ` Richard Hartmann
2009-01-08 16:02   ` Andrey Borzenkov
2009-01-08 17:55     ` Richard Hartmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200901181447.54147.arvidjaar@newmail.ru \
    --to=arvidjaar@newmail.ru \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).