* responses to question on "unaligned access exception"
@ 1996-04-05 13:04 Martin Cohen
0 siblings, 0 replies; only message in thread
From: Martin Cohen @ 1996-04-05 13:04 UTC (permalink / raw)
To: tru64-unix-managers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-04-05 13:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-04-05 13:04 responses to question on "unaligned access exception" Martin Cohen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox