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

REGRESSION: JCK1.4: -Xincgc crashes VM in several tests

XMLWordPrintable

    • gc
    • beta
    • x86
    • linux, solaris_8, windows_nt
    • Verified



      Name: asR10013 Date: 05/13/2002


      Filed By : J2SE-SQA [###@###.###
      JDK : jdk1.4.1-b11
      JCK : jck1.4-b17
      Platform[s] : Windows NT 4.0, RH Linux 7.1
      switch/Mode : -Xincgc -Xfuture
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling test[s]:
      api/java_awt/java2d/image/WritableRaster/index.html#CreateCompatibleWritableRasterTest4
      api/java_io/Serialization/ProtocolTests/Strings.html#protocolString0004
      api/java_lang/StringBuffer/serial/index.html#ConstructorTests
      api/java_text/CollationKey/index.html#CollationKey
      api/java_text/RuleBasedCollator/descriptions.html#getRules
      api/java_util/Vector/index.html#ToString

      The following test fail using JDK1.4.1-b11 on Windows NT 4.0 only and pass on Linux:

      api/java_text/RuleBasedCollator/descriptions.html#getCollElemIter

      These tests used to pass with JDK1.4.1-b10, JDK1.4.0-b92 on the same platform.
      These tests pass with -Xmixed -Xfuture switches
      The result is stable and was reproduced several times.

      How to reproduce:
      =================
      Run the following script (you may need to change JCK and JDK variables)

      for Windows NT:

      ---------------- script start --------------------
      JCK="h:/java/jck1.4/JCK-runtime-14"
      JDK="c:/jdk1.4.1"
      #JDK="h:/java/jdk1.4.1/win32.b10"
      switches="-Xincgc -Xfuture"
      CLASSPATH="${JCK}/classes;${JCK}/javatest.jar"
       
      TESTSTRING=javasoft.sqe.tests.api.java.awt.java2d.image.WritableRaster.CreateCWRTest4
      #TESTSTRING="javasoft.sqe.tests.api.java.io.Serialization.ProtocolTests.Strings -TestCaseID protocolString0004"
      #TESTSTRING=javasoft.sqe.tests.api.java.lang.StringBuffer.serial.ConstructorTests
      #TESTSTRING=javasoft.sqe.tests.api.java.text.CollationKey.CollationKeyTests
      #TESTSTRING="javasoft.sqe.tests.api.java.text.RuleBasedCollator.getRulesTests -TestCaseID ALL"
      #TESTSTRING=javasoft.sqe.tests.api.java.util.Vector.ToStringTests
      #TESTSTRING="javasoft.sqe.tests.api.java.text.RuleBasedCollator.getCollElemIterTests -TestCaseID ALL"
       
      $JDK/bin/java $switches -cp $CLASSPATH $TESTSTRING
      ---------------- script end --------------------

      For Linux:

      ---------------- script start --------------------
      #!/bin/sh
       
      JCK="/net/linux-15/export/home/java/jck1.4/JCK-runtime-14"
      JDK="/net/linux-15/export/home/java/jdk1.4.1/linux"
      switches="-Xincgc -Xfuture"
      CLASSPATH="${JCK}/classes:${JCK}/javatest.jar"
       
      TESTSTRING=javasoft.sqe.tests.api.java.awt.java2d.image.WritableRaster.CreateCWRTest4
      #TESTSTRING="javasoft.sqe.tests.api.java.io.Serialization.ProtocolTests.Strings -TestCaseID protocolString0004"
      #TESTSTRING=javasoft.sqe.tests.api.java.lang.StringBuffer.serial.ConstructorTests
      #TESTSTRING=javasoft.sqe.tests.api.java.text.CollationKey.CollationKeyTests
      #TESTSTRING="javasoft.sqe.tests.api.java.text.RuleBasedCollator.getRulesTests -TestCaseID ALL"
      #TESTSTRING=javasoft.sqe.tests.api.java.util.Vector.ToStringTests
       
      $JDK/bin/java $switches -cp $CLASSPATH $TESTSTRING


      Test output:
      ============

      For Windows NT:

      ---------------- output start --------------------
      ----------------------------------------------------------------
                     AssertionTest Report
      ----------------------------------------------------------------
       Method Name : public java.awt.image.WritableRaster java.awt.image.Raster.cr
      eateCompatibleWritableRaster(int,int,int,int)
       Class Name : class java.awt.image.Raster
      ----------------------------------------------------------------
      [1] + Done(139) ?
        171 Segmentation violation c:/jdk1.4.1/bin/java

      ---------------- output end --------------------

      For Linux:

      ---------------- output start --------------------
      ----------------------------------------------------------------
                     AssertionTest Report
      ----------------------------------------------------------------
       Method Name : public java.awt.image.WritableRaster java.awt.image.Raster.createCompatibleWritableRaster(int,int,int,int)
       Class Name : class java.awt.image.Raster
      ----------------------------------------------------------------

      Unexpected Signal : 11 occurred at PC=0x404737A7
      Function=size_given_klass__7oopDescP5Klass+0x17
      Library=/.automount/linux-15/root/export/home/java/jdk1.4.1/linux/jre/lib/i586/client/libjvm.so


      Dynamic libraries:
      08048000-0804e000 r-xp 00000000 00:0c 2252986 /.automount/linux-15/root/export/home/java/jdk1.4.1/linux/bin/java
      0804e000-0804f000 rw-p 00005000 00:0c 2252986 /.automount/linux-15/root/export/home/java/jdk1.4.1/linux/bin/java
      40000000-40016000 r-xp 00000000 08:08 261303 /lib/ld-2.2.2.so
      40016000-40017000 rw-p 00015000 08:08 261303 /lib/ld-2.2.2.so
      40018000-40021000 r-xp 00000000 00:0c 2247362 /.automount/linux-15/root/export/home/java/jdk1.4.1/linux/jre/lib/i586/native_threads/libhpi.so
      40021000-40022000 rw-p 00008000 00:0c 2247362 /.automount/linux-15/root/export/home/java/jdk1.4.1/linux/jre/lib/i586/native_threads/libhpi.so
      40023000-40027000 rw-s 00000000 08:08 183914 /tmp/hsperfdata_32486
      40027000-40034000 r-xp 00000000 08:08 130679 /lib/i686/libpthread-0.9.so
      40034000-4003c000 rw-p 0000c000 08:08 130679 /lib/i686/libpthread-0.9.so
      4003c000-4003f000 r-xp 00000000 08:08 261316 /lib/libdl-2.2.2.so
      4003f000-40040000 rw-p 00002000 08:08 261316 /lib/libdl-2.2.2.so
      40040000-40166000 r-xp 00000000 08:08 130675 /lib/i686/libc-2.2.2.so
      40166000-4016c000 rw-p 00125000 08:08 130675 /lib/i686/libc-2.2.2.so
      40170000-40486000 r-xp 00000000 00:0c 2247368 /.automount/linux-15/root/export/home/java/jdk1.4.1/linux/jre/lib/i586/client/libjvm.so
      40486000-4063d000 rw-p 00315000 00:0c 2247368 /.automount/linux-15/root/export/home/java/jdk1.4.1/linux/jre/lib/i586/client/libjvm.so
      4064e000-40661000 r-xp 00000000 08:08 261321 /lib/libnsl-2.2.2.so
      40661000-40663000 rw-p 00012000 08:08 261321 /lib/libnsl-2.2.2.so
      40665000-40688000 r-xp 00000000 08:08 130677 /lib/i686/libm-2.2.2.so
      40688000-40689000 rw-p 00022000 08:08 130677 /lib/i686/libm-2.2.2.so
      40689000-40699000 r-xp 00000000 00:0c 2247372 /.automount/linux-15/root/export/home/java/jdk1.4.1/linux/jre/lib/i586/libverify.so
      40699000-4069b000 rw-p 0000f000 00:0c 2247372 /.automount/linux-15/root/export/home/java/jdk1.4.1/linux/jre/lib/i586/libverify.so
      4069b000-406bc000 r-xp 00000000 00:0c 2247373 /.automount/linux-15/root/export/home/java/jdk1.4.1/linux/jre/lib/i586/libjava.so
      406bc000-406be000 rw-p 00020000 00:0c 2247373 /.automount/linux-15/root/export/home/java/jdk1.4.1/linux/jre/lib/i586/libjava.so
      406be000-406d3000 r-xp 00000000 00:0c 2247375 /.automount/linux-15/root/export/home/java/jdk1.4.1/linux/jre/lib/i586/libzip.so
      406d3000-406d5000 rw-p 00014000 00:0c 2247375 /.automount/linux-15/root/export/home/java/jdk1.4.1/linux/jre/lib/i586/libzip.so
      406d5000-41d9f000 r--s 00000000 00:0c 2252963 /.automount/linux-15/root/export/home/java/jdk1.4.1/linux/jre/lib/rt.jar
      41de2000-41df9000 r--s 00000000 00:0c 2247493 /.automount/linux-15/root/export/home/java/jdk1.4.1/linux/jre/lib/sunrsasign.jar
      41df9000-41e6a000 r--s 00000000 00:0c 2247501 /.automount/linux-15/root/export/home/java/jdk1.4.1/linux/jre/lib/jsse.jar
      41e6a000-41e7d000 r--s 00000000 00:0c 2247494 /.automount/linux-15/root/export/home/java/jdk1.4.1/linux/jre/lib/jce.jar
      41e7d000-42146000 r--s 00000000 00:0c 2252922 /.automount/linux-15/root/export/home/java/jdk1.4.1/linux/jre/lib/charsets.jar
      4c7f9000-4c814000 r--p 00000000 08:08 16397 /usr/lib/locale/en_US/LC_CTYPE
      4c814000-4c817000 r--s 00000000 00:0c 2247490 /.automount/linux-15/root/export/home/java/jdk1.4.1/linux/jre/lib/ext/dnsns.jar
      4c817000-4c81d000 r-xp 00000000 08:08 82168 /usr/X11R6/lib/libXp.so.6.2
      4c81d000-4c81f000 rw-p 00005000 08:08 82168 /usr/X11R6/lib/libXp.so.6.2
      4c823000-4c82d000 r-xp 00000000 08:08 261337 /lib/libnss_files-2.2.2.so
      4c82d000-4c82e000 rw-p 00009000 08:08 261337 /lib/libnss_files-2.2.2.so
      4c82e000-4c838000 r-xp 00000000 08:08 261345 /lib/libnss_nisplus-2.2.2.so
      4c838000-4c83a000 rw-p 00009000 08:08 261345 /lib/libnss_nisplus-2.2.2.so
      4c83a000-4c844000 r-xp 00000000 08:08 261342 /lib/libnss_nis-2.2.2.so
      4c844000-4c845000 rw-p 00009000 08:08 261342 /lib/libnss_nis-2.2.2.so
      4ca49000-4ca66000 r--s 00000000 00:0c 2247489 /.automount/linux-15/root/export/home/java/jdk1.4.1/linux/jre/lib/ext/sunjce_provider.jar
      4ca66000-4ca74000 r--s 00000000 00:0c 2247492 /.automount/linux-15/root/export/home/java/jdk1.4.1/linux/jre/lib/ext/ldapsec.jar
      4ca74000-4cb13000 r--s 00000000 00:0c 2247491 /.automount/linux-15/root/export/home/java/jdk1.4.1/linux/jre/lib/ext/localedata.jar
      4cb13000-4cdda000 r-xp 00000000 00:0c 2247383 /.automount/linux-15/root/export/home/java/jdk1.4.1/linux/jre/lib/i586/libawt.so
      4cdda000-4cdef000 rw-p 002c6000 00:0c 2247383 /.automount/linux-15/root/export/home/java/jdk1.4.1/linux/jre/lib/i586/libawt.so
      4ce14000-4ce67000 r-xp 00000000 00:0c 2247382 /.automount/linux-15/root/export/home/java/jdk1.4.1/linux/jre/lib/i586/libmlib_image.so
      4ce67000-4ce68000 rw-p 00052000 00:0c 2247382 /.automount/linux-15/root/export/home/java/jdk1.4.1/linux/jre/lib/i586/libmlib_image.so
      4ce77000-4cebf000 r-xp 00000000 08:08 82174 /usr/X11R6/lib/libXt.so.6.0
      4cebf000-4cec3000 rw-p 00047000 08:08 82174 /usr/X11R6/lib/libXt.so.6.0
      4cec4000-4ced0000 r-xp 00000000 08:08 82158 /usr/X11R6/lib/libXext.so.6.4
      4ced0000-4ced2000 rw-p 0000b000 08:08 82158 /usr/X11R6/lib/libXext.so.6.4
      4ced2000-4ced6000 r-xp 00000000 08:08 82176 /usr/X11R6/lib/libXtst.so.6.1
      4ced6000-4ced8000 rw-p 00003000 08:08 82176 /usr/X11R6/lib/libXtst.so.6.1
      4ced8000-4cfb3000 r-xp 00000000 08:08 82150 /usr/X11R6/lib/libX11.so.6.2
      4cfb3000-4cfb7000 rw-p 000da000 08:08 82150 /usr/X11R6/lib/libX11.so.6.2
      4cfb8000-4cfc0000 r-xp 00000000 08:08 82148 /usr/X11R6/lib/libSM.so.6.0
      4cfc0000-4cfc1000 rw-p 00007000 08:08 82148 /usr/X11R6/lib/libSM.so.6.0
      4cfc1000-4cfd5000 r-xp 00000000 08:08 82144 /usr/X11R6/lib/libICE.so.6.3
      4cfd5000-4cfd6000 rw-p 00013000 08:08 82144 /usr/X11R6/lib/libICE.so.6.3
      4cfd8000-4d1bc000 r--s 00000000 00:0c 135991 /.automount/linux-15/root/export/home/java/jck1.4/JCK-runtime-14/javatest.jar
       
      Local Time = Mon May 13 12:24:57 2002
      Elapsed Time = 1
      #
      # HotSpot Virtual Machine Error : 11
      # Error ID : 4F530E43505002E6
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.1-beta-b11 mixed mode)
      #
      # An error report file has been saved as hs_err_pid32486.log.
      # Please refer to the file for further information.
      #
      ---------------- output end --------------------

      Specific Machine Info:
      ======================
      Hostname: linux-21
      OS: Windows NT 4.0 Workstation

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

            jloizeausunw Jane Loizeaux (Inactive)
            alssunw Als Als (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: