Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#67461 - [libx11] crashes with XIM

Attached to Project: Arch Linux
Opened by Akshay (akssri) - Saturday, 01 August 2020, 15:46 GMT
Last edited by Felix Yan (felixonmars) - Tuesday, 04 August 2020, 05:58 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jürgen Hötzel (juergen)
Andreas Radke (AndyRTR)
Laurent Carlier (lordheavy)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 10
Private No


Emacs crashes with "Fatal error 11: Segmentation fault" , when XIM input is enabled,
$ echo " Emacs*useXIM: true" | xrdb
, and ibus is running the XIM backend,
$ ibus-daemon -x

Additional info:
* package version(s)
emacs 26.3-2
ibus 1.5.22+8+gf591381e-1
xorg-server 1.20.8-3

The same behavior was observed on emacs-27 (from aur). The Emacs-26 package in flathub continues to work fine though.

* config and/or log files etc.
- verified that ~/.emacs doesn't influence behavior

* link to upstream bug report, if any

* Steps to reproduce:
$ ibus-daemon -x &
$ echo " Emacs*useXIM: true" | xrdb
$ emacs
This task depends upon

Closed by  Felix Yan (felixonmars)
Tuesday, 04 August 2020, 05:58 GMT
Reason for closing:  Fixed
Additional comments about closing:  libx11 1.6.10-2
Comment by William Vaughn (nackjicholson) - Saturday, 01 August 2020, 22:44 GMT
As a workaround I've been able to run emacs as a daemon server and then use

emacsclient -c

To start an emacs frame. Seems to work okay.
Comment by Akshay (akssri) - Sunday, 02 August 2020, 04:27 GMT
On my end, emacs daemon crashes at the first instance of the client.
Comment by shawn yu (xyyx_xyz) - Sunday, 02 August 2020, 12:19 GMT
dowgrade libx11
Comment by Felix Yan (felixonmars) - Sunday, 02 August 2020, 21:17 GMT Comment by Takeda William (bughater) - Monday, 03 August 2020, 05:06 GMT
downgrading libx11 from 1.6.10-1 to 1.6.9-7 temporarily solves the problem. I'm waiting for an offifical fix.
Comment by Felix Yan (felixonmars) - Monday, 03 August 2020, 12:34 GMT
Please try again with libx11 1.6.10-2.
Comment by William Vaughn (nackjicholson) - Tuesday, 04 August 2020, 04:06 GMT
Thank you Felix

I can confirm that for my case, this is fixed! Emacs starts up correctly.
Comment by Akshay (akssri) - Tuesday, 04 August 2020, 05:45 GMT
Emacs works as before now. Thanks Felix!