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

Re: It seems that I find a zle -F full CPU bug




Hi Bart,

I compiled up https://github.com/zsh-users/zsh (SHA 4e54648add79f7cb0c0fe81e46f49817d4555f2a ) which contains

7e04c1a - 32427: avoid busy loop on closed descriptors for "zle -F" handlers (5 months ago) (Barton E. Schaefer)

I am using your second suggested 'git info in background' (http://www.zsh.org/mla/users/2014/msg00448.html) rather than http://www.zsh.org/mla/users/2014/msg00204.html and am happy to report it works fine :-) Interestingly it also fixes the multiple Ctrl-C which I reported in another thread.

Thanks!

Nick



On 16/07/14 18:50, Bart Schaefer wrote:
On Jul 16,  6:10pm, Nick Cross wrote:
} Subject: Re: It seems that I find a zle -F full CPU bug
}
} On 16/07/14 17:01, Bart Schaefer wrote:
} > On Jul 16,  2:55pm, Nick Cross wrote:
} > } Subject: Re: It seems that I find a zle -F full CPU bug
} > }
} > } Using Fedora 5.0.5 and similar background code from Bart
} > } (http://www.zsh.org/mla/users/2014/msg00448.html) I can see the same
} > } POLLNVAL high CPU from strace.
} >
} > Unfortunately I don't think there's any shell-language-level workaround.
}
} Darn ;-) Ok, is there a fix/alternative solution planned for the next
} version? (and do you happen what the schedule for that is? ).

There's already been a patch, zsh-workers/32427.  Fedora certainly has
the option of folding that in early via RPM spec if they can be caused
to care.

As for a schedule for 5.0.6, that's sort of up to Peter, who seems to be
pretty busy right now ...




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