Xt / Motif C++ application hangs in the XtDispatchEvent call

Thomas Lübking thomas.luebking at gmx.de
Sat Dec 10 07:58:03 UTC 2016


On Fri, Dec 09, 2016 at 09:14:22AM -0000, Subrata Dasgupta wrote:
> after finishing _XtDefaultDispatcher() call.
There's no such "call" - _XtDefaultDispatcher is assigned to a local
variable twice (once conditionally), ie. there's either an ABI issue or
the code is not actually hanging there, but it's just the position you
randomly jumped into when gdb-attaching to the cycling process.

https://cgit.freedesktop.org/xorg/lib/libXt/tree/src/Event.c

It's more likely to hang in XtDisplayToApplicationContext() because the
application is processing events after closing the display or something.
Alternatively LOCK_APP dead locks.

Figure where the problem *really* is.

Thomas


More information about the xorg mailing list