GNU bug report logs -
#21380
25.0.50; GTK-induced segfault when scheduling timer from window-configuration-change-hook
Previous Next
Reported by: Pip Cet <pipcet <at> gmail.com>
Date: Sun, 30 Aug 2015 12:52:02 UTC
Severity: normal
Found in version 25.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
Message #122 received at 21380 <at> debbugs.gnu.org (full text, mbox):
> I haven't tested this, but I think it would. I still think the underlying
> problem here is not having a well-defined rule for when QUIT is allowed to
> call Lisp code.
Indeed. Tho see below.
> (Eli correctly objected to my initial idea that the rule should be
> "never",
Hmm... "never" does sound enticing, tho clearly debug-on-quit
challenges the idea.
> but I still think it should be "much less often than we currently do".
OTOH, as soon as it's not "never", then it tends to means "be prepared:
this can run arbitrary Elisp code".
So maybe the issue is not just "when" but also "what": we could limit
the kind of Elisp code that's run by QUIT. This is a lot more
difficult, tho.
> that QUIT shouldn't call hooks, but should be able to call isolated
> functions implemented in Lisp, such as those used for relative font sizing).
And then someone wants to add an advice on those functions
(e.g. debug-on-entry, trace-function, you name it), and suddenly your
carefully coded function ends up doing all kinds of other things.
Stefan
This bug report was last modified 3 years and 76 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.