keep entire stack in memory, fix nonzero signal