Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Segfault while testing __git_files functions
- X-seq: zsh-workers 29269
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- Subject: Re: Segfault while testing __git_files functions
- Date: Sat, 14 May 2011 02:21: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=e5R7V9/qS1QNfJl0ubuKk0IED7ED9nZrZvj6dd4tU+M=; b=FiMhHE3nThRSOWPZycMp3l8C0M2hy1ZZKEDNtOEK1UVWV1G10qoOV/ExlWUI+OPZkZ e/b2j4ImI9+OfuNfd+uMjnxbUBB/M9SOMAM68UwXPuVJmJWHhpxW15An1x2PnnV8uKtt qg4Fj506C5+XuwGAvdcSEfsYV9phcpO4Omimo=
- 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=TazA/x40C5lcZK9hnnT0NoS8+rDqM/xQDa4jSqqslfbsmxp3tK/GSHvVpfYP96HFw0 QnRSpTJWFjf/pue2SEjTaWRX4DuQ+jeOAxMNGo6rucff3t0WspR0EhmQLJYiyQOGHAo8 weIT9w4V9QH+OHPce76Nhdi7T6aAp7YrjNbm4=
- In-reply-to: <20110514011315.30f53a2e@pws-pc.ntlworld.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: <alpine.LNX.2.01.1104270208490.28316@hp> <20110514011315.30f53a2e@pws-pc.ntlworld.com>
On 14 May 2011 02:13, Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> wrote:
> On Wed, 27 Apr 2011 02:16:04 -0400 (EDT)
> "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.
>
> ... thanks to this I was able to try the heap debugging and look at the
> result. However, it's nothing to do with using invalid heaps for the
> matcher group itself, it's simply that one particular element of the
> structure isn't being duplicated properly, so it didn't take much
> tracking down.
Hah.
(gdb) quit
Detaching from program: /usr/local/bin/zsh, process 19544
3823030 seconds elapsed
Date changed from 2011-03-30 to 2011-05-14
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author