+++ This bug was initially created as a clone of Bug #213419 +++ Description of problem: If you add a second keyboard layout (eg: US International), you get a seg fault. Version-Release number of selected component (if applicable): gnome-applets-2.16.0.1-10.fc6.i386 How reproducible: always Steps to Reproduce: 1. add keyboard indicator to panel 2. right click, keyboard preferences 3. layouts tab -> add 4. select any other keyboard layout (I use US International) Actual results: Crash dialog Expected results: no crash Additional info: I see this on my up to date FC6 machine, both i386 and x86_64. I have applied the gnome-applets update (ie: 2.16.0.1-10). -- Additional comment from lapham on 2006-11-01 13:03 EST -- Novell bug that sounds exactly like my problem: https://bugzilla.novell.com/show_bug.cgi?id=216201 Possible upstream gnome bug: http://bugzilla.gnome.org/show_bug.cgi?id=351395 -- Additional comment from vflorins on 2006-11-01 15:46 EST -- Created an attachment (id=140032) bug report from gnome-keyboard-applet Confirm bug with gnome-applets-2.16.0.1-10.fc6 -- Additional comment from lapham on 2006-11-04 08:00 EST -- Okay, Sergey found the problem. It is with libxklavier, not gnome keyboard indicator. See this: http://bugzilla.gnome.org/show_bug.cgi?id=370038 To fix, you need to recompile v3.0 of libxklavier changing line 264: if (nodes != NULL && nodes->nodeTab != NULL) { to if (nodes != NULL && nodes->nodeTab != NULL && nodes->nodeNr > 0) { -- Additional comment from konstantin.sharlaimov on 2006-11-04 17:56 EST -- There is an src rpm made available (see the http://bugzilla.gnome.org/show_bug.cgi?id=370038), and I've also created x86_64 rpm.
I've built the one line fix for this possible crash in FC6 and rawhide, and I think we should also take it for RHEL5.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering. This request is not yet committed for inclusion in release.
fix is in libxklavier-3.0-2.el, r-e mail sent
Reproduced a crash with gnome-applets-2.16.0.1-10.el5 and libxklavier-3.0-1.fc6 with the following steps: 1.add keyboard indicator to panel 2.right-click-->keyboard preferences It crashes immediately. Retested the following steps with gnome-applets-2.16.0.1-11.el5 and libxklavier-3.0-1.fc6 on RHEL5-Client-20061108.nightly: 1. add keyboard indicator to panel 2. right click, keyboard preferences 3. layouts tab -> add 4. select any other keyboard layout (Iuse US International and France Alternative) No crash was found. Verified the crash has been fixed.