If it's infinite recursion that hits stack overflow, Emacs will crash due to SIGSEGV, I think. Which I understand was not the case here.