Bug 1519038 - Emacs crashes when loading color fonts
Summary: Emacs crashes when loading color fonts
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: emacs
Version: 27
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Synacek
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:5d40d609f33fbdaf0cc0ef382b1...
: 1520160 1535473 1551185 1557660 1564761 1582265 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-29 23:45 UTC by Daniel Wang
Modified: 2018-07-06 15:45 UTC (History)
12 users (show)

Fixed In Version: emacs-25.3-4.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-06 15:45:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (107.20 KB, text/plain)
2017-11-29 23:45 UTC, Daniel Wang
no flags Details
File: cgroup (309 bytes, text/plain)
2017-11-29 23:45 UTC, Daniel Wang
no flags Details
File: core_backtrace (24.61 KB, text/plain)
2017-11-29 23:45 UTC, Daniel Wang
no flags Details
File: cpuinfo (1.26 KB, text/plain)
2017-11-29 23:45 UTC, Daniel Wang
no flags Details
File: dso_list (15.61 KB, text/plain)
2017-11-29 23:45 UTC, Daniel Wang
no flags Details
File: environ (4.18 KB, text/plain)
2017-11-29 23:45 UTC, Daniel Wang
no flags Details
File: limits (1.29 KB, text/plain)
2017-11-29 23:45 UTC, Daniel Wang
no flags Details
File: maps (75.92 KB, text/plain)
2017-11-29 23:45 UTC, Daniel Wang
no flags Details
File: mountinfo (4.20 KB, text/plain)
2017-11-29 23:45 UTC, Daniel Wang
no flags Details
File: open_fds (1.07 KB, text/plain)
2017-11-29 23:45 UTC, Daniel Wang
no flags Details
File: proc_pid_status (1.28 KB, text/plain)
2017-11-29 23:45 UTC, Daniel Wang
no flags Details

Description Daniel Wang 2017-11-29 23:45:15 UTC
Description of problem:
(in gnome-shell with wayland)
Opened several buffers with emacs. 
Lock screen.
(about an hour passes)
Try to wake up screen.
See login screen.
Login.
See abrt oops notifications for emacs and for xorg-x11-server 
(re xorg-x11-server-Xwayland "Xwayland killed by SIGABRT": both uploading coredump or generating local backtrace result in unusable backtraces, so abrt disables reporting).

Version-Release number of selected component:
emacs-25.3-3.fc27

Additional info:
reporter:       libreport-2.9.3
backtrace_rating: 4
cmdline:        emacs /home/daniel/notes/2017-11-notes.org bbbb/src/test/scala/com/aaa/zzz/yyy/xxx.scala
crash_function: raise
executable:     /usr/bin/emacs-25.3
journald_cursor: s=41786f146fc545cdac583e307ec8b08f;i=f7e20;b=744e0edf471c4cd59f6b195b3a48ee2b;m=2c0da4458;t=55f270d4135d4;x=331e8a6582c2023c
kernel:         4.13.15-300.fc27.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 raise at ../sysdeps/unix/sysv/linux/raise.c:51
 #2 emacs_abort at ../../src/sysdep.c:2255
 #3 x_connection_closed at ../../src/xterm.c:9468
 #4 x_io_error_quitter at ../../src/xterm.c:9574
 #8 after_process_all_updates at gdkwindow.c:4045
 #9 gdk_window_process_all_updates at gdkwindow.c:4112
 #10 x_catch_errors_with_handler at ../../src/xterm.c:9273
 #11 x_catch_errors at ../../src/xterm.c:9286
 #12 read_settings at ../../src/xsettings.c:580
 #13 read_and_apply_settings at ../../src/xsettings.c:738

Potential duplicate: bug 1494492

Comment 1 Daniel Wang 2017-11-29 23:45:21 UTC
Created attachment 1360610 [details]
File: backtrace

Comment 2 Daniel Wang 2017-11-29 23:45:22 UTC
Created attachment 1360611 [details]
File: cgroup

Comment 3 Daniel Wang 2017-11-29 23:45:23 UTC
Created attachment 1360612 [details]
File: core_backtrace

Comment 4 Daniel Wang 2017-11-29 23:45:24 UTC
Created attachment 1360613 [details]
File: cpuinfo

Comment 5 Daniel Wang 2017-11-29 23:45:25 UTC
Created attachment 1360614 [details]
File: dso_list

Comment 6 Daniel Wang 2017-11-29 23:45:27 UTC
Created attachment 1360615 [details]
File: environ

Comment 7 Daniel Wang 2017-11-29 23:45:28 UTC
Created attachment 1360616 [details]
File: limits

Comment 8 Daniel Wang 2017-11-29 23:45:29 UTC
Created attachment 1360617 [details]
File: maps

Comment 9 Daniel Wang 2017-11-29 23:45:30 UTC
Created attachment 1360618 [details]
File: mountinfo

Comment 10 Daniel Wang 2017-11-29 23:45:31 UTC
Created attachment 1360619 [details]
File: open_fds

Comment 11 Daniel Wang 2017-11-29 23:45:32 UTC
Created attachment 1360620 [details]
File: proc_pid_status

Comment 12 Alex 2017-12-03 16:37:02 UTC
*** Bug 1520160 has been marked as a duplicate of this bug. ***

Comment 13 Daniel Wang 2017-12-19 20:02:36 UTC
Similar problem has been detected:

Leave emacs idle, lock screen.
1 hour passes
unlock screen, see ABRT notification that emacs died.

reporter:       libreport-2.9.3
backtrace_rating: 4
cmdline:        emacs
crash_function: raise
executable:     /usr/bin/emacs-25.3
journald_cursor: s=41786f146fc545cdac583e307ec8b08f;i=105f1e;b=5904b9d76f324644b3088e5393856adb;m=14b4c35bc8;t=560b6d787f186;x=2fd8aa79ecbd7d38
kernel:         4.14.5-300.fc27.x86_64
package:        emacs-25.3-3.fc27
reason:         emacs-25.3 killed by SIGABRT
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 14 Jan Pelle Thomson 2018-01-17 13:22:59 UTC
*** Bug 1535473 has been marked as a duplicate of this bug. ***

Comment 15 Peter F. Patel-Schneider 2018-02-22 19:43:40 UTC
Similar problem has been detected:

Occasionally Emacs just hangs.  It happens after Emacs has been running for a while, but I don't have any direct cause.

reporter:       libreport-2.9.3
backtrace_rating: 4
cmdline:        emacs
crash_function: raise
executable:     /usr/bin/emacs-25.3
journald_cursor: s=aad6c073074d47b281fc1a27495f7fae;i=1170;b=54e9d2fbde1347cba54893f3bff72f38;m=eb6bd7f5c;t=565d13261dc49;x=321b354cabcb989
kernel:         4.15.3-300.fc27.x86_64
package:        emacs-25.3-3.fc27
reason:         emacs-25.3 killed by SIGABRT
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1316

Comment 16 Peter F. Patel-Schneider 2018-02-23 19:24:42 UTC
Similar problem has been detected:

Emacs is crashing when displaying a new part of a buffer.   This is happening quite regularlly, but not every time.

The X11 server is also restarting.

reporter:       libreport-2.9.3
backtrace_rating: 4
cmdline:        emacs
crash_function: raise
executable:     /usr/bin/emacs-25.3
journald_cursor: s=346f193a4cc349d58d77eaa1f5f2ab62;i=1a78;b=9c3602abf3014c108dcb0d78fff29bd1;m=98e9fbc8f;t=565e60a8b9b25;x=5d71498747387151
kernel:         4.15.3-300.fc27.x86_64
package:        emacs-25.3-3.fc27
reason:         emacs-25.3 killed by SIGABRT
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1316

Comment 17 lambda.xy.x 2018-02-28 16:28:42 UTC
Similar problem has been detected:

The crash happens semi-deterministically when scrolling upwards in emacs (I'm not sure if I used page up or arrow up). No screen interaction is possible anymore, although I can still move the mouse. After about 10 seconds, the X session is restarted,

The first time this happened, the journal log contained the following message:

Feb 27 12:11:58 phedre kernel: [drm] GPU HANG: ecode 9:0:0x85dffffb, in Xorg [983], reason: Hang on rcs0, action: reset
Feb 27 12:11:58 phedre kernel: [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
Feb 27 12:11:58 phedre kernel: [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
Feb 27 12:11:58 phedre kernel: [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
Feb 27 12:11:58 phedre kernel: [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
Feb 27 12:11:58 phedre kernel: [drm] GPU crash dump saved to /sys/class/drm/card0/error
Feb 27 12:11:58 phedre kernel: i915 0000:00:02.0: Resetting rcs0 after gpu hang

I believe there was no core dump generated for emacs this first time. The same situation occurred multiple times (journalctl -b shows 4 coredumps) afterwards, again during scrolling upwards and including the restart of X.
I tried the following steps without any change:

* reinstall / recompile all packages installed via MELPA
* remove the loading statements of every package loaded from ~/.emacs.d from my .emacs configuration

The crash happened in C/C++ mode as well as in another mode (not sure if it was plain text mode or lisp interaction).


reporter:       libreport-2.9.3
backtrace_rating: 4
cmdline:        emacs Inferences/Superposition.cpp
crash_function: raise
executable:     /usr/bin/emacs-25.3
journald_cursor: s=1cd82d4559554e488a2fa5efb17e0ddb;i=60513;b=3199b709c6024098b33e61dc53d52302;m=58379224b;t=5663488d1ba8d;x=490856ca9b519bc7
kernel:         4.15.4-300.fc27.x86_64
package:        1:emacs-25.3-3.fc27
reason:         emacs-25.3 killed by SIGABRT
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 18 Peter F. Patel-Schneider 2018-02-28 16:42:17 UTC
See https://bugzilla.redhat.com/show_bug.cgi?id=1549219

I have a recipe for triggering the bug there

Comment 19 brizly vaan van Ulciputz 2018-03-03 06:43:01 UTC
*** Bug 1551185 has been marked as a duplicate of this bug. ***

Comment 20 Christian Schwarzgruber 2018-03-17 13:09:10 UTC
*** Bug 1557660 has been marked as a duplicate of this bug. ***

Comment 21 Jan Synacek 2018-03-20 10:26:50 UTC
Reported at https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30874.

Comment 23 Jan Synacek 2018-04-05 11:16:13 UTC
For some reason, emacs bootstrap currently segfaults on F28 and Rawhide, so I can't push and build this. I currently don't have a way to debug it further.

Comment 24 Saint Aardvark the Carpeted 2018-04-07 14:36:45 UTC
*** Bug 1564761 has been marked as a duplicate of this bug. ***

Comment 25 Rebecca Sobol 2018-05-24 16:43:28 UTC
*** Bug 1582265 has been marked as a duplicate of this bug. ***

Comment 26 Fedora Update System 2018-06-28 06:45:06 UTC
emacs-25.3-4.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-ca436df0dd

Comment 27 Fedora Update System 2018-06-28 12:33:26 UTC
emacs-25.3-4.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-ca436df0dd

Comment 28 Fedora Update System 2018-07-06 15:45:16 UTC
emacs-25.3-4.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.