[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xcb
Subject:    Re: [Xcb] Why is an explicit xcb_flush needed?
From:       Nicholas Allen <nick.allen () onlinehome ! de>
Date:       2010-03-30 11:19:59
Message-ID: 4BB1DE5F.6010900 () onlinehome ! de
[Download RAW message or body]

Josh Triplett wrote:
> I can think of only a few things that could allow
> xcb_wait_for_reply to block forever:
>
> - A bug in XCB.
> - A bug in the X server.
> - Someone grabbing the X server.
> - Some kind of corruption or severe misuse caused by the calling code
>   (for instance, forking and trying to use the connection from both
>   processes).
>
> Any of those seems possible.  A symbol-enabled backtrace with gdb would
> probably nail the first or last, and the xtrace plus the backtrace
> should nail the second.  As for the third, hopefully you can rule out
> the possibility of an XGrabServer somehow? :)
>   
I've attached the xtrace to my bug report so maybe we can already rule
out a bug in the x server from that.

I don't do any XGrabServer or forking so I think we can rule them out
unless Cairo XCB surface does this behind the scenes (but I highly doubt
that).

So if we can rule out the bug in the x server then that leaves only a
bug in XCB. I'm still reading up on how to build the libraries so I can
try to debug it a bit myself and provide the complete stack trace...

Cheers,
_______________________________________________
Xcb mailing list
Xcb@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xcb
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic