From owner-freebsd-java Wed Feb 26 21:43:40 2003 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 CB99037B401 for ; Wed, 26 Feb 2003 21:43:37 -0800 (PST) Received: from mgr4.xmission.com (mgr4.xmission.com [198.60.22.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0790C43FB1 for ; Wed, 26 Feb 2003 21:43:37 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr4.xmission.com with spam-scanned (Exim 3.35 #1) id 18oGpU-00004t-04 for freebsd-java@freebsd.org; Wed, 26 Feb 2003 22:43:36 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr4.xmission.com with esmtp (Exim 3.35 #1) id 18oGpT-0008V4-04; Wed, 26 Feb 2003 22:43:35 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id h1R5hVb58687; Thu, 27 Feb 2003 16:13:31 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 27 Feb 2003 16:13:30 +1030 From: Greg Lewis To: Christopher Rued Cc: Munehiro Matsuda , freebsd-java@FreeBSD.ORG Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot Message-ID: <20030227161330.A58544@misty.eyesbeyond.com> References: <15962.16668.753657.116140@ool-18bacefa.dyn.optonline.net> <20030225.014627.41626713.haro@h4.dion.ne.jp> <20030225154141.A48569@misty.eyesbeyond.com> <20030225.225404.74756090.haro@h4.dion.ne.jp> <20030225182018.GA62141@misty.eyesbeyond.com> <20030226050459.A51511@misty.eyesbeyond.com> <15965.32312.772849.720730@ool-18bacefa.dyn.optonline.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15965.32312.772849.720730@ool-18bacefa.dyn.optonline.net>; from c.rued@xsb.com on Wed, Feb 26, 2003 at 09:55:52PM -0500 X-Spam-Status: No, hits=-3.5 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 X-Spam-Level: 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 On Wed, Feb 26, 2003 at 09:55:52PM -0500, Christopher Rued wrote: > I applied your patch and was able to compile my jdk like so: > > make -DWITH_HOTSPOT -DWITH_NATIVE_THREADS deinstall reinstall Current WITH_HOTSPOT implies WITH_NATIVE_THREADS, fwiw :). > When I try to run java -version, it runs, but without HotSpot: > > $ java -version > java version "1.3.1-p8" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p8-cbr-030226-09:35) > Classic VM (build 1.3.1-p8-cbr-030226-09:35, native threads, nojit) > > So I though, "I know how to make it use HotSpot, type -client or > -server." Now I'm getting core dumps again... > > $ java -client -version > java version "1.3.1-p8" > Java(TM) 2 Runtime Environment, Standard Edition (build > 1.3.1-p8-cbr-030226-09:3 > 5) > Java HotSpot(TM) Client VM (build 1.3.1-internal, mixed mode) > Unexpected Signal : 4 occurred at PC=0x80c2427 > Function name=(N/A) > Library=(N/A) > NOTE: We are unable to locate the function name symbol for the error > just occurred. Please refer to release documentation for > possible > reason and solutions. > Current Java thread: > Error: Cannot print dynamic libraries. Function not implemented for > FreeBSD > Local Time = Wed Feb 26 21:46:31 2003 > Elapsed Time = -2147483648 > # > # HotSpot Virtual Machine Error : 4 > # Error ID : 4F530E43505002CC > # Please report this error at > # http://java.sun.com/cgi-bin/bugreport.cgi > # > # Java VM: Java HotSpot(TM) Client VM (1.3.1-internal mixed mode) > # > # An error report file has been saved as hs_err_pid56235.log. > # Please refer to the file for further information. > # > Abort (core dumped) > > FYI: > I'm running 4.7-STABLE FreeBSD 4.7-STABLE #1: Sat Feb 8 19:58:28 > EST 2003, cvsupped earlier that day. The processor is a 500 MHz > AMD K6-II. Thats about the same date as my userland. I've more recently updated the kernel, but the differences aren't great. Needless to say, it works for me (or I wouldn't have posted the patch :). The best I can suggest is to pull out gdb and try and get some more information about what is going on. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message