Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4691619

JVM crush when shutting down the input method server.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:

      Description



      Name: gm110360 Date: 05/24/2002


      FULL PRODUCT VERSION :
      java version "1.4.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
      Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)

      glibc : glibc-2.2.4-6mdk

      kernel : Linux 2.4.8-26mdk #1 Sun Sep 23 17:06:39 CEST 2001
              i686

      distribution : Mandrake Linux release 8.1 (Vitamin) for i586


      A DESCRIPTION OF THE PROBLEM :
      If you are operating in swing applications, first you want to
      input some Chinese text. You switch to a chinese input method.
      Then you click a non-text component. This means that no any
      text component has the focus. Then you shutdown or kill the
      input method service. The java application will crush with
      your any next operation.

      REGRESSION. Last worked in version 1.3.1

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      In any swing frame with text input component. You act as the
      follow steps:
      1. Click a text component to request focus.
      2. Switch to a Chinese input method.
      3. Click some other component( Not text component. This means
              that no text component has the focus now).
      4. Kill or shutdown the input method service.
      5. Any other operation with the swing application.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      No thing happens.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :

      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : 11 occurred at PC=0x482E8407
      Function=[Unknown.]
      Library=(N/A)

      NOTE: We are unable to locate the function name symbol for the error
            just occurred. Please refer to release documentation for possible
            reason and solutions.


      Current Java thread:
      at sun.awt.motif.X11InputMethod.setXICFocus(Native Method)
      at sun.awt.motif.X11InputMethod.activate(X11InputMethod.java:273)
      - locked <0x447e15e8> (a sun.awt.motif.X11InputMethod)
      at sun.awt.im.InputContext.activateInputMethod(InputContext.java:339)
      at sun.awt.im.InputContext.focusGained(InputContext.java:303)
      - locked <0x447e1fa8> (a sun.awt.im.InputMethodContext)
      - locked <0x44614a28> (a java.awt.Component$AWTTreeLock)
      at sun.awt.im.InputContext.dispatchEvent(InputContext.java:215)
      at sun.awt.im.InputMethodContext.dispatchEvent(InputMethodContext.java:180)
      at java.awt.Component.dispatchEventImpl(Component.java:3476)
      at java.awt.Container.dispatchEventImpl(Container.java:1437)
      at java.awt.Window.dispatchEventImpl(Window.java:1566)
      at java.awt.Component.dispatchEvent(Component.java:3367)
      at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1700)
      at
      java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:700)
      at
      java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:403)
      at java.awt.Component.dispatchEventImpl(Component.java:3396)
      at java.awt.Container.dispatchEventImpl(Container.java:1437)
      at java.awt.Window.dispatchEventImpl(Window.java:1566)
      at java.awt.Component.dispatchEvent(Component.java:3367)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
      at
      java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)

      Dynamic libraries:
      08048000-0804d000 r-xp 00000000 03:07 261869 /usr/local/j2sdk1.4.0/bin/java
      0804d000-0804e000 rw-p 00004000 03:07 261869 /usr/local/j2sdk1.4.0/bin/java
      40000000-40015000 r-xp 00000000 03:07 181 /lib/ld-2.2.4.so
      40015000-40016000 rw-p 00014000 03:07 181 /lib/ld-2.2.4.so
      40017000-40020000 r-xp 00000000 03:07 237521
      /usr/local/j2sdk1.4.0/jre/lib/i386/native_threads/libhpi.so
      40020000-40021000 rw-p 00008000 03:07 237521
      /usr/local/j2sdk1.4.0/jre/lib/i386/native_threads/libhpi.so
      40021000-40022000 r--p 00000000 03:07 32249
      /usr/share/locale/zh_CN.GB2312/LC_IDENTIFICATION
      40022000-40023000 r--p 00000000 03:07 32248
      /usr/share/locale/zh_CN.GB2312/LC_MEASUREMENT
      40023000-40024000 r--p 00000000 03:07 32242
      /usr/share/locale/zh_CN.GB2312/LC_TELEPHONE
      40024000-40025000 r--p 00000000 03:07 32250
      /usr/share/locale/zh_CN.GB2312/LC_ADDRESS
      40025000-40026000 r--p 00000000 03:07 32245
      /usr/share/locale/zh_CN.GB2312/LC_NAME
      40026000-40027000 r--p 00000000 03:07 32243
      /usr/share/locale/zh_CN.GB2312/LC_PAPER
      40027000-40028000 r--p 00000000 03:07 32247
      /usr/share/locale/zh_CN.GB2312/LC_MESSAGES/SYS_LC_MESSAGES
      40028000-40029000 r--p 00000000 03:07 32246
      /usr/share/locale/zh_CN.GB2312/LC_MONETARY
      40029000-4002a000 r--p 00000000 03:07 32241
      /usr/share/locale/zh_CN.GB2312/LC_TIME
      4002a000-4002b000 r--p 00000000 03:07 32244
      /usr/share/locale/zh_CN.GB2312/LC_NUMERIC
      4002c000-4003b000 r-xp 00000000 03:07 226 /lib/libpthread-0.9.so
      4003b000-40043000 rw-p 0000e000 03:07 226 /lib/libpthread-0.9.so
      40043000-40045000 r-xp 00000000 03:07 194 /lib/libdl-2.2.4.so
      40045000-40047000 rw-p 00001000 03:07 194 /lib/libdl-2.2.4.so
      40047000-4017c000 r-xp 00000000 03:07 190 /lib/libc-2.2.4.so
      4017c000-40181000 rw-p 00134000 03:07 190 /lib/libc-2.2.4.so
      40185000-40448000 r-xp 00000000 03:07 237567
      /usr/local/j2sdk1.4.0/jre/lib/i386/client/libjvm.so
      40448000-40590000 rw-p 002c2000 03:07 237567
      /usr/local/j2sdk1.4.0/jre/lib/i386/client/libjvm.so
      405a4000-405b7000 r-xp 00000000 03:07 199 /lib/libnsl-2.2.4.so
      405b7000-405b8000 rw-p 00012000 03:07 199 /lib/libnsl-2.2.4.so
      405ba000-405f4000 r-xp 00000000 03:07 2638
      /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so
      405f4000-40600000 rw-p 00039000 03:07 2638
      /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so
      40602000-40624000 r-xp 00000000 03:07 196 /lib/libm-2.2.4.so
      40624000-40625000 rw-p 00021000 03:07 196 /lib/libm-2.2.4.so
      40625000-40636000 r-xp 00000000 03:07 237571
      /usr/local/j2sdk1.4.0/jre/lib/i386/libverify.so
      40636000-40638000 rw-p 00010000 03:07 237571
      /usr/local/j2sdk1.4.0/jre/lib/i386/libverify.so
      40638000-40659000 r-xp 00000000 03:07 237572
      /usr/local/j2sdk1.4.0/jre/lib/i386/libjava.so
      40659000-4065b000 rw-p 00020000 03:07 237572
      /usr/local/j2sdk1.4.0/jre/lib/i386/libjava.so
      4065c000-40670000 r-xp 00000000 03:07 237574
      /usr/local/j2sdk1.4.0/jre/lib/i386/libzip.so
      40670000-40673000 rw-p 00013000 03:07 237574
      /usr/local/j2sdk1.4.0/jre/lib/i386/libzip.so
      40673000-41ceb000 r--s 00000000 03:07 261852
      /usr/local/j2sdk1.4.0/jre/lib/rt.jar
      41d2d000-41d44000 r--s 00000000 03:07 237632
      /usr/local/j2sdk1.4.0/jre/lib/sunrsasign.jar
      41d44000-41db2000 r--s 00000000 03:07 237639
      /usr/local/j2sdk1.4.0/jre/lib/jsse.jar
      41db2000-41dc5000 r--s 00000000 03:07 237633
      /usr/local/j2sdk1.4.0/jre/lib/jce.jar
      41dc5000-42046000 r--s 00000000 03:07 261838
      /usr/local/j2sdk1.4.0/jre/lib/charsets.jar
      440ee000-440f0000 r--s 00000000 03:07 237629
      /usr/local/j2sdk1.4.0/jre/lib/ext/dnsns.jar
      4c170000-4c1a2000 r--p 00000000 03:07 32137 /usr/share/locale/zh/LC_CTYPE
      4c1a2000-4c1c9000 r--p 00000000 03:07 32134 /usr/share/locale/zh/LC_COLLATE
      4c1c9000-4c1d7000 r--s 00000000 03:07 237631
      /usr/local/j2sdk1.4.0/jre/lib/ext/ldapsec.jar
      4c1d7000-4c1dc000 r-xp 00000000 03:07 20533 /usr/X11R6/lib/libXtst.so.6.1
      4c1dc000-4c1dd000 rw-p 00004000 03:07 20533 /usr/X11R6/lib/libXtst.so.6.1
      4c1de000-4c1e7000 r-xp 00000000 03:07 215 /lib/libnss_files-2.2.4.so
      4c1e7000-4c1e9000 rw-p 00008000 03:07 215 /lib/libnss_files-2.2.4.so
      4c214000-4c231000 r--s 00000000 03:07 237628
      /usr/local/j2sdk1.4.0/jre/lib/ext/sunjce_provider.jar
      4c231000-4c2d4000 r--s 00000000 03:07 237630
      /usr/local/j2sdk1.4.0/jre/lib/ext/localedata.jar
      4c2d4000-4c594000 r-xp 00000000 03:07 237582
      /usr/local/j2sdk1.4.0/jre/lib/i386/libawt.so
      4c594000-4c5a8000 rw-p 002bf000 03:07 237582
      /usr/local/j2sdk1.4.0/jre/lib/i386/libawt.so
      4c5ce000-4c61f000 r-xp 00000000 03:07 237581
      /usr/local/j2sdk1.4.0/jre/lib/i386/libmlib_image.so
      4c61f000-4c620000 rw-p 00050000 03:07 237581
      /usr/local/j2sdk1.4.0/jre/lib/i386/libmlib_image.so
      4c620000-4c623000 r-xp 00000000 03:07 294 /usr/lib/gconv/EUC-CN.so
      4c623000-4c624000 rw-p 00002000 03:07 294 /usr/lib/gconv/EUC-CN.so
      4c624000-4c634000 r-xp 00000000 03:07 433 /usr/lib/gconv/libGB.so
      4c634000-4c635000 rw-p 0000f000 03:07 433 /usr/lib/gconv/libGB.so
      4c635000-4c63c000 r-xp 00000000 03:07 20527 /usr/X11R6/lib/libXp.so.6.2
      4c63c000-4c63d000 rw-p 00006000 03:07 20527 /usr/X11R6/lib/libXp.so.6.2
      4c63d000-4c68b000 r-xp 00000000 03:07 20531 /usr/X11R6/lib/libXt.so.6.0
      4c68b000-4c68f000 rw-p 0004d000 03:07 20531 /usr/X11R6/lib/libXt.so.6.0
      4c68f000-4c69d000 r-xp 00000000 03:07 20515 /usr/X11R6/lib/libXext.so.6.4
      4c69d000-4c69e000 rw-p 0000d000 03:07 20515 /usr/X11R6/lib/libXext.so.6.4
      4c69e000-4c783000 r-xp 00000000 03:07 20507 /usr/X11R6/lib/libX11.so.6.2
      4c783000-4c788000 rw-p 000e4000 03:07 20507 /usr/X11R6/lib/libX11.so.6.2
      4c788000-4c790000 r-xp 00000000 03:07 20505 /usr/X11R6/lib/libSM.so.6.0
      4c790000-4c791000 rw-p 00007000 03:07 20505 /usr/X11R6/lib/libSM.so.6.0
      4c791000-4c7a5000 r-xp 00000000 03:07 20501 /usr/X11R6/lib/libICE.so.6.3
      4c7a5000-4c7a6000 rw-p 00013000 03:07 20501 /usr/X11R6/lib/libICE.so.6.3
      4c7a8000-4c86d000 r-xp 00000000 03:07 237584
      /usr/local/j2sdk1.4.0/jre/lib/i386/libfontmanager.so
      4c86d000-4c887000 rw-p 000c4000 03:07 237584
      /usr/local/j2sdk1.4.0/jre/lib/i386/libfontmanager.so
      4c888000-4c8bf000 r-xp 00000000 03:07 237585
      /usr/local/j2sdk1.4.0/jre/lib/i386/libjpeg.so
      4c8bf000-4c8c1000 rw-p 00036000 03:07 237585
      /usr/local/j2sdk1.4.0/jre/lib/i386/libjpeg.so
      4c8c1000-4c8c4000 rw-s 00000000 00:04 19103762 /SYSV00000000 (deleted)
      4c8c4000-4c8c7000 rw-s 00000000 00:04 19136531 /SYSV00000000 (deleted)
      4c8c7000-4c8ca000 rw-s 00000000 00:04 19169300 /SYSV00000000 (deleted)
      4c9ac000-4c9be000 r-xp 00000000 03:07 237577
      /usr/local/j2sdk1.4.0/jre/lib/i386/libnet.so
      4c9be000-4c9bf000 rw-p 00011000 03:07 237577
      /usr/local/j2sdk1.4.0/jre/lib/i386/libnet.so
      4c9bf000-4c9c0000 r-xp 00000000 03:07 237588
      /usr/local/j2sdk1.4.0/jre/lib/i386/librmi.so
      4c9c0000-4c9c1000 rw-p 00000000 03:07 237588
      /usr/local/j2sdk1.4.0/jre/lib/i386/librmi.so

      Local Time = Tue Mar 19 16:08:06 2002
      Elapsed Time = 85
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode)
      #

      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------


      JPanel panel = new JPanel();

      JTextField textF = new JTextField(15);
      panel.add( textF );

      ...


      ---------- END SOURCE ----------

      CUSTOMER WORKAROUND :
      Don't try to close the input method when the java applications
      are running.

      Release Regression From : 1.4
      The above release value was the last known release where this
      bug was known to work. Since then there has been a regression.

      (Review ID: 144576)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              naoto Naoto Sato
              Reporter:
              gmanwanisunw Girish Manwani (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: