[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16999: calc crashes when computation limit is increased
From: |
Dmitry Antipov |
Subject: |
bug#16999: calc crashes when computation limit is increased |
Date: |
Thu, 13 Mar 2014 13:11:50 +0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
On 03/13/2014 09:13 AM, Dmitry Antipov wrote:
Perhaps there should be a kind of protection against this. For example,
eval_sub can check current stack depth against getrlimit (RLIMIT_STACK,...).
This is rather simple on general *NIX. But:
1) it should be implemented for MS-Windows and OSX too if we really need this;
2) Linux has prlimit to tweak limits of another process at run time,
so actual limit should be checked each time eval_sub is called, thus
introducing a (minor?) slowdown.
Dmitry
error_if_c_stack_overflow.patch
Description: Text Data
- bug#16999: calc crashes when computation limit is increased, Florian Beck, 2014/03/12
- bug#16999: calc crashes when computation limit is increased, Jay Belanger, 2014/03/12
- bug#16999: calc crashes when computation limit is increased, Stefan Monnier, 2014/03/13
- bug#16999: calc crashes when computation limit is increased, Florian Beck, 2014/03/13
- bug#16999: calc crashes when computation limit is increased, Jay Belanger, 2014/03/13
- bug#16999: calc crashes when computation limit is increased, Stefan Monnier, 2014/03/13