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

awt_util_getIMStatusHeight crashes on 64-bit Itanium Linux

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 1.4.1
    • 1.4.1
    • deploy
    • None
    • hopper
    • itanium
    • linux

      awt_util_getIMStatusHeight crashes on 64-bit Itanium Linux.

      Here is the stack trace:

      awt_util_getIMStatusHeight (vw=0x6000000000160f80)
          at ../../../src/solaris/native/sun/awt/awt_util.c:626
      626 ve = (XmVendorShellExtObject) extData->widget;
      (gdb)
      (gdb) where
      #0 awt_util_getIMStatusHeight (vw=0x6000000000160f80)
          at ../../../src/solaris/native/sun/awt/awt_util.c:626
      #1 0x200000000c4cd8c0 in Java_sun_awt_motif_MWindowPeer_addTextComponentNative
          (env=0x600000000002b0a0, this=0x80000fffffff6d58, tc=0x80000fffffff6d50)
          at ../../../src/solaris/native/sun/awt/awt_TopLevel.c:3625
      #2 0x2000000000dc59e0 in _native_call_return ()
          at /.automount/wabi.east/root/scratch2/ws/ia64/src/cpu/ia64/vm/register_ia64.hpp:785
      #3 0x200000000c4d8ca0 in awt_util_getIMStatusHeight (vw=Cannot access memory at address 0x8000100109f10278
      )
          at ../../../src/solaris/native/sun/awt/awt_util.c:625
      Cannot access memory at address 0x8000100109f10278
      (gdb) print extData
      $1 = (struct _XmWidgetExtDataRec *) 0x161400


      Here is the thread dump:

      "thread applet-ArcTest.class" prio=1 tid=0x0x60000000001457f0 nid=0x39ce runnable [200000000cc8d000..200000000cc8f6f0]
              at sun.awt.motif.MWindowPeer.addTextComponentNative(Native Method)
              at sun.awt.motif.MWindowPeer.addTextComponent(MWindowPeer.java:259)
              at sun.awt.motif.MComponentPeer.notifyTextComponentChange(MComponentPeer.java:851)
              at sun.awt.motif.MTextFieldPeer.pShow(MTextFieldPeer.java:272)
              at sun.awt.motif.MComponentPeer.setVisible(MComponentPeer.java:687)
              at sun.awt.motif.MComponentPeer.show(MComponentPeer.java:779)
              at sun.awt.motif.MComponentPeer.initialize(MComponentPeer.java:156)
              at sun.awt.motif.MTextFieldPeer.initialize(MTextFieldPeer.java:51)
              at sun.awt.motif.MComponentPeer.init(MComponentPeer.java:190)
              at sun.awt.motif.MComponentPeer.<init>(MComponentPeer.java:194)
              at sun.awt.motif.MTextFieldPeer.<init>(MTextFieldPeer.java:55)
              at sun.awt.motif.MToolkit.createTextField(MToolkit.java:139)
              at java.awt.TextField.addNotify(TextField.java:205)
              - locked <0x20000000035866d8> (a java.awt.Component$AWTTreeLock)
              at java.awt.Container.addNotify(Container.java:1859)
              - locked <0x20000000035866d8> (a java.awt.Component$AWTTreeLock)
              at java.awt.Panel.addNotify(Panel.java:71)
              - locked <0x20000000035866d8> (a java.awt.Component$AWTTreeLock)
              at java.awt.Container.addImpl(Container.java:476)
              - locked <0x20000000035866d8> (a java.awt.Component$AWTTreeLock)
              at java.awt.Container.add(Container.java:310)
              at ArcTest.init(ArcTest.java:25)
              at sun.applet.AppletPanel.run(AppletPanel.java:341)
              at java.lang.Thread.run(Thread.java:536)


      To reproduce, run any of the following demo applets:
      ArcTest, DitherTest, TicTacToe

      JavaTest fails to start.

            xlu Xiaobin Lu (Inactive)
            mbronsonsunw Mike Bronson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: