Re: [java-gnome-hackers] Main loop crashes
Brought to you by:
afcowie
From: Jester <jsn...@gm...> - 2010-06-03 02:02:45
|
Jester <jsnow561@...> writes: > > I really like much of java-gnome but face a serious problem that may prevent me > from porting a large-scale project from swing to gtk. When I run a background > thread to retrieve some data widgets with a DrawingArea go blank. A subsequent > close action on any window will crash the main loop in the following way: > > Exception in thread "main" org.gnome.glib.FatalError: Gdk-CRITICAL > gdk_window_get_position: assertion `GDK_IS_WINDOW (window)' failed > at org.gnome.gtk.GtkMain.gtk_main(Native Method) > at org.gnome.gtk.GtkMain.main(GtkMain.java:82) > at org.gnome.gtk.Gtk.main(Gtk.java:119) > at ubnz.gtk.ToolbarDemo.main(ToolbarDemo.java:326) > > I've tried multiple potential workarounds, but the problem persists. Any idea > how to resolve this? > > Thanks a bunch! > Jester > > ------------------------------------------------------------------------------ > Wow, this place sure is quiet! I'm beginning to lose faith... By the way, I've tested the issue with the release candidate for 4.0.16 which was posted recently and it shows the same problem. Would be great if somebody could shed some light on this. Thanks again, Jester |