zsh-workers
 help / color / mirror / code / Atom feed
From: Marlon Richert <marlon.richert@gmail.com>
To: Daniel Shahaf <d.s@daniel.shahaf.name>
Cc: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: Zsh crashes on `compadd` when using `_history` completer & zstyle `ignored-patterns` is set
Date: Fri, 5 Jun 2020 00:31:29 +0300	[thread overview]
Message-ID: <CAHLkEDsZ7GTSFU17Grhtfm4iDZ8_TJATV9ejqAs+QY37A5q5kw@mail.gmail.com> (raw)
In-Reply-To: <20200528084452.34074159@tarpaulin.shahaf.local2>

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

On Thu, 28 May 2020 at 11:44, Daniel Shahaf <d.s@daniel.shahaf.name> wrote:

> > Could the contents of my histfile have an influence on this? If you do
> `yes
> > | head -1001 > .zsh_history`, then there is no realistic data in the
> > histfile.
> >
>
> That's possible, yes.  Can _you_ reproduce the bug using the steps I
> posted?
>
> I don't have your $HISTFILE, but I can't reproduce the issue if
> I substitute my $HISTFILE (using «cp $HISTFILE ./.zsh_history») into the
> above steps, and it's longer than 1000 lines.
>
> > I noticed that if I start Zsh without a histfile, then the problem does
> not
> > occur.
>
> What if you start zsh with a empty histfile?
>
> If you can reproduce the problem with your usual histfile but not with
> an empty one, try reducing your histfile to the smallest one that does
> still reproduce the problem.  There are generic instructions at
> http://www.zsh.org/cgi-bin/mla/redirect?WORKERNUMBER=45791, if you
> aren't familiar with the procedure.  (They're written for .zshrc but
> you can apply them to $HISTFILE as well.)
>
> Can you try reproducing the bug in zsh built from master?
>

I am no longer able to reproduce it in any kind of way. Sorry. But at least
the problem is gone. :)

  reply	other threads:[~2020-06-04 21:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-25 11:02 Marlon Richert
2020-05-26 18:48 ` Daniel Shahaf
2020-05-28  7:49   ` Marlon Richert
2020-05-28  8:44     ` Daniel Shahaf
2020-06-04 21:31       ` Marlon Richert [this message]
2020-06-05  1:42         ` Daniel Shahaf

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=CAHLkEDsZ7GTSFU17Grhtfm4iDZ8_TJATV9ejqAs+QY37A5q5kw@mail.gmail.com \
    --to=marlon.richert@gmail.com \
    --cc=d.s@daniel.shahaf.name \
    --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).