JDK-5021183 : Application crashes with just mouse-click and key-press on PopupMenu
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 5.0
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_9
  • CPU: generic
  • Submitted: 2004-03-26
  • Updated: 2004-04-23
  • Resolved: 2004-04-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
5.0 b49Fixed
Related Reports
Relates :  
Relates :  
Description
Application crashes with mouse-click and key-press on PopupMenu in Solaris & Linux.

* Compile and Run PopupMenuTest.java
* Right click on label so as to show popup menu
* Move mouse over first MenuItem, so as to expand it and show its second level
* Click on first MenuItem so as to hide the second level MenuItems
* Press any arrow keys, application crashes.

Log file attached.

bash-2.05$ java PopupMenuTest
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0xfe1a6e24, pid=9207, tid=11
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0-beta2-b41 mixed mode)
# Problematic frame:
# C  [libXt.so.4+0x16e24]  XtIsSubclass+0x80
#
# An error report file with more information is saved as hs_err_pid9207.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
Abort (core dumped)
bash-2.05$ 


Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger-beta2 FIXED IN: tiger-beta2 INTEGRATED IN: tiger-b49 tiger-beta2
14-06-2004

EVALUATION Name: ssR10077 Date: 03/30/2004 It's regression caused by the fix 4236403. ====================================================================== Name: ssR10077 Date: 04/07/2004 I can't reproduce the original bug 4318422. But I found another workaround for 4236403 which don't cause a new crash. It's tested with sample program attached to 4236403. It's to XtUnmanageChild() on parent of menuitem we want to destroy. ======================================================================
11-06-2004