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

javaws crashes when using UTF-8 base locales

XMLWordPrintable

    • generic
    • solaris_nevada

      Category
         openi18n-im
      Sub-Category
         auxiliary
      Description
         javaws crashes when startrd on snvx_b69 using en_US.UTF-8 as the locale
      On snvx_b69:
      bash-3.00$ locale
      LANG=en_US.UTF-8
      LC_CTYPE="en_US.UTF-8"
      LC_NUMERIC="en_US.UTF-8"
      LC_TIME="en_US.UTF-8"
      LC_COLLATE="en_US.UTF-8"
      LC_MONETARY="en_US.UTF-8"
      LC_MESSAGES=en_US.UTF-8
      LC_ALL=
      bash-3.00$ /usr/j2re1.4.2/javaws/javaws
      bash-3.00$ ld.so.1: java: fatal: relocation error: file /usr/openwin/lib/locale/common/xomLTRTTB.so.2: symbol XrmStringToQuark: referenced symbol not found
      If I change the locale to en_US.ISO8859-15, things work OK
      bash-3.00$ locale
      LANG=en_US.ISO8859-15
      LC_CTYPE="en_US.ISO8859-15"
      LC_NUMERIC="en_US.ISO8859-15"
      LC_TIME="en_US.ISO8859-15"
      LC_COLLATE="en_US.ISO8859-15"
      LC_MONETARY="en_US.ISO8859-15"
      LC_MESSAGES=en_US.ISO8859-15
      LC_ALL=
      bash-3.00$ /usr/j2re1.4.2/javaws/javaws
      I check on snvx_b64a, where I could NOT reproduce the problem
      J2RE 1.6 and 1.5 works ok so it's limited to 1.4.2. I have tested with both 1.4.2_14 and 1.4.2_15 and in both cases I could reproduce the issue
      Frequency
         Always
      Regression
         No
      Steps to Reproduce
         On snvx_b69:
      bash: export LANG=en_US.UTF-8
      bash-3.00$ locale
      LANG=en_US.UTF-8
      LC_CTYPE="en_US.UTF-8"
      LC_NUMERIC="en_US.UTF-8"
      LC_TIME="en_US.UTF-8"
      LC_COLLATE="en_US.UTF-8"
      LC_MONETARY="en_US.UTF-8"
      LC_MESSAGES=en_US.UTF-8
      LC_ALL=
      bash-3.00$ /usr/j2re1.4.2/javaws/javaws
      Expected Result
         javaws console window comes up
      Actual Result
         javaws coredumps
      Error Message(s)
         ld.so.1: java: fatal: relocation error: file /usr/openwin/lib/locale/common/xomLTRTTB.so.2: symbol XrmStringToQuark: referenced symbol not found
      Test Case
         
      Workaround
         prior to start javaws set your locale to an acceptable 8- or 7-bit locale
      Submitter wants to work on bug
         No
      Additional configuration information
         -bash-3.00# cat /etc/release
                         Solaris Express Community Edition snv_69 X86
                 Copyright 2007 Sun Microsystems, Inc. All Rights Reserved.
                              Use is subject to license terms.
                                   Assembled 16 July 2007
      HW: Acer Ferrar 4005i

            Unassigned Unassigned
            bcorwin Bonnie Corwin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: