[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug swing/23558] JComboBox problems (including VM crash)
From: |
hendrich at informatik dot uni-hamburg dot de |
Subject: |
[Bug swing/23558] JComboBox problems (including VM crash) |
Date: |
2 Sep 2005 08:46:01 -0000 |
------- Additional Comments From hendrich at informatik dot uni-hamburg dot de
2005-09-02 08:45 -------
Subject: Re: JComboBox problems (including VM crash)
Hello Thomas,
>> [Bug swing/23558]
> I can't reproduce this with GNU Classpath HEAD and jamvm 1.3.2. Can you retry
> with JamVM 1.3.2? I'm assuming you're running on Linux x86?
Yes, basically SuSE 8.2 with lots of updates (current GTK, cairo, gcc,
auto-tools, etc).
Admittedly, the JComboBox of current Classpath CVS HEAD under jamvm 1.3.2
survives a bit longer than two weeks ago. However, after twenty or so
'random' clicks iterations it still dies:
java/xxx> /opt/jamvm/bin/jamvm -mx64m PR23558
The program '.' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 36641 error_code 3 request_code 20 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
I just start the application, select an item from the drop-down list,
open the drop-down list again, click one of the up/down arrows, click
an item, repeat. I should probably write a Robot-based test for this...
Unfortunately, I still have no classpath-compatible version of gdb,
so no meaningful backtrace...
> Also, can you file a separate Swing bug about selecting the JComboBox's
> first item?
yes. Probably on Monday, though.
BTW: thanks for fixing the slow image loading. Running my testcase works
like a charm now, but my real app now dies before even loading the first
image. Somebody must have broken Swing:
/tmp> /opt/jamvm/bin/jamvm -mx64m niffler.JImageViewer ~/.niffler
java.lang.NullPointerException
at java.awt.Dimension.<init> (Dimension.java:105)
at java.awt.Container.preferredSize (Container.java:664)
at java.awt.Container.getPreferredSize (Container.java:642)
at javax.swing.JComponent.getPreferredSize (JComponent.java:1047)
at javax.swing.ScrollPaneLayout.preferredLayoutSize
(ScrollPaneLayout.java:265)
at java.awt.Container.preferredSize (Container.java:661)
at java.awt.Container.getPreferredSize (Container.java:642)
at javax.swing.JComponent.getPreferredSize (JComponent.java:1047)
at java.awt.FlowLayout.layoutContainer (FlowLayout.java:183)
at java.awt.Container.layout (Container.java:519)
at javax.swing.JSplitPane.addImpl (JSplitPane.java:340)
at java.awt.Container.add (Container.java:292)
at javax.swing.JSplitPane.setLeftComponent (JSplitPane.java:698)
at javax.swing.JSplitPane.<init> (JSplitPane.java:237)
at niffler.JImageViewer.createGUI (JImageViewer.java:182)
at niffler.JImageViewer.<init> (JImageViewer.java:114)
at niffler.JImageViewer.main (JImageViewer.java:2491)
- Norman
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23558
- [Bug swing/23558] JComboBox problems (including VM crash), fitzsim at redhat dot com, 2005/09/02
- [Bug swing/23558] JComboBox problems (including VM crash), hendrich at informatik dot uni-hamburg dot de, 2005/09/02
- [Bug swing/23558] JComboBox problems (including VM crash),
hendrich at informatik dot uni-hamburg dot de <=
- [Bug swing/23558] JComboBox problems (including VM crash), fitzsim at redhat dot com, 2005/09/02
- [Bug swing/23558] JComboBox problems (including VM crash), fitzsim at redhat dot com, 2005/09/06
- [Bug swing/23558] JComboBox problems (including VM crash), hendrich at informatik dot uni-hamburg dot de, 2005/09/06
- [Bug swing/23558] JComboBox problems (including VM crash), fitzsim at redhat dot com, 2005/09/06
- [Bug swing/23558] JComboBox problems (including VM crash), hendrich at informatik dot uni-hamburg dot de, 2005/09/06
- [Bug swing/23558] JComboBox problems (including VM crash), fitzsim at redhat dot com, 2005/09/06
- [Bug swing/23558] JComboBox problems (including VM crash), fitzsim at redhat dot com, 2005/09/06