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

tests jniglrefalc001 and jniglrefree001 cause java crash

XMLWordPrintable

    • x86
    • windows_nt, windows_2000



      Name: icR10030 Date: 05/05/2000


      The Server Hotspot VM build 2.0fcs-D for win32 fails the tests:
              nsk/jvmpi/events/jniglrefalc001
              nsk/jvmpi/events/jniglrefree001
      from
              testbase_nsk

      Bug is reproducible in the -Xcomp, -Xmixed, java_g modes.
      -Xint mode is OK.

      To reproduce the bug run Korn shell scripts
              doit1.ksh <jdk_root_directory> -server
              doit2.ksh <jdk_root_directory> -server
      in
              /net/sqesvr/vsn/GammaBase/Bugs/<this bug number>

      The script doit1.ksh produces the output:
      Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
      Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

      jniglrefalc001.c
      Microsoft (R) Incremental Linker Version 6.00.8168
      Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

      /DEFAULTLIB:ws2_32.lib
      /dll
      /implib:jniglrefalc001.lib
      /out:jniglrefalc001.dll
      jniglrefalc001.obj
         Creating library jniglrefalc001.lib and object jniglrefalc001.exp
      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-B)
      Java HotSpot(TM) Server VM (build 2.0fcs-D, mixed mode)


      ------------------------ java -Xint -------------------------------
      s:/ld24/java/hotspot/jdk1.3.0/win32/bin/java -server -Xint
      -Xrunjniglrefalc001:printdump jniglrefalc001
      ------------ JVMPI_EVENT_JVM_INIT_DONE ------------
      JVMPI_EVENT_JNI_GLOBALREF_ALLOC: 0xC255E38, 0x764F24
      Record type: JVMPI_GC_CLASS_DUMP(dump of a class object), jobjectID: 0xC255E38
      class name: 'jniglrefalc001'
      JVMPI_EVENT_JNI_GLOBALREF_ALLOC: 0xC1A9E38, 0x764F28
      Record type: JVMPI_GC_CLASS_DUMP(dump of a class object), jobjectID: 0xC1A9E38
      class name: 'java.lang.Object'
      JVMPI_EVENT_JNI_GLOBALREF_ALLOC: 0xC1AEEC0, 0x764F2C
      Record type: JVMPI_GC_CLASS_DUMP(dump of a class object), jobjectID: 0xC1AEEC0
      class name: 'java.lang.Throwable'
      JVMPI_EVENT_JNI_GLOBALREF_ALLOC: 0xC256090, 0x764F30
      Record type: JVMPI_GC_CLASS_DUMP(dump of a class object), jobjectID: 0xC256090
      class name: 'java.lang.UnsatisfiedLinkError'
      JVMPI_EVENT_JNI_GLOBALREF_FREE: 0x764F28
      JVMPI_EVENT_JNI_GLOBALREF_FREE: 0x764F2C
      JVMPI_EVENT_JNI_GLOBALREF_FREE: 0x764F24
      JVMPI_EVENT_JNI_GLOBALREF_FREE: 0x764F30
      JVMPI_EVENT_JNI_GLOBALREF_ALLOC: 0xC3158F0, 0x764F34
      Record type: JVMPI_GC_CLASS_DUMP(dump of a class object), jobjectID: 0xC3158F0
      class name: 'jniglrefalc001a'
      JVMPI_EVENT_JNI_GLOBALREF_ALLOC: 0xC1A9E38, 0x764F38
      Record type: JVMPI_GC_CLASS_DUMP(dump of a class object), jobjectID: 0xC1A9E38
      class name: 'java.lang.Object'
      JVMPI_EVENT_JNI_GLOBALREF_FREE: 0x764F38
      JVMPI_EVENT_JNI_GLOBALREF_FREE: 0x764F34
      ------------ JVMPI_EVENT_JVM_SHUT_DOWN ------------
      exit 95


      ------------------------ java -Xcomp ------------------------------
      s:/ld24/java/hotspot/jdk1.3.0/win32/bin/java -server -Xcomp
      -Xrunjniglrefalc001:printdump jniglrefalc001
      ------------ JVMPI_EVENT_JVM_INIT_DONE ------------
      JVMPI_EVENT_JNI_GLOBALREF_ALLOC: 0xC1ACA38, 0x764638
      [1] + Done(139) ?
        207 Segmentation violation s:/ld24/java/hotspot/jdk1.3.0/win32/bin/java
      exit 139


      ------------------------ java -Xmixed -------------------------------
      s:/ld24/java/hotspot/jdk1.3.0/win32/bin/java -server -Xmixed
      -Xrunjniglrefalc001:printdump jniglrefalc001
      #
      # An EXCEPTION_ACCESS_VIOLATION exception has been detected in native code
      outside the VM.
      # Program counter=0x100023a0
      #
      # Problematic Thread: prio=5 tid=0x761630 nid=0xdb initialized
      #
      #
      # An EXCEPTION_ACCESS_VIOLATION exception has been detected in native code
      outside the VM.
      # Program counter=0x100023a0
      #
      # Problematic Thread: prio=5 tid=0x761630 nid=0xdb initialized
      #
      #
      # An EXCEPTION_ACCESS_VIOLATION exception has been detected in native code
      outside the VM.
      # Program counter=0x100023a0
      #
      # Problematic Thread: prio=5 tid=0x761630 nid=0xdb initialized
      #
      #
      # An EXCEPTION_ACCESS_VIOLATION exception has been detected in native code
      outside the VM.
      # Program counter=0x100023a0
      #
      # Problematic Thread: prio=5 tid=0x761630 nid=0xdb initialized
      #
      #
      # An EXCEPTION_ACCESS_VIOLATION exception has been detected in native code
      outside the VM.
      # Program counter=0x100023a0
      #
      # Problematic Thread: prio=5 tid=0x761630 nid=0xdb initialized
      #
      ------------ JVMPI_EVENT_JVM_INIT_DONE ------------
      JVMPI_EVENT_JNI_GLOBALREF_ALLOC: 0xC23E938, 0x764638
      [1] + Done(139) ?
        208 Segmentation violation s:/ld24/java/hotspot/jdk1.3.0/win32/bin/java
      exit 139


      ------------------------ java_g ---------------------------------
      s:/ld24/java/hotspot/jdk1.3.0/win32/bin/java_g -server
      -Xrunjniglrefalc001:printdump jniglrefalc001
      #
      # HotSpot Virtual Machine Error, EXCEPTION_ACCESS_VIOLATION
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # unexpected exception occurred
      #
      # Error ID: Z:\hotspot2.0\ws\win32\hotspot2.0fcs\src\os\win32\vm\os_win32.cpp,
      767
      #
      # Problematic Thread: prio=5 tid=0x763758 nid=0xe7 initialized
      #
      ------------ JVMPI_EVENT_JVM_INIT_DONE ------------
      JVMPI_EVENT_JNI_GLOBALREF_ALLOC: 0xC474088, 0x7684D4
      exit 1


      ------------------------ java -classic --------------------------
      s:/ld24/java/hotspot/jdk1.3.0/win32/bin/java -classic
      -Xrunjniglrefalc001:printdump jniglrefalc001
      failed to load classfile jniglrefalc001a: java.lang.InternalError: exceeding the
      64K byte object size limit
      ------------ JVMPI_EVENT_JVM_INIT_DONE ------------
      JVMPI_EVENT_JNI_GLOBALREF_ALLOC: 0x170A938, 0x758DAC
      Record type: JVMPI_GC_CLASS_DUMP(dump of a class object), jobjectID: 0x170A938
      class name: 'jniglrefalc001'
      JVMPI_EVENT_JNI_GLOBALREF_ALLOC: 0x16CC458, 0x758DB0
      Record type: JVMPI_GC_CLASS_DUMP(dump of a class object), jobjectID: 0x16CC458
      class name: 'java/lang/Object'
      JVMPI_EVENT_JNI_GLOBALREF_ALLOC: 0x16CC4E8, 0x758DB4
      Record type: JVMPI_GC_CLASS_DUMP(dump of a class object), jobjectID: 0x16CC4E8
      class name: 'java/lang/Throwable'
      JVMPI_EVENT_JNI_GLOBALREF_ALLOC: 0x170AAD8, 0x758DB8
      Record type: JVMPI_GC_CLASS_DUMP(dump of a class object), jobjectID: 0x170AAD8
      class name: 'java/lang/UnsatisfiedLinkError'
      JVMPI_EVENT_JNI_GLOBALREF_FREE: 0x758DB0
      JVMPI_EVENT_JNI_GLOBALREF_FREE: 0x758DB4
      JVMPI_EVENT_JNI_GLOBALREF_FREE: 0x758DAC
      JVMPI_EVENT_JNI_GLOBALREF_FREE: 0x758DB8
      JVMPI_EVENT_JNI_GLOBALREF_ALLOC: 0x170CB20, 0x758DB8
      Record type: JVMPI_GC_CLASS_DUMP(dump of a class object), jobjectID: 0x170CB20
      class name: 'jniglrefalc001a'
      JVMPI_EVENT_JNI_GLOBALREF_ALLOC: 0x16CC458, 0x758DAC
      Record type: JVMPI_GC_CLASS_DUMP(dump of a class object), jobjectID: 0x16CC458
      class name: 'java/lang/Object'
      JVMPI_EVENT_JNI_GLOBALREF_FREE: 0x758DAC
      JVMPI_EVENT_JNI_GLOBALREF_FREE: 0x758DB8
      ------------ JVMPI_EVENT_JVM_SHUT_DOWN ------------
      exit 97

      real 1m 1.91s
      user 0m 0.05s
      sys 0m 0.10s

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

      Name: ks88420 Date: 09/18/2000


      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
      Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)

      When running more than one GUI (Swing) app at the same time the JVM crashes
      with the following error output:
         An EXCEPTION_ACCESS_VIOLATION exception has been detected in native code
      outside the VM.

         Program counter=0x50022bd0

      This can happen during execution but usually when execution of one of the
      applications is ended. For example, start app 1, then start app 2. Close app 2
      => app 1 crashes with error message as above.

      Graphical re-paint errors usually occur prior to crash.

      Running only a single application does not cause the error.

      We have successfully reproduced this bug on several machines with different
      applications.
      (Review ID: 109717)
      ======================================================================

            dcubed Daniel Daugherty
            ichesunw Iche Iche (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: