From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 28754 invoked from network); 5 Jun 2020 01:43:50 -0000 Received: from ns1.primenet.com.au (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with ESMTPUTF8; 5 Jun 2020 01:43:50 -0000 Received: (qmail 18484 invoked by alias); 5 Jun 2020 01:43:36 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 45973 Received: (qmail 3156 invoked by uid 1010); 5 Jun 2020 01:43:36 -0000 X-Qmail-Scanner-Diagnostics: from wout5-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.3/25828. spamassassin: 3.4.4. Clear:RC:0(64.147.123.21):SA:0(-2.6/5.0):. Processed in 4.92866 secs); 05 Jun 2020 01:43:36 -0000 X-Envelope-From: d.s@daniel.shahaf.name X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at daniel.shahaf.name does not designate permitted sender hosts) X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudegvddggeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfgjfhfogggtgfesthhqtddtredtjeenucfhrhhomhepffgrnhhi vghlucfuhhgrhhgrfhcuoegurdhssegurghnihgvlhdrshhhrghhrghfrdhnrghmvgeqne cuggftrfgrthhtvghrnheptdeggeffgffhhfegfeeggfelgfeugfevvdfgueeltdfhtedu feehjeeuffevheevnecuffhomhgrihhnpeiishhhrdhorhhgnecukfhppeejledrudejie drfeelrdeileenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpegurdhssegurghnihgvlhdrshhhrghhrghfrdhnrghmvg X-ME-Proxy: Date: Fri, 5 Jun 2020 01:42:48 +0000 From: Daniel Shahaf To: Marlon Richert Cc: Zsh hackers list Subject: Re: Zsh crashes on `compadd` when using `_history` completer & zstyle `ignored-patterns` is set Message-ID: <20200605014248.354f59b8@tarpaulin.shahaf.local2> In-Reply-To: References: <20200526184830.4b52dd0c@tarpaulin.shahaf.local2> <20200528084452.34074159@tarpaulin.shahaf.local2> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Marlon Richert wrote on Fri, 05 Jun 2020 00:31 +0300: > On Thu, 28 May 2020 at 11:44, Daniel Shahaf wrot= e: >=20 > > > Could the contents of my histfile have an influence on this? If you d= o =20 > > `yes =20 > > > | head -1001 > .zsh_history`, then there is no realistic data in the > > > histfile. > > > =20 > > > > 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 =C2=ABcp $HISTFILE ./.zsh_history=C2= =BB) into the > > above steps, and it's longer than 1000 lines. > > =20 > > > I noticed that if I start Zsh without a histfile, then the problem do= es =20 > > not =20 > > > occur. =20 > > > > 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=3D45791, 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? > > =20 >=20 > I am no longer able to reproduce it in any kind of way. Sorry. But at lea= st > the problem is gone. :) Well, I'm sure it will come back. When it does, let us know =E2=98=BA Cheers, Daniel