From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 16931 invoked from network); 4 Dec 1998 21:31:10 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 4 Dec 1998 21:31:10 -0000 Received: from adam.cheshire.net (root@adam.cheshire.net [208.153.58.2]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id QAA26081 for ; Fri, 4 Dec 1998 16:27:05 -0500 Received: from adam.cheshire.net (net3-pool-9.cheshire.net [208.153.58.164]) by adam.cheshire.net (8.9.1/8.9.1) with ESMTP id QAA09188; Fri, 4 Dec 1998 16:22:41 -0500 (EST) Sender: rdp@adam.cheshire.net Message-ID: <36685594.38C3976A@adam.cheshire.net> Date: Fri, 04 Dec 1998 16:35:16 -0500 From: Rich Payne Organization: alphalinux.org X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.35 i586) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com, Eric Ding Subject: Re: How do I find/fix unaligned accesses? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I didn't write this, but I picked it up from somewhere!! >If you get a message like so: > > identd(15285): unaligned trap at 0000000120024a9c: 000000011ffffa34 2d 10 > >you fire up gdb on identd (which must be linked with -g, and preferably >statically with the debugging version of libc) and type: > > info line *0x0000000120024a9c > >which tells you: > >Line 888 of "vfscanf.c" starts at address 0x120024a40 <_IO_vfscanf+10400> > and ends at 0x120024aa4 <_IO_vfscanf+10500>. > >So, the problem is at line 888 of vfscanf.c. > > >Paul Slootman Hope it helps... regards, rdp Eric Ding wrote: > > Hi all, > > I've read the FAQ about unaligned accesses on Alpha Linux. My question is, > now that I've got a whole log full of errors about unaligned accesses, how > do I go about tracking down the actual place in the code that's causing the > problem? > > I see, for example, > > axmain(521): unaligned trap at 0000000120472178: 000000011ffff2f4 2d 2 > > in /var/log/messages. Now what? Help me get Applixware for Linux/Alpha > out the door! :) > > Thanks, > Eric > -- > Senior Software Engineer / ericding@applix.com <>< > Applix, Inc. / 112 Turnpike Road / Westboro MA 01581-2842 > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com -- Rich Payne www.alphalinux.org