From: quan@Xenon.Stanford.EDU (Tony Quan)
Subject: Re: HELP!!: Really strange bug
Date: 1996/05/25 [thread overview]
Message-ID: <4o7vmn$qik@nntp.Stanford.EDU> (raw)
In-Reply-To: 4o6bcs$n8g@larch.cc.swarthmore.edu
In article <4o6bcs$n8g@larch.cc.swarthmore.edu>,
Evan Dorn <evan@condor.sccs.swarthmore.edu> wrote:
>
>
>I'm running elm 2.4 on an osf system...
>
>The strangest thing happened to me all of a sudden... Elm goes runaway
>as soon as I run it. This does not happen to any other user of my system as
>far as I can tell. I am one of 9 sysadmins- doesn't happen to any of the
>others, either. THe bug fills my terminal with lines that start:
>
>Unaligned access PID=#### <elm>
>
>and I have to disconnect my terminal, reconnect, and kill the process, which
>has by then hit about 95% of the processor. It responds to a normal kill.
>
>Another sysadmin noticed that I had a few random files that had user
>execute permissions set, so I fixed that. I also tried removing my
>elmrc and other associated files like aliases. Didn't accomplish anything.
>
>Other mail programs (pine and mh) have no problem. Does not seem shell
>specific; I have reproduced it under ksh, tcsh, and zsh.
>
>Does anyone on either of these newsgroups know what that error is? I am
>temporarily on a slow modem connection, so it is difficult ot spend much
>time debugging. Just knowing the meaning of that error mightt help me
>track it down.
Digital UNIX (OSF/1) machines use the 64-bit Alpha processor, as you know.
Alpha processors require that if software tries to load or store
a 64-bit word, the address used must fall on a 64-bit boundary--if
you're looking at the address in hex, it must end in 0 or 8. If the
address doesn't fall on a 64-bit boundary, this is an "unaligned access".
The default behavior for an unaligned access is to "fix up" the access
(fetch or store the data anyway) but print out a message to the
screen so that the user knows the software is trying to
perform an unaligned access. These alignment requirements were put in
because unaligned accesses are significantly slower to perform than
properly aligned memory accesses. Anyway, one way to turn off the
unaligned access error messages is to enter
uac p 0
at the command line. This turns off the messages, but the software
(in this case elm) still has a bug that needs to be fixed--it should
be modified so that it no longer performs unaligned accesses on 64-bit
platforms. A reasonably experienced C programmer won't have too much
problem finding the bug. Much software that was originally written on
32-bit platforms has such bugs that appear when the software is run on 64-bit
platforms like the Alpha. At your site, there may be something about how you
use elm or the particular mail messages you have that causes the bug to appear
for you and not for others.
--Tony
quan@cs.stanford.edu
prev parent reply other threads:[~1996-05-25 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-05-25 4:00 HELP!!: Really strange bug Evan Dorn
1996-05-25 4:00 ` Tony Quan [this message]
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