Bug 673047 - [abrt] ibus-1.3.9-2.fc14: ibus_xkb_get_current_layout: Process /usr/libexec/ibus-xkb was killed by signal 6 (SIGABRT)
Summary: [abrt] ibus-1.3.9-2.fc14: ibus_xkb_get_current_layout: Process /usr/libexec/i...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus
Version: 14
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: fujiwara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:f2ce5b80424e0f0c58006ba6bed...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-27 07:25 UTC by kang.junghan
Modified: 2011-03-17 18:51 UTC (History)
4 users (show)

Fixed In Version: ibus-1.3.9-3.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-14 05:39:31 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (3.22 KB, text/plain)
2011-01-27 07:25 UTC, kang.junghan
no flags Details

Description kang.junghan 2011-01-27 07:25:34 UTC
abrt version: 1.1.14
architecture: i686
Attached file: backtrace
cmdline: /usr/libexec/ibus-xkb --get
component: ibus
crash_function: ibus_xkb_get_current_layout
executable: /usr/libexec/ibus-xkb
kernel: 2.6.35.10-74.fc14.i686
package: ibus-1.3.9-2.fc14
rating: 4
reason: Process /usr/libexec/ibus-xkb was killed by signal 6 (SIGABRT)
release: Fedora release 14 (Laughlin)
time: 1296156459
uid: 0

How to reproduce
-----
1.특이사항 잘 모르겠습니다.
2.
3.

Comment 1 kang.junghan 2011-01-27 07:25:38 UTC
Created attachment 475544 [details]
File: backtrace

Comment 2 fujiwara 2011-01-28 01:18:02 UTC
kang.junghan:

Do you see any warnings or errors when you run ibus-xkb on a terminal by manual?

% /usr/libexec/ibus-xkb --get
layout: us
model: 
option: 

Maybe I guess your system might not support XKB.

Comment 3 fujiwara 2011-02-03 09:59:05 UTC
kang.junghan:

Do you have any updates?

Comment 4 David Björkevik 2011-03-01 08:38:34 UTC
Package: ibus-1.3.9-2.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. Start GNOME in a thinlinc (vnc) session

Comment 5 David Björkevik 2011-03-01 08:41:02 UTC
As in comment 4, this happens in a VNC session.

[david@peregrine ~]$ /usr/libexec/ibus-xkb --get

** (ibus-xkb:5657): WARNING **: Could not get state
**
ERROR:xkblib.c:245:ibus_xkb_get_current_layout: assertion failed: (default_layouts != NULL)
Aborted (core dumped)

Comment 6 David Björkevik 2011-03-01 09:09:06 UTC
According to a Thinlinc developer, the crash happens because their VNC server is combiled without XKB-support. It would be nice for ibus-xkb to handle this case more gracefully than a SIGABRT.

Comment 7 fujiwara 2011-03-01 09:20:04 UTC
(In reply to comment #5)
> As in comment 4, this happens in a VNC session.
> 
> [david@peregrine ~]$ /usr/libexec/ibus-xkb --get
> 
> ** (ibus-xkb:5657): WARNING **: Could not get state
> **
> ERROR:xkblib.c:245:ibus_xkb_get_current_layout: assertion failed:
> (default_layouts != NULL)
> Aborted (core dumped)

Thanks for the report.
It seems the VNC session doesn't use the core keyboard and XkbGetState (xdisplay, XkbUseCoreKbd, &state) was failed.

I'll remove it. 
Also could you check if the _XKB_RULES_NAMES atom is available on your VNC session?

% xlsatoms | grep _XKB_RULES_NAMES
262	_XKB_RULES_NAMES

Comment 8 David Björkevik 2011-03-01 09:26:11 UTC
Thanks!

The atom doesn't seem to be present:

[david@peregrine ~]$ xlsatoms | grep _XKB_RULES_NAMES
[david@peregrine ~]$

Comment 9 fujiwara 2011-03-01 09:33:30 UTC
(In reply to comment #8)

Oh, it seems the session doesn't support XKB completely.
Thanks for your info.

Comment 10 Fedora Update System 2011-03-11 18:52:52 UTC
ibus-1.3.99.20110228-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/ibus-1.3.99.20110228-2.fc15

Comment 11 Fedora Update System 2011-03-11 18:53:00 UTC
ibus-1.3.9-3.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/ibus-1.3.9-3.fc14

Comment 12 Fedora Update System 2011-03-14 05:39:26 UTC
ibus-1.3.99.20110228-2.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2011-03-17 18:51:31 UTC
ibus-1.3.9-3.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


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