[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#334223: kdesktop_lock segfaults if Japanese characters are entered in login dialog, using XIM



Package: kdesktop
Version: 4:3.4.2-3
Severity: normal

After kdesktop_lock --forcelock is started, and the screen is locked, if
Japanese UTF-8 characters are entered, it crashes with a segfault and
unlocks the screen.

This is reproducible 100% on my system.
I have installed packages scim and scim-canna, started using im-switch,
i.e. the following commands are started:
/usr/sbin/cannaserver -u canna
/usr/bin/scim -d

The following environment variables are set:
LANG=fr_FR.UTF-8
LC_CTYPE=ja_JP.UTF-8
XMODIFIERS=@im=SCIM
GTK_IM_MODULE=scim

This configuration works very fine for typing Japanese in any X app,
including KDE apps.

Here is how I can predictably produce the bug:
1- start kdesktop_lock --forcelock (as it is started by KDE's lock
   button applet)
2- move the mouse to make the dialog appear
3- type CTRL+SPACE, to activate scim: the scim panel appears, and
   "Canna" should be selected as an IM method
4- type a few random characters (not the user password)
5- type ENTER: kdesktop_lock crashes with a segfault, which unlocks
   the screen

Maybe this bug appears with other UTF-8 CTYPE locales (not only
Japanese), and other X Input Method (not only scim), but I have not
tested.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.2-pentiumm-ipipe
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)

Versions of packages kdesktop depends on:
ii  kdebase-bin               4:3.4.2-3      core binaries for the KDE base mod
ii  kdelibs4c2                4:3.4.2-4      core libraries for all KDE applica
ii  libart-2.0-2              2.3.17-1       Library of functions for 2D graphi
ii  libaudio2                 1.7-3          The Network Audio System (NAS). (s
ii  libc6                     2.3.5-6        GNU C Library: Shared libraries an
ii  libfontconfig1            2.3.2-1        generic font configuration library
ii  libfreetype6              2.1.10-1       FreeType 2 font engine, shared lib
ii  libgcc1                   1:4.0.2-2      GCC support library
ii  libglu1-xorg [libglu1]    6.8.2.dfsg.1-7 Mesa OpenGL utility library [X.Org
ii  libice6                   6.8.2.dfsg.1-7 Inter-Client Exchange library
ii  libidn11                  0.5.18-1       GNU libidn library, implementation
ii  libjpeg62                 6b-10          The Independent JPEG Group's JPEG 
ii  libkonq4                  4:3.4.2-3      core libraries for Konqueror
ii  libpng12-0                1.2.8rel-5     PNG library - runtime
ii  libqt3-mt                 3:3.3.5-1      Qt GUI Library (Threaded runtime v
ii  libsm6                    6.8.2.dfsg.1-7 X Window System Session Management
ii  libstdc++6                4.0.2-2        The GNU Standard C++ Library v3
ii  libx11-6                  6.8.2.dfsg.1-7 X Window System protocol client li
ii  libxcursor1               1.1.3-1        X cursor management library
ii  libxext6                  6.8.2.dfsg.1-7 X Window System miscellaneous exte
ii  libxft2                   2.1.7-1        FreeType-based font drawing librar
ii  libxi6                    6.8.2.dfsg.1-7 X Window System Input extension li
ii  libxinerama1              6.8.2.dfsg.1-7 X Window System multi-head display
ii  libxrandr2                6.8.2.dfsg.1-7 X Window System Resize, Rotate and
ii  libxrender1               1:0.9.0-2      X Rendering Extension client libra
ii  libxss1                   6.8.2.dfsg.1-7 X Screen Saver client-side library
ii  libxt6                    6.8.2.dfsg.1-7 X Toolkit Intrinsics
ii  libxxf86misc1             6.8.2.dfsg.1-7 X miscellaneous extensions library
ii  xlibmesa-gl [libgl1]      6.8.2.dfsg.1-7 Mesa 3D graphics library [X.Org]
ii  xlibs                     6.8.2.dfsg.1-7 X Window System client libraries m
ii  zlib1g                    1:1.2.3-4      compression library - runtime

Versions of packages kdesktop recommends:
ii  eject                       2.0.13deb-16 ejects CDs and operates CD-Changer

-- no debconf information



Reply to: