From: Tom Lane <tgl@sss.pgh.pa.us>
To: Duncan Rance <postgres@dunquino.com>
Cc: pgsql-bugs@postgresql.org
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Bridget Frey <bridget.frey@redfin.com>
Subject: Re: BUG #6425: Bus error in slot_deform_tuple
Date: Fri, 03 Feb 2012 11:11:37 -0500
Message-ID: <20740.1328285497@sss.pgh.pa.us> (raw)
In-Reply-To: <7F89C398-A270-45C4-893C-23AB24A81CFC@dunquino.com>
References: <E1RsbAk-00007G-LC@wrigleys.postgresql.org>
<15205.1328112255@sss.pgh.pa.us>
<CA+TgmoYiaJY4yKydS09ymXJmGPAT-BUHq36SBVB-8iG7bcFUxw@mail.gmail.com>
<846B8F25-A7C1-4513-A284-D496C1DFC590@dunquino.com>
<24434.1328132614@sss.pgh.pa.us>
<A7CCB062-B7D1-4015-8B72-38BB3755477C@dunquino.com>
<24D75B69-D387-4476-AC0D-5271FA56AB20@dunquino.com>
<4909.1328219050@sss.pgh.pa.us>
<5101.1328219790@sss.pgh.pa.us>
<12379.1328251513@sss.pgh.pa.us>
<7F89C398-A270-45C4-893C-23AB24A81CFC@dunquino.com>
Duncan Rance <postgres@dunquino.com> writes:
> On 3 Feb 2012, at 06:45, Tom Lane wrote:
>> I probably ought to let the test case run overnight before concluding
>> anything, but at this point it's run for two-plus hours with no errors
>> after applying this patch:
> Thank Tom! I've had this running for a few hours now without problems. Previously, on Sparc, the problem would occur in less than a minute.
> I did try a build with --enable-cassert and it didn't actually cause the problem. I think I left it for about an hour. Although a a relatively modern machine, this Sparc box I am using is painfully slow. My guess is that the extra time taken to perform the Assert code is hiding the problem.
My machine has been running the test case for twelve hours now with no
errors, whereas with the bug the MTTF seemed to be half an hour or so.
(Hm, I wonder whether turning off asserts would reduce the time to
failure? Probably not worth the trouble to experiment now.) So I think
we've got it, or at least we've found the problems this test case can
expose. I'm still going to go read all the other WAL replay code...
> Now it's time to persuade the customer to use a patched version of pg ;)
FWIW, this bug might persuade us to do a set of releases pretty soon.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, postgres@dunquino.com, robertmhaas@gmail.com, bridget.frey@redfin.com
Subject: Re: BUG #6425: Bus error in slot_deform_tuple
In-Reply-To: <20740.1328285497@sss.pgh.pa.us>
References: <E1RsbAk-00007G-LC@wrigleys.postgresql.org> <15205.1328112255@sss.pgh.pa.us> <CA+TgmoYiaJY4yKydS09ymXJmGPAT-BUHq36SBVB-8iG7bcFUxw@mail.gmail.com> <846B8F25-A7C1-4513-A284-D496C1DFC590@dunquino.com> <24434.1328132614@sss.pgh.pa.us> <A7CCB062-B7D1-4015-8B72-38BB3755477C@dunquino.com> <24D75B69-D387-4476-AC0D-5271FA56AB20@dunquino.com> <4909.1328219050@sss.pgh.pa.us> <5101.1328219790@sss.pgh.pa.us> <12379.1328251513@sss.pgh.pa.us> <7F89C398-A270-45C4-893C-23AB24A81CFC@dunquino.com> <20740.1328285497@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox