Re: crash on 8.2 and cvshead - failed to add item to the - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: crash on 8.2 and cvshead - failed to add item to the
Date
Msg-id 45B8CB56.2050004@enterprisedb.com
Whole thread Raw
In response to crash on 8.2 and cvshead - failed to add item to the left sibling  (Joe Conway <mail@joeconway.com>)
Responses Re: crash on 8.2 and cvshead - failed to add item to the  (Heikki Linnakangas <heikki@enterprisedb.com>)
Re: crash on 8.2 and cvshead - failed to add item to the  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Joe Conway wrote:
> We just came upon a crash bug in Postgres >= 8.2. The attached
> standalone script (just needs a database with plpgsql installed)
> reproduces the crash for me on 32-bit machines (i686) but NOT on 64 bit
> machines (x86_64), for Postgres 8.2 and cvs-head, but not on 8.1. We've
> verified this on about four 32 bit machines, and four 64 bit machines
> (including one each under vmware on the same host). All machines were
> some flavor of Red Hat, Fedora, or Gentoo.

Hmm. There seems to be something wrong in the free space calculation in 
the algorithm for choosing the right split location. I'll dig deeper, 
unless someone beats me to it..

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Joe Conway
Date:
Subject: Re: crash on 8.2 and cvshead - failed to add item to the
Next
From: Gevik Babakhani
Date:
Subject: unused_oids?