Bugzilla – Bug 116475
windowmaker crashes with ru_RU.UTF-8 locale set
Last modified: 2005-09-13 10:01:48 UTC
I've used windowmaker for years from freebsd system. Now I use suse/sles at work and at home. windowmaker0.92 works well on my old suse9.3pro box. I've tried to launch it on 10.0rc1. unfortunately, I have got strange bug. wmaker launching, I can see background image with small window on it - "FATAL ERROR, wmaker got signal 6, probably due to a bug e.t.c." and menu with abort with core/restart/exit". and I see "*** buffer overflow detected ***: wmaker terminated" in my console. I've tried to launch X with wmaker under root account and it works perfectly. I've drop this problem for an hour and rebuild windowmaker from srpm with "--enable-modelock" configure key (I like wmaker keyboard indicator) and reinstall it. Unfortunately, wmaker doesn't work under ordinary user. I tried to understand what the difference between root and other user environment and discovered (IMHO) the reason - locale setting. I've tried to add "exec wmaker --no-polling --locale C" to my .xinitrc and, oh, the windowmaker launched (of course with non-localized menus and so on). I've tried to change users locale to en_US.UTF-8 and windowmaker worked again. I switched locale back to ru_RU.UTF-8 and wmaker crashed again. I remove sef-build wmaker and installed original package, but it still didn't work with my locale. So, I've added strace output and wrote this bug report :) You can found strace output at http://test.obltelecom.ru/wmaker.strace Packages list available at http://test.obltelecom.ru/packages.list /home/lslarry> uname -a Linux susepro 2.6.13-3-default #1 Mon Aug 29 19:48:23 UTC 2005 i686 i686 i386 GNU/Linux /home/lslarry> cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Pentium(R) 4 CPU 1.70GHz stepping : 4 cpu MHz : 1694.828 cache size : 512 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm bogomips : 3393.07 /home/lslarry> gcc -v Using built-in specs. Target: i586-suse-linux Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,f95,java,ada --disable-checking --with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-java-awt=gtk --disable-libjava-multilib --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit --without-system-libunwind --host=i586-suse-linux Thread model: posix gcc version 4.0.2 20050901 (prerelease) (SUSE Linux) I use compaq evo ws this bug report available as http://test.obltelecom.ru/suse-bug.txt
MAX_WORKSPACENAME_WIDTH was too small for some russian texts in UTF-8. I increased it to 64.