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

Re: 5.9 core dumps under zleentry->zleread->zlecore



On 2023-12-02 23:58, Bart Schaefer wrote:
On Fri, Dec 1, 2023 at 12:00 AM Johan Ström <johan@xxxxxxxxxxx> wrote:
Just had three terminals crash on me at once (after interacting with
them each).
Given that the stack traces are all different, this suggests that
something happening earlier is corrupting memory, which then causes an
unrelated error.

1.  If possible, try building the latest dev revision.  There was
recently a patch to resolve a number of issues flagged by Coverity
code flow analysis.  There's also been a bad free fixed in process
substitution (edge case not easily reached) and a fix for a reference
counting error when using "zle -F" to watch file descriptors.
After some modifications to the arch AUR package zsh-git I know have the current master running. Let's see if problems go away.
Is master generally stable atm?

2.  Is there anything you're having zsh do while terminal input is
idle?  ALRM handler (e.g., to update title bar), "zle -F" (see above),
a "periodic" function, use of the zsh/sched module, etc.?

Nope, not that I'm aware of. This morning I opened the laptop which had been asleep since Friday, and on of the terminals immediately crashed when I interacted with history. On my desktop I've had crashes too, but that machine never sleeps so not directly related to sleep at least.


Will report back if zsh-git works better, thanks for your prompt response!






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