From owner-freebsd-current Fri Jun 8 23:55:41 2001 Delivered-To: freebsd-current@freebsd.org Received: from yog-sothoth.sgi.com (eugate.sgi.com [192.48.160.10]) by hub.freebsd.org (Postfix) with ESMTP id 0FBAE37B403 for ; Fri, 8 Jun 2001 23:55:35 -0700 (PDT) (envelope-from gwk@sgi.com) Received: from sgiger.munich.sgi.com (sgiger.munich.sgi.com [144.253.192.2]) by yog-sothoth.sgi.com (980305.SGI.8.8.8-aspam-6.2/980304.SGI-aspam-europe) via SMTP id IAA1879318; Sat, 9 Jun 2001 08:55:32 +0200 (CEST) mail_from (gwk@sgi.com) Received: from cuckoo.munich.sgi.com (cuckoo.munich.sgi.com [144.253.192.109]) by sgiger.munich.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id IAA10785; Sat, 9 Jun 2001 08:55:19 +0200 Received: from hunter.munich.sgi.com ([192.82.201.164]) by cuckoo.munich.sgi.com (SGI-8.9.3/8.9.3) with ESMTP id IAA68466; Sat, 9 Jun 2001 08:55:14 +0200 (CEST) Received: from hunter.munich.sgi.com (localhost.munich.sgi.com [127.0.0.1]) by hunter.munich.sgi.com (8.11.3/8.11.3) with ESMTP id f596sgo06286; Fri, 8 Jun 2001 23:54:43 -0700 (PDT) (envelope-from gwk@sgi.com) Date: Fri, 08 Jun 2001 23:54:42 -0700 Message-ID: From: "Georg-W. Koltermann" To: Andrew Gallatin Cc: current@freebsd.org Subject: Re: Linux JDK 1.3 and hotspot (native threads) In-Reply-To: <20010430115936.A1525@hunter.munich.sgi.com> References: <20010426185450.B10195@hunter.munich.sgi.com> <15082.7626.656950.951816@grasshopper.cs.duke.edu> <20010430115936.A1525@hunter.munich.sgi.com> User-Agent: Wanderlust/2.4.1 (Stand By Me) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/20.7 (i386--freebsd) MULE/4.0 (HANANOEN) Organization: SGI X-Attribution: gwk MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At Mon, 30 Apr 2001 11:59:38 +0200, Georg-W. Koltermann wrote: > > On Fri, Apr 27, 2001 at 09:32:58PM -0400, Andrew Gallatin wrote: > > > > Georg-W. Koltermann writes: > > > > <...> > > > In order to get real performance I would like to run either the SUN > > > JDK with -hotspot, or the IBM 1.3 JVM. Both of these use native linux > > > threads. With a recent -current I can successfully execute small JAVA > > > test programs, but when I start a real application (e.g. Together from > > > togethersoft.com), it fails with a core dump. > > > > <...> > > Also, are there any non commercial apps that demonstrate the problem? > > Or at least things that I don't have to sign my life away to get > > access to? Hi Andrew, I just tried Forte for Java 3.0 Early Access, and it shows the above problem quite easily during startup. I ran it with truss(1), and the last part of the output is: linux_kill(0x15bc,0x20) = 2 (0x2) linux_brk(0x8232000) = 1 (0x1) linux_rt_sigprocmask(0x2,0x0,0xbfbfc73c,0x8) = 4 (0x4) write(4,0xbfbfc728,148) = 3 (0x3) linux_rt_sigprocmask(0x2,0x0,0xbfbfc6a8,0x8) = 4 (0x4) SIGNAL 32 SIGNAL 32 SIGNAL 32 linux_rt_sigsuspend(0xbfbfc6a8,0x8) ERR#4 'Interrupted system call' linux_sigreturn(0xbfbfc3a0) ERR#4 'Interrupted system call' linux_sched_getscheduler(0x15c2) ERR#1 'Operation not permitted' linux_kill(0x15c2,0x20) = 2 (0x2) linux_kill(0x15c2,0x20) = 2 (0x2) getpid() = 0 (0x0) linux_mmap(0xbfbfc9bc) = 1 (0x1) mprotect(0xbfa0e000,0x2000,0x0) = 3 (0x3) linux_mmap(0xbfbfc9bc) = 1 (0x1) linux_sigaltstack(0xbfbfc9f8,0x0) = 2 (0x2) -- System info ---------------------------------------------------------------- linux_rt_sigprocmask(0x1,0xbfbfc968,0x0,0x8) = 4 (0x4) linux_sched_getscheduler(0x15b9) ERR#1 'Operation not permitted' Product Version = Forte for Java, CE v. 3.0 (Build 010523) IDE Versioning = IDE/1 spec=1.2.1 impl=010523 Operating System = Linux version 2.2.12 running on i386 Java; VM; Vendor = 1.3.1; Java HotSpot(TM) Client VM 1.3.1-b24; Sun Microsystems Inc. Java Home = /opt/jdk1.3.1/jre System Locale = en_US (f4j_ce) Home Dir; Current Dir = /home/hunter/gwk; /home/hunter/gwk IDE Install; User Dir = /opt/forte30; /home/hunter/gwk/ffjuser30 CLASSPATH = /opt/forte30/lib/patches/openide-compat.jar:/opt/forte30/lib/ext/bsh-1_0-fj.jar:/opt/forte30/lib/ext/cmd.jar:/opt/forte30/lib/ext/cosnaming.jar:/opt/forte30/lib/ext/dd2beans.jar:/opt/forte30/lib/ext/ddl.jar:/opt/forte30/lib/ext/fjscript.jar:/opt/forte30/lib/ext/fscontext.jar:/opt/forte30/lib/ext/idlcompilers.jar:/opt/forte30/lib/ext/jaas.jar:/opt/forte30/lib/ext/jaxp.jar:/opt/forte30/lib/ext/jh.jar:/opt/forte30/lib/ext/jndi.jar:/opt/forte30/lib/ext/ldap.jar:/opt/forte30/lib/ext/ldapbp.jar:/opt/forte30/lib/ext/logger.jar:/opt/forte30/lib/ext/nis.jar:/opt/forte30/lib/ext/openorb-1.0.2.jar:/opt/forte30/lib/ext/oracle.jar:/opt/forte30/lib/ext/parser.jar:/opt/forte30/lib/ext/pbembeddedeval.jar:/opt/forte30/lib/ext/providerutil.jar:/opt/forte30/lib/ext/regexp.jar:/opt/forte30/lib/ext/rmi-ext.jar:/opt/forte30/lib/ext/rmiregistry.jar:/opt/forte30/lib/ext/sax2.jar:/opt/forte30/lib/ext/servlet.jar:/opt/forte30/lib/ext/xerces.jar:/opt/forte30/lib/ext/jdbc20x.zip:/opt/forte30/lib/locale/core_f4j.jar:/opt/forte30/lib/locale/core_f4j_ce.jar:/opt/forte30/lib/locale/openide_f4j.jar:/opt/forte30/lib/core.jar:/opt/forte30/lib/openide-fs.jar:/opt/forte30/lib/openide-nodes.jar:/opt/forte30/lib/openide-util.jar:/opt/forte30/lib/openide.jar:/opt/jdk1.3.1/lib/dt.jar:/opt/jdk1.3.1/lib/htmlconverter.jar:/opt/jdk1.3.1/lib/tools.jar ------------------------------------------------------------------------------- linux_rt_sigprocmask(0x2,0x0,0xbfbfc9cc,0x8) = 4 (0x4) Unexpected Signal : 11 occurred at PC=0x806535a 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: Dynamic libraries: Can not get information for pid = 5570 Local Time = Fri Jun 8 23:14:38 2001 Elapsed Time = 2 # # HotSpot Virtual Machine Error : 11 # 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-b24 mixed mode) # # An error report file has been saved as hs_err_pid5570.log. # Please refer to the file for further information. # SIGNAL 6 SIGNAL 6 SIGNAL 6 Process stopped because of: 16 process exit, rval = 6 Remember, this is only with java -hotspot; java -classic works fine. Surprisingly the previous Forte for Java (2.0) works fine both with -hotspot and -classic. You can download the 3.0 Early Access version from http://eap.netbeans.com after registering (free). -- Regards, Georg. ---------------------------------------------------------------------- Who in the world needs 2000 Windows? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message