You are not logged in.

#1 2020-08-01 10:44:11

neptuneK
Member
Registered: 2008-06-03
Posts: 38

Emacs segfaulting in GNOME, but not in XFCE

Emacs appears to segfault on GNOME (on Xorg) but works fine in Xfce4. I repeated this without a .emacs file and the results were the same.
Does anyone have any idea for why this might be happening ? I'm on the latest version of everything as of this posting.

~ > emacs
Fatal error 11: Segmentation fault
Backtrace:
emacs[0x515805]
emacs[0x4fa2e5]
emacs[0x51387f]
emacs[0x5139ae]
emacs[0x513a2a]
/usr/lib/libpthread.so.0(+0x14960)[0x7fd1dc3f8960]
emacs[0x4dacb0]
emacs[0x4db137]
emacs[0x4dbddd]
emacs[0x575e90]
emacs[0x5b6e01]
emacs[0x575e13]
emacs[0x5b6e01]
emacs[0x575e13]
emacs[0x577c6b]
emacs[0x575e90]
emacs[0x5b6e01]
emacs[0x575e13]
emacs[0x5b6e01]
emacs[0x575e13]
emacs[0x5b6e01]
emacs[0x575e13]
emacs[0x5b6e01]
emacs[0x575e13]
emacs[0x5b6e01]
emacs[0x579828]
emacs[0x5785de]
emacs[0x57a24c]
emacs[0x574eef]
emacs[0x4fb221]
emacs[0x574e5e]
emacs[0x4fa6b9]
emacs[0x4ffb28]
emacs[0x4ffe68]
emacs[0x415cde]
/usr/lib/libc.so.6(__libc_start_main+0xf2)[0x7fd1dc12b002]
emacs[0x416a3e]
zsh: segmentation fault (core dumped)  emacs

Last edited by neptuneK (2020-08-01 11:10:37)

Offline

#2 2020-08-01 11:04:06

dimsuz
Member
Registered: 2011-05-01
Posts: 29

Re: Emacs segfaulting in GNOME, but not in XFCE

Confirming, same segfault, also GNOME + Xorg!

Offline

#3 2020-08-01 11:09:16

neptuneK
Member
Registered: 2008-06-03
Posts: 38

Re: Emacs segfaulting in GNOME, but not in XFCE

It looks like this is related to XIM input via ibus. I can reproduce the same error on XFCE while running "ibus-daemon -x".

Offline

#4 2020-08-01 11:36:18

neptuneK
Member
Registered: 2008-06-03
Posts: 38

Re: Emacs segfaulting in GNOME, but not in XFCE

Doesn't seem related to the xorg updates on 2020/07/31

Offline

#5 2020-08-01 11:49:16

neptuneK
Member
Registered: 2008-06-03
Posts: 38

Re: Emacs segfaulting in GNOME, but not in XFCE

Disabling XIM input in Emacs by adding "        Emacs*useXIM: false" in .Xresources, and running "xrdb ~/.Xresources" gets rid of the segfault.
However, this also results (obviously) in the loss of ability in using ibus.

Offline

#6 2020-08-01 15:13:57

dimsuz
Member
Registered: 2011-05-01
Posts: 29

Re: Emacs segfaulting in GNOME, but not in XFCE

Great, thanks for the workaround! Did you report this as a bug to Arch Linux tracker, or should I do this?

Offline

#7 2020-08-01 23:16:19

dimsuz
Member
Registered: 2011-05-01
Posts: 29

Re: Emacs segfaulting in GNOME, but not in XFCE

FYI: found the bugreport here https://bugs.archlinux.org/task/67461

Offline

Board footer

Powered by FluxBB