From: flipk@iastate.edu (Phil Knaack)
Subject: Re: ?Unaligned access pid=8472 <netscape>
Date: 16 Mar 95 21:15:13 GMT [thread overview]
Message-ID: <flipk.795388513@soclab.soc.iastate.edu> (raw)
In-Reply-To: 795221862snz@cucumber.demon.co.uk
In <795221862snz@cucumber.demon.co.uk>
Andrew@cucumber.demon.co.uk (Andrew Gabriel) writes:
>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.
Actually, its the kernel doing the job. Mis-alignment generates a fault
that the kernel catches, and OSF's method of dealing with it is to fix
the alignment and print a warning.
You can turn off these warnings with the command `uac', Unaligned Access
message Control. Check your man pages.
>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.
I would agree that this is the case, either a pointer or a long int in a
structure somewhere.. though I doubt that dbx will be able to tell you
much as I don't believe netscape binaries are un-stripped ..
>--
>Andrew Gabriel Home: Andrew@cucumber.demon.co.uk
>Consultant Software Engineer Work: Andrew.Gabriel@net-tel.co.uk
Cheers,
Phil
--
Phil Knaack flipk@iastate.edu
Database Programmer, NCREMP Student Development Group flipk@cs.iastate.edu
Regional Extension Office Project Vincent, ISU flipk@vorpal.com
next prev parent reply other threads:[~1995-03-16 21:15 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
1995-03-16 21:15 ` Phil Knaack [this message]
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