[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug awt/32513] New: new gtk peer locking issues
From: |
thebohemian at gmx dot net |
Subject: |
[Bug awt/32513] New: new gtk peer locking issues |
Date: |
26 Jun 2007 10:09:47 -0000 |
Hi,
one of the latest patches caused the evil gtk locking issues to reappear.
I cannot run the some simple Swing applications anymore.
Running this app:
import java.awt.event.*;
import java.awt.*;
import javax.swing.*;
public class SwingTest
{
public static void main(String args[]) throws Exception
{
JFrame f = new JFrame("Test");
f.setBounds(0, 0, 320, 240);
JButton b;
f.add(b = new JButton("Click me!"));
b.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent ae)
{
System.out.println("GoodBye!");
System.exit(0);
}
});
f.show();
f.addMouseListener(new MouseAdapter()
{
public void mousePressed(MouseEvent me)
{
System.out.println("pressed: " + me);
}
public void mouseReleased(MouseEvent me)
{
System.out.println("released: " + me);
}
});
}
}
I will get the window and the button but I cannot click it and repaints arent
done, too. The app is running with GNU Classpath-HEAD and Cacao. A forced
stacktrace (kill -SIGQUIT) gives:
"GTK main thread" prio=5 t=0x0807bc78 tid=0xb6921b90 (-1231938672) index=5
runnable
at
gnu.java.awt.peer.gtk.GtkComponentPeer.gtkWindowGetLocationOnScreen([I)V(Native
Method)
at
gnu.java.awt.peer.gtk.GtkComponentPeer.getLocationOnScreen()Ljava/awt/Point;(GtkComponentPeer.java:255)
at
gnu.java.awt.peer.gtk.GtkComponentPeer.postMouseEvent(IJIIIIZ)V(GtkComponentPeer.java:626)
at
gnu.java.awt.peer.gtk.GtkWindowPeer.postMouseEvent(IJIIIIZ)V(GtkWindowPeer.java:390)
at gnu.java.awt.peer.gtk.GtkToolkit.gtkMain()V(Native Method)
at gnu.java.awt.peer.gtk.GtkMainThread.run()V(GtkMainThread.java:102)
at java.lang.VMThread.run()V(VMThread.java:120)
"AWT-EventQueue-2" prio=6 t=0x0807bbe0 tid=0xb6715b90 (-1234084976) index=6
waiting
at java.lang.VMObject.wait(Ljava/lang/Object;JI)V(Native Method)
at java.lang.Object.wait()V(Object.java:434)
at
java.awt.EventQueue.getNextEvent()Ljava/awt/AWTEvent;(EventQueue.java:181)
at java.awt.EventDispatchThread.run()V(EventDispatchThread.java:87)
at java.lang.VMThread.run()V(VMThread.java:120)
Another application (this time bigger) for example
http://www.eigenheimstrasse.de/josm/josm-latest.jar hangs already inside the
ComponentGraphics::initstate() method on gdk_enter().
--
Summary: new gtk peer locking issues
Product: classpath
Version: 0.95
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: awt
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: thebohemian at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32513
- [Bug awt/32513] New: new gtk peer locking issues,
thebohemian at gmx dot net <=