Unexpected _XIOError
After upgrading to Xlib 1.7.3.1 LXQt users experience graceful exits with a code 1 in lxqt-globalkeysd
daemon and the log states
lxqt-globalkeysd[957]: The X11 connection broke: No error (code 0)
After quite some investigation and debugging effort we could locate commit 93a050c3 for the cause of the issues. The change looks correct though, but it seems something is missing (likely event_notify mutex needs some care).
Two questions hopefully help to clear this:
- Can the "event" pointer become NULL?
- Following the code we see
UnlockDisplay
in_XReply
. Does it need to be re-locked?
FYI: On my system I experience some other effects currently. Not sure if related at all, but could be.
- In Firefox keys repeat during writing (e.g. exxxxxxxxxxxxxxample).
- Laptop Touchpad stops working occasionally. Sometimes recovers, sometimes not
We track this on Github and we cleaned up the confusion a little in the follow-up merge request.
If we can provide anything to help further improve this situation, please let us know.