From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 23649 invoked from network); 8 Dec 1998 06:09:03 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 8 Dec 1998 06:09:03 -0000 Received: from paralleldata.com (smtp.paralleldata.com [38.153.145.2]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id BAA25777 for ; Tue, 8 Dec 1998 01:03:22 -0500 Received: by paralleldata.com from localhost (router,SLMail V2.5); Tue, 08 Dec 1998 00:05:15 -0600 Received: by paralleldata.com from paralleldata.com (207.158.111.8::mail daemon; unverified,SLMail V2.5); Tue, 08 Dec 1998 00:05:12 -0600 Sender: "Wsb" Message-ID: <366CD253.A54A4527@paralleldata.com> Date: Tue, 08 Dec 1998 07:16:35 +0000 From: "Wes Bauske" Organization: Parallel Data Systems X-Mailer: Mozilla 4.04 [en] (X11; U; Linux 2.0.33 i686) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: How do I find/fix unaligned accesses? References: <366C7BDA.3C48407C@voicenet.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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