zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@zsh.org
Subject: Re: Crash on interrupted completion with prezto
Date: Sat, 10 Oct 2015 23:39:05 -0700	[thread overview]
Message-ID: <151010233905.ZM13085@torch.brasslantern.com> (raw)
In-Reply-To: <56188361.3030105@gmail.com>

On Oct 10,  5:17am, Bart Polot wrote:
}
} 1. Start zsh 5.1.1 with default config of prezto enabled

Sigh.  It's really hard to debug things that require a plugin package
to be loaded before anything goes wrong.

} I re-compiled zsh with debug info and attached a quick gdb log of the
} coredump. Unfortuantely, I can't reproduce it under valgrind.

This probably indicates that it's yet another interrupt-handling race
condition.  We've been playing whack-a-mole with those for a while.

However, there have also been a number of recent optimizations in the
code around the point where your stack trace ends.  At the least it
may mean that things have sped up to the point where you don't feel
like whacking ctrl+c.  Refer to ZSH_PATCHLEVEL zsh-5.1.1-83-g83a1757.

However part 2, this makes me wonder if the new patallocstr() routine
needs queue_signals() / unqueue_signals().


      reply	other threads:[~2015-10-11  6:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-10  3:17 Bart Polot
2015-10-11  6:39 ` Bart Schaefer [this message]

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=151010233905.ZM13085@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).