From owner-freebsd-questions Sun Mar 5 16:58:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 5A84F37BB14 for ; Sun, 5 Mar 2000 16:58:36 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) id RAA00255; Sun, 5 Mar 2000 17:29:02 -0800 (PST) Date: Sun, 5 Mar 2000 17:29:02 -0800 From: Alfred Perlstein To: Pat Wendorf Cc: questions@FreeBSD.ORG Subject: Re: Signals Message-ID: <20000305172902.L14279@fw.wintelcom.net> References: <38C2FF7B.4B514C6B@beholder.ods.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <38C2FF7B.4B514C6B@beholder.ods.org>; from beholder@beholder.ods.org on Sun, Mar 05, 2000 at 07:44:43PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Pat Wendorf [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