From owner-freebsd-java Fri Nov 16 6:28: 6 2001 Delivered-To: freebsd-java@freebsd.org Received: from zcars0m9.nortelnetworks.com (zcars0m9.nortelnetworks.com [47.129.242.157]) by hub.freebsd.org (Postfix) with ESMTP id 9800F37B417 for ; Fri, 16 Nov 2001 06:27:59 -0800 (PST) Received: from zcars04e.ca.nortel.com (zcars04e.ca.nortel.com [47.129.242.56]) by zcars0m9.nortelnetworks.com (8.11.0/8.11.0) with ESMTP id fAGERES25807 for ; Fri, 16 Nov 2001 09:27:14 -0500 (EST) Received: from zcard00m.ca.nortel.com by zcars04e.ca.nortel.com; Fri, 16 Nov 2001 09:27:50 -0500 Received: from zcard0ka.ca.nortel.com ([47.129.242.162]) by zcard00m.ca.nortel.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id W99NF96Y; Fri, 16 Nov 2001 09:26:56 -0500 Received: from hcarp00g (hcarp00g.ca.nortel.com [47.196.31.114]) by zcard0ka.ca.nortel.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id PX30T2HQ; Fri, 16 Nov 2001 09:26:54 -0500 Date: Fri, 16 Nov 2001 09:29:24 -0500 (EST) X-Sybari-Space: 00000000 00000000 00000000 From: "Andrew Atrens" X-X-Sender: atrens@hcarp00g.ca.nortel.com To: "Koster, K.J." Cc: java@FreeBSD.ORG Subject: RE: Small prog to demonstrate linux-jdk1.3.x signal handling prob lem. In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FDA0BA@l04.research.kpn.com> Message-ID: <20011116091808.M10243-100000@hcarp00g.ca.nortel.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Orig: 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 > Hmm. I'm running it on my box now. It hasn't died yet and reponds to ^C just > fine. My system uses the Linux JDK 1.3.1 port rev. 1, linux_base 6.1, > freebsd 4.4-stable as of november 1st. > > Is it supposed to SEGV immediately or after running for some time? The key bit is to run it with the hotspot JVM. This JVM uses linux threads, which seems to be the 'trigger' for the problem. Take a look at - /usr/local/linux-jdk1.3.x/jre/lib/jvm.cfg it should look like | -client | -server | -hotspot | -classic The first JVM in the list is the one that gets used by default. If I'm not mistaken the port changes this file to - | -classic | -client | -server | -hotspot defaulting you to the 'classic' JVM. The other (3) JVMs all use HotSpot but are 'tuned' for different types of applications - hence 'client' and 'server'. I differ with Ari's view that only 'Hello World' can be run on HotSpot. Indeed the buggy app I'm trying to run is a full-on class-parser/native code generator - it's pretty massive. And it does run, and fast. It's just this niggly SEGV signal handling problem that's driving me nuts. > > Kees Jan > > ================================================ > You are only young once, > but you can stay immature all your life. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message