From owner-freebsd-hackers Wed Sep 29 0: 9:35 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from rnocserv.urc.ac.ru (rnocserv.urc.ac.ru [193.233.85.2]) by hub.freebsd.org (Postfix) with ESMTP id CE86A14E6B for ; Wed, 29 Sep 1999 00:07:19 -0700 (PDT) (envelope-from joy@urc.ac.ru) Received: from urc.ac.ru (y.urc.ac.ru [193.233.85.7]) by rnocserv.urc.ac.ru (8.9.3/8.9.3) with ESMTP id NAA69775; Wed, 29 Sep 1999 13:01:33 +0600 (ESS) (envelope-from joy@urc.ac.ru) Message-ID: <37F1B94D.7B215AF4@urc.ac.ru> Date: Wed, 29 Sep 1999 13:01:33 +0600 From: Konstantin Chuguev Organization: Southern Ural Regional Center of FREEnet X-Mailer: Mozilla 4.6 [en] (X11; I; FreeBSD 3.3-STABLE i386) X-Accept-Language: ru, en MIME-Version: 1.0 To: Alex Belits Cc: "Darren R. Davis" , Nate Williams , Scm486@aol.com, freebsd-hackers@FreeBSD.ORG Subject: Re: Netscape Bus Error References: Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alex Belits wrote: > On Tue, 28 Sep 1999, Darren R. Davis 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. > > I always thought > > it strange on an Intel processor, since this was more a 68K/RISC thing. > > The only penalty on Intel > > was taking many more cycles to complete. Of course I haven't looked that > > deeply at what the > > code handling for the bus error signal really detects. But, never the > > less, it is still a Netscape bug. > > It's SIGSEGV in disguise -- netscape intercepts it and generates SIGBUS: > ---8<--- > abelits@es1840$ netscape& > [1] 67114 > abelits@es1840$ kill -SEGV 67114 > abelits@es1840$ [1]+ Bus error netscape > > abelits@es1840$ > --->8--- > Or Netscape crashes with SIGBUS in SIGSEGV handler? :-) -- Konstantin V. Chuguev. System administrator of Southern http://www.urc.ac.ru/~joy/ Ural Regional Center of FREEnet, mailto:joy@urc.ac.ru Chelyabinsk, Russia. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message