Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 9FF67476180; Tue, 17 Sep 2002 10:55:20 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 10853475F5D; Tue, 17 Sep 2002 10:55:20 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.5/8.12.5) with ESMTP id g8HEtI5D023984; Tue, 17 Sep 2002 10:55:18 -0400 (EDT) To: Andrew Sullivan , Wim Cc: pgsql-admin@postgresql.org, pgsql-general@postgresql.org Subject: Re: [GENERAL] Still big problems with pg_dump! In-reply-to: <20020917103347.E27778@mail.libertyrms.com> References: <3D86E3BD.1020702@belbone.be> <20020917101305.B27778@mail.libertyrms.com> <3D873B69.1000105@belbone.be> <20020917103347.E27778@mail.libertyrms.com> Comments: In-reply-to Andrew Sullivan message dated "Tue, 17 Sep 2002 10:33:47 -0400" Date: Tue, 17 Sep 2002 10:55:18 -0400 Message-ID: <23983.1032274518@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/198 X-Sequence-Number: 5737 Andrew Sullivan writes: > On Tue, Sep 17, 2002 at 04:25:45PM +0200, Wim wrote: >> ERROR: AllocSetFree: cannot find block containing chunk 4c5ad0 >> >> Postgres is running on solaris 8... > Someone else suggested that this would not be the error when you have > written bad data to the disk (I thought you could have this if the > controller was flakey and wrote bad data in the past. Maybe I'm > wrong. Probably). Actually, what it looks like to me is a memory clobber; I don't think bad data on disk would be likely to lead to this particular type of failure. But writing one byte too many into a string, and thereby zeroing the high-order byte of an adjacent pointer, could lead to exactly this message when we later try to pfree() the pointer. I am wondering if Wim is running into that same Solaris snprintf() bug that we discovered awhile back --- it was not clear if the bug still exists in Solaris 8, but the symptoms sure match. See http://archives.postgresql.org/pgsql-bugs/2002-07/msg00059.php It would be useful to see a stack traceback from the point of the error, if possible. regards, tom lane