Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id E167F9A1342 for ; Fri, 3 Feb 2012 12:12:06 -0400 (AST) Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RtLjt-0001g8-J5 for pgsql-bugs@postgresql.org; Fri, 03 Feb 2012 16:12:06 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id q13GBbj1020741; Fri, 3 Feb 2012 11:11:37 -0500 (EST) To: Duncan Rance cc: pgsql-bugs@postgresql.org, Robert Haas , Bridget Frey Subject: Re: BUG #6425: Bus error in slot_deform_tuple In-reply-to: <7F89C398-A270-45C4-893C-23AB24A81CFC@dunquino.com> References: <15205.1328112255@sss.pgh.pa.us> <846B8F25-A7C1-4513-A284-D496C1DFC590@dunquino.com> <24434.1328132614@sss.pgh.pa.us> <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> Comments: In-reply-to Duncan Rance message dated "Fri, 03 Feb 2012 15:24:50 +0000" Date: Fri, 03 Feb 2012 11:11:37 -0500 Message-ID: <20740.1328285497@sss.pgh.pa.us> From: Tom Lane X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201202/53 X-Sequence-Number: 32396 Duncan Rance 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