From owner-freebsd-current Mon May 4 12:03:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA00758 for freebsd-current-outgoing; Mon, 4 May 1998 12:03:14 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA00750 for ; Mon, 4 May 1998 12:03:10 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id TAA24906; Mon, 4 May 1998 19:02:55 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id VAA06954; Mon, 4 May 1998 21:02:56 +0200 (MET DST) Message-ID: <19980504210255.01076@follo.net> Date: Mon, 4 May 1998 21:02:55 +0200 From: Eivind Eklund To: Wm Brian McCane , freebsd-current@FreeBSD.ORG Subject: Re: httpd caught SIGBUS????? References: <19980502140801.12293@follo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: ; from Wm Brian McCane on Mon, May 04, 1998 at 08:30:49AM -0500 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, May 04, 1998 at 08:30:49AM -0500, Wm Brian McCane wrote: > > On Sat, 2 May 1998, Eivind Eklund wrote: > > > On Sat, May 02, 1998 at 05:35:54AM -0500, Phillip Salzman wrote: > > > *default date=yr.mm.dd.hh.mm.ss - i did 98.04.20.00.00.00, but I just > > > remembered that the Linux emu. was broken, and x11amp just core dumped > > > on signal 10 for me... I do not know if it was broken on that date or > > > not - maybe my hardware is b0rked. > > > > I think this might have been the mapping of protection faults in > > FreeBSD to SIGBUS while they in Linux are mapped to SIGSEGV. I > > commited a fix for this (by Fred Gilham) on 1998/04/28 11:15:09 PDT. > > You could get this separately. It at least fix SIGBUS problems in a > > host of other programs. > > > > I rebuilt apache with debug and tested this in gdb. The problem is with > the mmap'd scoreboard file. The file is opened, and used a random number > of times (seemed random 8). Then the next time you try to use it, it is > gone (closed maybe?), and you try to access memory that is no longer > mapped into your program. > That's the VM problems. I was talking about SIGBUS in emulated Linux programs. If anybody still have problems with weird signals when emulating Linux programs, please shout. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message