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

XAWT: Java crashes on window dispose/getLocationOnScreen

XMLWordPrintable

    • 01
    • generic, x86
    • linux_redhat_2.1, solaris_9

        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

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: