View Single Post

   
  #5 (permalink)  
Old 04-12-2008, 06:39 AM
Heikki Linnakangas
 
Posts: n/a
Default Re: crash on 8.2 and cvshead - failed to add item to the

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

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Reply With Quote