Hi list! I get this error when runing my GTK application:
Xlib: unexpected async reply (sequence 0xdfd)! (Te sequence number varies.) A little explanation about the application: It runs two threads. One of them is runing inside the gtk_main() loop. The other one, periodically reads from different files and updates the labels in the window. I use gdk_threads_enter() and gdk_threads_leave() to block the other thread. The aplication has a Tabbed Pane. Each tab shows information from a different file. Now, I get this error when I try to see the information showed by the last tab I added. Basically, the cycle I implement is (pseudocode): infinite_loop{ ... if tab1_is_visible{ update_tab } ... pause; } and update_tab performs: read_value_from_file(); gdk_threads_enter(); update_labels(); gdk_threads_leave(); Since the error is realted to Xlib, I think I'm doing something wrong about multi-threading, but I can't find what. I'm doing as I did with the other tabs and I hadn't any errors like this I've read http://mail.gnome.org/archives/gtk-list/1999-July/msg00438.htmlbut I think this does not match my problem. I'm not calling to gtk functions from callbacks or signal handlers. Any suggestions? Best regards! _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list