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

VM has assertion at threadLocalStorage.cpp, 24

XMLWordPrintable

    • beta2
    • x86, sparc
    • generic
    • Verified

        jdk: tiger-beta b18 -> 26
        VM: client/server/-d64
        mode: default
        OS: Sol 9 Sparc/x86


        To reproduce
        ------------
         run the attached files.
           Solaris sparc/x86: myrerun.sh [-client | -server | -d64]


        TestCase:
           nsk/jvmti/SetJNIFunctionTable/setjniftab001
           nsk/jvmti/scenarios/jni_interception/JI05/ji05t001


        Output:
        -------
        #
        # An unexpected error has been detected by HotSpot Virtual Machine:
        #
        # Internal Error (5448524541442C4F43414C33544F524147450E4350500018 01), pid=21473, tid=10 (threadLocalStorage.cpp, 24)
        #
        # Java VM: Java HotSpot(TM) Client VM (1.5.0-beta-b26 mixed mode)

        --------------- T H R E A D ---------------

        Current thread (0x001763f8): JavaThread [_thread_in_vm]

        Stack: [0xf9200000,0xf92fc000), sp=0xf92fbc08, free space=1007k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x4828ec]
        V [libjvm.so+0x264fec]
        V [libjvm.so+0x66870]
        V [libjvm.so+0xdadcc]
        V [libjvm.so+0x17143c]
        C [libsetjniftab001.so+0x38b8]
        C [libsetjniftab001.so+0x4558] procedure+0x48


        --------------- P R O C E S S ---------------

        Java Threads: ( => current thread )
          0x00176178 JavaThread "Thread-0" [_thread_in_native, id=9]
          0x0013f838 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=7]
          0x0013de90 JavaThread "CompilerThread0" daemon [_thread_blocked, id=6]
          0x0013cb28 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5]
          0x0010d7e8 JavaThread "Finalizer" daemon [_thread_blocked, id=4]
          0x0010cc38 JavaThread "Reference Handler" daemon [_thread_blocked, id=3]
          0x0002f128 JavaThread "main" [_thread_in_native, id=1]

        Other Threads:
          0x0010a548 VMThread [id=2]
          0x00159c40 WatcherThread [id=8]

        VM state:not at safepoint (normal execution)

        VM Mutex/Monitor currently owned by a thread: None

        Heap
         def new generation total 2112K, used 215K [0xef800000, 0xefa20000, 0xeff10000)
          eden space 2048K, 10% used [0xef800000, 0xef835fb0, 0xefa00000)
          from space 64K, 0% used [0xefa00000, 0xefa00000, 0xefa10000)
          to space 64K, 0% used [0xefa10000, 0xefa10000, 0xefa20000)
         tenured generation total 1408K, used 0K [0xeff10000, 0xf0070000, 0xf3800000)
           the space 1408K, 0% used [0xeff10000, 0xeff10000, 0xeff10200, 0xf0070000)
         compacting perm gen total 8192K, used 1260K [0xf3800000, 0xf4000000, 0xf9000000)
           the space 8192K, 15% used [0xf3800000, 0xf393b300, 0xf393b400, 0xf4000000)
        No shared spaces configured.

        Dynamic libraries:
        0x00010000 /net/sqesvr-nfs/global/nfs/test_results4/VM/tiger/JDK/latest/solsparc/bin/java
        0xff370000 /usr/lib/libthread.so.1
        0xff3a0000 /usr/lib/libdl.so.1
        0xff280000 /usr/lib/libc.so.1
        0xff350000 /usr/platform/SUNW,Ultra-80/lib/libc_psr.so.1
        0xfec00000 /net/sqe/global/nfs/test_suites/VM/tiger/JDK/b26/solaris-sparcv9/jre/lib/sparc/client/libjvm.so
        0xff240000 /usr/lib/libsocket.so.1
        0xff210000 /usr/lib/libsched.so.1
        0xff1e0000 /usr/lib/libCrun.so.1
        0xff1b0000 /usr/lib/libm.so.1
        0xfeb00000 /usr/lib/libnsl.so.1
        0xff260000 /usr/lib/libw.so.1
        0xff180000 /usr/lib/libmp.so.2
        0xff160000 /usr/lib/librt.so.1
        0xfebe0000 /usr/lib/libaio.so.1
        0xfebc0000 /usr/lib/libmd5.so.1
        0xfeae0000 /usr/platform/SUNW,Ultra-80/lib/libmd5_psr.so.1
        0xfeab0000 /net/sqe/global/nfs/test_suites/VM/tiger/JDK/b26/solaris-sparcv9/jre/lib/sparc/native_threads/libhpi.so
        0xfea60000 /net/sqesvr-nfs/global/nfs/test_results4/VM/UNIFIED-DTF/DTWS/suites/VM_FULLLOOK/testbase/bin/lib/sparc/nsk/jvmti/SetJNIFunctionTable//libsetjniftab001.so
        0xfea10000 /net/sqe/global/nfs/test_suites/VM/tiger/JDK/b26/solaris-sparcv9/jre/lib/sparc/libverify.so
        0xfe9d0000 /net/sqe/global/nfs/test_suites/VM/tiger/JDK/b26/solaris-sparcv9/jre/lib/sparc/libjava.so
        0xfe9b0000 /net/sqe/global/nfs/test_suites/VM/tiger/JDK/b26/solaris-sparcv9/jre/lib/sparc/libzip.so

        VM Arguments:
        jvm_args: -DHANGINGJAVA791 -XX:+UseSerialGC -agentlib:setjniftab001
        java_command: nsk.jvmti.SetJNIFunctionTable.setjniftab001

        Environment Variables:
        JAVA_HOME=/net/sqesvr-nfs/global/nfs/test_results4/VM/tiger/JDK/latest/solsparc
        CLASSPATH=.:/net/sqesvr-nfs/global/nfs/test_results4/VM/tiger/DTWS/results/1.5.0-beta-b26/ServerVM/64BITSOLSPARC5.10/mixed/VM/VM_FULLLOOK-WEEKLY-VM-ServerVM-mixed-64BITSOLSPARC5.10-en-2003-10-30-16-54-01-0551/ResultDir/setjniftab001:/net/sqesvr-nfs/global/nfs/test_results4/VM/UNIFIED-DTF/DTWS/suites/VM_FULLLOOK/testbase/bin/classes:/net/sqesvr-nfs/global/nfs/test_results4/VM/UNIFIED-DTF/DTWS/suites/VM_FULLLOOK/testbase/bin/classes::/net/sqesvr-nfs/global/nfs/test_results4/VM/tiger/JDK/latest/solsparc/lib/tools.jar::/net/sqesvr-nfs/global/nfs/test_results4/VM/UNIFIED-DTF/DTWS/suites/VM_FULLLOOK/testbase/JCKS/JCK-118a:/net/sqesvr-nfs/global/nfs/test_results4/VM/UNIFIED-DTF/DTWS/suites/VM_FULLLOOK/testbase/JCKS/JCK-118a/javatest.jar:/net/sqesvr-nfs/global/nfs/test_results4/VM/UNIFIED-DTF/DTWS/suites/VM_FULLLOOK/testbase/JCKS/JCK-118a/classes:/net/sqesvr-nfs/global/nfs/test_results4/VM/tiger/JDK/latest/solsparc/classes:/net/sqesvr-nfs/global/nfs/test_results4/VM/tiger/JDK/latest/solsparc/lib/tools.jar::/net/sqesvr-nfs/global/nfs/test_results4/VM/UNIFIED-DTF/DTWS/suites/VM_FULLLOOK/testbase/JCKS/JCK-118a:/net/sqesvr-nfs/global/nfs/test_results4/VM/UNIFIED-DTF/DTWS/suites/VM_FULLLOOK/testbase/JCKS/JCK-118a/javatest.jar:/net/sqesvr-nfs/global/nfs/test_results4/VM/UNIFIED-DTF/DTWS/suites/VM_FULLLOOK/testbase/JCKS/JCK-118a/classes:/net/sqesvr-nfs/global/nfs/test_results4/VM/tiger/JDK/latest/solsparc/classes
        PATH=/net/sqesvr-nfs/global/nfs/test_results4/VM/tiger/JDK/latest/solsparc/bin:/bin:/usr/bin:/bin:/usr/bin/cut:/usr/bin/echo
        LD_LIBRARY_PATH=/net/sqe/global/nfs/test_suites/VM/tiger/JDK/b26/solaris-sparcv9/jre/lib/sparc/client:/net/sqe/global/nfs/test_suites/VM/tiger/JDK/b26/solaris-sparcv9/jre/lib/sparc:/net/sqe/global/nfs/test_suites/VM/tiger/JDK/b26/solaris-sparcv9/jre/../lib/sparc:/net/sqesvr-nfs/global/nfs/test_results4/VM/UNIFIED-DTF/DTWS/suites/VM_FULLLOOK/testbase/bin/lib/sparc/nsk/jvmti/SetJNIFunctionTable/:/net/sqesvr-nfs/global/nfs/test_results4/VM/UNIFIED-DTF/DTWS/suites/VM_FULLLOOK/testbase/src/nsk/share/lib/sparc:/net/sqesvr-nfs/global/nfs/test_results4/VM/tiger/JDK/latest/solsparc/jre/lib/sparc/server
        SHELL=/bin/ksh
        DISPLAY=vmsqe:0.0


        --------------- S Y S T E M ---------------

        OS: Solaris 9 4/03 s9s_u3wos_08 SPARC
                   Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
                                Use is subject to license terms.
                                   Assembled 25 February 2003

        uname:SunOS 5.9 Generic_112233-05 sun4u (T2 libthread)
        rlimit: STACK 8192k, CORE infinity, NOFILE 65536, AS infinity
        load average:0.00 0.03 0.03

        CPU:total 2(active 2) has_v8, has_v9, has_vis1

        Memory: 8k page, physical 1048576k(822296k free)


        ###@###.### 2003-11-05

        ###@###.### 2003-12-16

        This failure was also seen on 2003.12.15 nightly with the Solaris SPARC
        Server VM bits in the following test:

        nsk/jvmti/scenarios/jni_interception/JI06/ji06t001

        ###@###.### 2003-12-17

        ji05t001 also fails on b31 lin-32 client with this msg:
        /java/re/jdk/1.5/promoted/latest/binaries/linux-i586/bin/java -client -Xdebug -Xnoagent -agentlib:ji05t001 nsk.jvmti.scenarios.jni_interception.JI05.ji05t001
        ##Exit status of execution step=97.
        ##!checkExitCode

        #
        #TEST FAILED: GetVersion() interception set in the first JVMTI environment doesn't work properly:
        # 0 interception(s) with the second JVMTI environment instead of 1 as expected.

        And, it hangs or something when I run it with the lin-32 client nightly on Dec 17.

        And, It fails with an error code with the b32 PIT candidate on solsparc and
        lin-32.

        If the fix for the thread local storage problem doesn't make this
        test start passing on lin-32, then I guess a new bug should be created
        for this failure.


        ###@###.### 2003-12-17
        This test
           nsk/jvmti/scenarios/jni_interception/JI06/ji06t001

        hits the assertion on solsparc client, b32 candidate.

              coleenp Coleen Phillimore
              tacheung Tak Wing Cheung (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: