aboutsummaryrefslogtreecommitdiff
path: root/src/libmain/stack.cc
AgeCommit message (Collapse)Author
2014-12-12Silence some warnings on GCC 4.9Eelco Dolstra
2014-10-31Shut up a clang warningEelco Dolstra
2013-08-07Respect MINSIGSTKSZ when allocating an alternative stackEelco Dolstra
http://hydra.nixos.org/build/5663577
2013-07-30Detect stack overflowsEelco Dolstra
Previously, if the Nix evaluator gets a stack overflow due to a deep or infinite recursion in the Nix expression, the user gets an unhelpful message ("Segmentation fault") that doesn't indicate that the problem is in the user's code rather than Nix itself. Now it prints: error: stack overflow (possible infinite recursion) This only works on x86_64-linux and i686-linux. Fixes #35.