[Bug 902780] Re: gnome-control-center Keyboard Layout and User Accounts modules crash under IceWM
Sebastien Bacher
seb128 at ubuntu.com
Wed Dec 14 15:45:25 UTC 2011
Thank you for your bug report and work, I've fixed the issue differently
just using g_strcmp0 which handles null arguments correctly
** Changed in: gnome-control-center (Ubuntu)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/902780
Title:
gnome-control-center Keyboard Layout and User Accounts modules crash
under IceWM
Status in “gnome-control-center” package in Ubuntu:
Fix Released
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/902780/+subscriptions
More information about the Ubuntu-sponsors
mailing list