JDK-6804221 : Three tests for JTabbedPane produce VM crash on rhel3
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6u13,6u14
  • Priority: P1
  • Status: Closed
  • Resolution: Fixed
  • OS: linux_redhat_3.0
  • CPU: x86
  • Submitted: 2009-02-11
  • Updated: 2011-01-19
  • Resolved: 2009-02-26
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.
JDK 6 JDK 7
6u13 b02Fixed 7Fixed
Related Reports
Duplicate :  
Relates :  
Description
JDK              : JDK 6u12b02 - 6u13b01
Platforms[s]     : x86-rhel3
testbase         : /net/vice.russia.sun.com/export/home0/dtf/dtf_ws/suites/6.0/swing
====================================================================================

Tests:
Swing_JTabbedPane/Automated/JTabbedPane_TabComponent
Swing_JTabbedPane/Automated/ScrollTabbedPaneTabsAsComponents
Swing_JTabbedPane/Automated/EnablingAndDisabilingTabs

Passed for 6u12b01 and 6u11b03_j4b
Crash for 6u12b02-6u12b04_j4b, 6u13b01 

Results:
http://stt-13.russia.sun.com/results/1.6.0_13/b01/swing/rhel3_x86-i586/swing_stt_suites_rhel3_x86-i586/

Crash log example is attached.
Test sources are attached.

To run tests you can compile and execute attached sources or use specific host:
1. Login using VNC to rhel3 host (see comments)
2. Open terminal
3. CD to respective dir (each dir for certain test):
/net/stt-13/export/stt/gtee/global/1.6.0_13/b01/swing/04/swing/rhel3_x86-i586/swing_stt_suites_rhel3_x86-i586/run2/stt-robot.Linux.i386/EnablingAndDisabilingTabs/
/net/stt-13/export/stt/gtee/global/1.6.0_13/b01/swing/04/swing/rhel3_x86-i586/swing_stt_suites_rhel3_x86-i586/run2/stt-robot.Linux.i386/JTabbedPane_TabComponent/
/net/stt-13/export/stt/gtee/global/1.6.0_13/b01/swing/04/swing/rhel3_x86-i586/swing_stt_suites_rhel3_x86-i586/run2/stt-robot.Linux.i386/ScrollTabbedPaneTabsAsComponents/
4. exec command:
ksh run.sh

Comments
EVALUATION All three mentioned tests passed with JDK 6u13b02. Closed as Verified.
26-02-2009

EVALUATION GTK 2.2 and newer versions handle comboboxes differently. In 2.2, arrow button is simply added to combobox with gtk_container_add(). In modern GTK it's secretly added with gtk_widget_set_parent(), moreover, adding buttons with gtk_container_add() is forbidden. Fix for 6624717 updated our code to work properly with modern GTK, unfortunately it also broke 2.2. I suggest to introduce different code paths for old and new GTK.
20-02-2009

EVALUATION According to the log file, the crash is caused by GTK LaF
12-02-2009