From: Andrew@cucumber.demon.co.uk (Andrew Gabriel)
Cc: rupert@ifi.uni-klu.ac.at
Subject: Re: ?Unaligned access pid=8472 <netscape>
Date: Tue, 14 Mar 1995 22:57:42 +0000 [thread overview]
Message-ID: <795221862snz@cucumber.demon.co.uk> (raw)
In-Reply-To: 3jq47h$1n1@osiris.wu-wien.ac.at
In article <3jq47h$1n1@osiris.wu-wien.ac.at>
rupert@ifi.uni-klu.ac.at "Rupert THURNER" writes:
> When starting netscape on an osf1 3x alpha we get on certain
> displays the following error:
>
> Unaligned access pid=8472 <netscape> va=140306c24 pc=120257fec ra=1202571d8
> type=stq
>
> continued a minute or so (with different pc) and then it starts up
> normally. if you go to the news-directory, it does the same
> thing again and from this point on you can work normally with it.
This is caused by the program attempting to access a store location
(va=140306c24) which is mis-aligned for its size (therefore size greater
than 4 bytes, which is the alignment). This is normally caused by
accessing a 64 bit pointer which has only been aligned on a 32 bit
boundary (which is all that would be required on a 32 bit machine).
As you say, amazingly programs with this problem still work. I assume
a trap occurs and the mis-aligned access is resolved by software, but
this is just a guess.
> i suppose this is a certain setting of mwm, but i'm not sure, and,
> i have no idea where to search for this error.
No, it's an incorrect/incompleted port of a piece of 32 bit software
to a 64 bit machine (probably). Use dbx and set a breakpoint at the
pc location to find where the problem is in the code. It's probably
something like dynamically allocating space for a structure containing
pointers, but only ensuring 32 bit alignment rather than 64 bit
required on the Alpha.
--
Andrew Gabriel Home: Andrew@cucumber.demon.co.uk
Consultant Software Engineer Work: Andrew.Gabriel@net-tel.co.uk
next prev parent reply other threads:[~1995-03-14 22:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-03-10 18:02 ?Unaligned access pid=8472 <netscape> Rupert THURNER
1995-03-14 22:57 ` Andrew Gabriel [this message]
1995-03-16 21:15 ` Phil Knaack
1995-03-17 16:45 ` Peter Schauer
1995-03-18 0:36 ` Matthew Bowen Harrington
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