From: Bart Schaefer <schaefer@brasslantern.com>
To: ChenYao <chenyao@remrain.com>, zsh-workers@zsh.org
Subject: Re: zsh 5.3.1 crashes on completion
Date: Thu, 11 May 2017 14:19:03 -0700 [thread overview]
Message-ID: <170511141903.ZM13639@torch.brasslantern.com> (raw)
In-Reply-To: <E2298111-0CDA-429D-B3E8-7B8CE06CD974@remrain.com>
On May 11, 10:35am, ChenYao wrote:
}
} It seems that zsh is attempting to double free memory when
} autocompleting `fc` or `r`. And it causes zsh crash.
I'm NOT able to reproduce this from "zsh -f" with the most recent git
checkout.
Completing after an expression in backticks causes that expression to
be executed inside the completion system, which means among other things
that `fc` tries to run the editor without any terminal, and then any
terminal control sequences that the editor emits may end up as part
of the command name that is next attempted to run; so it's possible
that the choice of editor affects what ends up getting processed into
the command buffer, which might in turn change whether the crash is
triggered.
Or it might just be that any of several other recent fixes has also
swept up this one.
next prev parent reply other threads:[~2017-05-11 21:18 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-11 2:35 ChenYao
2017-05-11 21:19 ` Bart Schaefer [this message]
2017-05-12 16:16 ` Daniel Shahaf
2017-05-12 16:19 ` Bart Schaefer
2017-05-13 2:02 ` ChenYao
2017-05-13 18:23 ` Bart Schaefer
2017-05-15 9:28 ` Peter Stephenson
2017-05-15 20:33 ` Bart Schaefer
2017-05-16 9:48 ` Peter Stephenson
2017-05-16 11:05 ` Peter Stephenson
2017-05-17 18:18 ` Bart Schaefer
2017-05-17 18:41 ` Peter Stephenson
2017-05-25 16:01 ` Jun T.
2017-05-25 18:05 ` Bart Schaefer
2017-05-26 9:19 ` Peter Stephenson
2017-05-26 23:56 ` Bart Schaefer
2017-05-29 4:04 ` Jun T.
2017-05-17 18:07 ` 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=170511141903.ZM13639@torch.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=chenyao@remrain.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).