Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Sep 2000 09:33:56 -0600 (MDT)
From:      Nate Williams <nate@yogotech.com>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        Andrew Gallatin <gallatin@cs.duke.edu>, Nate Williams <nate@yogotech.com>, marcel@cup.hp.com, freebsd-emulation@FreeBSD.ORG
Subject:   Re: IBM JDK fails due to lack of SA_SIGINFO support
Message-ID:  <200009071533.JAA05353@nomad.yogotech.com>
In-Reply-To: <Pine.BSF.4.21.0009071412260.27159-100000@besplex.bde.org>
References:  <14774.29608.353021.688597@grasshopper.cs.duke.edu> <Pine.BSF.4.21.0009071412260.27159-100000@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> >  > Umm, I'd believe this except that someone sent me a patch (which I've
> >  > forwarded to Marcel) that fixes this and is related to the sigalstack
> >  > error above.  At least the author of the patch claims that the IBM JDK
> >  > now runs successfully on his box, running some version of FreeBSD. :)
> 
> > The change you're referring to isn't all that much different that what 
> > I'd been doing previously (setting MINSIGSTKSZ to 2048 in sys/signal.h).
> 
> It is quite different.  You change is not incorrect, but the committed
> versions of Nate's patch results in memory beyond the end of the stack
> being clobbered if the stack is actually use.

Ouch.  Why is that?  I would have thought that the signalstack's were
'essentially' unallocated space, so by bumping up the size, we were
giving the application more space to work with, not less.


Nate


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




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