Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Segfault while testing __git_files functions



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