From owner-freebsd-emulation Thu Sep 7 8:37:14 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id A002137B422 for ; Thu, 7 Sep 2000 08:37:09 -0700 (PDT) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id JAA18238; Thu, 7 Sep 2000 09:33:58 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id JAA05353; Thu, 7 Sep 2000 09:33:56 -0600 (MDT) (envelope-from nate) Date: Thu, 7 Sep 2000 09:33:56 -0600 (MDT) Message-Id: <200009071533.JAA05353@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Bruce Evans Cc: Andrew Gallatin , Nate Williams , marcel@cup.hp.com, freebsd-emulation@FreeBSD.ORG Subject: Re: IBM JDK fails due to lack of SA_SIGINFO support In-Reply-To: References: <14774.29608.353021.688597@grasshopper.cs.duke.edu> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > 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