~ # emacs Xlib: sequence lost (0x10000 > 0x4cf) in reply type 0x16! Xlib: sequence lost (0x10000 > 0x4f6) in reply type 0x13! Xlib: sequence lost (0x10000 > 0xa3e) in reply type 0xf! Xlib: sequence lost (0x10000 > 0xcc5) in reply type 0xc! Xlib: sequence lost (0x10000 > 0xf41) in reply type 0xc! Xlib: sequence lost (0x10000 > 0xf6a) in reply type 0xc! app-editors/emacs-28.2-r2
There are a bunch of those msgs whenever I resize the emacs window
This is happening with Steam as well (not even with a game, just the UI itself open.) Arch linux had a similar issue and put out some patches in the past day. I didn't have time to track it all down, but this was the entry point: https://bugs.archlinux.org/task/76860 Found the same errors from this forum post over there. https://bbs.archlinux.org/viewtopic.php?pid=2074584 So looks like upstream bugs.
(In reply to Xepher from comment #2) > This is happening with Steam as well (not even with a game, just the UI > itself open.) Arch linux had a similar issue and put out some patches in the > past day. I didn't have time to track it all down, but this was the entry > point: https://bugs.archlinux.org/task/76860 > > Found the same errors from this forum post over there. > https://bbs.archlinux.org/viewtopic.php?pid=2074584 > > So looks like upstream bugs. Great, I tried the patch in https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/177/commits but that one did not help ...
(In reply to Joakim Tjernlund from comment #3) > (In reply to Xepher from comment #2) > > This is happening with Steam as well (not even with a game, just the UI > > itself open.) Arch linux had a similar issue and put out some patches in the > > past day. I didn't have time to track it all down, but this was the entry > > point: https://bugs.archlinux.org/task/76860 > > > > Found the same errors from this forum post over there. > > https://bbs.archlinux.org/viewtopic.php?pid=2074584 > > > > So looks like upstream bugs. > > Great, I tried the patch in > https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/177/commits > but that one did not help ... Added https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/176/commits but no joy :( emacs does not crash tough
If you don't see a specifc issue at https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues which sounds like your Emacs problem, please file a new one. Unfortunately, there's been a variety of issues w/ libX11 recently, and while some of them may be related, they may not be the same thing (there's definitely a few distinct ones).
(In reply to Sam James from comment #5) > If you don't see a specifc issue at > https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues which sounds like > your Emacs problem, please file a new one. > > Unfortunately, there's been a variety of issues w/ libX11 recently, and > while some of them may be related, they may not be the same thing (there's > definitely a few distinct ones). Done see https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/176
I applied libX11 commit https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/88399e01be679bfcc9a5e8922ffe2c47f0e56dee as an user patch with emerge and the problem seems to have disappeared. Also upstream issue https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/176 has been closed with the same commit. Maybe the commit above could be applied as a workaround until the next libX11 release is available?
So have I, reverted the problem commit and added MR 176, no issues so far.
(In reply to Joakim Tjernlund from comment #8) > So have I, reverted the problem commit and added MR 176, no issues so far. Could we have a libX11-1.8.3-r1 with the revert and MR 176 ?
+1 for revbumping x11-libs/libX11 with the fix included as this sometimes makes git with EDITOR=emacs abort since it thinks that the editor returned an error code.
I hadn't done it yet because libX11 seems to be a mess right now where adding patches in the past has made things worse. But given that the revert + the MR are both in master now, I think we can do it.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4984fd11b13e48ab6f7c569759c8e40e1dc2281e commit 4984fd11b13e48ab6f7c569759c8e40e1dc2281e Author: Sam James <sam@gentoo.org> AuthorDate: 2023-01-17 01:47:27 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-01-17 01:47:27 +0000 x11-libs/libX11: backport 2 regression fixes from master Should fix bug #886349 but not really clear wrt bug #887593. Bug: https://bugs.gentoo.org/886349 Bug: https://bugs.gentoo.org/887593 Signed-off-by: Sam James <sam@gentoo.org> .../files/libX11-1.8.3-reentrancy-again.patch | 188 +++++++++++++++++++++ .../files/libX11-1.8.3-revert-XPutBackEvent.patch | 57 +++++++ x11-libs/libX11/libX11-1.8.3-r1.ebuild | 49 ++++++ 3 files changed, 294 insertions(+)