96f1a404d0
Fix segfault on infinite recursion in some cases (cherry picked from commit bf1b294bd81ca76c5ec9fe3ecd52196bf52a8300) Change-Id: Id137541426ec8536567835953fccf986a3aebf16
38 lines
1.1 KiB
Text
38 lines
1.1 KiB
Text
error:
|
|
… from call site
|
|
at /pwd/lang/eval-fail-infinite-recursion-lambda.nix:1:1:
|
|
1| (x: x x) (x: x x)
|
|
| ^
|
|
2|
|
|
|
|
… while calling anonymous lambda
|
|
at /pwd/lang/eval-fail-infinite-recursion-lambda.nix:1:2:
|
|
1| (x: x x) (x: x x)
|
|
| ^
|
|
2|
|
|
|
|
… from call site
|
|
at /pwd/lang/eval-fail-infinite-recursion-lambda.nix:1:5:
|
|
1| (x: x x) (x: x x)
|
|
| ^
|
|
2|
|
|
|
|
… while calling anonymous lambda
|
|
at /pwd/lang/eval-fail-infinite-recursion-lambda.nix:1:11:
|
|
1| (x: x x) (x: x x)
|
|
| ^
|
|
2|
|
|
|
|
… from call site
|
|
at /pwd/lang/eval-fail-infinite-recursion-lambda.nix:1:14:
|
|
1| (x: x x) (x: x x)
|
|
| ^
|
|
2|
|
|
|
|
(19997 duplicate frames omitted)
|
|
|
|
error: stack overflow; max-call-depth exceeded
|
|
at /pwd/lang/eval-fail-infinite-recursion-lambda.nix:1:14:
|
|
1| (x: x x) (x: x x)
|
|
| ^
|
|
2|
|