On Tue, Mar 23, 2004 at 10:18:09AM +0500, Viktor Vislobokov wrote:
> Hello All.
>
> If anybody has interest.
Yes we are interested. Thanks for the bug report.
> I have ru_RU.UTF-8 locale. FvwmTaskBar is crashes when windows title has
> Russian letters and long (For example while read mail in Mozilla). May
> be, some peaple have same problem with Unicode locales.
>
I can reproduce this with a non UTF-8 local (I use fr_FR):
*FvwmTaskBar: Font "StringEncoding=UTF-8:-*-fixed-*-iso10646-1"
xterm -T "ייייייייייייייייייייייייייייייייייייייייייייייייייייייייי" \
-e sleep 10000
Of course this xterm Title may do not give a valid UTF-8 string.
Any way even with a valid UTF-8 string some code in FvwmTaskBar
(ButtonArray.c (ButtonDraw)) can pass invalid UTF-8 strings to
Flocale.c by testing the width (in pixel) and rendering a string
truncated at any "byte" position (FvwmWinList, FvwmScript and
FvwmForm also use such code). I think (strongly) that this is
the origin of the core dump.
This should be fixed in Flocale.c. However, it seems that
CombineChar does not support at all this situation. If I disable
CombineChar I cannot reproduce the core dump (which gives no
interesting gdb output).
Marcus, can you take a look?
Regards, Olivier
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Sun Mar 28 2004 - 16:26:57 BST