ibus-tegaki crashes iBus on Ubuntu Oneiric

Bug #882702 reported by dreamon
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ibus
Invalid
Undecided
Unassigned
ibus-tegaki (Fedora)
Fix Released
Undecided
ibus-tegaki (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I am using Tegaki with iBus on a fresh install of Ubuntu 11.10 Oneiric (32 bit, US English) on my Samsung Anynet N130 netbook (Intel Atom, 1GB RAM) running the Xubuntu (XFCE) desktop. I have three input methods installed: "Chinese - Pinyin", "Japanese - Anthy" and "Other - tegaki". Tegaki frequently crashes iBus, requiring the user to restart it. This does not happen when running the same version of ibus-tegaki on Natty, although I am using GNOME (Classic) on a 64 bit architecture there.

Steps to reproduce:
1. Set cursor to a text box, activate iBus via Ctrl + Space
2. Switch through input methods using Alt + Shift or the iBus tray icon

Expected result: Tegaki's drawing pad should open, allowing me to draw a character. I should then be able to select another input method, with Tegaki's drawing pad closing automatically.

What happened instead: When activating Tegaki, iBus crashes. Sometimes Tegaki actually starts and shows the drawing pad, but then either Tegaki's drawing pad remains open or iBus crashes when selecting another input method. Crashes are more frequent when using keyboard shortcuts (Alt + Shift).

$lsb_release -rd
Description: Ubuntu 11.10
Release: 11.10
$ apt-cache policy ibus-tegaki
ibus-tegaki:
  Installed: 0.3.1-1
  Candidate: 0.3.1-1
  Version table:
 *** 0.3.1-1 0
        500 http://de.archive.ubuntu.com/ubuntu/ oneiric/universe i386 Packages
        100 /var/lib/dpkg/status

Terminal output:
$ ibus-daemon
**
IBUS:ERROR:ibuskeymap.c:282:ibus_keymap_lookup_keysym: assertion failed: (IBUS_IS_KEYMAP (keymap))
Aborted
$

Revision history for this message
In , Insang (insang-redhat-bugs) wrote :
Download full text (22.8 KiB)

abrt version: 2.0.3
architecture: x86_64
backtrace_rating: 4
cmdline: /usr/bin/ibus-daemon -r --xim
component: ibus
crash_function: ibus_keymap_lookup_keysym
executable: /usr/bin/ibus-daemon
kernel: 2.6.38.8-32.fc15.x86_64
os_release: Fedora release 15 (Lovelock)
package: ibus-1.3.99.20110419-7.fc15
reason: Process /usr/bin/ibus-daemon was killed by signal 6 (SIGABRT)
time: Sun Jul 3 15:05:07 2011
uid: 500
username: routitz

backtrace:
:[New LWP 5143]
:[New LWP 5152]
:[New LWP 5146]
:[Thread debugging using libthread_db enabled]
:Core was generated by `/usr/bin/ibus-daemon -r --xim'.
:Program terminated with signal 6, Aborted.
:#0 0x0000003bcb2352d5 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
:64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
: in ../nptl/sysdeps/unix/sysv/linux/raise.c
:
:Thread 3 (Thread 0x7ff89e401700 (LWP 5146)):
:#0 0x0000003bcba0dfdd in read () at ../sysdeps/unix/syscall-template.S:82
:No locals.
:#1 0x0000003bcd24468b in read (__nbytes=20, __buf=0x7ff89e400db0, __fd=<optimized out>) at /usr/include/bits/unistd.h:45
:No locals.
:#2 child_watch_helper_thread (data=<optimized out>) at gmain.c:4315
: b = "B", '\000' <repeats 18 times>
: list = <optimized out>
:#3 0x0000003bcd2683a6 in g_thread_create_proxy (data=0x1a19b60) at gthread.c:1955
: thread = 0x1a19b60
: __PRETTY_FUNCTION__ = "g_thread_create_proxy"
:#4 0x0000003bcba07af1 in start_thread (arg=0x7ff89e401700) at pthread_create.c:305
: __res = <optimized out>
: pd = 0x7ff89e401700
: now = <optimized out>
: unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 6959905114855384949, 140737403095296, 140705783617984, 0, 3, -6960400825512286347, 6980891217118832501}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
: not_first_call = 0
: pagesize_m1 = <optimized out>
: sp = <optimized out>
: freesize = <optimized out>
:#5 0x0000003bcb2dfddd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
:No locals.
:
:Thread 2 (Thread 0x7ff89d3ff700 (LWP 5152)):
:#0 0x0000003bcb2d74f3 in __poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
: resultvar = <optimized out>
: oldtype = 0
: result = <optimized out>
:#1 0x0000003bcd242d24 in g_main_context_poll (n_fds=17, fds=0x7ff89000ae40, priority=<optimized out>, timeout=-1, context=0x7ff898009b30) at gmain.c:3405
: poll_func = 0x3bcd251310 <g_poll>
:#2 g_main_context_iterate (context=0x7ff898009b30, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3087
: max_priority = 2147483647
: timeout = -1
: some_ready = <optimized out>
: nfds = 17
: allocated_nfds = <optimized out>
: fds = 0x7ff89000ae40
: __PRETTY_FUNCTION__ = "g_main_context_iterate"
:#3 0x0000003bcd24360d in g_main_loop_run (loop=0x7ff898009b10) at gmain.c:3300
: self = 0x7ff898009c20
: __PRETTY_FUNCTION__ = "g_main_loop_run"
:#4 0x000000...

Revision history for this message
In , Insang (insang-redhat-bugs) wrote :

I believe that key shortcut function is broken between ibus-libs-1.3.99.20110408-2 and ibus-libs-1.3.99.20110419-7.

I can change my input method as I set with shortcut key while I'm using ibus-libs-1.3.99.20110408-2.

But When I'm using ibus-libs-1.3.99.20110419-7, pressing shortcut key crashes ibus or ibus do not work anything.

Revision history for this message
In , fujiwara (fujiwara-redhat-bugs) wrote :

OK, I could reproduce this problem.

The workaround is:
1. Run 'ibus-setup' command
2. Enable "Use system keyboard layout" in "Advanced" tab

Then the problem is no longer happened.

> IBUS:ERROR:ibuskeymap.c:282:ibus_keymap_lookup_keysym: assertion failed:
> (IBUS_IS_KEYMAP (keymap))

OK, I see the default layout is failed.

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

ibus-1.3.99.20110419-8.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/ibus-1.3.99.20110419-8.fc15

Revision history for this message
In , fujiwara (fujiwara-redhat-bugs) wrote :

*** Bug 718497 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

Package ibus-1.3.99.20110419-9.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ibus-1.3.99.20110419-9.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/ibus-1.3.99.20110419-9.fc15
then log in and leave karma (feedback).

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

ibus-1.3.99.20110419-9.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.

Revision history for this message
In , Insang (insang-redhat-bugs) wrote :

Thank you guys. Good luck to you :-)

dreamon (dreamon)
description: updated
dreamon (dreamon)
description: updated
Revision history for this message
dreamon (dreamon) wrote :

After playing around a little more and googling for the terminal error message, i found that this is actually related to a bug in ibus itself. i had unchecked "use system keyboard layout" in the "advanced" tab, but this caused ibus to crash when switching to ibus-tegaki. after activating the option, ibus now stays active and does not crash when performing the steps above. so i will add ibus to the list of affected projects.

other than that, tegaki still does not behave quite as expected. after switching away from ibus-tegaki to another input method, tegaki's drawing pad still remains open. this is not intended (it does not happen on other platforms running the same version of ibus-tegaki) and it's a bit of a nuisance. it may be a good idea to have a look at how ibus-tegaki and the current version of ibus interact to find the root of the problem.

summary: - ibus-tegaki crashes on Ubuntu Oneiric
+ ibus-tegaki crashes iBus on Ubuntu Oneiric
Revision history for this message
dreamon (dreamon) wrote :

Seems like the hotkey issue has been fixed on Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=718453 I'll close this bug report as soon as I receive an update for iBus which fixes the problem.

Revision history for this message
Ikuya Awashiro (ikuya-fruitsbasket) wrote :

I cannot reproduce on Ubuntu Precise.
This issue must fix on new IBus.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ibus-tegaki (Ubuntu):
status: New → Confirmed
Changed in ibus-tegaki (Fedora):
importance: Unknown → Undecided
status: Unknown → Fix Released
Revision history for this message
dino99 (9d9) wrote :

Closed per comment #3

Changed in ibus-tegaki (Ubuntu):
status: Confirmed → Invalid
Changed in ibus:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.