Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Jun 2001 23:54:42 -0700
From:      "Georg-W. Koltermann" <gwk@sgi.com>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        current@freebsd.org
Subject:   Re: Linux JDK 1.3 and hotspot (native threads)
Message-ID:  <lth8zj2uor1.wl@hunter.munich.sgi.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
At Mon, 30 Apr 2001 11:59:38 +0200,
Georg-W. Koltermann <gwk@sgi.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?lth8zj2uor1.wl>