Re: PosgreSQL is crashing with a signal 11 - Bug? - Mailing list pgsql-bugs

From Tom Lane
Subject Re: PosgreSQL is crashing with a signal 11 - Bug?
Date
Msg-id 18718.1094826240@sss.pgh.pa.us
Whole thread Raw
In response to Re: PosgreSQL is crashing with a signal 11 - Bug?  (Kjetil Torgrim Homme <kjetilho@ifi.uio.no>)
Responses Re: PosgreSQL is crashing with a signal 11 - Bug?
List pgsql-bugs
Kjetil Torgrim Homme <kjetilho@ifi.uio.no> writes:
> how can att[i]->attlen possibly change in the interim?  but
> data_length looks corrupted, too.

Unless you compiled with no optimization at all (-O0), the compiler
would likely fold the identical memcpy() calls in the different
if-branches together.  So I wouldn't put too much stock in the
reported line number.

It does seem striking that a 0x2f got dumped into the high byte of the
length word in both cases.  Have you checked to see what the
page-on-disk looks like?  I'd be interested to know if the offset of the
damaged byte within the page is again 0x0fff.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Kjetil Torgrim Homme
Date:
Subject: Re: PosgreSQL is crashing with a signal 11 - Bug?
Next
From: "PostgreSQL Bugs List"
Date:
Subject: BUG #1249: pg_restore doesnt handle restoring databases not created as a superuser