Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 1999 08:59:23 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        John Polstra <jdp@polstra.com>
Cc:        drdavis@calderasystems.com, hackers@freebsd.org
Subject:   Re: Netscape Bus Error
Message-ID:  <Pine.BSF.4.10.9909290858440.322-100000@salmon.nlsystems.com>
In-Reply-To: <199909281813.LAA12154@vashon.polstra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 28 Sep 1999, John Polstra wrote:

> In article <37F0DC3D.7F4A969D@calderasystems.com>,
> Darren R. Davis <drdavis@calderasystems.com> 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:  dfr@nlsystems.com
Nonlinear Systems Ltd.			Phone: +44 181 442 9037




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




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