pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-hackers@postgresql.org
Subject: 9.4 failure on skink in _bt_newroot/XLogCheckBuffer
Date: Sat, 21 May 2016 13:31:01 -0700
Message-ID: <20160521203101.jp5yxquhhkabvo56@alap3.anarazel.de> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

The valgrind animal just reported a large object related failure on 9.4:

http://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=skink&dt=2016-05-19%2006%3A23%3A05

==9952== VALGRINDERROR-BEGIN
==9952== Conditional jump or move depends on uninitialised value(s)
==9952==    at 0x4DC6D3: XLogCheckBuffer (xlog.c:2077)
==9952==    by 0x4E5E52: XLogInsert (xlog.c:956)
==9952==    by 0x4ACB10: _bt_newroot (nbtinsert.c:2123)
==9952==    by 0x4ACEFF: _bt_insert_parent (nbtinsert.c:1727)
==9952==    by 0x4AD4B7: _bt_insertonpg (nbtinsert.c:776)
==9952==    by 0x4AE56F: _bt_doinsert (nbtinsert.c:191)
==9952==    by 0x4B3409: btinsert (nbtree.c:251)
==9952==    by 0x7A87E3: FunctionCall6Coll (fmgr.c:1437)
==9952==    by 0x4A8D36: index_insert (indexam.c:226)
==9952==    by 0x4FC62C: CatalogIndexInsert (indexing.c:136)
==9952==    by 0x6A7210: inv_write (inv_api.c:723)
==9952==    by 0x5E2985: lo_write (be-fsstubs.c:223)
==9952==  Uninitialised value was created by a stack allocation
==9952==    at 0x4AC481: _bt_newroot (nbtinsert.c:1989)
==9952==
==9952== VALGRINDERROR-END

I've not analyzed the problem beyond noticing that
xlog.c:2077
         if (rdata->buffer_std)
which suggests an actual bug.

Regards,

Andres


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (4+ messages)  latest in thread

Message-ID: <20160521203101.jp5yxquhhkabvo56@alap3.anarazel.de>
Permalink:  ../20160521203101.jp5yxquhhkabvo56@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20160521203101.jp5yxquhhkabvo56@alap3.anarazel.de

 · 

reply

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-hackers@postgresql.org
  Cc: andres@anarazel.de
  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>

* 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