Re: Strange error message

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: a(dot)joubert(at)albourne(dot)com
Cc: Postgresql <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Strange error message
Date: 2000-09-29 15:45:47
Message-ID: 17537.970242347@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-ports

Adriaan Joubert <a(dot)joubert(at)albourne(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2000-09-29 16:24:16 Re: Installation layout is still hazardous for shared prefixes
Previous Message Lamar Owen 2000-09-29 14:47:33 Re: Installation layout is still hazardous for shared prefixes

Browse pgsql-ports by date

  From Date Subject
Next Message Bruce Momjian 2000-09-30 02:42:12 Re: [PORTS] Locale bug
Previous Message Adriaan Joubert 2000-09-29 14:46:44 Strange error message