-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.4.0
-
sparc
-
solaris_8
Source code is attached.
All of the ISO8859-5 locales should work in Solaris 8 (see bug
4326576). Attempting to display text causes my test program to
core dump.
algol% /usr/local/java/jdk1.4/solsparc/bin/java -version
java version "1.4.0beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0beta-b43)
Java HotSpot(TM) Client VM (build 1.4beta-B43, mixed mode)
algol% uname -a
SunOS algol 5.8 Generic_108528-03 sun4u sparc SUNW,Ultra-2
algol% showrev -p
Patch: 109137-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
Patch: 108974-06 Obsoletes: 109343-04 Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcarx, SUNWcsxu, SUNWhea
Patch: 108975-03 Obsoletes: Requires: 108968-01, 108974-01, 108977-01 Incompatibles: Packages: SUNWcsu, SUNWvolu
Patch: 108528-03 Obsoletes: 109153-01, 109656-01, 109291-06, 109663-01, 109309-02, 109345-02 Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcarx, SUNWcar, SUNWcpr, SUNWcprx, SUNWcsxu, SUNWhea, SUNWmdb, SUNWmdbx, SUNWpmu, SUNWpmr, SUNWpmux, SUNWsrh, SUNWtnfc, SUNWtnfcx
Patch: 108875-07 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcslx, SUNWcsl, SUNWcarx, SUNWarc, SUNWcstl, SUNWcstlx, SUNWhea
Patch: 109783-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
Patch: 108985-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
Patch: 109277-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
Patch: 108977-01 Obsoletes: Requires: 108974-01 Incompatibles: Packages: SUNWcsr, SUNWhea, SUNWvolu, SUNWvolux
Patch: 108968-02 Obsoletes: Requires: 108974-01, 108977-01 Incompatibles: Packages: SUNWcsr, SUNWesu, SUNWhea, SUNWvolu, SUNWvolux
Patch: 108652-18 Obsoletes: Requires: Incompatibles: Packages: SUNWxwfnt, SUNWxwplt, SUNWxwplx, SUNWxwinc, SUNWxwman, SUNWxwpmn, SUNWxwslb
Patch: 108940-12 Obsoletes: Requires: Incompatibles: Packages: SUNWmfrun, SUNWdtbax
Patch: 109320-01 Obsoletes: Requires: Incompatibles: Packages: SUNWpcu, SUNWpsu
Patch: 109951-01 Obsoletes: Requires: Incompatibles: Packages: SUNWjwnsu
Tests were run in four locales:
algol% echo $LANG
bg_BG.ISO8859-5
algol% env |grep LC
LC_MONETARY=bg_BG.ISO8859-5
LC_TIME=bg_BG.ISO8859-5
LC_MESSAGES=C
LC_CTYPE=bg_BG.ISO8859-5
LC_COLLATE=bg_BG.ISO8859-5
LC_NUMERIC=bg_BG.ISO8859-5
algol% echo $LANG
mk_MK.ISO8859-5
algol% env |grep LC
LC_MONETARY=mk_MK.ISO8859-5
LC_TIME=mk_MK.ISO8859-5
LC_MESSAGES=C
LC_CTYPE=mk_MK.ISO8859-5
LC_COLLATE=mk_MK.ISO8859-5
LC_NUMERIC=mk_MK.ISO8859-5
algol% echo $LANG
ru_RU.ISO8859-5
algol% env |grep LC
LC_MONETARY=ru_RU.ISO8859-5
LC_TIME=ru_RU.ISO8859-5
LC_MESSAGES=C
LC_CTYPE=ru_RU.ISO8859-5
LC_COLLATE=ru_RU.ISO8859-5
LC_NUMERIC=ru_RU.ISO8859-5
algol% echo $LANG
sr_YU.ISO8859-5
algol% env |grep LC
LC_MONETARY=sr_YU.ISO8859-5
LC_TIME=sr_YU.ISO8859-5
LC_MESSAGES=C
LC_CTYPE=sr_YU.ISO8859-5
LC_COLLATE=sr_YU.ISO8859-5
LC_NUMERIC=sr_YU.ISO8859-5
The program should bring up five panes entitled
(1) AWT Labels, (2) AWT TextFields, (3) Swing Components,
(4) Java2D Stroke, and (5) Java2D Fill.
In each pane there is a grid of Strings. There are 5 rows
and 4 columns. The rows are labelled (1) Serif,
(2) SansSerif, (3) Monospaced, (4) Dialog, and
(5) DialogInput. The columns are labelled (1) Plain,
(2) Italic, (3) Bold, and (4) BoldItalic.
Also on each pane, in the upper right corner, are displayed
the locale and language, where the language is displayed
in the locale's language and is liable to contain non-English
characters.
What happens instead is a core dump:
algol% /usr/local/java/jdk1.4.0/solsparc/bin/java_g -cp . -Djava.compiler=NONE FontTest
default to Motif 2.1, os is: 5.8
Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 136 in java.awt.Component
Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 140 in java.awt.Component
Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 144 in java.awt.Component
Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 148 in java.awt.Component
Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 167 in java.awt.Component
Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 172 in java.awt.Container
Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 220 in java.awt.Window
Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 288 in java.awt.Frame
Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 280 in java.awt.Frame
Locale: bg_BG/\321\352\333\323\320\340\341\332\330
Variant:
Country: BG
User.language: bg
User.region: BG
algol% /usr/local/java/jdk1.4.0/solsparc/bin/java_g -cp . -Djava.compiler=NONE FontTest
/usr/openwin/lib/X11/fonts/TrueType/CourierNew.ttf - CMAP 3,1 found at offset 282.
/usr/openwin/lib/X11/fonts/TrueType/Arial-BoldItalic.ttf - CMAP 3,1 found at offset 282.
/usr/openwin/lib/X11/fonts/TrueType/Arial-Bold.ttf - CMAP 3,1 found at offset 282.
/usr/openwin/lib/X11/fonts/TrueType/CourierNew-BoldItalic.ttf - CMAP 3,1 found at offset 282.
/usr/openwin/lib/X11/fonts/TrueType/CourierNew-Bold.ttf - CMAP 3,1 found at offset 282.
/usr/openwin/lib/X11/fonts/TrueType/CourierNew-Italic.ttf - CMAP 3,1 found at offset 282.
/usr/openwin/lib/X11/fonts/TrueType/Arial-Italic.ttf - CMAP 3,1 found at offset 282.
/usr/openwin/lib/X11/fonts/TrueType/Arial.ttf - CMAP 3,1 found at offset 282.
/usr/openwin/lib/X11/fonts/TrueType/TimesNewRoman.ttf - CMAP 3,1 found at offset 282.
/usr/openwin/lib/X11/fonts/TrueType/TimesNewRoman-BoldItalic.ttf - CMAP 3,1 found at offset 282.
/usr/openwin/lib/X11/fonts/TrueType/TimesNewRoman-Bold.ttf - CMAP 3,1 found at offset 282.
/usr/openwin/lib/X11/fonts/TrueType/TimesNewRoman-Italic.ttf - CMAP 3,1 found at offset 282.
/usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaTypewriterRegular.ttf - CMAP 3,1 found at offset 282.
/usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaTypewriterBold.ttf - CMAP 3,1 found at offset 282.
/usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaTypewriterOblique.ttf - CMAP 3,1 found at offset 282.
/usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaTypewriterBoldOblique.ttf - CMAP 3,1 found at offset 282.
/usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaBrightRegular.ttf - CMAP 3,1 found at offset 282.
/usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaBrightDemiBold.ttf - CMAP 3,1 found at offset 282.
/usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaBrightItalic.ttf - CMAP 3,1 found at offset 282.
/usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaBrightDemiItalic.ttf - CMAP 3,1 found at offset 282.
/usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaSansRegular.ttf - CMAP 3,1 found at offset 282.
/usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaSansDemiBold.ttf - CMAP 3,1 found at offset 282.
/usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaSansOblique.ttf - CMAP 3,1 found at offset 282.
/usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaSansDemiOblique.ttf - CMAP 3,1 found at offset 282.
wDOW=60, wABC=60
Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 128 in sun.java2d.SunGraphics2D
Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 132 in sun.java2d.SunGraphics2D
Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 136 in sun.java2d.SunGraphics2D
Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 204 in java.awt.TextField
awt_motif_getIMStatusHeight: Height = 16
#
# An unexpected exception has been detected in native code outside the VM.
# Program counter=0x160018
#
# Problematic Thread: prio=5 tid=0x3a4a0 nid=0x1 runnable
#
Dumping core....
Abort (core dumped)
allan.jacobs@Eng 2000-12-01
The behavior is completely different with _JAVA_AWT_USE_MOTIF_1_2 set.
I don't know what the correct patches might be - I have the newest
Solaris 8 and the Recommended and Security cluster patches from
November 23. In addition, the Motif (I think) patch 108940-12 was
applied.
The displays are still pretty funky. In bg_BG.ISO8859-5.
(1) The frame that contains the panes seems to use random
number generation to dimension itself.
(2) Every other run leaves the Java2D Fill pane blank. When
this happens, clicking on one of the tabs at the top of the
frame causes the tabs to disappear as well. And, when that
happens the program is frozen and will not even respond to
an ALT-F4.
(3) When the Java2D Fill pane is not blank, the Italic column
contains text that is not positioned correctly.
The other ISO8859-5 locales share behaviors (1) and (2).
allan.jacobs@Eng 2000-12-01
All of the ISO8859-5 locales should work in Solaris 8 (see bug
4326576). Attempting to display text causes my test program to
core dump.
algol% /usr/local/java/jdk1.4/solsparc/bin/java -version
java version "1.4.0beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0beta-b43)
Java HotSpot(TM) Client VM (build 1.4beta-B43, mixed mode)
algol% uname -a
SunOS algol 5.8 Generic_108528-03 sun4u sparc SUNW,Ultra-2
algol% showrev -p
Patch: 109137-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
Patch: 108974-06 Obsoletes: 109343-04 Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcarx, SUNWcsxu, SUNWhea
Patch: 108975-03 Obsoletes: Requires: 108968-01, 108974-01, 108977-01 Incompatibles: Packages: SUNWcsu, SUNWvolu
Patch: 108528-03 Obsoletes: 109153-01, 109656-01, 109291-06, 109663-01, 109309-02, 109345-02 Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcarx, SUNWcar, SUNWcpr, SUNWcprx, SUNWcsxu, SUNWhea, SUNWmdb, SUNWmdbx, SUNWpmu, SUNWpmr, SUNWpmux, SUNWsrh, SUNWtnfc, SUNWtnfcx
Patch: 108875-07 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcslx, SUNWcsl, SUNWcarx, SUNWarc, SUNWcstl, SUNWcstlx, SUNWhea
Patch: 109783-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
Patch: 108985-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
Patch: 109277-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
Patch: 108977-01 Obsoletes: Requires: 108974-01 Incompatibles: Packages: SUNWcsr, SUNWhea, SUNWvolu, SUNWvolux
Patch: 108968-02 Obsoletes: Requires: 108974-01, 108977-01 Incompatibles: Packages: SUNWcsr, SUNWesu, SUNWhea, SUNWvolu, SUNWvolux
Patch: 108652-18 Obsoletes: Requires: Incompatibles: Packages: SUNWxwfnt, SUNWxwplt, SUNWxwplx, SUNWxwinc, SUNWxwman, SUNWxwpmn, SUNWxwslb
Patch: 108940-12 Obsoletes: Requires: Incompatibles: Packages: SUNWmfrun, SUNWdtbax
Patch: 109320-01 Obsoletes: Requires: Incompatibles: Packages: SUNWpcu, SUNWpsu
Patch: 109951-01 Obsoletes: Requires: Incompatibles: Packages: SUNWjwnsu
Tests were run in four locales:
algol% echo $LANG
bg_BG.ISO8859-5
algol% env |grep LC
LC_MONETARY=bg_BG.ISO8859-5
LC_TIME=bg_BG.ISO8859-5
LC_MESSAGES=C
LC_CTYPE=bg_BG.ISO8859-5
LC_COLLATE=bg_BG.ISO8859-5
LC_NUMERIC=bg_BG.ISO8859-5
algol% echo $LANG
mk_MK.ISO8859-5
algol% env |grep LC
LC_MONETARY=mk_MK.ISO8859-5
LC_TIME=mk_MK.ISO8859-5
LC_MESSAGES=C
LC_CTYPE=mk_MK.ISO8859-5
LC_COLLATE=mk_MK.ISO8859-5
LC_NUMERIC=mk_MK.ISO8859-5
algol% echo $LANG
ru_RU.ISO8859-5
algol% env |grep LC
LC_MONETARY=ru_RU.ISO8859-5
LC_TIME=ru_RU.ISO8859-5
LC_MESSAGES=C
LC_CTYPE=ru_RU.ISO8859-5
LC_COLLATE=ru_RU.ISO8859-5
LC_NUMERIC=ru_RU.ISO8859-5
algol% echo $LANG
sr_YU.ISO8859-5
algol% env |grep LC
LC_MONETARY=sr_YU.ISO8859-5
LC_TIME=sr_YU.ISO8859-5
LC_MESSAGES=C
LC_CTYPE=sr_YU.ISO8859-5
LC_COLLATE=sr_YU.ISO8859-5
LC_NUMERIC=sr_YU.ISO8859-5
The program should bring up five panes entitled
(1) AWT Labels, (2) AWT TextFields, (3) Swing Components,
(4) Java2D Stroke, and (5) Java2D Fill.
In each pane there is a grid of Strings. There are 5 rows
and 4 columns. The rows are labelled (1) Serif,
(2) SansSerif, (3) Monospaced, (4) Dialog, and
(5) DialogInput. The columns are labelled (1) Plain,
(2) Italic, (3) Bold, and (4) BoldItalic.
Also on each pane, in the upper right corner, are displayed
the locale and language, where the language is displayed
in the locale's language and is liable to contain non-English
characters.
What happens instead is a core dump:
algol% /usr/local/java/jdk1.4.0/solsparc/bin/java_g -cp . -Djava.compiler=NONE FontTest
default to Motif 2.1, os is: 5.8
Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 136 in java.awt.Component
Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 140 in java.awt.Component
Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 144 in java.awt.Component
Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 148 in java.awt.Component
Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 167 in java.awt.Component
Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 172 in java.awt.Container
Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 220 in java.awt.Window
Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 288 in java.awt.Frame
Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 280 in java.awt.Frame
Locale: bg_BG/\321\352\333\323\320\340\341\332\330
Variant:
Country: BG
User.language: bg
User.region: BG
algol% /usr/local/java/jdk1.4.0/solsparc/bin/java_g -cp . -Djava.compiler=NONE FontTest
/usr/openwin/lib/X11/fonts/TrueType/CourierNew.ttf - CMAP 3,1 found at offset 282.
/usr/openwin/lib/X11/fonts/TrueType/Arial-BoldItalic.ttf - CMAP 3,1 found at offset 282.
/usr/openwin/lib/X11/fonts/TrueType/Arial-Bold.ttf - CMAP 3,1 found at offset 282.
/usr/openwin/lib/X11/fonts/TrueType/CourierNew-BoldItalic.ttf - CMAP 3,1 found at offset 282.
/usr/openwin/lib/X11/fonts/TrueType/CourierNew-Bold.ttf - CMAP 3,1 found at offset 282.
/usr/openwin/lib/X11/fonts/TrueType/CourierNew-Italic.ttf - CMAP 3,1 found at offset 282.
/usr/openwin/lib/X11/fonts/TrueType/Arial-Italic.ttf - CMAP 3,1 found at offset 282.
/usr/openwin/lib/X11/fonts/TrueType/Arial.ttf - CMAP 3,1 found at offset 282.
/usr/openwin/lib/X11/fonts/TrueType/TimesNewRoman.ttf - CMAP 3,1 found at offset 282.
/usr/openwin/lib/X11/fonts/TrueType/TimesNewRoman-BoldItalic.ttf - CMAP 3,1 found at offset 282.
/usr/openwin/lib/X11/fonts/TrueType/TimesNewRoman-Bold.ttf - CMAP 3,1 found at offset 282.
/usr/openwin/lib/X11/fonts/TrueType/TimesNewRoman-Italic.ttf - CMAP 3,1 found at offset 282.
/usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaTypewriterRegular.ttf - CMAP 3,1 found at offset 282.
/usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaTypewriterBold.ttf - CMAP 3,1 found at offset 282.
/usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaTypewriterOblique.ttf - CMAP 3,1 found at offset 282.
/usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaTypewriterBoldOblique.ttf - CMAP 3,1 found at offset 282.
/usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaBrightRegular.ttf - CMAP 3,1 found at offset 282.
/usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaBrightDemiBold.ttf - CMAP 3,1 found at offset 282.
/usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaBrightItalic.ttf - CMAP 3,1 found at offset 282.
/usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaBrightDemiItalic.ttf - CMAP 3,1 found at offset 282.
/usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaSansRegular.ttf - CMAP 3,1 found at offset 282.
/usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaSansDemiBold.ttf - CMAP 3,1 found at offset 282.
/usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaSansOblique.ttf - CMAP 3,1 found at offset 282.
/usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaSansDemiOblique.ttf - CMAP 3,1 found at offset 282.
wDOW=60, wABC=60
Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 128 in sun.java2d.SunGraphics2D
Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 132 in sun.java2d.SunGraphics2D
Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 136 in sun.java2d.SunGraphics2D
Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 204 in java.awt.TextField
awt_motif_getIMStatusHeight: Height = 16
#
# An unexpected exception has been detected in native code outside the VM.
# Program counter=0x160018
#
# Problematic Thread: prio=5 tid=0x3a4a0 nid=0x1 runnable
#
Dumping core....
Abort (core dumped)
allan.jacobs@Eng 2000-12-01
The behavior is completely different with _JAVA_AWT_USE_MOTIF_1_2 set.
I don't know what the correct patches might be - I have the newest
Solaris 8 and the Recommended and Security cluster patches from
November 23. In addition, the Motif (I think) patch 108940-12 was
applied.
The displays are still pretty funky. In bg_BG.ISO8859-5.
(1) The frame that contains the panes seems to use random
number generation to dimension itself.
(2) Every other run leaves the Java2D Fill pane blank. When
this happens, clicking on one of the tabs at the top of the
frame causes the tabs to disappear as well. And, when that
happens the program is frozen and will not even respond to
an ALT-F4.
(3) When the Java2D Fill pane is not blank, the Italic column
contains text that is not positioned correctly.
The other ISO8859-5 locales share behaviors (1) and (2).
allan.jacobs@Eng 2000-12-01
- duplicates
-
JDK-4426472 AWT labels are garbled in a handful of ISO8859-5 locales on Solaris.
-
- Closed
-