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

Printing japanese string, Abnomal termination occurs on Solsparc(64bit&ServerVM)

XMLWordPrintable

    • 2d
    • sparc
    • solaris_8, solaris_9

      Tested with Merlin-beta-refresh b67 on Solaris sparc8(64 bit&ServerVM) Japanese.

      > java -version
      java version "1.4.0-beta_refresh"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta_refresh-b67)
      Java HotSpot(TM) Client VM (build 1.4.0-beta_refresh-b67, mixed mode)

      > uname -a
      SunOS myers 5.8 Generic_108528-05 sun4u sparc SUNW,Ultra-5_10

      > isainfo
      sparcv9 sparc

      Printing Japanese characters causes abnomal termination and the error log file is created.
      The detail of the error log is below;
      ================================================================================
      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : 11 occurred at PC=0xFFFFFFFF2E120AD4
      Function=DPSInitCommonTextContextProcs+0x24
      Library=/usr/openwin/lib/sparcv9/libdps.so.5

      Current Java thread:
              at sun.awt.font.NativeFontWrapper.getVisualBounds(Native Method)
              - locked <ffffffff346505c0> (a java.lang.Class)
              at sun.awt.font.StandardGlyphVector.getVisualBounds(StandardGlyphVector.java:436)
              at sun.awt.font.ExtendedTextSourceLabel.handleGetVisualBounds(ExtendedTextSourceLabel.java:151
      )
              at sun.awt.font.Decoration.getVisualBounds(Decoration.java:102)
              at sun.awt.font.ExtendedTextSourceLabel.getVisualBounds(ExtendedTextSourceLabel.java:87)
              at sun.awt.font.TextLabel.getVisualBounds(TextLabel.java:67)
              at java.awt.font.TextLine.getBounds(TextLine.java:518)
              at java.awt.font.TextLayout.getBounds(TextLayout.java:950)
              at sun.print.PeekGraphics.drawTextLayout(PeekGraphics.java:1454)
              at sun.print.PeekGraphics.drawString(PeekGraphics.java:853)
              at PrintTest_ja$Printer.print(PrintTest_ja.java:77)
              at sun.print.RasterPrinterJob.printPage(RasterPrinterJob.java:1434)
              at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1034)
              at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:935)
              at PrintTest_ja.actionPerformed(PrintTest_ja.java:176)
              at java.awt.Button.processActionEvent(Button.java:384)
              at java.awt.Button.processEvent(Button.java:353)
              at java.awt.Component.dispatchEventImpl(Component.java:3486)
              at java.awt.Component.dispatchEvent(Component.java:3353)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

      Dynamic libraries:
      0x100000000 java
      0xffffffff7f200000 /usr/lib/sparcv9/libthread.so.1
      0xffffffff7f400000 /usr/lib/sparcv9/libdl.so.1
      0xffffffff7ef00000 /usr/lib/sparcv9/libc.so.1
      0xffffffff7ed00000 /usr/platform/SUNW,Ultra-5_10/lib/sparcv9/libc_psr.so.1
      0xffffffff7d000000 /home/rs88024/jdk1.4/b67/j2sdk1.4.0/jre/lib/sparcv9/server/libjvm.so
      0xffffffff7ce00000 /usr/lib/sparcv9/libCrun.so.1
      0xffffffff7cc00000 /usr/lib/sparcv9/libsocket.so.1
      0xffffffff7ca00000 /usr/lib/sparcv9/libnsl.so.1
      0xffffffff7c800000 /usr/lib/sparcv9/libm.so.1
      0xffffffff7d900000 /usr/lib/sparcv9/libw.so.1
      0xffffffff7c500000 /usr/lib/sparcv9/libmp.so.2
      0xffffffff7c100000 /home/rs88024/jdk1.4/b67/j2sdk1.4.0/jre/lib/sparcv9/native_threads/libhpi.so
      0xffffffff7be00000 /home/rs88024/jdk1.4/b67/j2sdk1.4.0/jre/lib/sparcv9/libverify.so
      0xffffffff7bc00000 /home/rs88024/jdk1.4/b67/j2sdk1.4.0/jre/lib/sparcv9/libjava.so
      0xffffffff7ba00000 /home/rs88024/jdk1.4/b67/j2sdk1.4.0/jre/lib/sparcv9/libzip.so
      0xffffffff30200000 /usr/lib/locale/ja/sparcv9/ja.so.2
      0xffffffff30000000 /usr/lib/locale/ja/sparcv9/methods_ja.so.2
      0xffffffff2f700000 /home/rs88024/jdk1.4/b67/j2sdk1.4.0/jre/lib/sparcv9/libawt.so
      0xffffffff2f400000 /home/rs88024/jdk1.4/b67/j2sdk1.4.0/jre/lib/sparcv9/libmlib_image.so
      0xffffffff2f200000 /home/rs88024/jdk1.4/b67/j2sdk1.4.0/jre/lib/sparcv9/motif21/libmawt.so
      0xffffffff2ee00000 /usr/dt/lib/sparcv9/libXm.so.4
      0xffffffff2eb00000 /usr/openwin/lib/sparcv9/libXt.so.4
      0xffffffff2e900000 /usr/openwin/lib/sparcv9/libXext.so.0
      0xffffffff2e700000 /usr/openwin/lib/sparcv9/libXtst.so.1
      0xffffffff2e500000 /usr/openwin/lib/sparcv9/libX11.so.4
      0xffffffff2e200000 /usr/openwin/lib/sparcv9/libdps.so.5
      0xffffffff2e000000 /usr/openwin/lib/sparcv9/libSM.so.6
      0xffffffff2de00000 /usr/openwin/lib/sparcv9/libICE.so.6
      0xffffffff2db00000 /home/rs88024/jdk1.4/b67/j2sdk1.4.0/jre/lib/sparcv9/libfontmanager.so
      0xffffffff2d800000 /home/rs88024/jdk1.4/b67/j2sdk1.4.0/jre/lib/sparcv9/libnio.so
      0xffffffff2d500000 /usr/lib/sparcv9/librt.so.1
      0xffffffff2d300000 /home/rs88024/jdk1.4/b67/j2sdk1.4.0/jre/lib/sparcv9/libnet.so
      0xffffffff2d100000 /usr/lib/sparcv9/libaio.so.1
      0xffffffff2cc00000 /usr/openwin/lib/locale/ja/sparcv9/xlibi18n_ja.so.2
      0xffffffff2c900000 /usr/openwin/lib/locale/common/sparcv9/xomLTRTTB.so.2
      0xffffffff2c600000 /usr/lib/sparcv9/liblayout.so
      0xffffffff2c400000 /usr/openwin/lib/locale/common/sparcv9/ximp40.so.2
      0xffffffff2bb00000 /home/rs88024/jdk1.4/b67/j2sdk1.4.0/jre/lib/sparcv9/libdcpr.so

      Local Time = Wed Jun 13 19:03:04 2001
      Elapsed Time = 37
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.4.0-beta_refresh-b67 mixed mode)
      #
      ================================================================================

      To reproduce,
      1. Compile the attached test case (PrintTest_ja.java).
      2. Invoke "java -d64 PrintTest_ja"
      3. Press "Plain" button.
      4. Page Setup dialog comes up and choose Media Size then press OK.
      5. Print dialog comes up then press Print

      Then, the problem occurs and PrintTest_ja aborts.

      This is not reproducible on Solaris sparc 8 (64bit & ClientVM)
      % java PrintTest_ja -----> works fine.

      In addition, in case of English charactes, this problem does not occur.
      % java -d64 PrintTest_C ------> works fine. (PrintTest_C.java is attached)


      This problem is not seen in merlin b65.
      This problem is seen from merlin b66.

      [rieko.suzuki@Japan 2001-06-13]

            prr Philip Race
            rsuzukisunw Rieko Suzuki (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: