JDK-6666583 : JComboBox crashes on Nevada in GTK L&F
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6u4
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_nevada
  • CPU: x86
  • Submitted: 2008-02-22
  • Updated: 2011-02-16
  • Resolved: 2008-11-20
Related Reports
Duplicate :  
Description
Snv 83, vermillion 84(GNOME 2.21.90) sparc and x86, java version "1.6.0_04"

Steps:

1. Launch SwingSet2 demo java -jar SwingSet2.jar
2. Change to GTK L&F
3. Click the JComboBox demo

Actual result:
SwingSet2 demo crashes, with gtk-critical warnings:
bash-3.2$ java -jar SwingSet2.jar 

(<unknown>:885): Gtk-WARNING **: Attempting to add a widget with type GtkButton to a GtkComboBoxEntry (need an instance of GtkEntry or of a subclass)

Gtk-CRITICAL **: file gtkwidget.c: line 3239: assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed
aborting...
Trace/Breakpoint Trap

Expected result:
No crash

Comments
PUBLIC COMMENTS Preparing a backport for 6u12.
20-11-2008

WORK AROUND unset G_DEBUG
22-02-2008