Re: buffer assertion tripping under repeat pgbench load - Mailing list pgsql-hackers

From Greg Stark
Subject Re: buffer assertion tripping under repeat pgbench load
Date
Msg-id CAM-w4HNorMJvefyUMBhFQ22QD8KXpr7h9xzgD2RToFKJr8NB_g@mail.gmail.com
Whole thread Raw
In response to Re: buffer assertion tripping under repeat pgbench load  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: buffer assertion tripping under repeat pgbench load  (Greg Smith <greg@2ndQuadrant.com>)
List pgsql-hackers
On Wed, Dec 26, 2012 at 6:33 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Yeah, that destroys my theory that there's something broken about index
> management specifically.  Now we're looking for something that can
> affect any buffer's refcount, which more than likely means it has
> nothing to do with the buffer's contents ...

Also, do you have the buffer id of the broken buffer? I wonder if it's
not just any buffer but always the same same buffer even if it's a
different block in that buffer. e.g. maybe it's always the first
buffer because something is overwriting past the end of the
BufferBlocks array which is declared immediately before
PrivateRefCount. (Or maybe your compiler is laying out these objects
in a different way from most people's compilers and we're overwriting
past the end of some other object routinely but yours is the only
place where it's being laid out preceding a critical data structure)

-- 
greg



pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: buffer assertion tripping under repeat pgbench load
Next
From: Greg Smith
Date:
Subject: Re: buffer assertion tripping under repeat pgbench load