Re: Re: $RecursionLimit Bug?
- To: mathgroup at smc.vnet.net
- Subject: [mg63965] Re: [mg63942] Re: [mg63932] $RecursionLimit Bug?
- From: "W. Craig Carter" <ccarter at mit.edu>
- Date: Wed, 25 Jan 2006 08:45:51 -0500 (EST)
- References: <200601230911.EAA04880@smc.vnet.net> <200601240630.BAA23626@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
On Tue, 24 Jan 2006, Daniel Lichtblau wrote: > W. Craig Carter wrote: >> $RecursionLimit = $IterationLimit = 10^6 >> Is this a bug? I couldn't find a list of known bugs on the >> mathematica site.... >> > somewhere between 3*10^4 and 4*10^4 I get a segmentation fault running > the Mathematica kernel under Linux. Thanks, I appreciate your response. I realized what was happening later, but was surprised it did not throw an exception that Mathematica would catch. I am fairly new to Macos (from more traditional unix/linux os's) so I don't know how to start up the frontend from a shell----I don't know where the segfault is reported... However, I do see that looking for exceptions for every function evaluation in order to keep track of memory would be too much overhead. Perhaps, a restarted kernel could report itself to the messages window? At any rate, the documentation on $RecursionLimit recommends: Block[{$RecursionLimit = Infinity}, SumOfIntegers[1000]] Perhaps this might be amended with an advisory? For example, suppose one turns off display the In[] and Out[], an unsuspecting user may not even know that their kernel died and restarted. Thanks again, WCC
- References:
- $RecursionLimit Bug?
- From: "W. Craig Carter" <ccarter@mit.edu>
- Re: $RecursionLimit Bug?
- From: Daniel Lichtblau <danl@wolfram.com>
- $RecursionLimit Bug?