Date: Mon, 25 Nov 2002 13:12:36 +0200 From: Alexey Zelkin <phantom@FreeBSD.org.ua> To: Bill Huey <billh@gnuppy.monkey.org> Cc: Mantzios Achilleus <mantzios@softlab.ece.ntua.gr>, freebsd-java@FreeBSD.ORG Subject: Re: Jboss, -Xss with hotspot on -release 4.7p2 Message-ID: <20021125131236.A77656@phantom.cris.net> In-Reply-To: <20021125104124.GA13270@gnuppy.monkey.org>; from billh@gnuppy.monkey.org on Mon, Nov 25, 2002 at 02:41:24AM -0800 References: <Pine.SOL.4.31.0211251131580.3353-100000@theseas.softlab.ece.ntua.gr> <20021125104124.GA13270@gnuppy.monkey.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021125131236.A77656>