zsh-workers
 help / color / mirror / code / Atom feed
From: "Óscar García Amor" <ogarcia@connectical.com>
To: zsh-workers@zsh.org
Subject: Segfault on completion with interactive mode
Date: Wed, 10 Feb 2016 17:40:31 +0100	[thread overview]
Message-ID: <CAPdr91afVtwZnv3o9FKqfgMeYg_1Tz9R-ujTVhJUwu4ErNtFng@mail.gmail.com> (raw)

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

Hi!

I found a segfault bug on ZSH 5.2, but is confirmed that can be reproduced
in master.

Steps to reproduce:
1. Run a `zsh -f`
2. Set this config.
```
zstyle :compinstall filename "${HOME}/.zshrc"
autoload -Uz compinit
compinit
zstyle ':completion:*' menu select interactive
zstyle ':completion:*:warnings' format '%BNo matching %b%d'
unsetopt menu_complete auto_list
```
3. Start write a command. For example, write `ba`
4. Press tab to show options (interactive mode appears)
5. Write a letter that not mach with any option (to generate a completion
warning)
6. Press backspace

Tachan! zsh: segmentation fault (core dumped)

danielsh, on IRC, send this coredump:
http://sprunge.us/BXDU

Greetings.

-- 
Óscar García Amor | ogarcia@connectical.com
Connectical | http://connectical.com

             reply	other threads:[~2016-02-10 16:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-10 16:40 Óscar García Amor [this message]
2016-02-10 20:03 ` Bart Schaefer
2016-02-11  4:01 ` Bart Schaefer
2016-02-11 12:49   ` Peter Stephenson
2016-02-12 10:17     ` Bart Schaefer
2016-02-13 22:28 ` Bart Schaefer

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=CAPdr91afVtwZnv3o9FKqfgMeYg_1Tz9R-ujTVhJUwu4ErNtFng@mail.gmail.com \
    --to=ogarcia@connectical.com \
    --cc=zsh-workers@zsh.org \
    /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).