Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Mar 2000 17:29:02 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Pat Wendorf <beholder@beholder.ods.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Signals
Message-ID:  <20000305172902.L14279@fw.wintelcom.net>
In-Reply-To: <38C2FF7B.4B514C6B@beholder.ods.org>; from beholder@beholder.ods.org on Sun, Mar 05, 2000 at 07:44:43PM -0500
References:  <38C2FF7B.4B514C6B@beholder.ods.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Pat Wendorf <beholder@beholder.ods.org> [000305 17:16] wrote:
> Just a quick question:
> 
> What is a signal 10 and a signal 8, and what causes them?
> 
> I've encountered both running netscape.  The sig 8 is after I a do a
> "make install" from ports of 
> the 4.7-communicator (128 bit) on my 3.4-STABLE machine.  
> 
> The sig 10 happens randomly while running Netscape on my laptop which is
> running Current compiled
> from yesterday.

see /usr/include/sys/signal.h

#define SIGFPE          8       /* floating point exception */
#define SIGBUS          10      /* bus error */

SIGFPE is a floating point exception, something is doing some bad
math such as dividing by zero.

SIGBUS is usally caused by an unaligned memory access, something that
rarely happens on intel CPUs (in fact i think it just doesn't happen)
but it can happen when you incorrectly do things with mmap'd data.

-Alfred


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




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