Subject: Re: kern/14855: sparc sigreturn sometimes trashes user stack
To: Wolfgang Rupprecht <wolfgang@wsrcc.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-bugs
Date: 12/07/2001 17:27:00
On Thu, Dec 06, 2001 at 12:02:35PM -0800, Wolfgang Rupprecht wrote:
> >Description:
> 
>     The user's stack gets trashed a small percentage of the time by
>     sigreturn(); In this test program a "can't happen" default branch
>     does indeed happen with disturbing frequency.

I could also reproduce this on a SS10 (sun4m) with a 1.5.2 userland but
-current kernel.
This also happens on a IPX (sun4c) with a kernel of end november and userland
of early august.
But I can't reproduce it on any machine if compiled with -O1 instead of -O2

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--