Ma, Qingyu (GE Healthcare) wrote:
> I found a case which can cause XTestFakeKeyEvent crash, that is multi thread
> invoke XTestFakeKeyEvent in parallel. I guess XTestFakeKeyEvent doesn't
> support intercurrent protect.
Did you call XInitThreads() before any other Xlib calls? That's
absolutely required to have multiple threads use xlib. The xcb
work has exposed and fixed a whole bunch of other threading bugs
in the X libraries though, so one more, especially in a little used
library such as libXtst would not be surprising.
--
-Alan Coopersmith- [email protected]
Oracle Solaris Platform Engineering: X Window System
_______________________________________________
[email protected]: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg