FS#50954 - [emacs] Crash when pressing M-x

Attached to Project: Arch Linux
Opened by Jeff Mickey (codemac) - Tuesday, 27 September 2016, 18:22 GMT
Last edited by Jürgen Hötzel (juergen) - Saturday, 24 December 2016, 12:40 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jürgen Hötzel (juergen)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Emacs crashed with ABRT when I pressed M-x (alt and the x key simultaneously)

Is there any other information needed to look into this?

* package version(s)

; pacman -Qi emacs
Name : emacs
Version : 25.1-1
Description : The extensible, customizable, self-documenting real-time display editor
Architecture : x86_64
URL : http://www.gnu.org/software/emacs/emacs.html
Licenses : GPL3
Groups : None
Provides : None
Depends On : librsvg gpm giflib libxpm libotf m17n-lib gtk3 hicolor-icon-theme gconf desktop-file-utils alsa-lib imagemagick gnutls
Optional Deps : None
Required By : None
Optional For : notmuch
Conflicts With : None
Replaces : None
Installed Size : 102.77 MiB
Packager : Juergen Hoetzel <juergen@archlinux.org>
Build Date : Sun Sep 18 07:32:26 2016
Install Date : Sun Sep 18 16:31:04 2016
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature

* config and/or log files etc.
PID: 15979 (emacs)
UID: 1000 (jmickey)
GID: 1000 (jmickey)
Signal: 6 (ABRT)
Timestamp: Tue 2016-09-27 11:17:36 PDT (2min 54s ago)
Command Line: emacs
Executable: /usr/bin/emacs-25.1
Control Group: /user.slice/user-1000.slice/session-c1.scope
Unit: session-c1.scope
Slice: user-1000.slice
Session: c1
Owner UID: 1000 (jmickey)
Boot ID: e0cb0d40816d42fbb07fbdb943236759
Machine ID: aaa63de510804296902cfe2af494a19b
Hostname: novaria
Coredump: /var/lib/systemd/coredump/core.emacs.1000.e0cb0d40816d42fbb07fbdb943236759.15979.1475000256000000000000.lz4
Message: Process 15979 (emacs) of user 1000 dumped core.

Stack trace of thread 15979:
#0 0x00007fdbe938af5f raise (libpthread.so.0)
#1 0x00000000004ee994 n/a (emacs-25.1)
#2 0x0000000000507e53 n/a (emacs-25.1)
#3 0x00000000005624bb n/a (emacs-25.1)
#4 0x00000000005624c9 n/a (emacs-25.1)
#5 0x00000000005624f7 n/a (emacs-25.1)
#6 0x0000000000532537 n/a (emacs-25.1)
#7 0x0000000000534651 n/a (emacs-25.1)
#8 0x000000000051c4d1 n/a (emacs-25.1)
#9 0x000000000051d860 n/a (emacs-25.1)
#10 0x0000000000523602 n/a (emacs-25.1)
#11 0x00000000004ee7b0 n/a (emacs-25.1)
#12 0x00000000004ee965 n/a (emacs-25.1)
#13 0x000000000050654e n/a (emacs-25.1)
#14 0x0000000000506773 n/a (emacs-25.1)
#15 0x00000000005067df n/a (emacs-25.1)
#16 0x00007fdbe938b080 __restore_rt (libpthread.so.0)
#17 0x0000000000549c59 n/a (emacs-25.1)
#18 0x000000000054a03e n/a (emacs-25.1)
#19 0x000000000054a03e n/a (emacs-25.1)
#20 0x0000000000549ed8 n/a (emacs-25.1)
#21 0x000000000054a55c n/a (emacs-25.1)
#22 0x0000000000560d9d n/a (emacs-25.1)
#23 0x0000000000563ef9 n/a (emacs-25.1)
#24 0x0000000000561124 n/a (emacs-25.1)
#25 0x00000000005618cd n/a (emacs-25.1)
#26 0x0000000000561b5b n/a (emacs-25.1)
#27 0x0000000000561eaf n/a (emacs-25.1)
#28 0x000000000056c55c n/a (emacs-25.1)
#29 0x000000000056c670 n/a (emacs-25.1)
#30 0x000000000056c670 n/a (emacs-25.1)
#31 0x000000000056c670 n/a (emacs-25.1)
#32 0x000000000056c670 n/a (emacs-25.1)
#33 0x00000000005611dd n/a (emacs-25.1)
#34 0x0000000000561124 n/a (emacs-25.1)
#35 0x0000000000563fad n/a (emacs-25.1)
#36 0x0000000000561124 n/a (emacs-25.1)
#37 0x000000000056146d n/a (emacs-25.1)
#38 0x0000000000555345 n/a (emacs-25.1)
#39 0x0000000000561124 n/a (emacs-25.1)
#40 0x00000000005618cd n/a (emacs-25.1)
#41 0x0000000000560c08 n/a (emacs-25.1)
#42 0x0000000000560f52 n/a (emacs-25.1)
#43 0x00000000005618cd n/a (emacs-25.1)
#44 0x0000000000561b5b n/a (emacs-25.1)
#45 0x0000000000562fb8 n/a (emacs-25.1)
#46 0x00000000005612f0 n/a (emacs-25.1)
#47 0x0000000000563a56 n/a (emacs-25.1)
#48 0x0000000000561124 n/a (emacs-25.1)
#49 0x000000000056438d n/a (emacs-25.1)
#50 0x0000000000561124 n/a (emacs-25.1)
#51 0x0000000000563fad n/a (emacs-25.1)
#52 0x0000000000561124 n/a (emacs-25.1)
#53 0x000000000056426d n/a (emacs-25.1)
#54 0x0000000000561124 n/a (emacs-25.1)
#55 0x00000000005618cd n/a (emacs-25.1)
#56 0x0000000000560c08 n/a (emacs-25.1)
#57 0x0000000000560f52 n/a (emacs-25.1)
#58 0x0000000000561124 n/a (emacs-25.1)
#59 0x000000000056426d n/a (emacs-25.1)
#60 0x0000000000561124 n/a (emacs-25.1)
#61 0x00000000005618cd n/a (emacs-25.1)
#62 0x0000000000560c08 n/a (emacs-25.1)
#63 0x0000000000560f52 n/a (emacs-25.1)

Stack trace of thread 15980:
#0 0x00007fdbe90bb48d poll (libc.so.6)
#1 0x00007fdbed8eb066 n/a (libglib-2.0.so.0)
#2 0x00007fdbed8eb17c g_main_context_iteration (libglib-2.0.so.0)
#3 0x00007fdbed8eb1c1 n/a (libglib-2.0.so.0)
#4 0x00007fdbed911345 n/a (libglib-2.0.so.0)
#5 0x00007fdbe9381454 start_thread (libpthread.so.0)
#6 0x00007fdbe90c47df __clone (libc.so.6)

Stack trace of thread 15981:
#0 0x00007fdbe90bb48d poll (libc.so.6)
#1 0x00007fdbed8eb066 n/a (libglib-2.0.so.0)
#2 0x00007fdbed8eb17c g_main_context_iteration (libglib-2.0.so.0)
#3 0x00007fdbdf16a4bd n/a (libdconfsettings.so)
#4 0x00007fdbed911345 n/a (libglib-2.0.so.0)
#5 0x00007fdbe9381454 start_thread (libpthread.so.0)
#6 0x00007fdbe90c47df __clone (libc.so.6)


Steps to reproduce:

It's not consistent, but seems to relate to how long I've been using emacs. My suspicion is a library version that we build emacs against and emacs 25.1 don't play well together, but I'm not sure yet.
This task depends upon

Closed by  Jürgen Hötzel (juergen)
Saturday, 24 December 2016, 12:40 GMT
Reason for closing:  Fixed
Additional comments about closing:  Added workaround for https://debbugs.gnu.org/cgi/bugreport.cg i?bug=24358 in 25.1-3

Please reopen if you still encounter this issue.
Comment by Jürgen Hötzel (juergen) - Thursday, 29 September 2016, 18:06 GMT
Can you reproduce the issue when using "emacs -Q"?
Comment by Jeff Mickey (codemac) - Monday, 03 October 2016, 19:01 GMT
I haven't repro'd it yet with emacs -Q, but I do get it often enough that I now just run emacs with LD_PRELOAD=/lib/libgc.so emacs trying to get around bad memory management. Writing a few more test cases to see if I can't get it to break all the time.
Comment by SATO Tatsuya (tattsan) - Tuesday, 08 November 2016, 20:42 GMT
I met another crash issue of emacs 25.1, with auctex package.
It appears to be fixed by the following patches.

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24821#8

These patches can be applied to 25.1 source, and then no crash
with auctex package has occurred.

codemac, would you try these patch for your problem?

Loading...