Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Wes Bauske" <wsb@paralleldata.com>
To: axp-list@redhat.com
Subject: Re: How do I find/fix unaligned accesses?
Date: Tue, 08 Dec 1998 07:16:35 +0000	[thread overview]
Message-ID: <366CD253.A54A4527@paralleldata.com> (raw)
In-Reply-To: yv4lnkjjndf.fsf@tuxedo.applix.com

Eric Ding wrote:
> 
> > >
> > >         unaligned trap at 0000015556b9d360: 0000000120d9740c 27 1
> > >
> > > and the variable being accessed is a double, which means it must be aligned
> > > on 4 byte boundaries, right?  But it's correct, then, isn't it?  That is,
> > > 0x0000000120d9740c is divisible by 4, so why is there still an error?
>

The error is from the data at 0000000120d9740c, accessed by
instruction 0000015556b9d360. Since it ends in 'c', it is not
8 byte aligned. Figure out how you got that address to line
up wrong. Must be playing some pointer trick somewhere that causes
a problem.


Wes


  reply	other threads:[~1998-12-08  6:09 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-04 18:25 How do I find/fix unaligned accesses? Eric Ding
1998-12-04 21:16 ` Oscar Levi
1998-12-04 21:17 ` nbecker
1998-12-04 21:18 ` Harvey J. Stein
1998-12-04 21:35 ` Rich Payne
1998-12-05  2:29   ` Tom Linden
1998-12-05 16:37     ` Oscar Levi
1998-12-07 23:45     ` Eric Ding
1998-12-08  0:44       ` Richard Hadsell
1998-12-08  1:07       ` Uncle George
1998-12-08  3:58         ` Eric Ding
1998-12-08  7:16           ` Wes Bauske [this message]
1998-12-08 11:14           ` Uncle George
1998-12-08 13:04             ` nbecker
  -- strict thread matches above, loose matches on Subject: below --
1998-12-08 21:13 Christian Groessler
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