From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076331021184.tru64-unix-managers.marc@archive.invalid> From: Martin Cohen Date: Fri, 05 Apr 1996 13:04:56 +0000 To: tru64-unix-managers Subject: responses to question on "unaligned access exception" X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076331021184 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 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 #include #include 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