Re: Segfaults with 8.1.3 on amd64 - Mailing list pgsql-general

From Guy Rouillier
Subject Re: Segfaults with 8.1.3 on amd64
Date
Msg-id D4D1632DC736E74AB95FE78CD609007901262A@mtxexch01.add0.masergy.com
Whole thread Raw
In response to Segfaults with 8.1.3 on amd64  (Gavin Hamill <gdh@laterooms.com>)
List pgsql-general
Martijn van Oosterhout wrote:
> On Thu, May 04, 2006 at 12:22:01PM +0100, Gavin Hamill wrote:
>> Hi, our 8.1.3 system on quad Xeon has been happily chugging away for
>> weeks with no stability problems until yesterday:
>>
>> /var/log/syslog:May  4 11:57:17 cayenne kernel: postmaster[19291]:
>> segfault at 0000000000000000 rip 00002aaaab5e8c00 rsp
>> 00007fffffffd418 error 4
>
> <snip>
>
>> I don't know what the rip + rsp values represent, but is it
>> interesting that they are identical in all three cases?
>
> At a guess rip = return instruction pointer, rsp = return stack
> point. The fact that they're all the same seems to rule out hardware.

The R* registers in AMD64 are just the 64-bit extensions to the standard
registers.  They couldn't use EIP because that was taken in the
expansion from 16-bit to 32-bit.  So RIP is simply the 64-bit
instruction pointer, RSP the 64-bit stack pointer.

--
Guy Rouillier



pgsql-general by date:

Previous
From: Reid Thompson
Date:
Subject: Re: How does an application recognize the death of the
Next
From: Rich Doughty
Date:
Subject: Adding ON UPDATE CASCADE to an existing foreign key constraint