Properly report stack overflows