Re: bug in windows xp

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-bugs(at)postgresql(dot)org, Magnus Hagander <mha(at)sollentuna(dot)net>, Wang Haiyong <wanghaiyong(at)neusoft(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: bug in windows xp
Date: 2006-04-19 10:20:06
Message-ID: 20060419102006.GE15420@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-patches

[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 buildfarm. Once this has been added and all
architechures are in compliance, we can deal with the integer overflow
problem.

Triggering a SIGFPE is a bit tricky. On my i386 system the integer
divide will do it, but the rest just return +inf. Given there are
systems that don't SIGFPE the integer divide, I hope one of the others
will trigger... For UNIX systems I've made it try kill() first, that
seems the most reliable.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Attachment Content-Type Size
sigfpe.diff text/plain 4.7 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message andrea suisani 2006-04-19 11:20:22 pg_dump or hardware?
Previous Message Bruce Momjian 2006-04-19 02:50:24 Re: bug in windows xp

Browse pgsql-patches by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-04-19 12:02:54 Two coverity non-bugs
Previous Message Dhanaraj M 2006-04-19 07:24:54 Patch for #2391: "Similar to" pattern matching does not operate as documented