From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,cc057588f5f2521c X-Google-Attributes: gidfee84,public From: "Tim Cochran" Subject: Re: Unaligned access error. Date: 1997/02/04 Message-ID: <01bc12a2$d0372c90$6cd892cf@pluto>#1/1 X-Deja-AN: 214368050 references: <01bc11da$7335f530$c9d992cf@pluto> <32F61D97.3D6A@wlv.iipo.gtegsc.com> <5d6rdp$9o4@dogbert.cc.ndsu.NoDak.edu> organization: AT&T WorldNet Services newsgroups: comp.unix.osf.osf1 Thanks for all the help. I nailed the problem. It was a pointer problem. (Porting a piece of software from a 32-bit environment to 64-bit alpha). BTW, were is the FAQ for this newsgroup? I haven't seen it posted here is quite a while. Thanks again, Tim Tim Mooney wrote in article <5d6rdp$9o4@dogbert.cc.ndsu.NoDak.edu>... > > To expand on what Allen said ( :-) ), `man uac' to read about unaligned > accesses. Essentially, you're accessing data that's not aligned on the proper > byte boundaries. > > As Allen indicated, the best way to find out where the problems are is to > run the program under the control of a debugger (dbx and ladebug work fine > too). From your prompt, as yourself (not root), do: > > uac p sigbus > > to cause unaligned accesses to generate a bus error. Then run your program > under control of gdb. Gdb will catch the bus error and show you exactly where > it happened. > > BTW, this is all mentioned in the FAQ for this newsgroup. > > Tim > -- > Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu > Information Technology Services (701) 231-1076 (Voice) > Room 242-J1, IACC Building (701) 231-8541 (Fax) > North Dakota State University, Fargo, ND 58105-5164 >