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

JDK 1.3.1_14b03 Solaris 10 Sparc JCK Runtime font incompatibilites

    Details

    • Subcomponent:
      2d
    • CPU:
      sparc
    • OS:
      solaris_10

      Description

      When running JCK Runtime on Solaris 10b71 Sparc with the 1.3.1_14b03, 3 tests fail, jtr files are attached.

      Passes with 142_x and 150_x, fails with earlier releases 131_x, looks like a Solaris 10 regression.

      How to Reproduce
      ----------------
      bash-2.05b# $JAVA_HOME/bin/java javasoft.sqe.tests.api.java.awt.java2d.font.LineBreakMeasurer.ConstructorTest
      -TestCaseID testCase2

      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : 11 occurred at PC=0xF4821F80
      Function name=ExtractPureT1FromPCType1
      Library=/export/home/JDK/j2sdk1_3_1_14/jre/lib/sparc/libfontmanager.so

      Current Java thread:
      at sun.awt.font.NativeFontWrapper.canDisplay(Native Method)
      at java.awt.Font.canDisplay(Font.java:1128)
      at sun.java2d.SunGraphicsEnvironment.getBestFontFor(SunGraphicsEnvironment.java:577)
      at java.awt.font.TextLine$ACIFontSource.getBestFontAt(TextLine.java:760)
      at java.awt.font.TextLine.getComponents(TextLine.java:886)
      at java.awt.font.TextMeasurer.generateComponents(TextMeasurer.java:149)
      at java.awt.font.TextMeasurer.initAll(TextMeasurer.java:124)
      at java.awt.font.TextMeasurer.<init>(TextMeasurer.java:87)
      at java.awt.font.LineBreakMeasurer.<init>(LineBreakMeasurer.java:280)
      at java.awt.font.LineBreakMeasurer.<init>(LineBreakMeasurer.java:252)
      at javasoft.sqe.tests.api.java.awt.java2d.font.LineBreakMeasurer.ConstructorTest.testCase2(ConstructorTest.java:159)
      at java.lang.reflect.Method.invoke(Native Method)
      at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:409)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:205)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:137)
      at javasoft.sqe.tests.api.java.awt.java2d.font.LineBreakMeasurer.ConstructorTest.main(ConstructorTest.java:55)

      Dynamic libraries:
      0x10000 /export/home/JDK/j2sdk1_3_1_14/bin/sparc/native_threads/java
      0xff3f8000 /lib/libthread.so.1
      0xff3a0000 /lib/libdl.so.1
      0xff280000 /lib/libc.so.1
      0xff268000 /platform/SUNW,Ultra-60/lib/libc_psr.so.1
      0xfee80000 /export/home/JDK/j2sdk1_3_1_14/jre/lib/sparc/client/libjvm.so
      0xff230000 /usr/lib/libCrun.so.1
      0xfee50000 /lib/libsocket.so.1
      0xfed80000 /lib/libnsl.so.1
      0xfee30000 /lib/libm.so.1
      0xfec80000 /lib/libm.so.2
      0xfec50000 /lib/libscf.so.1
      0xfed50000 /lib/libdoor.so.1
      0xfec30000 /lib/libuutil.so.1
      0xfec10000 /lib/libmd5.so.1
      0xfebf0000 /platform/SUNW,Ultra-60/lib/libmd5_psr.so.1
      0xfebd0000 /lib/libmp.so.2
      0xfeba0000 /export/home/JDK/j2sdk1_3_1_14/jre/lib/sparc/native_threads/libhpi.so
      0xfeb50000 /export/home/JDK/j2sdk1_3_1_14/jre/lib/sparc/libverify.so
      0xfeb10000 /export/home/JDK/j2sdk1_3_1_14/jre/lib/sparc/libjava.so
      0xfeae0000 /export/home/JDK/j2sdk1_3_1_14/jre/lib/sparc/libzip.so
      0xfdbe0000 /export/home/JDK/j2sdk1_3_1_14/jre/lib/sparc/libawt.so
      0xf4c80000 /export/home/JDK/j2sdk1_3_1_14/jre/lib/sparc/motif21/libmawt.so
      0xfd830000 /export/home/JDK/j2sdk1_3_1_14//bin/../jre/lib/sparc/libmlib_image.so
      0xf4a00000 /usr/dt/lib/libXm.so.4
      0xfb480000 /usr/openwin/lib/libXt.so.4
      0xfdba0000 /usr/openwin/lib/libXext.so.0
      0xfb6d0000 /usr/openwin/lib/libXtst.so.1
      0xf4900000 /usr/openwin/lib/libX11.so.4
      0xf4800000 /export/home/JDK/j2sdk1_3_1_14/jre/lib/sparc/libfontmanager.so
      0xfb5a0000 /usr/openwin/lib/libdps.so.5
      0xfb6a0000 /usr/openwin/lib/libSM.so.6
      0xfb440000 /usr/openwin/lib/libICE.so.6

      Local Time = Wed Nov 17 16:46:38 2004
      Elapsed Time = 4
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) Client VM (1.3.1_14-b03 mixed mode)
      #
      # An error report file has been saved as hs_err_pid1055.log.
      # Please refer to the file for further information.
      #
      Abort (core dumped)
      bash-2.05b# $JAVA_HOME/bin/java -version
      java version "1.3.1_14"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_14-b03)
      Java HotSpot(TM) Client VM (build 1.3.1_14-b03, mixed mode)
      bash-2.05b# more /etc/release
                                   Solaris 10 s10_71 SPARC
                 Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
                              Use is subject to license terms.
                                 Assembled 03 November 2004
      bash-2.05b# echo $CLASSPATH
      /net/latte/export/home4/jck/JCK-runtime-13a/classes:/net/latte/export/home4/jck/JCK-runtime-13a/javatest.jar:.
      bash-2.05b# $JAVA_HOME/bin/java javasoft.sqe.tests.api.java.awt.java2d.font.LineBreakMeasurer.ConstructorTest
      -TestCaseID testCase2

      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : 11 occurred at PC=0xF4821F80
      Function name=ExtractPureT1FromPCType1
      Library=/export/home/JDK/j2sdk1_3_1_14/jre/lib/sparc/libfontmanager.so

      Current Java thread:
      at sun.awt.font.NativeFontWrapper.canDisplay(Native Method)
      at java.awt.Font.canDisplay(Font.java:1128)
      at sun.java2d.SunGraphicsEnvironment.getBestFontFor(SunGraphicsEnvironment.java:577)
      at java.awt.font.TextLine$ACIFontSource.getBestFontAt(TextLine.java:760)
      at java.awt.font.TextLine.getComponents(TextLine.java:886)
      at java.awt.font.TextMeasurer.generateComponents(TextMeasurer.java:149)
      at java.awt.font.TextMeasurer.initAll(TextMeasurer.java:124)
      at java.awt.font.TextMeasurer.<init>(TextMeasurer.java:87)
      at java.awt.font.LineBreakMeasurer.<init>(LineBreakMeasurer.java:280)
      at java.awt.font.LineBreakMeasurer.<init>(LineBreakMeasurer.java:252)
      at javasoft.sqe.tests.api.java.awt.java2d.font.LineBreakMeasurer.ConstructorTest.testCase2(ConstructorTest.java:159)
      at java.lang.reflect.Method.invoke(Native Method)
      at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:409)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:205)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:137)
      at javasoft.sqe.tests.api.java.awt.java2d.font.LineBreakMeasurer.ConstructorTest.main(ConstructorTest.java:55)

      Dynamic libraries:
      0x10000 /export/home/JDK/j2sdk1_3_1_14/bin/sparc/native_threads/java
      0xff3f8000 /lib/libthread.so.1
      0xff3a0000 /lib/libdl.so.1
      0xff280000 /lib/libc.so.1
      0xff268000 /platform/SUNW,Ultra-60/lib/libc_psr.so.1
      0xfee80000 /export/home/JDK/j2sdk1_3_1_14/jre/lib/sparc/client/libjvm.so
      0xff230000 /usr/lib/libCrun.so.1
      0xfee50000 /lib/libsocket.so.1
      0xfed80000 /lib/libnsl.so.1
      0xfee30000 /lib/libm.so.1
      0xfec80000 /lib/libm.so.2
      0xfec50000 /lib/libscf.so.1
      0xfed50000 /lib/libdoor.so.1
      0xfec30000 /lib/libuutil.so.1
      0xfec10000 /lib/libmd5.so.1
      0xfebf0000 /platform/SUNW,Ultra-60/lib/libmd5_psr.so.1
      0xfebd0000 /lib/libmp.so.2
      0xfeba0000 /export/home/JDK/j2sdk1_3_1_14/jre/lib/sparc/native_threads/libhpi.so
      0xfeb50000 /export/home/JDK/j2sdk1_3_1_14/jre/lib/sparc/libverify.so
      0xfeb10000 /export/home/JDK/j2sdk1_3_1_14/jre/lib/sparc/libjava.so
      0xfeae0000 /export/home/JDK/j2sdk1_3_1_14/jre/lib/sparc/libzip.so
      0xfdbe0000 /export/home/JDK/j2sdk1_3_1_14/jre/lib/sparc/libawt.so
      0xf4c80000 /export/home/JDK/j2sdk1_3_1_14/jre/lib/sparc/motif21/libmawt.so
      0xfd830000 /export/home/JDK/j2sdk1_3_1_14//bin/../jre/lib/sparc/libmlib_image.so
      0xf4a00000 /usr/dt/lib/libXm.so.4
      0xfb480000 /usr/openwin/lib/libXt.so.4
      0xfdba0000 /usr/openwin/lib/libXext.so.0
      0xfb6d0000 /usr/openwin/lib/libXtst.so.1
      0xf4900000 /usr/openwin/lib/libX11.so.4
      0xf4800000 /export/home/JDK/j2sdk1_3_1_14/jre/lib/sparc/libfontmanager.so
      0xfb5a0000 /usr/openwin/lib/libdps.so.5
      0xfb6a0000 /usr/openwin/lib/libSM.so.6
      0xfb440000 /usr/openwin/lib/libICE.so.6

      Local Time = Wed Nov 17 16:47:23 2004
      Elapsed Time = 3
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) Client VM (1.3.1_14-b03 mixed mode)
      #
      # An error report file has been saved as hs_err_pid1082.log.
      # Please refer to the file for further information.
      #
      Abort (core dumped)
      bash-2.05b# more /etc/release
                                   Solaris 10 s10_71 SPARC
                 Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
                              Use is subject to license terms.
                                 Assembled 03 November 2004
      ###@###.### 2004-11-17 17:19:02 GMT

      --------

      Updated to Solaris 10 Update 72, issue still not resolved!
      Log file attached showing error (hs_err_pid997.log)

      -bash-2.05b$ cat /etc/release
                                   Solaris 10 s10_72 SPARC
                 Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
                              Use is subject to license terms.
                                 Assembled 15 November 2004
      hs_err_pid997.log attached.
      ###@###.### 2004-11-18 15:10:59 GMT
      ###@###.### 2004-11-18 17:21:35 GMT
      ----------------
      After removing old postfix package "SUNWi9rf" and installing the updated font package dated , the tests are now PASSING.

      pkginfo -l SUNWi9rf
      VERSION: 3.6,REV=2001.03.21.17.45

      -bash-2.05b$ $JAVA_HOME/bin/java javasoft.sqe.tests.api.java.awt.java2d.font.LineBreakMeasurer.ConstructorTest

      testCase1: Passed. (ran 2 test cases)
      testCase2: Passed. (ran 3 test cases)
      testCase3: Passed. (ran 2 test cases)
      testCase4: Passed. (ran 4 test cases)
      STATUS:Passed.tests: 4; passed: 4

        Attachments

          Activity

            People

            • Assignee:
              hdongorcl Hao Dong (Inactive)
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: