In http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16999 the user, guided by interactive help and documentation, got a crash caused by C stack overflow. What about an attempt to avoid such a mess by examining current C stack depth and check it against system limits, like suggested in the patch below? For those who cares about MS-Windows, this looks like a rough equivalent to getrlimit (RLIMIT_STACK,...): http://stackoverflow.com/questions/21754928/how-to-get-stack-size-and-stack-limit-of-any-thread-using-win32-api Dmitry