Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id CF7A21337C1A; Thu, 7 Apr 2011 08:36:36 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 16509-02-5; Thu, 7 Apr 2011 11:36:27 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from www.postnewspapers.com.au (www.postnewspapers.com.au [173.230.139.50]) by mail.postgresql.org (Postfix) with ESMTP id 014DB1337C32; Thu, 7 Apr 2011 08:36:11 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by www.postnewspapers.com.au (Postfix) with ESMTP id 624CD123; Thu, 7 Apr 2011 07:36:12 -0400 (EDT) X-Virus-Scanned: amavisd-new at postnewspapers.com.au.com Received: from www.postnewspapers.com.au ([127.0.0.1]) by localhost (www.postnewspapers.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Lzwh0wTFLwJJ; Thu, 7 Apr 2011 07:36:11 -0400 (EDT) Received: from mail.postnewspapers.com.au (ppp171-128.static.internode.on.net [150.101.171.128]) by www.postnewspapers.com.au (Postfix) with ESMTP id 8803D2D; Thu, 7 Apr 2011 07:36:11 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.postnewspapers.com.au (Postfix) with ESMTP id 36541AEFED; Thu, 7 Apr 2011 19:36:10 +0800 (WST) X-Virus-Scanned: Debian amavisd-new at postnewspapers.com.au Received: from mail.postnewspapers.com.au ([127.0.0.1]) by localhost (mail.postnewspapers.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 3W4zC10paSUg; Thu, 7 Apr 2011 19:36:05 +0800 (WST) Received: from [10.1.1.5] (58-7-230-194.dyn.iinet.net.au [58.7.230.194]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Craig Ringer", Issuer "POST Certificate Authority" (verified OK)) by mail.postnewspapers.com.au (Postfix) with ESMTPSA id D75B2AE2F4; Thu, 7 Apr 2011 19:36:04 +0800 (WST) Message-ID: <4D9DA1A2.2080501@postnewspapers.com.au> Date: Thu, 07 Apr 2011 19:36:02 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Thunderbird/3.1.7 MIME-Version: 1.0 To: Brendan Jurd CC: Tom Lane , pgsql-bugs@postgresql.org, pgsql-hackers@postgresql.org, Alex Ferrara Subject: Re: Failed assert ((data - start) == data_size) in heaptuple.c References: <6902.1302159394@sss.pgh.pa.us> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201104/28 X-Sequence-Number: 29947 On 04/07/2011 03:07 PM, Brendan Jurd wrote: > On 7 April 2011 16:56, Tom Lane wrote: >> Brendan Jurd writes: >>> TRAP: FailedAssertion("!((data - start) == data_size)", File: >>> "heaptuple.c", Line: 255) >> >> [ scratches head ... ] That implies that heap_fill_tuple came to a >> different conclusion about a tuple's data size than the immediately >> preceding heap_compute_data_size. Which I would sure want to believe >> is impossible. Have you checked for flaky memory on this machine? >> > > We are doing so now -- although the RAM is ECC and just a few months > old, so flakiness seems a distant possibility. I will report back > after we've given it a proper thrashing with memtest. Apparently bad RAM can also mean faulty CPU (bad cache, heat problems, etc). memtest86 seems ... rough ... at best when it comes to finding issues; I've had some systems run it for a day yet continuously segfault in real-world use until the RAM was re-seated or swapped out. -- Craig Ringer