Public bug reported:

Ubuntu 11.10 patched to the minute with oneiric-proposed
Specifically, gnome-control-center 1:3.2.2-0ubuntu1; icewm 1.3.7-1

Cause: IceWM does not set environment variable $XDG_CURRENT_DESKTOP;
gnome-control-center relies on this variable to be set.  Crash happens because
it tries to dereference a null pointer returned by getenv().

The bug (actually two bugs) is introduced by the Ubuntu patches
10_keyboard_layout_on_unity.patch and 53_use_ubuntu_help.patch.

TO REPRODUCE under any window manager:

   $ env -u XDG_CURRENT_DESKTOP gnome-control-center
   [ click on Keyboard Layout ]
   [ OR click on Keyboard, then Layout Settings ]
   [ OR click on User Accounts ]

Patch attached.  The patch makes gnome-control-center treat a missing
$XDG_CURRENT_DESKTOP the same as an empty value.

** Affects: gnome-control-center (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  gnome-control-center Keyboard Layout and User Accounts modules crash
  under IceWM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/902780/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to