JDK-4958540 : Korean IME lockup
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt:i18n
  • Affected Version: 1.4.1
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2003-11-22
  • Updated: 2003-12-02
  • Resolved: 2003-12-02
Related Reports
Duplicate :  
Description

Name: rl43681			Date: 11/21/2003


FULL PRODUCT VERSION :
1.4.1-b21

ADDITIONAL OS VERSION INFORMATION :
Linux Mandrake 8.2

EXTRA RELEVANT SYSTEM CONFIGURATION :
AMI IME for Korean

A DESCRIPTION OF THE PROBLEM :
This is probably a duplicate of 4904887, except that 4904887 is in sun.awt.X11InputMethod.activate(X11InputMethod.java:279), my problem is in the deactivate method.  All I have is a Thread dump.

(java.awt.EventDispatchThread)0x9ed                    AWT-EventQueue-0                        waiting in a monitor

[1] sun.awt.motif.X11InputMethod.setXICFocus (native method)
  [2] sun.awt.motif.X11InputMethod.deactivate (null)
  [3] sun.awt.im.InputContext.deactivateInputMethod (null)
  [4] sun.awt.im.InputContext.focusGained (null)
  [5] sun.awt.im.InputContext.dispatchEvent (null)
  [6] sun.awt.im.InputMethodContext.dispatchEvent (null)
  [7] java.awt.Component.dispatchEventImpl (null)
  [8] java.awt.Container.dispatchEventImpl (null)
  [9] java.awt.Component.dispatchEvent (null)
  [10] java.awt.KeyboardFocusManager.redispatchEvent (null)
  [11] java.awt.DefaultKeyboardFocusManager.typeAheadAssertions (null)
  [12] java.awt.DefaultKeyboardFocusManager.dispatchEvent (null)
  [13] java.awt.Component.dispatchEventImpl (null)
  [14] java.awt.Container.dispatchEventImpl (null)
  [15] java.awt.Component.dispatchEvent (null)
  [16] java.awt.EventQueue.dispatchEvent (null)
  [17] java.awt.EventDispatchThread.pumpOneEventForHierarchy (null)
  [18] java.awt.EventDispatchThread.pumpEventsForHierarchy (null)
  [19] java.awt.EventDispatchThread.pumpEvents (null)
  [20] java.awt.EventDispatchThread.pumpEvents (null)
  [21] java.awt.EventDispatchThread.run (null)

It also says it is fixed in 1.4.1_07 which hasn't been released yet...

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Typing in a JTextField with AMI Korean IME, I leave the text partially comlete, so that the partial conversion is still selected black, and I select another part of the application...I my last lockup, a JRadioButton.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
normal operation
ACTUAL -
GUI freezes

REPRODUCIBILITY :
This bug can be reproduced occasionally.
(Incident Review ID: 227184) 
======================================================================

Comments
EVALUATION I cannot seem to reproduce this problem. A part of the reason is that I cannot input Korean correctly with AMI input method server (cf. bug 4959241). So could you please send the entire thread dump? Not only AWT-EventQueue, but also all the existing threads? That would help to investigate why the system is locking up. ###@###.### 2003-11-24 The submitter confirmed that the problem seemed to go away after applying the fix for 4904887. Closing as a duplicate. ###@###.### 2003-12-02
24-11-2003