[Bug 902780] [NEW] gnome-control-center Keyboard Layout and User Accounts modules crash under IceWM

Launchpad Bug Tracker 902780 at bugs.launchpad.net
Mon Dec 12 10:26:34 UTC 2011


You have been subscribed to a public bug by Sebastien Bacher (seb128):

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


** Tags: patch
-- 
gnome-control-center Keyboard Layout and User Accounts modules crash under IceWM
https://bugs.launchpad.net/bugs/902780
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list