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

topthrgrp002 fails: GetTopThreadGroups with null pointers crashes HotSpot VM

XMLWordPrintable

    • hopper
    • generic
    • generic
    • Verified



      Name: elR10090 Date: 01/09/2002


      The following test from testbase_nsk crashes the Hotspot VM
      (build 1.4.0-rc-b91) on all platforms in all modes:

          nsk/jvmdi/GetTopThreadGroups/topthrgrp002

      The test exercises JVMDI function GetTopThreadGroups(groupCountPtr, groupsPtr).
      The test checks if the function returns JVMDI_ERROR_NULL_POINTER:
      when groupCountPtr or groupsPtr is null.

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

          sh doit.sh <JAVA_HOME>

      Below is example of the test output:

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

      Unexpected Signal : 11 occurred at PC=0xFE2946F4
      Function=[Unknown. Nearest: JVM_RaiseSignal+0x11D7C]
      Library=/export/ld55/java/dest/jdk1.4.0-b91/solsparc/jre/lib/sparc/client/libjvm.so

      Current Java thread:
              at topthrgrp002.check(Native Method)
              at topthrgrp002.run(topthrgrp002.java:30)
              at topthrgrp002.main(topthrgrp002.java:26)

      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/ld55/java/dest/jdk1.4.0-b91/solsparc/jre/lib/sparc/client/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/ld55/java/dest/jdk1.4.0-b91/solsparc/jre/lib/sparc/native_threads/libhpi.so
      0xff050000 /export/ld55/java/dest/jdk1.4.0-b91/solsparc/jre/lib/sparc/libverify.so
      0xff020000 /export/ld55/java/dest/jdk1.4.0-b91/solsparc/jre/lib/sparc/libjava.so
      0xfe7e0000 /export/ld55/java/dest/jdk1.4.0-b91/solsparc/jre/lib/sparc/libzip.so
      0xfe5b0000 ./sparc/libtopthrgrp002.so

      Local Time = Wed Jan 9 17:00:02 2002
      Elapsed Time = 0
      #
      # HotSpot Virtual Machine Error : 11
      # Error ID : 4F530E43505002D3 01
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.0-rc-b91 mixed mode)
      #
      # An error report file has been saved as hs_err_pid28550.log.
      # Please refer to the file for further information.
      #
      Abort
      Exit Code: 134

      (Error ID: os.cpp, 723)
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: