Re: Strange error message - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Strange error message
Date
Msg-id 17537.970242347@sss.pgh.pa.us
Whole thread Raw
In response to Strange error message  (Adriaan Joubert <a.joubert@albourne.com>)
List pgsql-hackers
Adriaan Joubert <a.joubert@albourne.com> writes:
>     we've suddenly started getting this error message out of postgres
> (7.0.2). Does anybody know where it comes from?

> ERROR:  UNLockBuffer: buffer 0 is not locked

Evidently something is passing an invalid buffer number to LockBuffer
in src/backend/storage/buffer/bufmgr.c.  (0 is InvalidBuffer, but
LockBuffer won't notice that unless you compiled with asserts enabled.)
Whatever the bug is, it's not directly LockBuffer's fault.

What exactly are you doing that provokes this message?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Lamar Owen
Date:
Subject: Re: Installation layout is still hazardous for shared prefixes
Next
From: Peter Eisentraut
Date:
Subject: Re: Installation layout is still hazardous for shared prefixes