bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug swing/23557] New: JComboBox under Graphics2D crashes VM and GTK


From: hendrich at informatik dot uni-hamburg dot de
Subject: [Bug swing/23557] New: JComboBox under Graphics2D crashes VM and GTK
Date: 25 Aug 2005 09:24:16 -0000

Please compile and run the attached testcase with a Graphics2D-enabled
Classpath (./configure ... --enable-gtk-cairo) for an instant VM crash.
The partially created GTK window remains open and has to be killed via
the taskmanager. 

I tried classpath CVS 20050825 with jamvm 1.3.1. I can run a few of my
Graphics2D tests with this combination, so basic Graphics2D support on
Swing is working. The testcase also works with the JComboBox not added
to the JFrame.

Note: Running the testcase with a 'normal' (non-Graphics2D Classpath) 
also shows some minor problems in JComboBox, see follow-up PR.

I get the following shell output:

** ERROR **: file gnu_java_awt_peer_gtk_GdkGraphics2D.c: line 1257 (Java_gnu_jav
a_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector): assertion failed: (glyphs !=
 NULL)
aborting...
java.lang.InternalError
   at gnu.java.awt.peer.gtk.GdkGraphics2D.cairoDrawGlyphVector (Native Method)
   at gnu.java.awt.peer.gtk.GdkGraphics2D.drawGlyphVector (GdkGraphics2D.java:15
35)
   at gnu.java.awt.peer.gtk.GdkGraphics2D.drawString (GdkGraphics2D.java:1514)
   at gnu.java.awt.peer.gtk.GdkGraphics2D.drawString (GdkGraphics2D.java:1520)
   at javax.swing.plaf.basic.BasicButtonUI.paintText (BasicButtonUI.java:405)
   at javax.swing.plaf.basic.BasicButtonUI.paint (BasicButtonUI.java:287)
   at javax.swing.plaf.ComponentUI.update (ComponentUI.java:187)
   at javax.swing.JComponent.paintComponent (JComponent.java:1521)
   at javax.swing.JComponent.paint (JComponent.java:1454)
   at javax.swing.plaf.basic.BasicArrowButton.paint (BasicArrowButton.java:206)
   at java.awt.Container$GfxPaintVisitor.visit (Container.java:1765)
   at java.awt.Container.visitChild (Container.java:1569)
   at java.awt.Container.visitChildren (Container.java:1531)
   at java.awt.Container.paint (Container.java:764)
   at javax.swing.JComponent.paintChildren (JComponent.java:1498)
   at javax.swing.JComponent.paint (JComponent.java:1456)
   at java.awt.Container$GfxPaintVisitor.visit (Container.java:1765)
   at java.awt.Container.visitChild (Container.java:1569)
   at java.awt.Container.visitChildren (Container.java:1531)
   at java.awt.Container.paint (Container.java:764)
   at javax.swing.JComponent.paintChildren (JComponent.java:1498)
   at javax.swing.JComponent.paint (JComponent.java:1456)
   at java.awt.Container$GfxPaintVisitor.visit (Container.java:1765)
   at java.awt.Container.visitChild (Container.java:1569)
   at java.awt.Container.visitChildren (Container.java:1531)
   at java.awt.Container.paint (Container.java:764)
   at javax.swing.JComponent.paintChildren (JComponent.java:1498)
   at javax.swing.JComponent.paint (JComponent.java:1456)
   at java.awt.Container$GfxPaintVisitor.visit (Container.java:1765)
   at java.awt.Container.visitChild (Container.java:1569)
   at java.awt.Container.visitChildren (Container.java:1531)
   at java.awt.Container.paint (Container.java:764)
   at javax.swing.JComponent.paintChildren (JComponent.java:1498)
   at javax.swing.JComponent.paint (JComponent.java:1456)
   at java.awt.Container$GfxPaintVisitor.visit (Container.java:1765)
   at java.awt.Container.visitChild (Container.java:1569)
   at java.awt.Container.visitChildren (Container.java:1531)
   at java.awt.Container.paint (Container.java:764)
   at gnu.java.awt.peer.gtk.GtkComponentPeer.handleEvent (GtkComponentPeer.java:
313)
   at java.awt.Component.dispatchEventImpl (Component.java:4845)
   at java.awt.Container.dispatchEventImpl (Container.java:1592)
   at java.awt.Window.dispatchEventImpl (Window.java:628)
   at java.awt.Component.dispatchEvent (Component.java:2343)
   at java.awt.EventQueue.dispatchEvent (EventQueue.java:475)
   at java.awt.EventDispatchThread.run (EventDispatchThread.java:75)
Abort

-- 
           Summary: JComboBox under Graphics2D crashes VM and GTK
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: swing
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hendrich at informatik dot uni-hamburg dot de
                CC: bug-classpath at gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23557




reply via email to

[Prev in Thread] Current Thread [Next in Thread]