Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Segfault while testing __git_files functions
- X-seq: zsh-workers 29082
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: "Benjamin R. Haskell" <zsh@xxxxxxxxxx>
- Subject: Re: Segfault while testing __git_files functions
- Date: Wed, 27 Apr 2011 10:42:52 +0200
- Cc: Zsh Workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=IymeDvUhqg5oSbqFExWZi+w6Z6PlgF/5AUmmKM68n7I=; b=dxhWk3Qnx1myoRgd0GklJzE83sT1uAk6YVqIik7+G0ikx1nUkkiDGBNKR03YMr4eVs lcRxEFXkHY4VOT7n4HqdIXedMEGqWg3qJYtRgSTNXEnxlYEeygADnrJ/j6xbRulRkho1 TLNVY4fqzZDaaBV8pb0FZRkn1dR1WVDVKT3FE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=GJDZMjeGxvkcvJKcNn4Q/D6R+AlKTsV6pNCYrNTJNE/8B5MAftH9os8i36rnnB0uPo JsntlKlSiuk7l+Elk0+Ww3CP3FXYMtDRpWsT6UVY68Nl3q7ZHw4INYODMf3Wp6l0gMB5 edWpcyQlGxKPeJvWGsZ6U0wW0NuGqaa9qr2mU=
- In-reply-to: <alpine.LNX.2.01.1104270208490.28316@hp>
- 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: <alpine.LNX.2.01.1104270208490.28316@hp>
On 27 April 2011 08:16, Benjamin R. Haskell <zsh@xxxxxxxxxx> wrote:
> While trying to come up with a minimal "do __git_tree_files when I say
> __git_files" example, I came upon an error that gives me a reproducible
> segfault.
>
> Attached test script can be run from `zsh -ldf`:
>
> host% . ./git-break.zsh
>
> It'll create a git repo, and prep it for the point where it'll break if you
> hit Tab.
>
> Stack trace attached. (built from rev 348d284)
I wonder if this is the same crash as I have with the old git
completion, that also involved $PREFIX iirc. The top of the backtrace
looks quite similar too. Can you see if 'frame 2' says
#2 0x00007f2f68b38c84 in dupmatch (m=0x7f2f69be4298, nbeg=0, nend=0)
at compcore.c:3232
3232 ztrdup(m->prpre);
(see also: http://www.zsh.org/mla/workers/2011/msg00391.html)
I would not have any complaints if anyone else fixed this btw :).
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author