Summary: | x11-libs/libX11-1.6.10 crashes emacs (with USE=X) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Javran Cheng <javran.c> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gnu-emacs, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.debian.org/966691 https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/116 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 734974 | ||
Attachments: |
emerge --info 'x11-libs/libX11' emacs
gdb /usr/bin/emacs upstream patch |
Description
Javran Cheng
2020-08-02 20:12:25 UTC
Created attachment 652436 [details]
emerge --info 'x11-libs/libX11' emacs
Could you try get debugging symbols with https://wiki.gentoo.org/wiki/Debugging? Created attachment 652438 [details]
gdb /usr/bin/emacs
gdb /usr/bin/emacs
Now I realized for whatever reason, running executable with exec-file command in gdb is different than just run gdb with the binary, so `gdb /usr/bin/emacs` does provide more info about what's going on. I followed https://wiki.gentoo.org/wiki/Debugging to apply both debugsyms and installsources to both emacs and libX11. Result of `gdb /usr/bin/emacs` is uploaded to attachments. This could be https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/116 after some poking around. I cannot reproduce the problem (with emacs-27.0.91 and libX11-1.6.10, same USE flags as yours). Created attachment 652446 [details, diff] upstream patch This patch is downloade directly from https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/40, authored by Yichao Yu. I can confirm this patch fixed the problem on my side. Re to comment #6: I suspect this has something to do with input methods - I have fcitx installed and my .xsession exports few environment variables that could be related: export XMODIFIERS="@im=fcitx" export QT_IM_MODULE="fcitx" export GTK_IM_MODULE="fcitx" (In reply to Javran Cheng from comment #7) > Created attachment 652446 [details, diff] [details, diff] > upstream patch > > This patch is downloade directly from > https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/40, authored > by Yichao Yu. This has been merged into master upstream. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a36d5019b8e24067defc660ecb3ccc6191ab9a5 commit 7a36d5019b8e24067defc660ecb3ccc6191ab9a5 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2020-08-06 17:25:04 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2020-08-06 17:26:14 +0000 x11-libs/libX11: Version bump to 1.6.11 Closes: https://bugs.gentoo.org/735596 Signed-off-by: Matt Turner <mattst88@gentoo.org> x11-libs/libX11/Manifest | 1 + x11-libs/libX11/libX11-1.6.11.ebuild | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) |