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

Re: Probabilistic crash on zsh 5.9 on x86_64



> 2023/04/13 20:12、Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>のメール:

> "watch" says the real culprit is this unsettrap() in starttrapscope().
> I guess the save and restore action here needs a corresponding
> useeprog / freeprog, not sure the best way of doing that yet.

As I wrote before, the entire 'struct shfunc' is freed by
shfunctab->freenode(shf) (signals.c:982), or freeshfuncnode(shf).
I think it is not just the problem of the reference count of Eprog
(shfnc.funcdef.nref).
Or maybe I misunderstood your post.



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