Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
r in completion function causes zsh abort
- X-seq: zsh-workers 30784
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Zsh workers <zsh-workers@xxxxxxx>
- Subject: r in completion function causes zsh abort
- Date: Thu, 08 Nov 2012 11:25:23 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s1024; t=1352370324; bh=GcxjqwaCVIse61TpPB8cBPiv/TjkozVFXx03sBUi2DM=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Received:From:To:Subject:Date:Message-ID; b=a406Qk3IBM2UVp2CcEtO9vEaxUmzZIG2k5MyeA7hfnp+IYG6NamVdTiFCCaDU8c1JFYMpnlWaaww6zIUWHXoj99XTzUGwvoBCwRDjVwJnTeAUkIyZrs7fTM1L58Oc/Kr080gikUXKaygyF6WSMcsol+usQLJpkErVIEA0OKFyi8=
- 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
After accidentally leaving a spurious `r' in a completion function, zsh
crashes with:
*** glibc detected *** zsh: double free or corruption (fasttop): 0x00000000022bc640 ***
It doesn't seem to occur directly from zsh -f but attempting to bisect
my options makes me suspect that there isn't a specific set that are
needed. Anyway, the following appears to reliably reproduce the problem:
zsh -f
autoload -U compinit;compinit
compdef r ty
setopt -09hwE
ty <tab>
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author