lix/src/libmain
Eelco Dolstra 70e68e0ec6 Detect stack overflows
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.
2013-07-30 23:37:10 +02:00
..
Makefile.am Detect stack overflows 2013-07-30 23:37:10 +02:00
shared.cc Detect stack overflows 2013-07-30 23:37:10 +02:00
shared.hh nix-store -r: Add ‘--ignore-unknown’ flag 2012-11-20 00:27:25 +01:00
stack.cc Detect stack overflows 2013-07-30 23:37:10 +02:00