zsh-workers
 help / color / mirror / code / Atom feed
* Segfault when displaying completion lists
@ 2016-02-08 22:58 Christian Heinrich
  2016-02-08 23:39 ` Eric Cook
  0 siblings, 1 reply; 4+ messages in thread
From: Christian Heinrich @ 2016-02-08 22:58 UTC (permalink / raw)
  To: Zsh hackers list

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

Hello,

I'm running ZSH 5.2-3 on my Debian Testing system. This error existed
previously, too, but I only found the time today to find a minimal
setup for this. Here we go:

% zsh --norcs
% zmodload zsh/complist
% autoload -U compinit && compinit -d ~/.zsh/cache/zcompdump 
% zstyle ':completion:*' list-prompt '%p'
% bindkey -d
% ls /usr/lib/<TAB>
Now a huge list should be displayed with a pager. Press "Arrow Down"
and it should segfault.


This does not happen if the "zsh/complist" module is not loaded.

Another interesting observation:

After the <TAB>, press backspace instead of "arrow down" and remove the
whole command (do not accept the line). Type "bindkey -d" (yes, a 2nd
time) and accept. Type "ls /usr/lib/<TAB>" again and press backspace.
It segfaults now, although backspacing worked the first time.

Maybe someone can find the reason for this? I do have EDITOR="vim" set,
but it appears as if it happens with EDITOR="emacs" as well.


Thanks!

Christian

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-02-09 10:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-08 22:58 Segfault when displaying completion lists Christian Heinrich
2016-02-08 23:39 ` Eric Cook
2016-02-09  6:00   ` Bart Schaefer
2016-02-09 10:31     ` Christian Heinrich

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).