zsh-workers
 help / color / mirror / code / Atom feed
From: ChenYao <chenyao@remrain.com>
To: Daniel Shahaf <d.s@daniel.shahaf.name>
Cc: zsh-workers@zsh.org, ChenYao <chenyao@remrain.com>
Subject: Re: zsh 5.3.1 crashes on completion
Date: Sat, 13 May 2017 10:02:23 +0800	[thread overview]
Message-ID: <783A691B-B69F-4673-B237-B316CEF26346@remrain.com> (raw)
In-Reply-To: <20170512161603.GA16688@fujitsu.shahaf.local2>

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

 I find that "setopt histignorealldups" in my zshrc causes the crash.

Reproduce from "zsh -f”:

# setopt histignorealldups
# echo $ZSH_VERSION
# `r`<press tab here, then crash>

Screenshot: http://imgur.com/hK9CP9R <http://imgur.com/hK9CP9R>

> On May 13, 2017, at 12:16 AM, Daniel Shahaf <d.s@daniel.shahaf.name> wrote:
> 
> Bart Schaefer wrote on Thu, May 11, 2017 at 14:19:03 -0700:
>> 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
> 
> I parsed ChenYao's backticks as quotation marks, so I thought he was
> talking about completion either at
> 
>    LBUFFER="r" RBUFFER=""
> 
> or at
> 
>    LBUFFER="r " RBUFFER=""
> 
> .
> 
> ChenYao: can you show us the exact partial command that has been entered
> when you invoke completion and provoke the crash?  Best show it on
> a line by itself so there is no ambiguity.  Thanks.
> 
> 


  parent reply	other threads:[~2017-05-13  2:03 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
2017-05-12 16:16   ` Daniel Shahaf
2017-05-12 16:19     ` Bart Schaefer
2017-05-13  2:02     ` ChenYao [this message]
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=783A691B-B69F-4673-B237-B316CEF26346@remrain.com \
    --to=chenyao@remrain.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).