Skip site navigation (1) Skip section navigation (2)

Re: [Fwd: "pg_regress: initdb failed" with git tree]

From: Aioanei Rares <schaiba(at)gmail(dot)com>
To: Greg Smith <greg(at)2ndquadrant(dot)com>
Cc: pgsql-testers(at)postgresql(dot)org
Subject: Re: [Fwd: "pg_regress: initdb failed" with git tree]
Date: 2009-12-30 17:31:21
Message-ID: 4B3B8E69.8060601@gmail.com (view raw or flat)
Thread:
Lists: pgsql-testers
Greg Smith wrote:
> Aioanei Rares wrote:
>>>> pg_regress: initdb failed
>>>> Examine /home/arares/postgresql/src/test/regress/log/initdb.log for 
>>>> the reason.
>
> So here's the problem line:
>
> initializing dependencies ... FATAL:  compressed data is corrupt
>
>
> That's coming from pretty deep inside PostgreSQL.  Large bits of data 
> that get inserted are compressed into what the database calls TOAST 
> relations.  This error shows up when the database tries to decompress 
> those TOAST bits back into the original bytes again.  That should 
> never fail.
>
> Possible causes here:
>
> 1) System hardware instability.  Intermittent RAM can cause this.  I'd 
> run a pass of memtest86+ just to rule that out in this situation, just 
> to keep from chasing after the wrong thing
> 2) Buggy underlying OS, driver, or system library, somehow corrupting 
> data that's been written before or during when it gets read back again.
> 3) PostgreSQL bug.
>
> Basically the tree is to figure out if it's specific to your system, 
> then if it's specific to everyone one running the same Debian version 
> you are, and then if neither of those are the case it might be 
> possible to trace this down as a PostgreSQL issue.  Not sure if you 
> have any alternate systems to test against.  The main reason I 
> wouldn't assume it's a PostgreSQL bug initially is just because there 
> are so many entries in the PostgreSQL buildfarm running this same test 
> all the time without any problems.  I think you're running a newer OS 
> and libraries than any of them so far though.
>
It fails on two very different (hardware-wise) machine, both with 
Debian, and also on a Fedora 12 machine, different from the 1st two.

In response to

Responses

pgsql-testers by date

Next:From: Devrim GÜNDÜZDate: 2009-12-30 17:31:55
Subject: Re: [Fwd: "pg_regress: initdb failed" with git tree]
Previous:From: Greg SmithDate: 2009-12-30 17:27:08
Subject: Re: [Fwd: "pg_regress: initdb failed" with git tree]

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group