From owner-freebsd-current Mon May 4 06:31:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA27741 for freebsd-current-outgoing; Mon, 4 May 1998 06:31:09 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from bmccane.maxbaud.net (ppp.maxbaud.net [208.155.166.81] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA27714 for ; Mon, 4 May 1998 06:31:01 -0700 (PDT) (envelope-from bmccane@bmccane.maxbaud.net) Received: (from root@localhost) by bmccane.maxbaud.net (8.8.8/8.8.7) id IAA22124; Mon, 4 May 1998 08:30:50 -0500 (CDT) (envelope-from bmccane) Date: Mon, 4 May 1998 08:30:49 -0500 (CDT) From: Wm Brian McCane To: freebsd-current@FreeBSD.ORG Subject: Re: httpd caught SIGBUS????? In-Reply-To: <19980502140801.12293@follo.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. > > Eivind. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > 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. brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message