Re: bug in windows xp - Mailing list pgsql-bugs

From Tom Lane
Subject Re: bug in windows xp
Date
Msg-id 26003.1145457948@sss.pgh.pa.us
Whole thread Raw
In response to Re: bug in windows xp  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-bugs
Martijn van Oosterhout <kleptog@svana.org> writes:
> Well, depends how you look at it. The original bug report was about a
> backend crash, which is what happens if you don't catch the SIGFPE. Can
> we guarentee that we know every situation that might generate a SIGFPE?

The point here is that under Windows int4div seems to be generating
something other than a SIGFPE --- if it were actually generating that
particular signal then the existing SIGFPE catcher would catch it.

It's barely possible that int4div *is* generating a SIGFPE and there's
some other breakage preventing FloatExceptionHandler from catching it,
but that's a question that deserves a one-shot test, not permanent
memorialization in a regression test.  Besides, if that's the situation
then testing that the handler catches kill(SIGFPE) proves exactly zero
about what the int4div problem is.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: bug in windows xp
Next
From: "Peter Brant"
Date:
Subject: Re: Permission denied on fsync / Win32 (was right