GNU bug report logs - #16999
calc crashes when computation limit is increased

Previous Next

Package: emacs;

Reported by: Florian Beck <fb <at> miszellen.de>

Date: Wed, 12 Mar 2014 18:56:01 UTC

Severity: normal

Done: Mattias Engdegård <mattiase <at> acm.org>

Bug is archived. No further changes may be made.

Full log


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

From: Jay Belanger <jay.p.belanger <at> gmail.com>
To: Florian Beck <fb <at> miszellen.de>
Cc: jay.p.belanger <at> gmail.com, Dmitry Antipov <dmantipov <at> yandex.ru>,
 16999 <at> debbugs.gnu.org
Subject: Re: bug#16999: calc crashes when computation limit is increased
Date: Thu, 13 Mar 2014 16:15:56 -0500
>> There is, in the form of max-specpdl-size and max-lisp-eval-depth.
>> If you bump them up too high, you're asking for trouble.
>
> Maybe calc shouldn't bump them too high, then.

The Elisp manual has a warning about bumping them too high; perhaps the
Calc manual should have one also.  But this seems more like an Emacs
issue than specifically a Calc issue, so any other fixes should probably
take place out of Calc.

Dmitry has started a separate discussion on handling this issue; good
deal. 

> Would I start calc, repetedly press "M" and then crash emacs – well,
> maybe I was asking for trouble.

The main culprit here is the infinite loop itself, which needs to be
fixed.  Without that, you wouldn't have had any problems.




This bug report was last modified 4 years and 306 days ago.

Previous Next


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