On Tue, 28 Sep 1999, John Polstra wrote:
> In article <[EMAIL PROTECTED]>,
> Darren R. Davis <[EMAIL PROTECTED]> wrote:
>
> > I believe that a Bus Error is specifically referencing miss aligned
> > data vs segmentation violation (SIGSEGV) which is accessing data
> > that is either free'd or not yours, etc.
>
> That was the traditional distinction, but it's different on
> FreeBSD/i386. SIGSEGV means you accessed memory that is unmapped.
> SIGBUS means you accessed memory that is mapped, but protected
> (unwritable and/or unreadable). To further confuse matters,
> FreeBSD/alpha generates SIGSEGV for both cases.
And it generates SIGBUS for unaligned accesses (when traps for that are
enabled).
--
Doug Rabson Mail: [EMAIL PROTECTED]
Nonlinear Systems Ltd. Phone: +44 181 442 9037
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message