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

Re: trap handling segfault



On Jun 9, 10:02am, Clint Adams wrote:
} Subject: trap handling segfault
}
} I haven't looked at this in depth, but it's dying in endtrapscope()
} when it tries to dereference st->list->funcdef (when st->list happens to
} be NULL).  Reversing 11736 smoothes things out.

If you have a compiled shell with 11736 reversed, please try adding a
`setopt localtraps' at the top level (i.e. above `function TRAPEXIT')
in your snippet and then see if it still dumps core.  I don't think
11736 can really be the cause of this crash.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



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