From: Martin Cohen <mcohen () nrtc ! northrop ! com>
To: tru64-unix-managers
Subject: responses to question on "unaligned access exception"
Date: Fri, 05 Apr 1996 13:04:56 +0000 [thread overview]
Message-ID: <96076331021184.tru64-unix-managers.marc@archive.invalid> (raw)
I must echo with gratitude my appreciation to the
members of this group - you are amazing!!!!
My question was:
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
When running a Fortran program that is being ported
from VMS Fortran to f2c+gcc on DU 3.0, I get
the following message:
Unaligned access pid=7137 <testrob.exe> va=14001a022 pc=12000e638 ra=12000f60c type=ldl
I cannot get the program to stop at the message,
even when compiling with the "-g" option
and using gdb.
1. How can I most directly find where the error is occurring?
2. Is this serious?
3. Should I be concerned?
Thanks.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
I got answers (in less than two hours!) from:
Gernot M. Fuchs (gfuchs@golay.med.unc.edu)
John (jtk@atria.com)
Jack (jackb@pgw.picker.com)
Gernot said that the message was not serious and can be turned
off with the "uac" command (there is a "uac" man page).
John sent a program that causes the shell to issue a
SIGBUS message and coredump at the uac.
Jack suggested the "uac" man page.
I used John's program and it works - Thanks John!
Here is the program:
#include <sys/types.h>
#include <sys/sysinfo.h>
#include <sys/proc.h>
main()
{
int rc;
int buf[2];
buf[0] = SSIN_UACPARNT;
buf[1] = UAC_SIGBUS|UAC_NOFIX;
rc = setsysinfo(SSI_NVPAIRS, buf, 1, 0, 0);
if (rc == -1)
perror("setsysinfo");
}
Martin Cohen
mcohen@nrtc.northrop.com
reply other threads:[~1996-04-05 13:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox