-
Bug
-
Resolution: Fixed
-
P2
-
5.0
-
tiger
-
sparc
-
solaris_9
-
Verified
Rendering Thai strings using drawString() causes Unexpected Exception to be thrown.
JDK Build: Tiger B14 and B13
OS Tested: Solaris sparc 9, Solaris Sparc 8, Sol IA 8
Bundle Tested: j2sdk-1_5_0-beta-solaris-sparc.sh
j2sdk-1_5_0-beta-solaris-sparcv9-debug.sh
j2sdk-1_5_0-beta-solaris-i586.sh
Locale: th_TH.UTF-8, th_TH.TIS620
This problem is NOT reproducible with Tiger B12 and Mantis B28
Steps To Reproduce
==================
1) On a solaris sparc 9 system set Default Locale as th_TH.UTF-8
2) Get the attached files "DrawStrTest.java" and "DrawStrTest.html"
3) Compile "DrawStrTest.java"
% [JDK_HOME]/bin/javac DrawStrTest.java
4) Run the application in appletviewer
% [JDK_HOME]/bin/appletviewer DrawStrTest.html
On doing so, the following Unexpected Exception is thrown on the console and the application fails to launch:
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0xF0B9BEA8
Function=[Unknown. Nearest: XmScrollBarSetValues+0x2368]
Library=/usr/dt/lib/libXm.so.4
Current Java thread:
at sun.awt.motif.MComponentPeer.pDispose(Native Method)
at sun.awt.motif.MComponentPeer.disposeImpl(MComponentPeer.java:505)
at sun.awt.motif.MComponentPeer.dispose(MComponentPeer.java:519)
at java.awt.Component.removeNotify(Component.java:5779)
- locked <0xf1847b20> (a java.awt.Component$AWTTreeLock)
at java.awt.Container.removeNotify(Container.java:2439)
- locked <0xf1847b20> (a java.awt.Component$AWTTreeLock)
at javax.swing.JComponent.removeNotify(JComponent.java:4117)
at java.awt.Container.remove(Container.java:1080)
- locked <0xf1847b20> (a java.awt.Component$AWTTreeLock)
at java.awt.ScrollPane.addUnderlayingHeavyweight(ScrollPane.java:216)
at java.awt.ScrollPane.addNotify(ScrollPane.java:555)
- locked <0xf1847b20> (a java.awt.Component$AWTTreeLock)
at java.awt.Container.addNotify(Container.java:2412)
- locked <0xf1847b20> (a java.awt.Component$AWTTreeLock)
at javax.swing.JComponent.addNotify(JComponent.java:4101)
at java.awt.Container.addImpl(Container.java:1022)
- locked <0xf1847b20> (a java.awt.Component$AWTTreeLock)
at java.awt.Container.add(Container.java:882)
at DrawStrTest.setComponents(DrawStrTest.java:92)
at DrawStrTest.init(DrawStrTest.java:44)
at sun.applet.AppletPanel.run(AppletPanel.java:353)
at java.lang.Thread.run(Thread.java:549)
Dynamic libraries:
0x10000 /net/koori.sfbay/onestop/j2se/1.5.0/promoted/all/b13/binaries/solaris-sparc/bin/appletviewer
0xff370000 /usr/lib/libthread.so.1
0xff280000 /usr/openwin/lib/libX11.so.4
0xff3a0000 /usr/lib/libdl.so.1
0xff180000 /usr/lib/libc.so.1
0xff330000 /usr/openwin/lib/libXext.so.0
0xff260000 /usr/lib/libsocket.so.1
0xff080000 /usr/lib/libnsl.so.1
0xff160000 /usr/lib/libmp.so.2
0xff150000 /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
0xfe800000 /net/koori.sfbay/p/jdk02/jdk/1.5.0/beta/b13/binaries/solaris-sparc/jre/lib/sparc/client/libjvm.so
0xff040000 /usr/lib/libCrun.so.1
0xff010000 /usr/lib/libm.so.1
0xfeff0000 /usr/lib/libsched.so.1
0xff070000 /usr/lib/libw.so.1
0xfefb0000 /usr/lib/librt.so.1
0xfef90000 /usr/lib/libaio.so.1
0xfef70000 /usr/lib/libmd5.so.1
0xfef50000 /usr/platform/SUNW,Ultra-5_10/lib/libmd5_psr.so.1
0xfef10000 /net/koori.sfbay/p/jdk02/jdk/1.5.0/beta/b13/binaries/solaris-sparc/jre/lib/sparc/native_threads/libhpi.so
0xfeed0000 /net/koori.sfbay/p/jdk02/jdk/1.5.0/beta/b13/binaries/solaris-sparc/jre/lib/sparc/libverify.so
0xfeea0000 /net/koori.sfbay/p/jdk02/jdk/1.5.0/beta/b13/binaries/solaris-sparc/jre/lib/sparc/libjava.so
0xfee80000 /net/koori.sfbay/p/jdk02/jdk/1.5.0/beta/b13/binaries/solaris-sparc/jre/lib/sparc/libzip.so
0xf0e80000 /net/koori.sfbay/p/jdk02/jdk/1.5.0/beta/b13/binaries/solaris-sparc/jre/lib/sparc/libawt.so
0xf0d00000 /net/koori.sfbay/p/jdk02/jdk/1.5.0/beta/b13/binaries/solaris-sparc/jre/lib/sparc/libmlib_image.so
0xf1500000 /net/koori.sfbay/p/jdk02/jdk/1.5.0/beta/b13/binaries/solaris-sparc/jre/lib/sparc/motif21/libmawt.so
0xf0a80000 /usr/lib/libXm.so.4
0xfe450000 /usr/openwin/lib/libXp.so.1
0xfbf90000 /usr/openwin/lib/libXt.so.4
0xfe430000 /usr/openwin/lib/libXtst.so.1
0xfdfe0000 /usr/openwin/lib/libSM.so.6
0xfdfb0000 /usr/openwin/lib/libICE.so.6
0xfbc80000 /net/koori.sfbay/p/jdk02/jdk/1.5.0/beta/b13/binaries/solaris-sparc/jre/lib/sparc/libfontmanager.so
0xfbec0000 /usr/lib//liblayout.so
0xfbea0000 /net/koori.sfbay/p/jdk02/jdk/1.5.0/beta/b13/binaries/solaris-sparc/jre/lib/sparc/libsunwjdga.so
0xfbdd0000 /usr/openwin/lib/libdga.so.1
0xfbdb0000 /net/koori.sfbay/p/jdk02/jdk/1.5.0/beta/b13/binaries/solaris-sparc/jre/lib/sparc/libjdgaSUNWm64.so
0xfbc50000 /net/koori.sfbay/p/jdk02/jdk/1.5.0/beta/b13/binaries/solaris-sparc/jre/lib/sparc/libnet.so
Heap at VM Abort:
Heap
def new generation total 2112K, used 1584K [0xf1800000, 0xf1a20000, 0xf1f10000)
eden space 2048K, 77% used [0xf1800000, 0xf198c238, 0xf1a00000)
from space 64K, 0% used [0xf1a00000, 0xf1a00000, 0xf1a10000)
to space 64K, 0% used [0xf1a10000, 0xf1a10000, 0xf1a20000)
tenured generation total 1408K, used 0K [0xf1f10000, 0xf2070000, 0xf5800000)
the space 1408K, 0% used [0xf1f10000, 0xf1f10000, 0xf1f10200, 0xf2070000)
compacting perm gen total 4864K, used 4786K [0xf5800000, 0xf5cc0000, 0xf9800000)
the space 4864K, 98% used [0xf5800000, 0xf5caca18, 0xf5cacc00, 0xf5cc0000)
Local Time = Thu Aug 14 14:11:18 2003
Elapsed Time = 7
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0-beta-b13 mixed mode)
#
# An error report file has been saved as hs_err_pid29785.log.
# Please refer to the file for further information.
#
Abort
###@###.### 2003-08-14
JDK Build: Tiger B14 and B13
OS Tested: Solaris sparc 9, Solaris Sparc 8, Sol IA 8
Bundle Tested: j2sdk-1_5_0-beta-solaris-sparc.sh
j2sdk-1_5_0-beta-solaris-sparcv9-debug.sh
j2sdk-1_5_0-beta-solaris-i586.sh
Locale: th_TH.UTF-8, th_TH.TIS620
This problem is NOT reproducible with Tiger B12 and Mantis B28
Steps To Reproduce
==================
1) On a solaris sparc 9 system set Default Locale as th_TH.UTF-8
2) Get the attached files "DrawStrTest.java" and "DrawStrTest.html"
3) Compile "DrawStrTest.java"
% [JDK_HOME]/bin/javac DrawStrTest.java
4) Run the application in appletviewer
% [JDK_HOME]/bin/appletviewer DrawStrTest.html
On doing so, the following Unexpected Exception is thrown on the console and the application fails to launch:
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0xF0B9BEA8
Function=[Unknown. Nearest: XmScrollBarSetValues+0x2368]
Library=/usr/dt/lib/libXm.so.4
Current Java thread:
at sun.awt.motif.MComponentPeer.pDispose(Native Method)
at sun.awt.motif.MComponentPeer.disposeImpl(MComponentPeer.java:505)
at sun.awt.motif.MComponentPeer.dispose(MComponentPeer.java:519)
at java.awt.Component.removeNotify(Component.java:5779)
- locked <0xf1847b20> (a java.awt.Component$AWTTreeLock)
at java.awt.Container.removeNotify(Container.java:2439)
- locked <0xf1847b20> (a java.awt.Component$AWTTreeLock)
at javax.swing.JComponent.removeNotify(JComponent.java:4117)
at java.awt.Container.remove(Container.java:1080)
- locked <0xf1847b20> (a java.awt.Component$AWTTreeLock)
at java.awt.ScrollPane.addUnderlayingHeavyweight(ScrollPane.java:216)
at java.awt.ScrollPane.addNotify(ScrollPane.java:555)
- locked <0xf1847b20> (a java.awt.Component$AWTTreeLock)
at java.awt.Container.addNotify(Container.java:2412)
- locked <0xf1847b20> (a java.awt.Component$AWTTreeLock)
at javax.swing.JComponent.addNotify(JComponent.java:4101)
at java.awt.Container.addImpl(Container.java:1022)
- locked <0xf1847b20> (a java.awt.Component$AWTTreeLock)
at java.awt.Container.add(Container.java:882)
at DrawStrTest.setComponents(DrawStrTest.java:92)
at DrawStrTest.init(DrawStrTest.java:44)
at sun.applet.AppletPanel.run(AppletPanel.java:353)
at java.lang.Thread.run(Thread.java:549)
Dynamic libraries:
0x10000 /net/koori.sfbay/onestop/j2se/1.5.0/promoted/all/b13/binaries/solaris-sparc/bin/appletviewer
0xff370000 /usr/lib/libthread.so.1
0xff280000 /usr/openwin/lib/libX11.so.4
0xff3a0000 /usr/lib/libdl.so.1
0xff180000 /usr/lib/libc.so.1
0xff330000 /usr/openwin/lib/libXext.so.0
0xff260000 /usr/lib/libsocket.so.1
0xff080000 /usr/lib/libnsl.so.1
0xff160000 /usr/lib/libmp.so.2
0xff150000 /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
0xfe800000 /net/koori.sfbay/p/jdk02/jdk/1.5.0/beta/b13/binaries/solaris-sparc/jre/lib/sparc/client/libjvm.so
0xff040000 /usr/lib/libCrun.so.1
0xff010000 /usr/lib/libm.so.1
0xfeff0000 /usr/lib/libsched.so.1
0xff070000 /usr/lib/libw.so.1
0xfefb0000 /usr/lib/librt.so.1
0xfef90000 /usr/lib/libaio.so.1
0xfef70000 /usr/lib/libmd5.so.1
0xfef50000 /usr/platform/SUNW,Ultra-5_10/lib/libmd5_psr.so.1
0xfef10000 /net/koori.sfbay/p/jdk02/jdk/1.5.0/beta/b13/binaries/solaris-sparc/jre/lib/sparc/native_threads/libhpi.so
0xfeed0000 /net/koori.sfbay/p/jdk02/jdk/1.5.0/beta/b13/binaries/solaris-sparc/jre/lib/sparc/libverify.so
0xfeea0000 /net/koori.sfbay/p/jdk02/jdk/1.5.0/beta/b13/binaries/solaris-sparc/jre/lib/sparc/libjava.so
0xfee80000 /net/koori.sfbay/p/jdk02/jdk/1.5.0/beta/b13/binaries/solaris-sparc/jre/lib/sparc/libzip.so
0xf0e80000 /net/koori.sfbay/p/jdk02/jdk/1.5.0/beta/b13/binaries/solaris-sparc/jre/lib/sparc/libawt.so
0xf0d00000 /net/koori.sfbay/p/jdk02/jdk/1.5.0/beta/b13/binaries/solaris-sparc/jre/lib/sparc/libmlib_image.so
0xf1500000 /net/koori.sfbay/p/jdk02/jdk/1.5.0/beta/b13/binaries/solaris-sparc/jre/lib/sparc/motif21/libmawt.so
0xf0a80000 /usr/lib/libXm.so.4
0xfe450000 /usr/openwin/lib/libXp.so.1
0xfbf90000 /usr/openwin/lib/libXt.so.4
0xfe430000 /usr/openwin/lib/libXtst.so.1
0xfdfe0000 /usr/openwin/lib/libSM.so.6
0xfdfb0000 /usr/openwin/lib/libICE.so.6
0xfbc80000 /net/koori.sfbay/p/jdk02/jdk/1.5.0/beta/b13/binaries/solaris-sparc/jre/lib/sparc/libfontmanager.so
0xfbec0000 /usr/lib//liblayout.so
0xfbea0000 /net/koori.sfbay/p/jdk02/jdk/1.5.0/beta/b13/binaries/solaris-sparc/jre/lib/sparc/libsunwjdga.so
0xfbdd0000 /usr/openwin/lib/libdga.so.1
0xfbdb0000 /net/koori.sfbay/p/jdk02/jdk/1.5.0/beta/b13/binaries/solaris-sparc/jre/lib/sparc/libjdgaSUNWm64.so
0xfbc50000 /net/koori.sfbay/p/jdk02/jdk/1.5.0/beta/b13/binaries/solaris-sparc/jre/lib/sparc/libnet.so
Heap at VM Abort:
Heap
def new generation total 2112K, used 1584K [0xf1800000, 0xf1a20000, 0xf1f10000)
eden space 2048K, 77% used [0xf1800000, 0xf198c238, 0xf1a00000)
from space 64K, 0% used [0xf1a00000, 0xf1a00000, 0xf1a10000)
to space 64K, 0% used [0xf1a10000, 0xf1a10000, 0xf1a20000)
tenured generation total 1408K, used 0K [0xf1f10000, 0xf2070000, 0xf5800000)
the space 1408K, 0% used [0xf1f10000, 0xf1f10000, 0xf1f10200, 0xf2070000)
compacting perm gen total 4864K, used 4786K [0xf5800000, 0xf5cc0000, 0xf9800000)
the space 4864K, 98% used [0xf5800000, 0xf5caca18, 0xf5cacc00, 0xf5cc0000)
Local Time = Thu Aug 14 14:11:18 2003
Elapsed Time = 7
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0-beta-b13 mixed mode)
#
# An error report file has been saved as hs_err_pid29785.log.
# Please refer to the file for further information.
#
Abort
###@###.### 2003-08-14