[java-gnome-hackers] Xlib: unexpected async reply
Brought to you by:
afcowie
From: Stefan P. <st...@pr...> - 2008-06-13 20:14:04
|
Hi all, I have a fairly complex java-gnome application which produces the following exception after some time: Xlib: unexpected async reply (sequence 0x316e)! Before this happens I use several signal handlers (MenuItem.ACTIVATE, TreeView.ROW_ACTIVATE, Button.CLICKED) to open dialogs, modify data and close them again. The error usually occurs after the last dialog is closed and only the main application window is visible. I failed writing a stripped down application that produces the same kind of error. Searching around I found a posting [1] which explains that manipulating widgets from another thread might cause this problem, unless proper care is taken (which I don't if java-gnome does yet). I did not add Java threads to my application, so all I did was relying on the threads provided by the underlying GTK+/java-gnome library. Has anyone of you experienced something similiar before and can advise me what might cause this issue? Cheers, Stefan [1] http://osdir.com/ml/gnome.lib.gtk+.devel.apps/2002-04/msg00203.html |