GNU bug report logs - #25203
25.1; crash during message, infinite recursion

Previous Next

Package: emacs;

Reported by: Hin-Tak Leung <hintak.leung <at> gmail.com>

Date: Thu, 15 Dec 2016 00:56:02 UTC

Severity: normal

Found in version 25.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 25203 <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: htl10 <at> users.sourceforge.net, Hin-Tak Leung <hintak.leung <at> gmail.com>,
 25203 <at> debbugs.gnu.org
Subject: Re: bug#25203: 25.1; crash during message, infinite recursion
Date: Thu, 15 Dec 2016 11:11:38 -0500
On Thu, Dec 15, 2016 at 10:55 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
>
> If someone is going to argue that Lisp code should never crash Emacs,
> then I can see the following alternatives:
>
>   1. Inhibit messages while calling pre-write-conversion.
>   2. Signal an error when pre-write-conversion is called recursively.
>
> I think none of these is a good idea, as they disallow perfectly valid
> use cases which don't hit this problem.  The 2nd one is also error
> prone in its naïve implementation, and too complex IMO in non-naïve
> ones.

Shouldn't max-specdl or max-lisp-eval-depth be catching too deep
recursive calls?




This bug report was last modified 8 years and 215 days ago.

Previous Next


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