Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b4EHw-00073T-5M for pgsql-hackers@arkaria.postgresql.org; Sat, 21 May 2016 21:18:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b4EHu-0003Gz-PA for pgsql-hackers@arkaria.postgresql.org; Sat, 21 May 2016 21:18:22 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b4EHs-0003GG-BI for pgsql-hackers@postgresql.org; Sat, 21 May 2016 21:18:20 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b4EHp-0003TL-F4 for pgsql-hackers@postgresql.org; Sat, 21 May 2016 21:18:19 +0000 Received: from pro.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u4LLIEoA028275; Sat, 21 May 2016 17:18:14 -0400 From: Tom Lane To: Andres Freund cc: pgsql-hackers@postgresql.org Subject: Re: 9.4 failure on skink in _bt_newroot/XLogCheckBuffer In-reply-to: <20160521203101.jp5yxquhhkabvo56@alap3.anarazel.de> References: <20160521203101.jp5yxquhhkabvo56@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Sat, 21 May 2016 13:31:01 -0700" Date: Sat, 21 May 2016 17:18:14 -0400 Message-ID: <56703.1463865494@sss.pgh.pa.us> X-Pg-Spam-Score: -3.3 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Andres Freund writes: > The valgrind animal just reported a large object related failure on 9.4: The proximate cause seems to be that _bt_newroot isn't bothering to fill the buffer_std field here: /* Make a full-page image of the left child if needed */ rdata[2].data = NULL; rdata[2].len = 0; rdata[2].buffer = lbuf; rdata[2].next = NULL; which is indeed an actual bug, but the only consequence would be poor compression of the full-page image (if the value chanced to be zero), so it's not much of a problem. What remains unclear is how come this only fails once in a blue moon. Seems like any valgrind run of the regression tests should have caught it. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers