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

XAWT: Java crashes on window dispose/getLocationOnScreen

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      01
    • CPU:
      generic, x86
    • OS:
      linux_redhat_2.1, solaris_9

      Backports

        Description

        If getLocationOnScreen is being performed on the window which is being disposed of, Java sometimes crashes. Happens with XToolkit, 1.5.0 b63. Stack trace:
        # C [libX11.so.6+0x2ec76] XScreenNumberOfScreen+0x6

        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        C [libX11.so.6+0x2ec76] XScreenNumberOfScreen+0x6
        j sun.awt.X11.XlibWrapper.XScreenNumberOfScreen(J)J+0
        j sun.awt.X11.XBaseWindow.getScreenNumber()J+10
        j sun.awt.X11.XBaseWindow.toGlobal(II)Ljava/awt/Point;+11
        j sun.awt.X11.XWindow.getLocationOnScreen()Ljava/awt/Point;+48
        j java.awt.Component.getLocationOnScreen_NoTreeLock()Ljava/awt/Point;+86
        j java.awt.Component.getLocationOnScreen()Ljava/awt/Point;+8
        ###@###.### 2004-08-27
        ###@###.### 2004-08-27

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                art Artem Ananiev
                Reporter:
                dmikhalksunw Denis Mikhalkin (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: