zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@zsh.org
Subject: Re: Crash after interrupting tab-completion with Ctrl-\
Date: Sun, 26 Oct 2014 18:31:05 -0700	[thread overview]
Message-ID: <141026183105.ZM8141@torch.brasslantern.com> (raw)
In-Reply-To: <20141027003854.GA25689@xvii.vinc17.org>

On Oct 27,  1:38am, Vincent Lefevre wrote:
} 
} With zsh 5.0.7 (Debian package), I did a tab-completion, which
} generated endless output (I don't know why, and I don't remember the
} command). I typed Ctrl-\ to interrupt it (Ctrl-C had no effect), but
} zsh immediately crashed (the terminal disappeared as a consequence).

That's curious, because just with some simple tests (a completer that
contains a sleep) I'm not able to get ctrl-\ to do anything, but ctrl-C
interrupts the completion.

In fact even with a trap on QUIT in place, the stty quit character does
not seem to do anything until an external process is in the foreground.

I don't see anything in your .zcomp that looks likely to affect this,
so unlss you manage to remember what command you were completing for,
we may not get very far.

Can you check whether $^fpath/_call_program(N[1]) seems to contain the
patch from workers/33403 ?


  reply	other threads:[~2014-10-27  1:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-27  0:38 Vincent Lefevre
2014-10-27  1:31 ` Bart Schaefer [this message]
2014-10-27  2:18   ` Bart Schaefer
2014-10-27  8:16     ` Mikael Magnusson
2014-10-27 14:40     ` Vincent Lefevre
2014-10-27 14:51       ` Vincent Lefevre
2014-10-28 16:24       ` Bart Schaefer
2014-10-27 14:32   ` Vincent Lefevre

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=141026183105.ZM8141@torch.brasslantern.com \
    --to=schaefer@brasslantern.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).