Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group