Re: [BUGS] bug in windows xp

2006-04-19 Thread Martijn van Oosterhout
[Re: Uncaught exception when dividing integers] On Tue, Apr 18, 2006 at 10:50:24PM -0400, Bruce Momjian wrote: > > Is anyone working on this? Not that I know of. However, the first step is to add this regression test for SIGFPE [-patches CCed]. Note that this will probably redline windows on the

Re: [BUGS] bug in windows xp

2006-04-19 Thread Martijn van Oosterhout
On Wed, Apr 19, 2006 at 10:15:54AM -0400, Tom Lane wrote: > Martijn van Oosterhout writes: > > Not that I know of. However, the first step is to add this regression > > test for SIGFPE [-patches CCed]. > > This seems completely pointless. The question is not about whether the > SIGFPE catcher wo

Re: [BUGS] bug in windows xp

2006-04-19 Thread Tom Lane
Martijn van Oosterhout 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 s

Re: [BUGS] bug in windows xp

2006-04-19 Thread Tom Lane
Martijn van Oosterhout writes: > Not that I know of. However, the first step is to add this regression > test for SIGFPE [-patches CCed]. This seems completely pointless. The question is not about whether the SIGFPE catcher works when fired, it's about what conditions trigger it.

Re: [BUGS] bug in windows xp

2006-04-18 Thread Bruce Momjian
Is anyone working on this? --- Martijn van Oosterhout wrote: -- Start of PGP signed section. > On Sat, Apr 08, 2006 at 12:27:19PM -0400, Tom Lane wrote: > > Hmm, it seems to depend on the hardware you're using. I just tried

Re: [BUGS] bug in windows xp

2006-04-09 Thread Martijn van Oosterhout
On Sat, Apr 08, 2006 at 12:27:19PM -0400, Tom Lane wrote: > Hmm, it seems to depend on the hardware you're using. I just tried it > on four different machines: > > A simple C program shows the same. Why isn't it being caught on > > windows? > > That still looks like a failure to trap something

Re: [BUGS] bug in windows xp

2006-04-08 Thread Tom Lane
Martijn van Oosterhout writes: > Re: SIGFPE on integer divide. > This signal does appear on linux also. Hmm, it seems to depend on the hardware you're using. I just tried it on four different machines: x86 (Pentium 4): SIGFPE x86_64 (Xeon EM64T): SIGFPE HPPA: "ERROR: integer out of range" (th

Re: [BUGS] bug in windows xp

2006-04-08 Thread Martijn van Oosterhout
Re: SIGFPE on integer divide. This signal does appear on linux also. On my 7.4.7 installation it doesn't because of some problem with the integer conversion code but on 8.2devel it gets a SIGFPE. > SELECT (-2147483648) / (-1); ERROR: floating-point exception DETAIL: An invalid floating-point op