Re: postgresql 8.2 rc1 - crash

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Teodor Sigaev <teodor(at)sigaev(dot)ru>
Cc: hubert depesz lubaczewski <depesz(at)gmail(dot)com>, Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: postgresql 8.2 rc1 - crash
Date: 2006-11-30 15:03:20
Message-ID: 13096.1164899000@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Teodor Sigaev <teodor(at)sigaev(dot)ru> writes:
>> #1 0x080bc224 in PageDeletePostingItem (page=0xb28039a0 "\020",
>> offset=53719) at gindatapage.c:291
>> #2 0x080bf558 in ginDeletePage (gvs=0xbfc2ab80, deleteBlkno=29194,
>> leftBlkno=29059, parentBlkno=70274, myoff=351, isParentRoot=0 '\0') at
>> ginvacuum.c:268

> Are you sure about your hardware? myoff in ginDeletePage() and offset in
> PageDeletePostingItem are the same variable...

That sort of thing isn't unusual when looking at dumps with an optimized
executable. gdb has only a limited view of what the compiler is doing,
and frequently will think that register N contains a variable when in
fact that register gets re-used for several different purposes within
the function.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Teodor Sigaev 2006-11-30 15:06:07 Re: postgresql 8.2 rc1 - crash
Previous Message Bruce Momjian 2006-11-30 14:58:52 Re: Shutting down a warm standby database in