Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 May 2000 08:21:50 -0400 (EDT)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Christian Weisgerber <naddy@unix-ag.uni-kl.de>
Cc:        freebsd-alpha@FreeBSD.ORG
Subject:   Re: How to fix unaligned access errors?
Message-ID:  <14617.21495.418598.708837@grasshopper.cs.duke.edu>
In-Reply-To: <20000510135444.A65751@fettuccini.unix-ag.uni-kl.de>
References:  <20000510135444.A65751@fettuccini.unix-ag.uni-kl.de>

next in thread | previous in thread | raw e-mail | index | archive | help

Christian Weisgerber writes:
 > You start a program, the kernel throws a million "unaligned access"
 > errors.
 > 
 > How do you go about finding and fixing those in the source?
 > 

See uac(1)

In the parent shell, say "uac -s"  This will cause a SIGBUS to be sent 
to any children of this shell when they generate an unaligned access.
You should now be able to debug it.

Drew
------------------------------------------------------------------------------
Andrew Gallatin, Sr Systems Programmer	http://www.cs.duke.edu/~gallatin
Duke University				Email: gallatin@cs.duke.edu
Department of Computer Science		Phone: (919) 660-6590


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14617.21495.418598.708837>