[Bug 1364778] [NEW] Z-Shell breaks im-config configuration scripts, making input method malfunction

V字龍(Vdragon) Vdragon.Taiwan at gmail.com
Wed Sep 3 06:36:06 UTC 2014


Public bug reported:

I suddenly find out my Chinese input method failed to work properly
after I switched to KDM X display manager(or, the login screen).  During
debugging I found that if I sourced the im-config XSession sourced
script manually with Zsh with debugging enabled it will prematurely jump
out of /usr/share/im-config/data/25_hime.rc 's logic, which eventually
wrongly set the environmental variables making the input method
malfunctions.

Although it seems to be KDM's bug that uses my default shell(Zsh) to run
the XSession script, it seems abnormal for Zsh to fail at that script
also, thus here's the bug report.

The /usr/share/im-config/data/25_hime.rc script on my system is
attached, and with the execution result of Zsh with debugging enabled.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: zsh 5.0.2-3ubuntu6
ProcVersionSignature: Ubuntu 3.13.0-35.62-lowlatency 3.13.11.6
Uname: Linux 3.13.0-35-lowlatency i686
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: i386
CurrentDesktop: KDE
Date: Wed Sep  3 14:17:01 2014
InstallationDate: Installed on 2013-03-08 (543 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release i386 (20121017.2)
SourcePackage: zsh
UpgradeStatus: Upgraded to trusty on 2014-04-19 (137 days ago)

** Affects: zsh (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 trusty

** Attachment added: "The /usr/share/im-config/data/25_hime.rc script on my system"
   https://bugs.launchpad.net/bugs/1364778/+attachment/4193983/+files/_usr_share_im-config_data_25_hime.rc

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to zsh in Ubuntu.
https://bugs.launchpad.net/bugs/1364778

Title:
  Z-Shell breaks im-config configuration scripts, making input method
  malfunction

Status in “zsh” package in Ubuntu:
  New

Bug description:
  I suddenly find out my Chinese input method failed to work properly
  after I switched to KDM X display manager(or, the login screen).
  During debugging I found that if I sourced the im-config XSession
  sourced script manually with Zsh with debugging enabled it will
  prematurely jump out of /usr/share/im-config/data/25_hime.rc 's logic,
  which eventually wrongly set the environmental variables making the
  input method malfunctions.

  Although it seems to be KDM's bug that uses my default shell(Zsh) to
  run the XSession script, it seems abnormal for Zsh to fail at that
  script also, thus here's the bug report.

  The /usr/share/im-config/data/25_hime.rc script on my system is
  attached, and with the execution result of Zsh with debugging enabled.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: zsh 5.0.2-3ubuntu6
  ProcVersionSignature: Ubuntu 3.13.0-35.62-lowlatency 3.13.11.6
  Uname: Linux 3.13.0-35-lowlatency i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.14.1-0ubuntu3.3
  Architecture: i386
  CurrentDesktop: KDE
  Date: Wed Sep  3 14:17:01 2014
  InstallationDate: Installed on 2013-03-08 (543 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release i386 (20121017.2)
  SourcePackage: zsh
  UpgradeStatus: Upgraded to trusty on 2014-04-19 (137 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zsh/+bug/1364778/+subscriptions



More information about the foundations-bugs mailing list