From owner-freebsd-java Mon Nov 25 3: 7:44 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3066437B401 for ; Mon, 25 Nov 2002 03:07:43 -0800 (PST) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8169043EB2 for ; Mon, 25 Nov 2002 03:07:39 -0800 (PST) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id gAPE9gip037909; Mon, 25 Nov 2002 14:09:43 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.2/8.12.2) id gAPBCakF077698; Mon, 25 Nov 2002 13:12:36 +0200 (EET) (envelope-from ml) Date: Mon, 25 Nov 2002 13:12:36 +0200 From: Alexey Zelkin To: Bill Huey Cc: Mantzios Achilleus , freebsd-java@FreeBSD.ORG Subject: Re: Jboss, -Xss with hotspot on -release 4.7p2 Message-ID: <20021125131236.A77656@phantom.cris.net> References: <20021125104124.GA13270@gnuppy.monkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021125104124.GA13270@gnuppy.monkey.org>; from billh@gnuppy.monkey.org on Mon, Nov 25, 2002 at 02:41:24AM -0800 X-Operating-System: FreeBSD 4.5-STABLE i386 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org hi, It sounds also like a problem with using different gethostby*_r() functions. It's quite possible that dynamic linker is using gethostbyname_r() from something in /usr/lib instead of JDK's libnet.so. I have had similar one while doing 1.4 porting work and resolved(?) simply by renaming home born implementation of gethostby*_r() functions to JVM_$1 as well as renamed calls to these functions in .c files in j2se sources. On Mon, Nov 25, 2002 at 02:41:24AM -0800, Bill Huey wrote: > On Mon, Nov 25, 2002 at 11:45:05AM +0200, Mantzios Achilleus wrote: > > I have (i think) built hotspot (core) on stable 4.7. > > > > When i run jboss 3.0.1 with -Xss30m i get: > > > > Stack size of 30720 Kb exceeds current limit of 1024 Kb. > > (Stack sizes are rounded up to a multiple of the system page size.) > > > > I then try to use this limit with -Xss1m. > > > > When i run jboss with hotspot (core) > > i get sigbus (10). > > Yeah, sounds like a stack limit problem, fairly trivial to fix. Those are > reentrant C functions being called if I remember correctly and I wonder > what's going with it and I was the person that commited that logic to the > core JVM library itself. I'll get at it after the all reworking that I'm > currently doing. I'm in the process of reading stuff both in the HotSpot > source tree, libc_r, and stuff outside of this project, so it's going to > be a bit before I can get at it. > > bill > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message