7.3.5 initdb failure on Irix 6.5.18 - Mailing list pgsql-bugs

From Craig Ruff
Subject 7.3.5 initdb failure on Irix 6.5.18
Date
Msg-id 20040115182604.GA14425@ucar.edu
Whole thread Raw
Responses Re: 7.3.5 initdb failure on Irix 6.5.18
List pgsql-bugs
I'm trying to use 7.3.5 (for an upgrade of 7.3.2) on Irix 6.5.18 using the
MIPSpro 7.4.1 compiler.  Everything compiles up ok, but 'make check' fails
at the "enabling unlimited row size for system tables..." step with
a core dump of postgres.

The failure is at /backend/access/transam/xlog.c:2544 with an
"unable to locate a valid checkpoint record" panic.  This happens
for both 7.3.4 and 7.3.5, either with -O or -g as the CFLAGS value.

Manually running the command being used by initdb:

    tmp_check/install/stmgr/pgsql-7.3.5/bin/postgres -F \
        -D/stmgr/src/postgresql-7.3.5/src/test/regress/data -O \
        -c search_path=pg_catalog template1

gives:

    LOG:  database system was shut down at 2004-01-15 11:20:44 MST
    LOG:  ReadRecord: invalid magic number 0000 in log file 0, segment 0, offset 32768
    LOG:  invalid primary checkpoint record
    LOG:  ReadRecord: record with zero length at 0/50
    LOG:  invalid secondary checkpoint record
    PANIC:  unable to locate a valid checkpoint record


Interestingly, using a copy of an existing database created by the 7.3.2
installation on the same system works fine.

Has anyone fixed this yet?  If not, does anyone have hints that I can
pursue since I have the source compiled up with debugging enabled?

--

Craig Ruff          NCAR            cruff@ucar.edu
(303) 497-1211      P.O. Box 3000
            Boulder, CO  80307

pgsql-bugs by date:

Previous
From: Joe Conway
Date:
Subject: Re: NULL in arrays
Next
From: Dennis Bjorklund
Date:
Subject: Re: NULL in arrays