Re: [Fwd: "pg_regress: initdb failed" with git tree] - Mailing list pgsql-testers

From Aioanei Rares
Subject Re: [Fwd: "pg_regress: initdb failed" with git tree]
Date
Msg-id 4B3B8E69.8060601@gmail.com
Whole thread Raw
In response to Re: [Fwd: "pg_regress: initdb failed" with git tree]  (Greg Smith <greg@2ndquadrant.com>)
Responses Re: [Fwd: "pg_regress: initdb failed" with git tree]  (Devrim GÜNDÜZ <devrim@gunduz.org>)
List 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.

pgsql-testers by date:

Previous
From: Greg Smith
Date:
Subject: Re: [Fwd: "pg_regress: initdb failed" with git tree]
Next
From: Devrim GÜNDÜZ
Date:
Subject: Re: [Fwd: "pg_regress: initdb failed" with git tree]