#162338 xcb doesn't like ISO-8859-15 locales

Package:
xcb
Source:
xcb
Description:
Manipulate X server cut and paste buffers/selections
Submitter:
"Heikki Kantola"
Date:
2010-03-10 20:06:03 UTC
Severity:
important
#162338#5
Date:
2002-09-25 21:22:03 UTC
From:
To:
When I try to launch xcb with fi_FI (or *@euro, which all apparently
use ISO-8859-15 charset) locale, I get error message:

 Warning: Missing charsets in String to FontSet conversion
 Warning: Cannot convert string "fixed" to type FontSet

And as a result I see no text in the cut buffer slots.

#162338#10
Date:
2002-09-26 06:59:10 UTC
From:
To:
Le Thu, Sep 26, 2002, à 12:22:03AM +0300, Heikki Kantola a écrit:

I could reproduce this.

I'll try to come up shortly with a fix.

#162338#15
Date:
2003-09-02 19:57:03 UTC
From:
To:
hello cyrille!

in your mail from 26 Sep 2002 about xcb you wrote that you could come up
with a fix.

as i adopted this package i'm interested in getting this bug fixed.
do you have the fix handy?
could you please send it to me?

thanks in advance.

cu, ms

#162338#20
Date:
2004-05-24 01:07:50 UTC
From:
To:
tags 162338 +upstream
thanks

Hello Heikki!

I didn't hear anything from Cyrille, so I tried to reproduce the bug.

if LC_CTYPE="fi_FI.ISO-8859-15@euro" is set, xcb still doesn't show the
pastebuffer content. It does not show any errormsgs here.

I'll forward the bug to upstream soon.

Meantime fix: call xcb with:
$ LC_CTYPE="POSIX" xcb

and you should be happy.

As this bug is rather old, if you came up with an fix for this, please
send me the patch.

Thanks for reporting,
ms

#162338#27
Date:
2006-08-31 09:41:27 UTC
From:
To:
I can acknowledge this bug:

LC_CTYPE=de_DE xcb       # Everything ok.
LC_CTYPE=de_DE@euro xcb  # No error messages, but contents of cut buffers
                         # are white on white. The buffers seem to work,
                         # but their content is plain white with no
                         # text.
LC_CTYPE=de_DE.UTF8 xcb  # Causes 3 seconds of 100 % CPU load, but works.

As this bug is nearly 4 years old, I wonder if this package is still
maintained.

If this bug is a problem of one of xcb's libraries, move this report.

#162338#32
Date:
2010-03-10 12:25:11 UTC
From:
To:
FWIW,

LC_CTYPE=de_DE.ISO-8859-15@euro DISPLAY=:0 gdb xcb

Missing charsets in String to FontSet conversion (ISO8859-15)
Missing charsets in String to FontSet conversion (ISO8859-15)

Program received signal SIGSEGV, Segmentation fault.
cb_initialize (req=0xbffff758, wdg=0x80644d8, args=0xbffffc1c,
nargs=0xbffff728)
    at xcb.c:450
450       cb->font_width = xfe->max_logical_extent.width;
(gdb) bt
#0  cb_initialize (req=0xbffff758, wdg=0x80644d8, args=0xbffffc1c,
    nargs=0xbffff728) at xcb.c:450
#1  0xb7f2a729 in ?? () from /usr/lib/libXt.so.6
#2  0xb7f2b1bc in ?? () from /usr/lib/libXt.so.6
#3  0xb7f2bad5 in _XtCreateWidget () from /usr/lib/libXt.so.6
#4  0xb7f2bea4 in XtCreateWidget () from /usr/lib/libXt.so.6
#5  0x0804aac5 in init (argc=1, argv=0xbffffd34) at xcb.c:1245
#6  main (argc=1, argv=0xbffffd34) at xcb.c:1357

regards

	Stefan

#162338#37
Date:
2010-03-10 20:04:13 UTC
From:
To:
On my sid machine

	apt-get install xfonts-100dpi-transcoded

fixed it.

	Stefan