Could you try the attached patch? It updates the end of stack detection to handle unaligned stacks. -- Manfred