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

REGRESSION:VM crash when render a subset of an original glyph vector

XMLWordPrintable

    • 2d
    • hopper
    • x86
    • windows_2000


      ###@###.### 2002-01-29

      J2SE Version (please include all output from java -version flag):
       java version "1.4.0-rc"
       Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-rc-b90)
       Java HotSpot(TM) Client VM (build 1.4.0-rc-b90, mixed mode)

       Problem also can reproduce on 1.4.0 RC (build91).

      Does this problem occur on J2SE 1.3? Yes / No (pick one)
       No, works fine with 1.3 and 1.3.1.


      Operating System Configuration Information (be specific):
       Microsoft Windows 2000 Professional Version 5.0.2195 Service Pack 2 Build 2195
       Also on Solaris 8 version.

      Hardware Configuration Information (be specific):
       Dual Pentium 933Mhz (x86 Family 6)processors, 512 MB memory
       Also on Solaris Sparc machine.

      Bug Description:

      The following program(TestTruncatingGV.java) crashes the VM. The intent
      of the program is to efficiently render a subset of an original glyph vector
      by creating a wrapper object which knows to ignore portions of the original
      glyph vector. This is desirable, for instance, when trying to place text
      along a path, and not wanting to render text that does not fit on the path.

      A RFE would be to have GlyphVector allow for certain glyphs to be "deleted"
      or marked as invisible.

      Steps to Reproduce (be specific):

      Compile against JDK1.3.x and run the sample
      code(TestTruncatingGV.java/TruncatingGlyphVector.java) against
      JDK1.4.

      java testapps/TestTruncatingGV

      Unexpected Signal : 11 occurred at PC=0xFE12ED34
      Function=[Unknown. Nearest: JVM_RegisterSignal+0x2634]
      Library=/net/jdk.sfbay/export/disk6/promoted/jdk/1.4/rc/b91/binaries/solsparc/jre/lib/sparc/client/libjvm.so

      Current Java thread:
              at sun.awt.font.GlyphList.setupGlyphData(Native Method)
              at sun.awt.font.GlyphList.setFromGlyphVector(GlyphList.java:160)
              - locked <f6160cc8> (a java.lang.Class)
              at sun.java2d.pipe.GlyphListPipe.drawGlyphVector(GlyphListPipe.java:145)
              at sun.java2d.pipe.ValidatePipe.drawGlyphVector(ValidatePipe.java:128)
              at sun.java2d.SunGraphics2D.drawGlyphVector(SunGraphics2D.java:2637)
              at testapps.TestTruncatingGV.paint(TestTruncatingGV.java:53)
              at sun.awt.RepaintArea.paint(RepaintArea.java:180)
              at sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:339)
              at java.awt.Component.dispatchEventImpl(Component.java:3586)
              at java.awt.Component.dispatchEvent(Component.java:3367)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
              at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
              at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)

      Dynamic libraries:
      0x10000 java
      0xff350000 /usr/lib/libthread.so.1
      0xff390000 /usr/lib/libdl.so.1
      0xff200000 /usr/lib/libc.so.1
      0xff330000 /usr/platform/SUNW,Ultra-80/lib/libc_psr.so.1
      0xfe000000 /net/jdk.sfbay/export/disk6/promoted/jdk/1.4/rc/b91/binaries/solsparc/jre/lib/sparc/client/libjvm.so
      0xff2d0000 /usr/lib/libCrun.so.1
      0xff1d0000 /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 /net/jdk.sfbay/export/disk6/promoted/jdk/1.4/rc/b91/binaries/solsparc/jre/lib/sparc/native_threads/libhpi.so
      0xff050000 /net/jdk.sfbay/export/disk6/promoted/jdk/1.4/rc/b91/binaries/solsparc/jre/lib/sparc/libverify.so
      0xff020000 /net/jdk.sfbay/export/disk6/promoted/jdk/1.4/rc/b91/binaries/solsparc/jre/lib/sparc/libjava.so
      0xfe7e0000 /net/jdk.sfbay/export/disk6/promoted/jdk/1.4/rc/b91/binaries/solsparc/jre/lib/sparc/libzip.so
      0xf1c00000 /net/jdk.sfbay/export/disk6/promoted/jdk/1.4/rc/b91/binaries/solsparc/jre/lib/sparc/libawt.so
      0xfe460000 /net/jdk.sfbay/export/disk6/promoted/jdk/1.4/rc/b91/binaries/solsparc/jre/lib/sparc/libmlib_image.so
      0xfdf90000 /net/jdk.sfbay/export/disk6/promoted/jdk/1.4/rc/b91/binaries/solsparc/jre/lib/sparc/motif21/libmawt.so
      0xf1980000 /usr/lib/libXm.so.4
      0xfde90000 /usr/lib/libXt.so.4
      0xfc7d0000 /usr/lib/libXext.so.0
      0xfe440000 /usr/openwin/lib/libXtst.so.1
      0xf1880000 /usr/lib/libX11.so.4
      0xfc4a0000 /usr/openwin/lib/libdps.so.5
      0xfc7b0000 /usr/lib/libSM.so.6
      0xfc470000 /usr/lib/libICE.so.6
      0xfc440000 /usr/openwin/lib/libdga.so.1
      0xf1780000 /net/jdk.sfbay/export/disk6/promoted/jdk/1.4/rc/b91/binaries/solsparc/jre/lib/sparc/libfontmanager.so
      0xfc420000 /usr/lib//liblayout.so

      Local Time = Tue Jan 29 09:26:38 2002
      Elapsed Time = 2
      #
      # 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_pid29329.log.
      # Please refer to the file for further information.
      #
      Abort (core dumped)


      Release Regression From : 1.3.1

            dougfelt Doug Felt
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: