-
Bug
-
Resolution: Fixed
-
P4
-
1.2.0
-
1.2beta2
-
sparc
-
solaris_2.5.1
-
Not verified
Name: paC48320 Date: 10/15/97
I am a licensee(Oki Electric Industry Co., Ltd.).
I am using JavaInputMethod in Notepad of Swing-0.5 on JDK1.2P.
OS is Japanese Solaris2.5.1, IM is Xwnmo using jserver.
Notepad.java is modiffied to use InputMethod.
126c126,128
< return new JTextArea();
---
> JTextArea editor = new JTextArea();
> editor.enableInputMethods(true);
> return editor;
When I type keys quickly in PreeditArea of InputMethod,
sometimes IM(and Notepad) is hang-up.
Following is Thread Dump by using SIGQUIT.
^\SIGQUIT 3* quit
Full thread dump:
"AWT-Finalizer" (TID:0xee31b7d0, sys_thread_t:0x4d09c0, state:MW) prio=9
at sun.awt.motif.X11Graphics.dispose(Native Method)
at sun.awt.motif.X11Graphics.doFinalization(X11Graphics.java:210)
at sun.awt.AWTFinalizer.run(AWTFinalizer.java:54)
"Screen Updater" (TID:0xee31de18, sys_thread_t:0x59fdb8, state:CW) prio=4
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:309)
at sun.awt.ScreenUpdater.nextEntry(ScreenUpdater.java:81)
at sun.awt.ScreenUpdater.run(ScreenUpdater.java:101)
"TimerQueue" (TID:0xee32ba80, sys_thread_t:0x431390, state:CW) prio=4
at java.lang.Object.wait(Native Method)
at com.sun.java.swing.TimerQueue.run(TimerQueue.java:244)
at java.lang.Thread.run(Thread.java:472)
"AWT-Motif" (TID:0xee32be40, sys_thread_t:0x429308, state:MW) prio=9
at sun.awt.motif.X11InputMethod.notifyPreeditCompleted(X11InputMethod.java:523)
at sun.awt.motif.X11InputMethod.dispatchComposedText(X11InputMethod.java:413)
at sun.awt.motif.MToolkit.run(Native Method)
at java.lang.Thread.run(Thread.java:472)
"AWT-Input" (TID:0xee32c0d0, sys_thread_t:0x422d60, state:CW) prio=5
at java.lang.Object.wait(Native Method)
at sun.awt.motif.InputThread.run(Native Method)
"AWT-EventQueue-0" (TID:0xee32c230, sys_thread_t:0x4073a0, state:MW) prio=9
at sun.awt.motif.X11InputMethod.setXICFocus(Native Method)
at sun.awt.motif.X11InputMethod.deactivate(X11InputMethod.java:158)
at sun.awt.im.InputContext.deactivate(InputContext.java:148)
at sun.awt.im.InputContext.dispatchEvent(InputContext.java:86)
at sun.awt.im.InputMethodContext.dispatchEvent(InputMethodContext.java:137)
at java.awt.Component.dispatchEventImpl(Component.java:1846)
at java.awt.Container.dispatchEventImpl(Container.java:934)
at java.awt.Component.dispatchEvent(Component.java:1823)
at java.awt.LightweightDispatcher.processFocusEvent(Container.java:1419)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:1387)
at java.awt.Container.dispatchEventImpl(Container.java:921)
at java.awt.Window.dispatchEventImpl(Window.java:462)
at java.awt.Component.dispatchEvent(Component.java:1823)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:45)
"Finalizer" (TID:0xee300370, sys_thread_t:0x9de00, state:CW) prio=8
at java.lang.Object.wait(Native Method)
at java.lang.Ref$Queue.remove(Ref.java:232)
at java.lang.Ref$Queue.remove(Ref.java:245)
at java.lang.Finalizer$FinalizerThread.run(Finalizer.java:130)
"Ref handler" (TID:0xee300420, sys_thread_t:0x9a960, state:CW) prio=10
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:309)
at java.lang.Ref$RefHandler.run(Ref.java:269)
"Async Garbage Collector" (TID:0xee3001e8, sys_thread_t:0x6e210, state:CW) prio=1
"Idle thread" (TID:0xee300230, sys_thread_t:0x679f0, state:R) prio=0 *current thread*
"Clock" (TID:0xee300088, sys_thread_t:0x678e8, state:CW) prio=12
"main" (TID:0xee3000b0, sys_thread_t:0x209f8, state:CW) prio=5
Monitor Cache Dump:
sun.awt.motif.MToolkit@EE32C1B0/EE3ABDC0: owner "AWT-Motif" (0x429308, 1 entry)
Waiting to enter:
"AWT-Finalizer"
"AWT-EventQueue-0"
Waiting to be notified:
"AWT-Input"
sun.awt.im.InputMethodContext@EE320310/EE3C5D98: owner "AWT-EventQueue-0" (0x4073a0, 2 entries)
sun.awt.motif.X11InputMethod@EE320090/EE3C5F00: owner "AWT-EventQueue-0" (0x4073a0, 1 entry)
Waiting to enter:
"AWT-Motif"
Registered Monitor Dump:
utf8 hash table: <unowned>
JNI pinning lock: <unowned>
JNI global reference lock: <unowned>
BinClass lock: <unowned>
Class linking lock: <unowned>
Code rewrite lock: <unowned>
Heap lock: <unowned>
Monitor IO lock: <unowned>
Child death monitor: <unowned>
Event monitor: <unowned>
I/O monitor: <unowned>
Alarm monitor: <unowned>
Waiting to be notified:
"Clock"
Sbrk lock: <unowned>
Monitor cache expansion lock: <unowned>
Thread queue lock: <unowned>
Waiting to be notified:
"main"
Monitor registry: owner "Idle thread" (0x679f0, 1 entry)
Thread Alarm Q:
sys_thread_t 0x6e210 [Timeout in 548 ms]
======================================================================