Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 May 1998 08:30:49 -0500 (CDT)
From:      Wm Brian McCane <root@bmccane.maxbaud.net>
To:        freebsd-current@FreeBSD.ORG
Subject:   Re: httpd caught SIGBUS?????
Message-ID:  <Pine.BSF.3.91.980504082852.21814C-100000@bmccane>
In-Reply-To: <19980502140801.12293@follo.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.980504082852.21814C-100000>