Xlib: unexpected async reply
- From: Ian Strascina <istrasci cs nmsu edu>
- To: gtk-list gnome org
- Subject: Xlib: unexpected async reply
- Date: Thu, 4 Nov 2004 16:34:29 -0700 (MST)
Hello, I have a thread that draws to a GtkDrawingArea, and randomly I will
get this error:
Xlib: unexpected async reply 0xSomeHeXNumber
and the program "freezes" (i.e., I can't tell if the background
computation is still going or not, but the GUI becomes unresponsive)...
I have tried to fix this using both gdk_flush() and XFlush(GdkDisplay *)
as per http://www.gtk.org/faq/#AEN492 , but I still get this error some
times... Note that I have also enclosed this thread's spawn call with
gdk_threads_{enter,leave}() , respectively...
Any ideas why the flushes won't completely eradicate this problem and how
I might go about fixing it...??? Thanks...
- Ian
-------------------------------------------------------------------------------
"Mostly, when you see programmers, they aren't doing anything...
One of the attractive things about programmers is that you cannot tell
whether or not they are working simply by looking at them... Very often
they're sitting there seemingly drinking coffee and gossiping, or just
staring into space... What the programmer is trying to do is get a handle
on all the individual and unrelated ideas that are scampering around in
his head..." -- Charles M. Strauss
-------------------------------------------------------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]