Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4614956

enablev006: JVMPI_EVENT_OBJECT_ALLOC request crashes Server VM

XMLWordPrintable

    • 06
    • sparc
    • solaris_8


        Name: elR10090 Date: 12/17/2001


        The following test from testbase_nsk crashes Server VM
        (build 1.4.0-rc-b89) for Sparc/Sparcv9:

            nsk/jvmpi/EnableEvent/enablev006

        The test passes with -Xcomp and Client VM in all modes.
        The test passes Server VM for Windows, Linux and Solaris-Intel.
        The test also crashes with assertion with java_g both server and client
        for all platforms.

        The test is aimed to check if JVMPI_EVENT_METHOD_ENTRY2 event is sent
        properly for user defined static and non-static methods.
        The test crashes while requesting JVMPI_EVENT_OBJECT_ALLOC on
        the target object from instance method event.

        To reproduce the bug run in GammaBase/Bugs/<this bug number> directory:

            sh doit.sh <JAVA_HOME> -server

        and to run with java_g:

            sh doit.sh <JAVA_HOME> -g

        Running with Server VM the test outputs:

        java version "1.4.0-rc"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-rc-b89)
        Java HotSpot(TM) Server VM (build 1.4.0-rc-b89, mixed mode)

        Unexpected Signal : 10 occurred at PC=0xFE458AEC
        Function=[Unknown. Nearest: JVM_RaiseSignal+0x44ADC]
        Library=/export/ld54/java/dest/jdk1.4.0beta-b89/solsparc/jre/lib/sparc/server/l
        ibjvm.so

        Current Java thread:
                at enablev006.meth02(enablev006.java:36)
                at enablev006.run(enablev006.java:26)
                at enablev006.main(enablev006.java:21)

        Dynamic libraries:
        0x10000 /home/vpn/merlin/solsparc/bin/java
        0xff350000 /usr/lib/libthread.so.1
        0xff390000 /usr/lib/libdl.so.1
        0xff200000 /usr/lib/libc.so.1
        0xff330000 /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1
        0xfe000000
        /export/ld54/java/dest/jdk1.4.0beta-b89/solsparc/jre/lib/sparc/server/libjvm.so
        0xff2d0000 /usr/lib/libCrun.so.1
        0xff1e0000 /usr/lib/libsocket.so.1
        0xff100000 /usr/lib/libnsl.so.1
        0xff0d0000 /usr/lib/libm.so.1
        0xff300000 /usr/lib/libw.so.1
        0xff0b0000 /usr/lib/libmp.so.2
        0xff080000
        /export/ld54/java/dest/jdk1.4.0beta-b89/solsparc/jre/lib/sparc/native_threads/l
        ibhpi.so
        0xff050000
        /export/ld54/java/dest/jdk1.4.0beta-b89/solsparc/jre/lib/sparc/libverify.so
        0xff020000
        /export/ld54/java/dest/jdk1.4.0beta-b89/solsparc/jre/lib/sparc/libjava.so
        0xfe7e0000
        /export/ld54/java/dest/jdk1.4.0beta-b89/solsparc/jre/lib/sparc/libzip.so
        0xfe660000 ./sparc/libenablev006.so

        Local Time = Mon Dec 17 11:52:09 2001
        Elapsed Time = 0
        #
        # HotSpot Virtual Machine Error : 10
        # Error ID : 4F530E43505002D3 01
        # Please report this error at
        # http://java.sun.com/cgi-bin/bugreport.cgi
        #
        # Java VM: Java HotSpot(TM) Server VM (1.4.0-rc-b89 mixed mode)
        #
        # An error report file has been saved as hs_err_pid14741.log.
        # Please refer to the file for further information.
        #
        Abort
        Exit Code: 134

        (Error ID: os.cpp, 723)

        Running with java_g the test outputs:

        java version "1.4.0-rc"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-rc-b89)
        Java HotSpot(TM) Client VM (build 1.4.0-rc-b89-debug, mixed mode)
        #
        # HotSpot Virtual Machine Error, assertion failure
        # Please report this error at
        # http://java.sun.com/cgi-bin/bugreport.cgi
        #
        # Java VM: Java HotSpot(TM) Client VM (1.4.0-rc-b89-debug mixed mode)
        #
        # assert(!thread->owns_locks(), "must release all locks when leaving VM")
        #
        # Error ID:
        /export/home3/jdk/jdk1.4/ws/hotspot/src/share/vm/runtime/interfaceSupport.hpp,
        168 [ Patched ]
        #
        # Problematic Thread: prio=5 tid=0x3d2c8 nid=0x1 runnable
        #
        Dumping core....
        Abort
        Exit Code: 134
        ======================================================================

        Name: ipR10196 Date: 03/21/2002


        This bug affects also the following testbase_nsk test:

            nsk/jvmpi/events/mentry2001

        Ivan Popov <###@###.###>

        ======================================================================

              sgoldman Steve Goldman (Inactive)
              latkinsunw Latkin Latkin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: