Bug 214049 - keyboard indicator seg fault
keyboard indicator seg fault
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: libxklavier (Show other bugs)
All Linux
medium Severity high
: ---
: ---
Assigned To: Ray Strode [halfline]
Depends On: 213419
  Show dependency treegraph
Reported: 2006-11-04 23:26 EST by Matthias Clasen
Modified: 2007-11-30 17:07 EST (History)
2 users (show)

See Also:
Fixed In Version: 5.0.0
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-11-09 20:47:17 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Matthias Clasen 2006-11-04 23:26:22 EST
+++ 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):

How reproducible:

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:

-- Additional comment from lapham@jandr.org on 2006-11-01 13:03 EST --
Novell bug that sounds exactly like my problem:

Possible upstream gnome bug:

-- Additional comment from vflorins@ucr.edu on 2006-11-01 15:46 EST --
Created an attachment (id=140032)
bug report from gnome-keyboard-applet

Confirm bug with gnome-applets-

-- Additional comment from lapham@jandr.org on 2006-11-04 08:00 EST --
Okay, Sergey found the problem.  It is with libxklavier, not gnome keyboard

See this:

To fix, you need to recompile v3.0 of libxklavier changing line 264:

if (nodes != NULL && nodes->nodeTab != NULL) {
if (nodes != NULL && nodes->nodeTab != NULL && nodes->nodeNr > 0) {

-- Additional comment from konstantin.sharlaimov@gmail.com 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.
Comment 1 Matthias Clasen 2006-11-04 23:28:24 EST
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.
Comment 2 RHEL Product and Program Management 2006-11-04 23:44:13 EST
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.
Comment 3 Matthias Clasen 2006-11-06 12:04:48 EST
fix is in libxklavier-3.0-2.el, r-e mail sent
Comment 4 Nicole Dai 2006-11-09 20:45:56 EST
Reproduced a crash with gnome-applets- 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- 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.

Note You need to log in before you can comment on or make changes to this bug.