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

java_g -Xdebug causes a hotspot error with a VM test for 1.4.2_05

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 1.4.2_05
    • Fix Version/s: None
    • Component/s: hotspot
    • Subcomponent:
    • CPU:
      generic
    • OS:
      solaris_8

      Description

      When running the VM tests with java_g and -Xdebug flag the test jit/common/t099
      fails.
      This doesn't fail if the -Xdebug flag is not used.
      This also fails with 1.4.2 fcs so it's not a regression

      Saw the error on Solaris 9x86 and Solaris 8 sparc.

      The output from the tlog file is:
      annotate TEST javaopt=-client -Xdebug
      /net/jqa.ireland/jqa6/dtf/dtf_ws/dtf3-exec/VM-VM-142-Solx86-en-2004-05-26-11-51-13-0201/jdk//jre/bin/java_g -client -Xdebug -classpath /net/jqa.ireland/jqa6/dtf/dtf_ws/dtf3-exec/VM-VM-142-Solx86-en-2004-05-26-11-51-13-0201/work/sh143827.Solaris.x86/t099:/net/jqa/jqa4/mantis/testbase_vm.1.4.2-NEW/src/classes:.:{/net/jqa.ireland/jqa6/dtf/dtf_ws/dtf3-exec/VM-VM-142-Solx86-en-2004-05-26-11-51-13-0201/jdk/}/lib/tools.jar:/net/jqa/jqa4/mantis/testbase_vm.1.4.2-NEW/javatest.jar:/net/jqa/jqa4/mantis/testbase_vm.1.4.2-NEW/JCKS/JCK-118a/classes:/net/jqa.ireland/jqa6/dtf/dtf_ws/dtf3-exec/VM-VM-142-Solx86-en-2004-05-26-11-51-13-0201/jdk//jre/bin/../lib/rt.jar t099
      ##Exit status of execution step=6
      ##Core file exists
      ##!checkExitCode

      ## To suppress the following error report, specify this argument
      ## after -XX: or in .hotspotrc: SuppressErrorAt=/handles.hpp:115
      ##
      ## 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.2_05-b03-debug mixed mode)
      ##
      ## assert(is_null() || obj ->is_klass(), "not a klassOop")
      ##
      ## Error ID: /BUILD_AREA/jdk142-update/ws/fcs/hotspot/src/share/vm/runtime/handles.hpp, 115
      ##
      ## Problematic Thread: prio=5 tid=0x080882b0 nid=0x1 runnable
      ##
      #
      #Heap at VM Abort:
      #Heap
      # def new generation total 576K, used 129K [0xc4800000, 0xc48a0000, 0xc4ce0000)
      # eden space 512K, 25% used [0xc4800000, 0xc4820580, 0xc4880000)
      # from space 64K, 0% used [0xc4880000, 0xc4880000, 0xc4890000)
      # to space 64K, 0% used [0xc4890000, 0xc4890000, 0xc48a0000)
      # tenured generation total 1408K, used 0K [0xc4ce0000, 0xc4e40000, 0xc8800000)
      # the space 1408K, 0% used [0xc4ce0000, 0xc4ce0000, 0xc4ce0200, 0xc4e40000)
      # compacting perm gen total 4096K, used 1007K [0xc8800000, 0xc8c00000, 0xcc800000)

      To reproduce compile the attached t099.java file
      To run:

      java_g -Xdebug t099

      Expected output:
      java.lang.StackOverflowError detected, thrown, and caught.

      Actual output:
      See hotspot error above.

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

      This failure and others also seen on sparc 2.8 with 1.4.2_05

      jit/common/gen_math/Loops_7 execute_positive Loops_7
      jit/common/gen_math/Matrix_3d execute_positive Matrix_3d
      jit/common/t099 execute_positive t099

      again, omitting the -Xdebug flag lets them pass
      Same results seen in earlier releases also.
      attached is a tar file of test failures/info (vmfail.tar.Z)

      Apart from the hotspot error shown above, the other error messgage seen is :

      #
      #Unexpected Signal : 11 occurred at PC=0xFDCBC3A8
      #Function=[Unknown. Nearest: JVM_FindSignal+0x107640]
      #Library=/export/home/j2sdk1.4.2_02/jre/lib/sparc/server/libjvm_g.so
      #
      #Current Java thread:
      #
      #Dynamic libraries:
      #0x10000 /export/home/j2sdk1.4.2_02/jre/bin/java_g
      #0xff360000 /usr/lib/libthread.so.1
      #0xff3a0000 /usr/lib/libdl.so.1
      #0xff200000 /usr/lib/libc.so.1
      #0xff330000 /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1
      #0xfd400000 /export/home/j2sdk1.4.2_02/jre/lib/sparc/server/libjvm_g.so
      #0xff2e0000 /usr/lib/libCrun.so.1
      #0xff1e0000 /usr/lib/libsocket.so.1
      #0xff100000 /usr/lib/libnsl.so.1
      #0xff0d0000 /usr/lib/libm.so.1
      #0xff1c0000 /usr/lib/libsched.so.1
      #0xff310000 /usr/lib/libw.so.1
      #0xff0a0000 /usr/lib/libmp.so.2
      #0xff070000 /export/home/j2sdk1.4.2_02/jre/lib/sparc/native_threads/libhpi_g.so
      #0xfe7d0000 /export/home/j2sdk1.4.2_02/jre/lib/sparc/libverify_g.so
      #0xfe780000 /export/home/j2sdk1.4.2_02/jre/lib/sparc/libjava_g.so
      #0xfe740000 /export/home/j2sdk1.4.2_02/jre/lib/sparc/libzip_g.so
      #
      #Heap at VM Abort:
      #Heap
      # def new generation total 2112K, used 121K [0xf0800000, 0xf0a20000, 0xf1d50000)
      # eden space 2048K, 5% used [0xf0800000, 0xf081e440, 0xf0a00000)
      # from space 64K, 0% used [0xf0a00000, 0xf0a00000, 0xf0a10000)
      # to space 64K, 0% used [0xf0a10000, 0xf0a10000, 0xf0a20000)
      # tenured generation total 1408K, used 0K [0xf1d50000, 0xf1eb0000, 0xf4800000)
      # the space 1408K, 0% used [0xf1d50000, 0xf1d50000, 0xf1d50200, 0xf1eb0000)
      # compacting perm gen total 16384K, used 1060K [0xf4800000, 0xf5800000, 0xf8800000)
      # the space 16384K, 6% used [0xf4800000, 0xf4909240, 0xf4909400, 0xf5800000)
      #
      #Local Time = Fri May 28 19:06:59 2004
      #Elapsed Time = 12
      ##
      ## HotSpot Virtual Machine Error : 11
      ## Error ID : /export1/jdk142-update/ws/fcs/hotspot/src/share/vm/runtime/os.cpp, 751 [ Patched ]
      ## Please report this error at
      ## http://java.sun.com/cgi-bin/bugreport.cgi
      ##
      ## Java VM: Java HotSpot(TM) Server VM (1.4.2_02-b03-debug mixed mode)
      ##
      ## An error report file has been saved as hs_err_pid19482.log.
      ## Please refer to the file for further information.
      ##
      #Dumping core....


      deleted the core files from attachment since they are pretty large

      ###@###.### 2004-05-28

        Attachments

          Activity

            People

            Assignee:
            chrisphi Chris Phillips
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: