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

Open Source Jext editor causes input method exception and core dump

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • solaris_9
    • client-libs

      ###@###.### 2002-01-30
      OS: Solaris S81_55
      Architectures: i386, sun4u
      Locales tested: C, en_US.UTF-8, de_DE.UTF-8, ja_JP.UTF-8, ko_KR.UTF-8
      During testing of the fix for 4623589 I tried the open source text editor jext (http://www.jext.org). It works fine in C locales but when I tried it in any UTF-8 locale it crashes with the following exception:

      # uname -a
      SunOS ronaldo 5.9 s81_55 sun4u sparc SUNW,Ultra-1
      # locale
      LANG=ko_KR.UTF-8
      LC_CTYPE="ko_KR.UTF-8"
      LC_NUMERIC="ko_KR.UTF-8"
      LC_TIME="ko_KR.UTF-8"
      LC_COLLATE="ko_KR.UTF-8"
      LC_MONETARY="ko_KR.UTF-8"
      LC_MESSAGES="ko_KR.UTF-8"
      LC_ALL=
      # pwd
      /wos4/Tools/Jext/bin
      # java -classpath $CLASSPATH:../lib/dawn.jar:../lib/jext.jar:../lib/jython.jar org.jext.Jext
      *sys-package-mgr*: processing new jar, '/wos4/Tools/Jext/lib/dawn.jar'
      *sys-package-mgr*: processing new jar, '/wos4/Tools/Jext/lib/jext.jar'
      t*sys-package-mgr*: processing new jar, '/wos4/Tools/Jext/lib/jython.jar'
      *sys-package-mgr*: processing new jar, '/usr/j2se/jre/lib/rt.jar'
      *sys-package-mgr*: processing new jar, '/usr/j2se/jre/lib/sunrsasign.jar'
      *sys-package-mgr*: processing new jar, '/usr/j2se/jre/lib/jsse.jar'
      *sys-package-mgr*: processing new jar, '/usr/j2se/jre/lib/jce.jar'
      *sys-package-mgr*: processing new jar, '/usr/j2se/jre/lib/charsets.jar'
      *sys-package-mgr*: processing new jar, '/usr/j2se/jre/lib/ext/dnsns.jar'
      *sys-package-mgr*: processing new jar, '/usr/j2se/jre/lib/ext/ldapsec.jar'
      *sys-package-mgr*: processing new jar, '/usr/j2se/jre/lib/ext/localedata.jar'
      *sys-package-mgr*: processing new jar, '/usr/j2se/jre/lib/ext/sunjce_provider.jar'
      *sys-package-mgr*: processing new jar, '/usr/j2se/jre/lib/ext/iiimf.jar'
      Scanning directory: /wos4/Tools/Jext/bin/plugins
      Scanning directory: //.jext/plugins
      Loaded successfully: Java
      Loaded successfully: Java Browser
      Loaded successfully: PyBrowse
      Loaded successfully: HTML
      Loaded successfully: FindAll
      Loaded successfully: Hyper Typer
      Loaded successfully: XML Browse
      Loaded successfully: PHP Browse
      Loaded successfully: KLNF

      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : 11 occurred at PC=0xF0229968
      Function=XScreenNumberOfScreen+0x4
      Library=/usr/openwin/lib/libX11.so.4

      Current Java thread:
              at sun.awt.motif.X11InputMethod.createXICNative(Native Method)
              at sun.awt.motif.X11InputMethod.activate(X11InputMethod.java:263)
              - locked <f2c95b48> (a sun.awt.motif.X11InputMethod)
              at sun.awt.im.InputContext.activateInputMethod(InputContext.java:339)
              at sun.awt.im.InputContext.focusGained(InputContext.java:303)
              - locked <f2c56ad8> (a sun.awt.im.InputMethodContext)
              - locked <f349a700> (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.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.SequencedEvent.dispatch(SequencedEvent.java:105)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
              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:
      0x10000 java
      0xff370000 /usr/lib/libthread.so.1
      0xff3a0000 /usr/lib/libdl.so.1
      0xff280000 /usr/lib/libc.so.1
      0xff350000 /usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1
      0xfec00000 /usr/j2se/jre/lib/sparc/client/libjvm.so
      0xff230000 /usr/lib/libCrun.so.1
      0xff210000 /usr/lib/libsocket.so.1
      0xff100000 /usr/lib/libnsl.so.1
      0xff1d0000 /usr/lib/libm.so.1
      0xff260000 /usr/lib/libw.so.1
      0xff0e0000 /usr/lib/libmp.so.2
      0xff0c0000 /usr/lib/librt.so.1
      0xff0a0000 /usr/lib/libaio.so.1
      0xff080000 /usr/lib/libmd5.so.1
      0xff050000 /usr/platform/SUNW,Ultra-1/lib/libmd5_psr.so.1
      0xfeba0000 /usr/j2se/jre/lib/sparc/native_threads/libhpi.so
      0xfeb70000 /usr/j2se/jre/lib/sparc/libverify.so
      0xfeb30000 /usr/j2se/jre/lib/sparc/libjava.so
      0xfeb10000 /usr/j2se/jre/lib/sparc/libzip.so
      0xf2880000 /usr/lib/locale/ko_KR.UTF-8/ko_KR.UTF-8.so.2
      0xfd330000 /usr/lib/locale/ko.UTF-8/methods_ko.UTF-8.so.2
      0xf0600000 /usr/j2se/jre/lib/sparc/libawt.so
      0xf0580000 /usr/j2se/jre/lib/sparc/libmlib_image.so
      0xfac10000 /usr/j2se/jre/lib/sparc/motif21/libmawt.so
      0xf0300000 /usr/dt/lib/libXm.so.4
      0xf2b90000 /usr/openwin/lib/libXt.so.4
      0xf2ad0000 /usr/openwin/lib/libXext.so.0
      0xfad10000 /usr/openwin/lib/libXtst.so.1
      0xf0200000 /usr/openwin/lib/libX11.so.4
      0xf2820000 /usr/openwin/lib/libdps.so.5
      0xf2760000 /usr/openwin/lib/libSM.so.6
      0xf2730000 /usr/openwin/lib/libICE.so.6
      0xf0100000 /usr/j2se/jre/lib/sparc/libfontmanager.so
      0xf2710000 /usr/openwin/lib/locale/common/xlcUTF-8.so.2
      0xf2650000 /usr/openwin/lib/locale/common/xomLTRTTB.so.2
      0xf2630000 /usr/lib/liblayout.so.1
      0xf2540000 /usr/lib/locale/ko_KR.UTF-8/LO_LTYPE/ko_KR.UTF-8.layout.so.1
      0xf2440000 /usr/openwin/lib/locale/common/xiiimp.so.2
      0xf2520000 /usr/lib/iconv/UTF-16%UTF-8.so
      0xf2360000 /usr/j2se/jre/lib/sparc/libsunwjdga.so
      0xf2150000 /usr/openwin/lib/libdga.so.1
      0xf2130000 /usr/j2se/jre/lib/sparc/libjdgaSUNWcg6.so
      0xefee0000 /usr/lib/iconv/UTF-8%UTF-16.so
      0xefec0000 /usr/lib/im/locale/th_TH/aux.so
      0xefea0000 /usr/lib/im/locale/zh_CN/aux.so
      0xefde0000 /usr/lib/im/locale/ja/atokserver/atok12aux.so
      0xefda0000 /usr/lib/libelf.so.1
      0xefce0000 /usr/lib/im/locale/zh_TW/aux.so
      0xefcc0000 /usr/lib/im/locale/zh_HK/aux.so
      0xefc90000 /usr/lib/iconv/UTF-8%UTF-32.so
      0xefbe0000 /usr/lib/iconv/UTF-32%UTF-8.so
      0xefad0000 /usr/j2se/jre/lib/sparc/libnet.so

      Local Time = Wed Jan 30 13:55:39 2002
      Elapsed Time = 208
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.0-rc-b89 mixed mode)
      #
      # An error report file has been saved as hs_err_pid3658.log.
      # Please refer to the file for further information.
      #
      (Abort) (core dumped)

      # file core
      core: ELF 32-bit MSB core file SPARC, Version 1, from 'java'
      # du -k core
      30976 core

            xlu Xiaobin Lu (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: