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

[baseline/compiler1/20010427-184845]: CTW assertion at c1_CacheLocals.cpp, 603 [

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      beta2
    • CPU:
      generic, sparc
    • OS:
      generic, solaris, solaris_2.6, solaris_8, solaris_9
    • Verification:
      Verified

      Description

      Name: fh87463 Date: 04/30/2001

      Following assertion occur when running Compile The Wrold tests.

      # HotSpot Virtual Machine Error, assertion failure
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # assert(tag == floatTag || tag == doubleTag, "should only happen for floats")
      #
      # Error ID: /net/jano/export/disk05/hotspot/auto/ws_jano/fpt/src/share/vm/c1/c1_CacheLocals.cpp, 603 [ Patched ]
      #
      # Problematic Thread: prio=5 tid=0xd51e8 nid=0xb runnable
      #
      Dumping core....
      VM option '+CompileTheWorld'
      VM option '+PatchALot'
      VM option 'MinInliningThreshold=0'
      VM option 'MaxPermSize=64m'
      VM option 'CompileTheWorldStartAt=0'
      VM option 'CompileTheWorldStopAt=472'
      /net/sqesvr/export/vsn/users/ctwresult/scripts/compileTheWorld/result/solsparc/baseline/compiler1/20010427-184845/run.jai.jar.0.472.ksh[35]: 24021 Abort
      Exit Value 134
      This assertion occured in following log files
      ========================================================
      file:/net/sqesvr/export/vsn/users/ctwresult/solsparc/baseline/compiler1/20010427-184845/ctw.jai.jar.0.472.txt
      jar: /net/sqesvr/export/vsn/VM/testbase/testbase_vm/src/jit/compiletheworld/jars/i-l/jai.jar

      Binary used:
        Fastdebug binary of [baseline/compiler1/20010427-184845] from build archive page.
        /net/jano.eng/export/disk05/hotspot/auto/ar/baseline/20010427-184845/bin_solaris_sparc_compiler1_fastg.tar.gz
      This failure also in latest binary of c1_baseline.


      Please look into rerun scripts for more detail.

      #########################
      # To reproduce the bug:
      #########################
      1. cd /net/jano.eng/export/disk20/GammaBase/Bugs/[bug ID]
      2. edit script if needed.
      3. run one of the shell scripts:
         run.jai.jar.0.472.ksh

      #########################
      # Rerun script
      #########################
      $ cat run.jai.jar.0.472.ksh
      #!/bin/ksh
      # Script automatic generated at Sun Apr 29 09:31:45 PDT 2001 by
      #
      print "Running $(cd $(dirname $0) ; pwd)/$(basename $0)"


      export JAVA_HOME=/net/sqesvr/export/vsn/users/ctwresult/scripts/compileTheWorld/jdk/baseline/jdk1.4/j2sdk-1_4_0-beta-bin-b62-solsparc-25_apr_2001
      case "$(uname)" in
        SunOS)
          platform="$(uname -p)" # i386 or sparc
          ;;
        Linux|Windows*)
          platform="i386"
          ;;
      esac
      FLAGS="-compiler1.20010427-184845 -verify -XX:+CompileTheWorld -XX:+PatchALot -XX:MinInliningThreshold=0 -XX:MaxPermSize=64m"
      VMTYPE="-compiler1.20010427-184845"
      JARFILE="/net/sqesvr/export/vsn/VM/testbase/testbase_vm/src/jit/compiletheworld/jars/i-l/jai.jar"
      START=260
      END=472
      CMDLINE="$JAVA_HOME/bin/java $FLAGS -XX:CompileTheWorldStartAt=$START -XX:CompileTheWorldStopAt=$END -Xbootclasspath/p:${JARFILE}"

      print "*****Debug Info: java -version(-Xinternalversion)*****"
      $JAVA_HOME/bin/java ${VMTYPE} -version 2>&1
      $JAVA_HOME/bin/java ${VMTYPE} -fullversion 2>&1
      $JAVA_HOME/bin/java ${VMTYPE} -Xinternalversion 2>&1
      print "*****Debug Info: JAVA_HOME*****"
      print "JAVA_HOME=$JAVA_HOME"
      print "*****Debug Info: Machine Used*****"
      print "$(uname -a)"

      print "*****Debug Info: Command Line As Follow*****"
      print "$CMDLINE"
      print "*****Compile The World Start AT $(date)*****"
      ksh -c "${CMDLINE}"
      print "Exit Value $?"
      echo "*****Compile The World End AT $(date)*****"
          
      ////////////////////////////////////////////////////////////////////////
      al.smith@eng 2001-05-30
      Below is the regression test results from bug 4464341.

      Name: as83306 Date: 05/30/2001

      Regression test java/awt/image/BufferedImage/SubBandBug.java fails with Merlin build 63b on
      Solaris, host jetfly. The previous build this test passed with was b63.
       For test hardware config's, see http://sqesvr.eng/st3/jdk1.4/docs/Merlin-hw.html
      #Test Results (version 2)
      #Fri May 25 19:32:20 PDT 2001
      #checksum:6ecb72356084719e
      #-----testdescription-----
      $file=/net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b63b/java/awt/image/BufferedImage/SubBandBug.java
      $root=/net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b63b
      keywords=bug4240596
      run=ASSUMED_ACTION main SubBandBug\n
      source=SubBandBug.java
      title=Test construction of BI from a single band child of a multi-band raster

      #-----environment-----

      #-----testresult-----
      description=file:///net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b63b/java/awt/image/BufferedImage/SubBandBug.
      java
      end=Fri May 25 19:32:20 PDT 2001
      environment=regtest
      execStatus=Failed. Execution failed: `main' threw exception: java.lang.NullPointerException
      javatestOS=SunOS 5.9 (sparc)
      javatestVersion=2.1.5
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build compile main
      start=Fri May 25 19:32:13 PDT 2001
      status=Failed. Execution failed: `main' threw exception: java.lang.NullPointerException
      test=java/awt/image/BufferedImage/SubBandBug.java
      work=/export0/results/regression/merlin/b63b/jetfly5.9-jth13-jdk14b63b.05-25.18.30-ALL/java/awt/image/BufferedImage

      #section:script_messages
      ----------messages:(4/252)----------
      JDK under test: (/net/sqesvr/export/st1/jdk14-beta/b63b/solsparc)
      java version "1.4.0-beta_refresh"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta_refresh-b63b)
      Java HotSpot(TM) Client VM (build 1.4.0-beta_refresh-b63b, mixed mode)

      #section:build
      ----------messages:(3/96)----------
      command: build SubBandBug
      reason: Named class compiled on demand
      elapsed time (seconds): 4.141
      result: Passed. Compilation successful

      #section:compile
      ----------messages:(3/207)----------
      command: compile
      /net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b63b/java/awt/image/BufferedImage/SubBandBug.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 4.137
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:main
      ----------messages:(3/119)----------
      command: main SubBandBug
      reason: Assumed action based on file name: run main SubBandBug
      elapsed time (seconds): 3.473
      ----------System.out:(0/0)----------
      ----------System.err:(16/850)----------
      java.lang.NullPointerException
      at java.awt.image.ComponentColorModel.getDataElements(ComponentColorModel.java:1349)
      at java.awt.image.BufferedImage.setRGB(BufferedImage.java:885)
      at SubBandBug.<init>(SubBandBug.java:56)
      at SubBandBug.main(SubBandBug.java:93)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:30)
      at sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAccessorImpl.java:48)
      at java.lang.reflect.Method.invoke(Method.java:306)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:579)

      JavaTest Message: Test threw exception: java.lang.NullPointerException
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.NullPointerException
      result: Failed. Execution failed: `main' threw exception: java.lang.NullPointerException


      test result: Failed. Execution failed: `main' threw exception: java.lang.NullPointerException
      ======================================================================

      al.smith@eng 2001-06-01

      Regression test javax/print/CloseStreamTest.java fails with Merlin build 63b on Solaris, host jetfly. The previous build this test passed with was b63.
       For test hardware config's, see http://sqesvr.eng/st3/jdk1.4/docs/Merlin-hw.html
      #Test Results (version 2)
      #Fri May 25 22:19:05 PDT 2001
      #checksum:6e4606e267aafc56
      #-----testdescription-----
      $file=/net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b63b/javax/print/CloseStrea
      mTest.java
      $root=/net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b63b
      author=prr: area=javax.print
      keywords=bug4420766
      run=USER_SPECIFIED main CloseStreamTest Copyright 2001 Sun Microsystems, Inc. All Rights Reserved. This software is the proprietary information of Sun Microsystems, Inc. Use is subject to license terms. Run as a "main" test as permission to queue a print job obtain a system property & create and delete a file is needed. Throws an exception if any stream is left open. The test also requires a service that properly implements job notification. It will wait for the job to report completion.
      source=CloseStreamTest.java
      title=A Print service should close any data streams it requests.

      #-----environment-----

      #-----testresult-----
      description=file:///net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b63b/javax/print/CloseStreamTest.java
      end=Fri May 25 22:19:05 PDT 2001
      environment=regtest
      execStatus=Failed. Execution failed: `main' threw exception: java.lang.NullPointerException
      javatestOS=SunOS 5.9 (sparc)
      javatestVersion=2.1.5
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build compile main
      start=Fri May 25 22:18:55 PDT 2001
      status=Failed. Execution failed: `main' threw exception: java.lang.NullPointerException
      test=javax/print/CloseStreamTest.java
      work=/export0/results/regression/merlin/b63b/jetfly5.9-jth13-jdk14b63b.05-25.18.30-ALL/javax
      /print

      #section:script_messages
      ----------messages:(4/252)----------
      JDK under test: (/net/sqesvr/export/st1/jdk14-beta/b63b/solsparc)
      java version "1.4.0-beta_refresh"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta_refresh-b63b)
      Java HotSpot(TM) Client VM (build 1.4.0-beta_refresh-b63b, mixed mode)

      #section:build
      ----------messages:(3/101)----------
      command: build CloseStreamTest
      reason: Named class compiled on demand
      elapsed time (seconds): 4.622
      result: Passed. Compilation successful

      #section:compile
      ----------messages:(3/194)----------
      command: compile
      /net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b63b/javax/print/CloseStreamTest.
      java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 4.59
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:main
      ----------messages:(3/1024)----------
      command: main CloseStreamTestCopyright 2001 Sun Microsystems, Inc. All Rights Reserved. This
      software is the proprietary information of Sun Microsystems, Inc. Use is subject to license terms. Runs as a "main" test as permission to queue a print job obtain a system property & create and delete a file is needed. Throws an exception if any stream is left open. The test also requires a service that
      properly implements job notification. It will wait for the job to report completion.
      reason: User specified action: run main CloseStreamTest Copyright 2001 Sun Microsystems, Inc. All Rights Reserved. This software is
      the proprietary information of Sun Microsystems, Inc. Use is subject to license terms. Runs as a "main" test as permission to queue a
      print job obtain a system property & create and delete a file is needed. Throws an exception if any stream is left open. The test
      also requires a service that properly implements job notification. It will wait for the job
      to report completion.
      elapsed time (seconds): 5.718
      ----------System.out:(0/0)----------
      ----------System.err:(44/2493)----------

      Trying flavor : image/gif; class="java.io.InputStream"
      checkStreams:for failure: image/gif; class="java.io.InputStream"
      SUCCESS: no stream left open
      printed image/gif; class="java.io.InputStream"
      checkStreams:for succeed: image/gif; class="java.io.InputStream"
      instream closed
      SUCCESS: no stream left open
      java.lang.NullPointerException
      at java.awt.image.ComponentColorModel.getDataElements(ComponentColorModel.java:1349)
      at sun.java2d.loops.OpaqueCopyArgbToAny.Blit(CustomComponent.java:143)
      at sun.java2d.loops.GraphicsPrimitive.convertTo(GraphicsPrimitive.java:294)
      at sun.java2d.loops.MaskBlit$General.MaskBlit(MaskBlit.java:205)
      at sun.java2d.loops.Blit$GeneralMaskBlit.Blit(Blit.java:140)
      at sun.java2d.loops.BlitBg$General.BlitBg(BlitBg.java:160)
      at sun.java2d.SunGraphics2D.blitSurfaceData(SunGraphics2D.java:2974)
      at sun.java2d.SunGraphics2D.renderSurfaceData(SunGraphics2D.java:2897)
      at sun.java2d.SunGraphics2D.renderImage(SunGraphics2D.java:2881)
      at sun.java2d.SunGraphics2D.renderingPipeImage(SunGraphics2D.java:2860)
      at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2214)
      at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2196)
      at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3244)
      at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3431)
      at sun.print.PSPathGraphics.drawImageToPS(PSPathGraphics.java:984)
      at sun.print.PSPathGraphics.drawImage(PSPathGraphics.java:498)
      at sun.print.PSPathGraphics.drawImage(PSPathGraphics.java:409)
      at sun.print.ImagePrinter.print(ImagePrinter.java:67)
      at sun.print.RasterPrinterJob.printPage(RasterPrinterJob.java:1460)
      at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1034)
      at sun.print.UnixPrintJob.printableJob(UnixPrintJob.java:513)
      at sun.print.UnixPrintJob.print(UnixPrintJob.java:318)
      at CloseStreamTest.runTest(CloseStreamTest.java:119)
      at CloseStreamTest.main(CloseStreamTest.java:87)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:30)
      at
      sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAccessorImpl.java:48)
      at java.lang.reflect.Method.invoke(Method.java:306)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:579)

      JavaTest Message: Test threw exception: java.lang.NullPointerException
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.NullPointerException
      result: Failed. Execution failed: `main' threw exception: java.lang.NullPointerException


      test result: Failed. Execution failed: `main' threw exception:
      java.lang.NullPointerException
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              never Tom Rodriguez
              Reporter:
              fhsusunw Francis Hsu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: