Deadock Xorg runing strace on a client (from within a client terminal)

Adam Jackson ajax at nwnk.net
Thu Aug 28 11:17:57 PDT 2008


On Thu, 2008-08-28 at 15:50 +0100, Alan Cox wrote:
> > After a short while mousing over the GTK menus, the X11 server
> > deadlocked and I had to SSH in remotely to kill strace before I could
> > continue.
> > 
> > I just wanted to ask:
> > 
> > 1. Is this an expected problem?
> > 2. Is it a bug?
> 
> If you trace through a server grab you may well end up with the app you
> are tracing owning a grab on the server and preventing the other clients
> writing. Its an annoying bit of historic X design.

That's only a deadlock if the client with the grab is waiting for the
tracing client to do something before releasing the grab.  This is
almost certainly not the case here.

- ajax




More information about the xorg mailing list