Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug report: segfault when pasting (function and alias names collide)
- X-seq: zsh-workers 40282
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Victor Volle <victor.volle@xxxxxxxxxxxxxxxxx>
- Subject: Re: Bug report: segfault when pasting (function and alias names collide)
- Date: Fri, 6 Jan 2017 16:21:09 +0000
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=bMLmazy6CLf1zgU OmPi4HItzcsY=; b=InyHIcbJvaycZK/CdRuMoiNc1A6r8ytT2JEOtc0SCGrj5aU mM1TEOiDx1aX8TCBoKaQPCkXj2AoKitChwmNogxEQf7BQ3awy0OBB5VB3Z8oXl7Q lfUwEZLMk9q2najhWvrgYwGaeM52jggNOs8g6CduLty8drcuDrW8o4c2LaqQ=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=smtpout; bh=bMLmazy6CLf1zg UOmPi4HItzcsY=; b=tBICKhR0rY6d6iCL+NB6S4xxtnrGgYFdFRDMHjph6Y/lux Omo1vGHHV9tR2bhHGfU+brvvzEQHWcJKk4nbAXBGEJEmFI04/jH8fraCnDpDHRl0 cSexwlrdwyKJd4krqEEz7WySugyuEzztgFA7v9Iq6P3md4yoHICuWEDPx/cto=
- In-reply-to: <CAA9FWwM_EFDNi68SOoT1CMMuBCUzP5Z9YTzWW5Ob2oPNXA19TQ@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAA9FWwOMDftD+nfj=Thw-SO9ZpHD-eg4kOZYTzzTHDRcTeDqxw@mail.gmail.com> <20170106022907.GA6982@fujitsu.shahaf.local2> <CAA9FWwM_EFDNi68SOoT1CMMuBCUzP5Z9YTzWW5Ob2oPNXA19TQ@mail.gmail.com>
Victor Volle wrote on Fri, Jan 06, 2017 at 13:26:30 +0100:
> I tried to reduce it as far as possible, but it does not happen without
> oh-my-zsh.
> This is the minimal version that still shows the segfault:
>
> source $ZSH/oh-my-zsh.sh
>
> alias h='history'
>
> h() {
> echo "foo"
> }
>
> Steps to reproduce:
>
> 0) install latest oh-my-zsh
> 1) Invoke `zsh -f`
> 2) source the above script
> 3) paste anything
Thanks, that's still too broad. Could you ask the oh-my-zsh people to
come up with a reproduction script that is more self-contained?
Before doing that you could try `zsh -fx` and grepping the output
'history' and for 'paste'... but if that doesn't produce a minimal
reproducer, we should ask omz for help, not reverse-engineer their code. :)
CHeers,
Daniel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author