OpenSolaris

Printable Version Enter a New Search
Bug ID 6209243
Synopsis s10_73 sample locale testing get segmentation faults
State 10-Fix Delivered (Fix available in build)
Category:Subcategory xserver:libx11
Keywords s10-reviewd | s10-reviewed
Responsible Engineer Derek Wang
Reported Against
Duplicate Of
Introduced In
Commit to Fix snv_06
Fixed In snv_06
Release Fixed solaris_nevada(snv_06)
Related Bugs 6193545 , 6210005 , 6215529
Submit Date 15-December-2004
Last Update Date 16-January-2007
Description
After install s10_73 on the Opteron(64 bit) system.
I ran some 32/64 bit test on all the locales for that system.
There are four tests.
login to C locale and run sample32/sample64.
login to zh_TW.UTF-8 locale and run sample32/sample64.
The below locales generated segmentation faults.

sample64 test:
   under C locale all is clean except el_GR.ISO8859-7@euro.
   under zh_TW.UTF-8 locale all is clean except
                 bg_BG
                 bg_BG.ISO8859-5
                 mk_MK
                 mk_MK.ISO8859-5
                 ru
                 ru_RU
                 ru_RU.ISO8859-5
                 sr_SP
                 sr_YU.ISO8859-5

sample32 test:
   zh_TW.UTF-8/C got all the above core dump plus more.

Machine kimhot.sfbay has all the locales installed.
The 64 bit sample64 is compiled with
    CFLAGS        += -xarch=amd64
/net/guild.sfbay/export/D0/train_src/vulcan/dist/intel-S2/bin/cc

All test files is under /var/tmp
source - sample.c
program - sample32/sample64
run scripts - amdtest

some error messages as below:

Warning: Cannot convert string "-dt-interface system-medium-r-normal-s*utf*-*-*-*-*-*-*-*-*" to type FontSet
Warning: Unable to load any usable fontset
Warning:
    Name: FONTLIST_DEFAULT_TAG_STRING
    Class: XmRendition
    Conversion failed.  Cannot load font.

Warning:
    Name: FONTLIST_DEFAULT_TAG_STRING
    Class: XmRendition
    Conversion failed.  Cannot load font.

Warning: Cannot convert string "-dt-interface user-medium-r-normal-s*utf*-*-*-*-*-*-*-*-*" to type FontSet
Warning: Unable to load any usable fontset
Warning:
    Name: FONTLIST_DEFAULT_TAG_STRING
    Class: XmRendition
    Conversion failed.  Cannot load font.

Warning:
    Name: FONTLIST_DEFAULT_TAG_STRING
    Class: XmRendition
    Conversion failed.  Cannot load font.

Warning:
    Name: FONTLIST_DEFAULT_TAG_STRING
    Class: XmRendition
    Conversion failed.  Cannot load font.

Segmentation Fault 

Please login to kimhot.sfbay
cd /var/tmp to take a look.
hsuan- xxxxx@xxxxx.com 2004-12-15 22:38:26 GMT

I believe what HK is saying is that once you logged in with
C locale for instance and do something like the following:

	env LANG=el_GR.ISO8859-7@euro ./sample32

then you will see the core dump. Also, just for as an additional
info, el_GR.ISO8859-7@euro requires ISO8859-1 and suneu-greek fonts
as the fontset of the locale but in either of the locales,
fonts that have the suneu-greek font as font charset do not exist.
 xxxxx@xxxxx.com 2004-12-15 23:57:50 GMT

According to my understan
qiu- xxxxx@xxxxx.com 2004-12-16 07:55:06 GMT
Work Around
N/A
Comments
N/A