-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.4.0
-
sparc
-
solaris_7, solaris_8, solaris_9
Tested on Solaris9 Sparc using merlin beta refresh b67b/64bit-serverVM
Font2DTest demo aborts with the error message as below when the drawing method is changed to "GlyphVector.getOutline + draw" or "TextLayout.getOutline + draw";
=============================================================================
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0xFFFFFFFF2E72009C
Function=[Unknown. Nearest: DPSInitCommonTextContextProcs+0x24]
Library=/usr/openwin/lib/sparcv9/libdps.so.5
Current Java thread:
at sun.awt.font.NativeFontWrapper.getVisualBounds(Native Method)
- locked <ffffffff34e19158> (a java.lang.Class)
at sun.awt.font.StandardGlyphVector.getVisualBounds(StandardGlyphVector
.java:436)
at FontPanel$FontCanvas.modeSpecificDrawChar(FontPanel.java:534)
at FontPanel$FontCanvas.drawText(FontPanel.java:788)
at FontPanel$FontCanvas.paint(FontPanel.java:839)
at FontPanel$FontCanvas.update(FontPanel.java:857)
at sun.awt.RepaintArea.paintRect(RepaintArea.java:349)
at sun.awt.RepaintArea.paint(RepaintArea.java:339)
at sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:342)
at java.awt.Component.dispatchEventImpl(Component.java:3552)
at java.awt.Component.dispatchEvent(Component.java:3353)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:1
50)
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 /home/tokunaga/jdk1.4/j2sdk1.4.0/bin/sparcv9/java
0xffffffff7f200000 /usr/lib/64/libthread.so.1
0xffffffff7f400000 /usr/lib/64/libdl.so.1
0xffffffff7ef00000 /usr/lib/64/libc.so.1
0xffffffff7ee00000 /usr/platform/SUNW,Ultra-5_10/lib/sparcv9/libc_psr.so.1
0xffffffff7e400000 /home/tokunaga/jdk1.4/j2sdk1.4.0/jre/lib/sparcv9/server
/libjvm.so
0xffffffff7e200000 /usr/lib/64/libCrun.so.1
0xffffffff7e000000 /usr/lib/64/libsocket.so.1
0xffffffff7de00000 /usr/lib/64/libnsl.so.1
0xffffffff7db00000 /usr/lib/64/libm.so.1
0xffffffff7db00000 /usr/lib/64/libm.so.1
0xffffffff7ec00000 /usr/lib/64/libw.so.1
0xffffffff7d800000 /usr/lib/64/libmp.so.2
0xffffffff7d600000 /usr/lib/64/librt.so.1
0xffffffff7d400000 /usr/lib/64/libaio.so.1
0xffffffff7d100000 /usr/lib/64/libmd5.so.1
0xffffffff7cf00000 /usr/platform/SUNW,Ultra-5_10/lib/sparcv9/libmd5_psr.so
.1
0xffffffff7ca00000 /home/tokunaga/jdk1.4/j2sdk1.4.0/jre/lib/sparcv9/native
_threads/libhpi.so
0xffffffff7c800000 /home/tokunaga/jdk1.4/j2sdk1.4.0/jre/lib/sparcv9/libver
ify.so
0xffffffff7c500000 /home/tokunaga/jdk1.4/j2sdk1.4.0/jre/lib/sparcv9/libjav
a.so
0xffffffff7c300000 /home/tokunaga/jdk1.4/j2sdk1.4.0/jre/lib/sparcv9/libzip
.so
0xffffffff30a00000 /usr/lib/locale/ja_JP.UTF-8/sparcv9/ja_JP.UTF-8.so.2
0xffffffff30800000 /usr/lib/locale/ja_JP.UTF-8/sparcv9/methods_ja_JP.UTF-8
.so.2
0xffffffff2fb00000 /home/tokunaga/jdk1.4/j2sdk1.4.0/jre/lib/sparcv9/libawt
.so
0xffffffff2f900000 /home/tokunaga/jdk1.4/j2sdk1.4.0/jre/lib/sparcv9/libmli
b_image.so
0xffffffff2f600000 /home/tokunaga/jdk1.4/j2sdk1.4.0/jre/lib/sparcv9/motif2
1/libmawt.so
0xffffffff2f200000 /usr/dt/lib/sparcv9/libXm.so.4
0xffffffff2f000000 /usr/openwin/lib/sparcv9/libXt.so.4
0xffffffff2ed00000 /usr/openwin/lib/sparcv9/libXext.so.0
0xffffffff2eb00000 /usr/openwin/lib/sparcv9/libXtst.so.1
0xffffffff2e900000 /usr/openwin/lib/sparcv9/libX11.so.4
0xffffffff2e700000 /usr/openwin/lib/sparcv9/libdps.so.5
0xffffffff2e400000 /usr/openwin/lib/sparcv9/libSM.so.6
0xffffffff2e200000 /usr/openwin/lib/sparcv9/libICE.so.6
0xffffffff2df00000 /usr/openwin/lib/sparcv9/libdga.so.1
0xffffffff2dd00000 /home/tokunaga/jdk1.4/j2sdk1.4.0/jre/lib/sparcv9/libfon
tmanager.so
0xffffffff2d900000 /home/tokunaga/jdk1.4/j2sdk1.4.0/jre/lib/sparcv9/libnio
.so
0xffffffff2d700000 /home/tokunaga/jdk1.4/j2sdk1.4.0/jre/lib/sparcv9/libnet
.so
0xffffffff2d300000 /usr/openwin/lib/locale/common/sparcv9/xlcUTF-8.so.2
0xffffffff2d000000 /usr/openwin/lib/locale/common/sparcv9/xomLTRTTB.so.2
0xffffffff2ce00000 /usr/lib/sparcv9/liblayout.so
0xffffffff2cb00000 /usr/openwin/lib/locale/common/sparcv9/xiiimp.so.2
0xffffffff2c900000 /usr/lib/iconv/sparcv9/UCS-2%UTF-8.so
0xffffffff2c500000 /home/tokunaga/jdk1.4/j2sdk1.4.0/jre/lib/sparcv9/libsun
wjdga.so
0xffffffff2ae00000 /usr/lib/iconv/sparcv9/UTF-8%UCS-2.so
0xffffffff2ac00000 /usr/lib/im/locale/ja/atokserver/sparcv9/atok12aux.so
0xffffffff2a300000 /home/tokunaga/jdk1.4/j2sdk1.4.0/jre/lib/sparcv9/libjdg
aSUNWffb.so
Local Time = Thu Jun 28 17:07:58 2001
Elapsed Time = 29
#
# 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-b67b mixed mod
e)
#
=============================================================================
To reproduce,
1. Launch Font2DTest demo using merlin b67b on ja_JP.UTF8 locale.
($JAVAHOME/demo/jfc/Font2DTest/Font2DTest.jar
java -jar Font2DTest.jar
2. Select "GlyphVector.getOutline + draw" or "TextLayout.getOutline + draw" from "Method".
Then, you can see the problem.
This is reproducible merlin beta-refresh with b67 and latest build, b69 also.
This is not reproeucible on Solaris9 Sparc using ClientVM or ServerVM.
This is not reproducible on Solaris8 Sparc/ja_JP.UTF-8 using 64bit-ServerVM.
***It is a problem only using 64bit ServerVM on Solaris9 Sparc/ja_JP.UTF-8
***NOTE******************************************************************
This problem seems to be similar with Bug 4465636 which has a workaround.
Applying the 4465636's workaround to this bug, it is still reproducible.
Therefore, it seems another problem and file it as new bug.
*************************************************************************
--------------------------------------------------------------------------------------------------
The same kind of problem is seen on ja_JP.PCK locale.
In this case, Font2DTest demo aborts in displaying Japanese characters(Hiragana, Katakana or Kanji) while it aborts in displaying even Basic Latin on ja_JP.UTF8.)
To reproduce,
1. Launch Font2DTest demo using merlin b67b on ja_JP.PCK locale.
($JAVAHOME/demo/jfc/Font2DTest/Font2DTest.jar
java -jar Font2DTest.jar
2. Select "GlyphVector.getOutline + draw" or "TextLayout.getOutline + draw" from "Method".
3. Select "Hiragana", "Katakana" or "CJK Unified Ideographs".
Then, you can see the problem.
The error log is below;
=============================================================================
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0xFFFFFFFF2E22009C
Function=[Unknown. Nearest: DPSInitCommonTextContextProcs+0x24]
Library=/usr/openwin/lib/sparcv9/libdps.so.5
Current Java thread:
at sun.awt.font.NativeFontWrapper.getVisualBounds(Native Method)
- locked <ffffffff34e867a0> (a java.lang.Class)
at sun.awt.font.StandardGlyphVector.getVisualBounds(StandardGlyphVector
.java:436)
at FontPanel$FontCanvas.modeSpecificDrawChar(FontPanel.java:534)
at FontPanel$FontCanvas.drawText(FontPanel.java:788)
at FontPanel$FontCanvas.paint(FontPanel.java:839)
at FontPanel$FontCanvas.update(FontPanel.java:857)
at sun.awt.RepaintArea.paintRect(RepaintArea.java:349)
at sun.awt.RepaintArea.paint(RepaintArea.java:339)
at sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:342)
at java.awt.Component.dispatchEventImpl(Component.java:3552)
at java.awt.Component.dispatchEvent(Component.java:3353)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:1
50)
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/64/libthread.so.1
0xffffffff7f400000 /usr/lib/64/libdl.so.1
0xffffffff7ef00000 /usr/lib/64/libc.so.1
0xffffffff7ee00000 /usr/platform/SUNW,Ultra-5_10/lib/sparcv9/libc_psr.so.1
0xffffffff7e400000 /net/javasoft/export/share/java/bin/jdk1.4/solsparc/jre
/lib/sparcv9/server/libjvm.so
0xffffffff7e200000 /usr/lib/64/libCrun.so.1
0xffffffff7e000000 /usr/lib/64/libsocket.so.1
0xffffffff7de00000 /usr/lib/64/libnsl.so.1
0xffffffff7db00000 /usr/lib/64/libm.so.1
0xffffffff7ec00000 /usr/lib/64/libw.so.1
0xffffffff7d800000 /usr/lib/64/libmp.so.2
0xffffffff7d600000 /usr/lib/64/librt.so.1
0xffffffff7d300000 /usr/lib/64/libaio.so.1
0xffffffff7d100000 /usr/lib/64/libmd5.so.1
0xffffffff7cf00000 /usr/platform/SUNW,Ultra-5_10/lib/sparcv9/libmd5_psr.so
.1
0xffffffff7ca00000 /net/javasoft/export/share/java/bin/jdk1.4/solsparc/jre
/lib/sparcv9/native_threads/libhpi.so
0xffffffff7c800000 /net/javasoft/export/share/java/bin/jdk1.4/solsparc/jre
/lib/sparcv9/libverify.so
0xffffffff7c500000 /net/javasoft/export/share/java/bin/jdk1.4/solsparc/jre
/lib/sparcv9/libjava.so
0xffffffff7c300000 /net/javasoft/export/share/java/bin/jdk1.4/solsparc/jre
/lib/sparcv9/libzip.so
0xffffffff30900000 /usr/lib/locale/ja_JP.PCK/sparcv9/ja_JP.PCK.so.2
0xffffffff30700000 /usr/lib/locale/ja_JP.PCK/sparcv9/methods_ja_JP.PCK.so.
2
0xffffffff2f700000 /net/javasoft/export/share/java/bin/jdk1.4/solsparc/jre
/lib/sparcv9/libawt.so
0xffffffff2f400000 /net/javasoft/export/share/java/bin/jdk1.4/solsparc/jre
/lib/sparcv9/libmlib_image.so
0xffffffff2f200000 /net/javasoft/export/share/java/bin/jdk1.4/solsparc/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 /usr/openwin/lib/sparcv9/libdga.so.1
0xffffffff2d900000 /net/javasoft/export/share/java/bin/jdk1.4/solsparc/jre
/lib/sparcv9/libfontmanager.so
0xffffffff2d500000 /net/javasoft/export/share/java/bin/jdk1.4/solsparc/jre
/lib/sparcv9/libnio.so
0xffffffff2d300000 /net/javasoft/export/share/java/bin/jdk1.4/solsparc/jre
/lib/sparcv9/libnet.so
0xffffffff2cf00000 /usr/openwin/lib/locale/ja_JP.PCK/sparcv9/xlibi18n_PCK.
so.2
0xffffffff2cc00000 /usr/openwin/lib/locale/common/sparcv9/xomLTRTTB.so.2
0xffffffff2c900000 /usr/lib/sparcv9/liblayout.so
0xffffffff2c700000 /usr/openwin/lib/locale/common/sparcv9/ximp40.so.2
Local Time = Thu Jun 28 18:07:50 2001
Elapsed Time = 33
#
# 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-b69 mixed mode
)
=============================================================================
These problem are not seen on ja locale.
==========================================
This is the same bug as 4469269 which showed up on S8 when printing, because
printing invokes the same font code.
Althoygh the other bug is earlier and has the same P/S I'll close that one out
as the dup since this points out that the issue is unrelated to printing.
The problem is possibly a bug in the 64-bit Solaris DPS libraries.
phil.race@eng 2001-06-28
=========================
------------------------------------------------------------------------------
The problem on ja_JP.UTF-8 is not reproducible on Solaris8 Sparc using 64bit-ServerVM.
Testing again, it turned out that the problem on ja_JP.PCK is reproducible on Solaris8 Sparc using 64bit-ServerVM.
miki.tokunaga@japan 2001-06-29
------------------------------------------------------------------------------
This bug is not reproducible with merlin beta (b65) on both of Solaris8 and 9.
^^^^
miki.tokunaga@japan 2001-06-29
------------------------------------------------------------------------------
- duplicates
-
JDK-4469269 Printing japanese string, Abnomal termination occurs on Solsparc(64bit&ServerVM)
-
- Closed
-