I am running a fortran compiled code (pw.x) on an Opteron machine running Suse 9 and I get a segmentation fault. What puzzled me is the following line in /var/log/messages: pw.x[18852] general protection rip:2a9581cbe5 rsp:7fbffff200 error:0 any clue on it meaning? Regards -- Eros Albertazzi CNR-IMM, Sez. Bologna Via P.Gobetti 101 I-40129 Bologna, Italy Tel:(+39)-051-639 9179 Fax:(+39)-051-639 9216
On Tue, 13 Jan 2004 12:15:58 +0100 Eros Albertazzi <phyche1@bo.imm.cnr.it> wrote:
I am running a fortran compiled code (pw.x) on an Opteron machine running Suse 9 and I get a segmentation fault.
What puzzled me is the following line in /var/log/messages:
pw.x[18852] general protection rip:2a9581cbe5 rsp:7fbffff200 error:0
any clue on it meaning?
Your program crashed. The kernel logs unhandled user signals. The x86-64 architecture causes general protection fault for "non canonical pointers" (pointers where the bits 58 to 63 are not all 0 or all 1). These are the same as a normal segfault essentially, but mapped to a different exception. So in short it's just an ordinary bad pointer in your program. -Andi
participants (2)
-
Andi Kleen
-
Eros Albertazzi