Re: Bug in window xp - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Bug in window xp
Date
Msg-id 11205.1144419490@sss.pgh.pa.us
Whole thread Raw
In response to Re: Bug in window xp  ("Magnus Hagander" <mha@sollentuna.net>)
Responses Re: bug in windows xp  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-bugs
"Magnus Hagander" <mha@sollentuna.net> writes:
> What we get is Integer Overflow, on the instruction "idiv esi" in postgres!int4div+0x1f. (Per windows debugger.) Same
doesnot happen on Linux. 

> Tom - hints? ;-) Any idea why this happens on win32 but not linux?

Perhaps there's some process-wide setting that enables or disables that?

It seems fairly inconsistent to have a machine trap on divide overflow
when it doesn't on any other integer overflow, so I'd rather turn it off
than work around it.

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Peter Krauss"
Date:
Subject: BUG #2381: LIMIT 1 very very lazy than without
Next
From: "Magnus Hagander"
Date:
Subject: Re: Bug in window xp