From: <HBB...@t-...> - 2007-03-22 21:05:13
|
Jan Schween wrote: > i had a segmentation fault due to long recursion of a function. > Actually that was an programming error on my side but this should > not result in a segmentation fault. There's not much choice in the matter. This segmentation fault is caused by stack overflow, which is impossible to predict in any portable fashion. We would have to introduce an arbitrary limitation of call stack depth, and for that limit to work, it would have to be decided by the smallest stack size on any platform running gnuplot. I.e. we would deliberately break scripts although they could still work on platforms with bigger stacks, for the sole benefit of ill-written scripts. The last time this issue came up, we decided to leave it as-is. |