GNOME Bugzilla – Bug 618709
gnome-settings-daemon crashes when viewing non-default keyboard layout
Last modified: 2010-06-17 22:02:15 UTC
Created attachment 161122 [details] [review] patch solving the problem In recent fedora 13 with libgnomekbd 2.30.1 rightclicking on the keyboard indicator and then choosing view keyboard layout for any non-default layout crashes gnome-settings-daemon. The abrt backtrace says that it crases in cairo_move somewhere. I started to trace it a little bit and found out that in function xkb_state_notify_event_filter in gkbd-keyboard-drawing.c the function create_cairo is called when drawing->pixmap is NULL. It then creates non-valid cairo context ... crash I do not understand the xkb_state_notify_event_filter function, but the following patch solves (or goes around) the problem.
It is actually solution, but not 100% correct. Could you please try libgnomekbd from git. Especially this patch: http://git.gnome.org/browse/libgnomekbd/commit/?id=6ab1ce6cdcc1ba09648954a1cb82541f68db39f3 If that works, I'll backport it to 2.30.
The libgnomekbd from git works, thanks.
can you backport the fix to the stable serie now?
Sebastien, backported as http://git.gnome.org/browse/libgnomekbd/commit/?h=gnome-2-30&id=e0a9f2226b2468c07bd1f4595b6edab5848efed2