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

Re: Crashing shell on 5.0.2 OSX, logs attached



On Tue, 7 May 2013 16:46:16 -0700
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Tue, May 7, 2013 at 2:55 PM, Julian Berman <julian@xxxxxxxxxxxxx> wrote:
> > Looks like you're right, disabling syntax-highlighting did it, guess I
> > should have tried that considering syntax highlighter's warnings
> 
> So now what we need is for someone to run valgrind or something like
> it with zsh-syntax-highlighting loaded, so we can track down what must
> be either a buffer overrun or a bad free somewhere in the
> region-highlight code.

Something like

valgrind --leak-check=full --malloc-fill=0xff --child-silent-after-fork=yes zsh

probably gives your best bet in that case.  The error doesn't seem obvious.

-- 
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/



Messages sorted by: Reverse Date, Date, Thread, Author