Re: BUG #2769: "invalid memory alloc request size " on startup - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #2769: "invalid memory alloc request size " on startup
Date
Msg-id 19017.1164559012@sss.pgh.pa.us
Whole thread Raw
In response to BUG #2769: "invalid memory alloc request size " on startup  ("Chris Jones" <chris@cjones.org>)
List pgsql-bugs
Chris Jones <chris@cjones.org> writes:
> #0  0x081cd8ba in errfinish ()
> #1  0x081ce756 in elog_finish ()
> #2  0x081dd6e5 in MemoryContextAlloc ()
> #3  0x081ca14c in load_relcache_init_file ()
> #4  0x081c9164 in RelationCacheInitialize ()

Hmph.  Apparently there is something wrong with the pg_internal.init
file in this database.

> I've dropped this database and restored it from backups to get it
> running again.

That was premature --- you could have just removed the broken init file
(which is merely a cache).  I'm not sure how easy it'll be to identify
the problem with the cache file without an easy way to compare to valid
data, but if you want to send me the saved-off init file I'll take a
look.  Which PG version is this again?

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Thomas H."
Date:
Subject: BUG #2780: could not fsync segment 0
Next
From: Zdenek Kotala
Date:
Subject: Re: PostgreSQL 8.1.5: regression tests fail on sparc