Floating point exceptions with -pthread
Marc Olzheim
marcolz at stack.nl
Wed May 4 15:33:06 PDT 2005
On Wed, May 04, 2005 at 06:18:25PM -0400, David Schultz wrote:
> Yeah, that part is fine. The one odd thing I notice as a glance
> back at the code is that it uses -12(%ebp) and -16(%ebp) for
> temporary storage, instead of using -4(%ebp) and -8(%ebp) like
> the double versions. That's probably a cut-and-pasto on my
> part. This would explain the SIGFPEs if an asynchronous trap is
> causing the area just past the end of the stack to be overwritten,
> since only 8 bytes of stack are reserved. I'll take a closer
> look in a week or so...
Argh...
That fixed it for me indeed. :-P
Marc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-threads/attachments/20050505/b204bcb6/attachment.bin
More information about the freebsd-threads
mailing list