Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: "Tim Cochran" <timcochran@worldnet.att.net>
Subject: Re: Unaligned access error.
Date: 1997/02/04	[thread overview]
Message-ID: <01bc12a2$d0372c90$6cd892cf@pluto> (raw)
In-Reply-To: 5d6rdp$9o4@dogbert.cc.ndsu.NoDak.edu


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 <mooney@dogbert.cc.ndsu.NoDak.edu> 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
> 



  reply	other threads:[~1997-02-04  5:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-02-03  5:00 Unaligned access error Tim Cochran
1997-02-03  5:00 ` Allen M. Cohen
1997-02-03  5:00   ` Roland Kruse
1997-02-06  5:00     ` Mark Bartelt
1997-02-04  5:00   ` Tim Mooney
1997-02-04  5:00     ` Tim Cochran [this message]
1997-02-04  5:00 ` Alexander Kogan
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