GNU bug report logs - #38035
27.0.50; Trivial errors in process filters can render Emacs unusable

Previous Next

Package: emacs;

Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>

Date: Sat, 2 Nov 2019 17:55:01 UTC

Severity: normal

Found in version 27.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 38035 <at> debbugs.gnu.org
Subject: bug#38035: 27.0.50; Trivial errors in process filters can render Emacs unusable
Date: Sat, 02 Nov 2019 19:38:22 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

> Yes, see read_process_output_error_handler (it's actually 2-sec
> sleep), and read_and_dispose_of_process_output, where we set up for
> calling the process filter.

Ah, right.

> I'd suggest to count the number of times a process filter errors out,
> and disable it after some configurable number.  Doing that on the
> first error sounds too drastic: it could be a one-time spurious error.

Good idea.  Perhaps something time-based -- if it errors out at a rate
that would make Emacs unusable (so more than, say, ten errors per
minute (configurable), would disable the filter)?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 176 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.