Comment 51 for bug 481656

Revision history for this message
José L. Domingo López (ubuntu-24x7linux) wrote :

Being hit by this one for a long time now, when using JOSM (all released stable JARs for a couple year now, if not more). Of course, while using Java version 7, which is the only release JOSM is "qualified" to run with:
"""
$ java -version
java version "1.7.0_72"
Java(TM) SE Runtime Environment (build 1.7.0_72-b14)
Java HotSpot(TM) Server VM (build 24.72-b04, mixed mode)
"""

I just arrived in this bug now, and tried the recommended "ibus restart" to get text input working again, but after a few seconds with input working again, the Java application died miserably. Just a few major highlight from the generated report, which I have just attached (hs_err_pid29918.log):
"""
Current thread (0x2760c000): JavaThread "AWT-EventQueue-0" [_thread_in_native, id=29948, stack(0x27b29000,0x27b7a000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=2 (SEGV_ACCERR), si_addr=0x269bce28

Stack: [0x27b29000,0x27b7a000], sp=0x27b7841c, free space=317k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C 0x269bce28
j sun.awt.X11.XInputMethod.setXICFocusNative(JZZ)V+0
j sun.awt.X11.XInputMethod.setXICFocus(Ljava/awt/peer/ComponentPeer;ZZ)V+25
j sun.awt.X11InputMethod.activate()V+162
j sun.awt.im.InputContext.activateInputMethod(Z)V+169
j sun.awt.im.InputContext.focusGained(Ljava/awt/Component;)V+137
...
"""

Even if this is not entirely related to supported Ubuntu packages (there seems to be something related to Java 7 and Java applications), the fact is it seems "ibus" has some saying about it, and other Linux distros seem to be free from this significant nuisance. Considering this has been documented and reported for nearly six years now, if feels disappointing to see such a hot bug being disregarded for that long. I am not using the greatest and latest Ububtu, but I can't see it fixed in any later release either:
"""
$ cat /etc/os-release
NAME="Ubuntu"
VERSION="14.10 (Utopic Unicorn)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.10"
VERSION_ID="14.10"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
"""

I don't know if this is related or not, but also at times with JOSM I experience the inability to enter Spanish characters instead of losing input completely to the application. As ibus seems to deal with "entering foreign characters", I suspect it may be the culprit for both problems.

Anyways, let's see if this gets addressed at some point in the very immediate future.

Thank you.