Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 May 1998 21:02:55 +0200
From:      Eivind Eklund <eivind@yes.no>
To:        Wm Brian McCane <root@bmccane.maxbaud.net>, freebsd-current@FreeBSD.ORG
Subject:   Re: httpd caught SIGBUS?????
Message-ID:  <19980504210255.01076@follo.net>
In-Reply-To: <Pine.BSF.3.91.980504082852.21814C-100000@bmccane>; from Wm Brian McCane on Mon, May 04, 1998 at 08:30:49AM -0500
References:  <19980502140801.12293@follo.net> <Pine.BSF.3.91.980504082852.21814C-100000@bmccane>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980504210255.01076>