Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 1999 09:09:16 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        hasty@rah.star-gate.com
Cc:        current@freebsd.org
Subject:   Re: SIGBUS [was Re: gdb] 
Message-ID:  <199908191609.JAA18406@vashon.polstra.com>
In-Reply-To: <199908190130.SAA17301@rah.star-gate.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <199908190130.SAA17301@rah.star-gate.com>,
Amancio Hasty  <hasty@rah.star-gate.com> wrote:
> > On 18 Aug 1999, Joel Ray Holveck wrote:
> > 
> > > That reminds me.  I thought that SIGBUS meant byte-alignment errors.
> > > What does it mean on FreeBSD/x86?
> 
> The boehm garbage collector  is trying to find the memory limit so I guess
> in FreeBSD is going to get a SIGBUS.
> 
> In linux they get SIGV

Right.  FreeBSD gives SIGBUS for pages that are mapped but protected,
and SIGSEGV for pages that aren't mapped at all.

As I recall, Linux doesn't even have SIGBUS as far as the kernel is
concerned.

John
-- 
  John Polstra                                               jdp@polstra.com
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "No matter how cynical I get, I just can't keep up."        -- Nora Ephron


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




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