Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TMJat-0000Zr-CP for pgsql-bugs@postgresql.org; Thu, 11 Oct 2012 14:18:35 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TMJaq-0001nF-UO for pgsql-bugs@postgresql.org; Thu, 11 Oct 2012 14:18:34 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id q9BEIWIY000262; Thu, 11 Oct 2012 10:18:32 -0400 (EDT) From: Tom Lane To: Heikki Linnakangas cc: Craig Ringer , =?UTF-8?B?Qm8gVGhvcmJqw7hybiBKZW5zZW4=?= , "pgsql-bugs@postgresql.org" Subject: Re: BUG #7597: exception 0xC0000005 In-reply-to: <5076C2EF.7000303@vmware.com> References: <5076B089.9060708@ringerc.id.au> <5076C2EF.7000303@vmware.com> Comments: In-reply-to Heikki Linnakangas message dated "Thu, 11 Oct 2012 16:00:31 +0300" Date: Thu, 11 Oct 2012 10:18:31 -0400 Message-ID: <261.1349965111@sss.pgh.pa.us> X-Pg-Spam-Score: -4.0 (----) X-Archive-Number: 201210/87 X-Sequence-Number: 34387 Heikki Linnakangas writes: > On 11.10.2012 14:42, Craig Ringer wrote: >> No crash here on version() = PostgreSQL 9.1.5 on >> x86_64-redhat-linux-gnu, compiled by gcc (GCC) 4.7.0 20120507 (Red Hat >> 4.7.0-5), 64-bit > I can reproduce this on my Windows box with the script Bo provided, with > a fresh checkout from git master branch. Stack trace looks like this: I see it too. I think the crash probably only occurs on a 32-bit build (or one where you've disabled int8-pass-by-value anyway). Looks like something's confused about cross-data-type comparisons --- this is an int4 vs int8 comparison, so it shouldn't be ending up at int8eq. regards, tom lane