On Nov 8, 2007 9:06 PM, Joerg Sonnenberger <[EMAIL PROTECTED]> wrote: > On Thu, Nov 08, 2007 at 12:05:25PM -0800, Matthew Dillon wrote: > > :I know that various signal handlers used floating point and the issues > > :reported fall into the category of "likely overwritten FPU state". > > : > > :Joerg > > > > Should we start saving and restoring the FP context? The ucontext > > structure does have enough space reserved for it. During the LWP > > work we expanded the FP save space to 512 bytes. > > Yes, please. This is a bug after all :-)
Here's a nice regression test for this issue. http://www.openbsd.org/cgi-bin/cvsweb/src/regress/sys/kern/signal/fpsig/ Nuno