Re: postgresql 8.2 rc1 - crash - Mailing list pgsql-general

From Tom Lane
Subject Re: postgresql 8.2 rc1 - crash
Date
Msg-id 13096.1164899000@sss.pgh.pa.us
Whole thread Raw
In response to Re: postgresql 8.2 rc1 - crash  (Teodor Sigaev <teodor@sigaev.ru>)
Responses Re: postgresql 8.2 rc1 - crash  (Teodor Sigaev <teodor@sigaev.ru>)
List pgsql-general
Teodor Sigaev <teodor@sigaev.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

pgsql-general by date:

Previous
From: Shane Ambler
Date:
Subject: Re: Stripping kernel FreeBSD - postgres
Next
From: Teodor Sigaev
Date:
Subject: Re: postgresql 8.2 rc1 - crash