[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16999: calc crashes when computation limit is increased
From: |
Jay Belanger |
Subject: |
bug#16999: calc crashes when computation limit is increased |
Date: |
Thu, 13 Mar 2014 16:15:56 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
>> 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.