-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
01
-
generic, x86
-
linux_redhat_2.1, solaris_9
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2120351 | 6 | Artem Ananiev | P3 | Resolved | Fixed | b08 |
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
# 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
- backported by
-
JDK-2120351 XAWT: Java crashes on window dispose/getLocationOnScreen
-
- Resolved
-
- duplicates
-
JDK-5107634 XAWT: crash when displaying hw combobox popup on secondary screen (sol/lin)
-
- Closed
-
- relates to
-
JDK-5108694 XAWT: crash when displaying hw combobox popup on secondary screen (sol/lin)
-
- Resolved
-