Re: postgres segfaulting on pg_restore

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: chris(at)chriscurvey(dot)com
Cc: pgsql <pgsql-general(at)postgresql(dot)org>
Subject: Re: postgres segfaulting on pg_restore
Date: 2011-05-04 15:30:40
Message-ID: 11881.1304523040@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Chris Curvey <chris(at)chriscurvey(dot)com> writes:
> in reverse order: no third-party, no contrib, no home-brew C. here is a
> stack trace from a fresh build of 9.1 beta 1 built with enable-cassert.

> Program received signal SIGSEGV, Segmentation fault.
> 0x0000000000744777 in AllocSetAlloc (context=0x13f6d08, size=16) at
> aset.c:639
> 639 Assert(chunk->size >= size);
> #0 0x0000000000744777 in AllocSetAlloc (context=0x13f6d08, size=16) at
> aset.c:639

Hmm, that's pretty interesting. Possibly it's just another
manifestation of something scribbling past the end of its allocated
chunk, but my credence for that theory is way down if there's no add-on
code involved. Does the postmaster log show any messages like
WARNING: detected write past chunk end in ...
before the crash?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2011-05-04 15:32:50 Re: undead index
Previous Message Scott Ribe 2011-05-04 15:07:30 SSDD reliability