Re: Bug in window xp

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Magnus Hagander" <mha(at)sollentuna(dot)net>
Cc: "Wang Haiyong" <wanghaiyong(at)neusoft(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug in window xp
Date: 2006-04-07 14:18:10
Message-ID: 11205.1144419490@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-patches

"Magnus Hagander" <mha(at)sollentuna(dot)net> writes:
> What we get is Integer Overflow, on the instruction "idiv esi" in postgres!int4div+0x1f. (Per windows debugger.) Same does not 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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Paolo Lopez 2006-04-07 17:32:02 Re: Problema Order By en PosgreSQL 8.1
Previous Message Magnus Hagander 2006-04-07 09:13:47 Re: Bug in window xp

Browse pgsql-patches by date

  From Date Subject
Next Message Pavel Stehule 2006-04-07 20:10:06 please actualize FAQ, broken urls
Previous Message Mike Rylander 2006-04-07 12:59:46 Re: Support Parallel Query Execution in Executor