From owner-freebsd-current@FreeBSD.ORG Fri Aug 20 06:00:50 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D15BA16A4CE for ; Fri, 20 Aug 2004 06:00:50 +0000 (GMT) Received: from smtp01.syd.iprimus.net.au (smtp01.syd.iprimus.net.au [210.50.30.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EE5C43D5A for ; Fri, 20 Aug 2004 06:00:50 +0000 (GMT) (envelope-from tim@robbins.dropbear.id.au) Received: from robbins.dropbear.id.au (210.50.87.164) by smtp01.syd.iprimus.net.au (7.0.028) id 40FF5CF500918DD5; Fri, 20 Aug 2004 16:00:49 +1000 Received: by robbins.dropbear.id.au (Postfix, from userid 1000) id 5137D420D; Fri, 20 Aug 2004 16:00:47 +1000 (EST) Date: Fri, 20 Aug 2004 16:00:47 +1000 From: Tim Robbins To: Vitaly Markitantov Message-ID: <20040820060047.GA1221@cat.robbins.dropbear.id.au> References: <20040819210624.11884.qmail@web13423.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040819210624.11884.qmail@web13423.mail.yahoo.com> User-Agent: Mutt/1.4.1i cc: current@freebsd.org Subject: Re: linux JDK with compat_linux broken X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2004 06:00:51 -0000 On Thu, Aug 19, 2004 at 02:06:24PM -0700, Vitaly Markitantov wrote: > In not so old -CURRENT (from August 18 2004) doesn't work linux's JDK from > ports linux-sun-jdk-1.4.2.05 > > When i run simple > $/usr/local/linux-sun-jdk1.4.2/bin/java -version > Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location > # > # HotSpot Virtual Machine Error, Internal Error > # Please report this error at > # http://java.sun.com/cgi-bin/bugreport.cgi > # > # Java VM: Java HotSpot(TM) Client VM (1.4.2_05-b04 mixed mode) > # > # Error ID: 4F533F4C494E55583F491418160E435050035E > # > # Problematic Thread: prio=-1086328344 tid=0x08090d40 nid=0x736b runnable > # > > Heap at VM Abort: > Heap > def new generation total 576K, used 0K [0x2c7a0000, 0x2c840000, 0x2cc80000) > eden space 512K, 0% used [0x2c7a0000, 0x2c7a0048, 0x2c820000) > from space 64K, 0% used [0x2c820000, 0x2c820000, 0x2c830000) > to space 64K, 0% used [0x2c830000, 0x2c830000, 0x2c840000) > tenured generation total 1408K, used 0K [0x2cc80000, 0x2cde0000, 0x307a0000) > the space 1408K, 0% used [0x2cc80000, 0x2cc80000, 0x2cc80200, 0x2cde0000) > compacting perm gen total 4096K, used 277K [0x307a0000, 0x30ba0000, > 0x347a0000) > the space 4096K, 6% used [0x307a0000, 0x307e56c0, 0x307e5800, 0x30ba0000) > > > When linprocfs mounted java gets 100% cpu time and hangs, till i say > $killall -9 java > > It's bad, because i need this linux-sun-jdk-1.4.2.05 to build native BSD JDK. I'm looking into this, but I can't seem to reproduce the problem here with J2RE 1.4.2 (I'm still in the process of downloading the SDK). When linprocfs is not mounted: $ ./java -version Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location java version "1.4.2_04" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05) Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode) When linprocfs is mounted: $ ./java -version java version "1.4.2_04" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05) Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode) Can you confirm that the problem still exists after updating your sources and rebuilding the kernel and all relevant modules? Tim