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