Comment # 15 on bug 1117502 from
The culprit is a failure coming from the XCreateIC function. It is creating
message for the IM server and runs out of space in a buffer because of
attribute "fontSet" which is 999 characters long:
"-misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1," .. cut ..
"0-75-75-p-60-iso10646-1" (misc-fixed-bold font with 11 different locales and
some other fonts with other locales).

When I use the en_US locale, that attribute is only 109 bytes long and fits
into the buffer. (Only "iso8859-1" locale, but repeated twice..)

I am not an expert on XIM, but as I understand it, it is trying to get input
method capable of writing all those charsets. The IM code in libX11 is big
mess, I don't dare to touch it to implement some dynamic resizing.

I tried to increase the size of the buffer and it fixed the issue. I think
that's our best way forward, considering that it is rather legacy software.


You are receiving this mail because: