pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ben <bwtest24@yahoo.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6065: FATAL: lock 0 not held
Date: Fri, 17 Jun 2011 10:28:06 -0400
Message-ID: <16155.1308320886@sss.pgh.pa.us> (raw)
In-Reply-To: <201106170756.p5H7upxU053734@wwwmaster.postgresql.org>
References: <201106170756.p5H7upxU053734@wwwmaster.postgresql.org>

"Ben" <bwtest24@yahoo.com> writes:
> Operating system:   üLinux version 2.6.21-uc0 on ARM processor
> (NXP-LPC2478)
> Description:        FATAL: lock 0 not held
> Details: 

> while initialising with initdb, after creating and filling new WAL file.
> We see LWLockAcquire(11) followed by LWLockRelease(0) and then a FATAL: 
> lock 0 is not held.

Compiler bug?  It's pretty hard to credit that you've found some new
code path through bootstrap where the wrong lock number gets frobbed.

We do have at least one buildfarm member running on ARM, so that
architecture does get tested regularly, which eliminates various
other theories about PG portability problems.

			regards, tom lane



view thread (2+ messages)

Message-ID: <16155.1308320886@sss.pgh.pa.us>
Permalink:  ../16155.1308320886@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/16155.1308320886@sss.pgh.pa.us

 · 

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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, bwtest24@yahoo.com
  Subject: Re: BUG #6065: FATAL: lock 0 not held
  In-Reply-To: <16155.1308320886@sss.pgh.pa.us>
  References: <201106170756.p5H7upxU053734@wwwmaster.postgresql.org> <16155.1308320886@sss.pgh.pa.us>

* 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