aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/rl-next/stack-overflow-segfaults.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual/rl-next/stack-overflow-segfaults.md')
-rw-r--r--doc/manual/rl-next/stack-overflow-segfaults.md35
1 files changed, 0 insertions, 35 deletions
diff --git a/doc/manual/rl-next/stack-overflow-segfaults.md b/doc/manual/rl-next/stack-overflow-segfaults.md
deleted file mode 100644
index 24d62ea1e..000000000
--- a/doc/manual/rl-next/stack-overflow-segfaults.md
+++ /dev/null
@@ -1,35 +0,0 @@
----
-synopsis: Some stack overflow segfaults are fixed
-issues: 9616
-prs: 9617
-cls: 205
-category: Improvements
-credits: [9999years, horrors]
----
-
-The number of nested function calls has been restricted, to detect and report
-infinite function call recursions. The default maximum call depth is 10,000 and
-can be set with [the `max-call-depth`
-option](@docroot@/command-ref/conf-file.md#conf-max-call-depth).
-
-This fixes segfaults or the following unhelpful error message in many cases:
-
- error: stack overflow (possible infinite recursion)
-
-Before:
-
-```
-$ nix-instantiate --eval --expr '(x: x x) (x: x x)'
-Segmentation fault: 11
-```
-
-After:
-
-```
-$ nix-instantiate --eval --expr '(x: x x) (x: x x)'
-error: stack overflow
-
- at «string»:1:14:
- 1| (x: x x) (x: x x)
- | ^
-```