Bug 2182529 - [abrt] emacs: handle_fatal_signal(): emacs-28.2 killed by SIGSEGV
Summary: [abrt] emacs: handle_fatal_signal(): emacs-28.2 killed by SIGSEGV
Keywords:
Status: CLOSED DUPLICATE of bug 2189228
Alias: None
Product: Fedora
Classification: Fedora
Component: emacs
Version: 38
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daiki Ueno
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:fce2c86307b66e45861af717f90...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-29 00:00 UTC by Scott Worley
Modified: 2023-05-16 00:21 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-16 00:21:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: proc_pid_status (1.39 KB, text/plain)
2023-03-29 00:00 UTC, Scott Worley
no flags Details
File: maps (3.98 KB, text/plain)
2023-03-29 00:00 UTC, Scott Worley
no flags Details
File: limits (1.29 KB, text/plain)
2023-03-29 00:00 UTC, Scott Worley
no flags Details
File: environ (3.26 KB, text/plain)
2023-03-29 00:00 UTC, Scott Worley
no flags Details
File: open_fds (1.75 KB, text/plain)
2023-03-29 00:00 UTC, Scott Worley
no flags Details
File: mountinfo (3.83 KB, text/plain)
2023-03-29 00:00 UTC, Scott Worley
no flags Details
File: os_info (756 bytes, text/plain)
2023-03-29 00:00 UTC, Scott Worley
no flags Details
File: cpuinfo (2.95 KB, text/plain)
2023-03-29 00:01 UTC, Scott Worley
no flags Details
File: core_backtrace (19.74 KB, text/plain)
2023-03-29 00:01 UTC, Scott Worley
no flags Details
File: dso_list (358 bytes, text/plain)
2023-03-29 00:01 UTC, Scott Worley
no flags Details
File: backtrace (204.28 KB, text/plain)
2023-03-29 00:01 UTC, Scott Worley
no flags Details

Description Scott Worley 2023-03-29 00:00:45 UTC
Description of problem:
Started emacs to edit a C file.  Emacs is configured to use LSP clangd.
While scrolling through file emacs crashed.

Version-Release number of selected component:
emacs-1:28.2-4.fc38

Additional info:
reporter:       libreport-2.17.9
type:           CCpp
reason:         emacs-28.2 killed by SIGSEGV
journald_cursor: s=cc04aa3dd7e445f8887f45260ab8f072;i=36529;b=c4eef8b1cafc4e3b8adf260913f5a894;m=1d03e60a5;t=5f7fe8f95cd66;x=53a344efac39d541
executable:     /usr/bin/emacs-28.2
cmdline:        emacs zephyr/drivers/gpio/gpio_mchp_xec_v2.c
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-32b1fec7-f48e-48bf-bda2-39f4aa86daae.scope
rootdir:        /
uid:            1000
kernel:         6.2.8-300.fc38.x86_64
package:        emacs-1:28.2-4.fc38
runlevel:       N 5
backtrace_rating: 4
crash_function: handle_fatal_signal

Truncated backtrace:
Thread no. 1 (36 frames)
 #4 handle_fatal_signal at ../../src/sysdep.c:1762
 #5 deliver_thread_signal.constprop.0 at ../../src/sysdep.c:1754
 #7 _cairo_recording_surface_replay_internal at ../src/cairo-recording-surface.c:2006
 #8 _cairo_recording_surface_replay_with_foreground_color at ../src/cairo-recording-surface.c:2472
 #9 _cairo_ft_scaled_glyph_init_surface_for_recording_surface at ../src/cairo-ft-font.c:3114
 #10 _cairo_ft_scaled_glyph_init at ../src/cairo-ft-font.c:3515
 #11 _cairo_scaled_glyph_lookup at ../src/cairo-scaled-font.c:2959
 #12 ensure_scaled_glyph at ../src/cairo-surface.c:2654
 #13 composite_color_glyphs at ../src/cairo-surface.c:2855
 #14 _cairo_surface_show_text_glyphs at ../src/cairo-surface.c:2957
 #15 _cairo_gstate_show_text_glyphs at ../src/cairo-gstate.c:2079
 #16 cairo_show_glyphs at ../src/cairo.c:3687
 #18 ftcrfont_draw at ../../src/ftcrfont.c:539
 #19 x_draw_glyph_string_foreground at ../../src/xterm.c:1854
 #20 x_draw_glyph_string at ../../src/xterm.c:3795
 #21 draw_glyphs at ../../src/xdisp.c:29250
 #22 gui_write_glyphs at ../../src/xdisp.c:31277
 #23 update_text_area at ../../src/dispnew.c:4111
 #24 update_window_line at ../../src/dispnew.c:4203
 #25 update_window at ../../src/dispnew.c:3766
 #26 update_window_tree at ../../src/dispnew.c:3431
 #27 update_frame at ../../src/dispnew.c:3266
 #28 redisplay_internal at ../../src/xdisp.c:16242
 #29 redisplay_preserve_echo_area at ../../src/xdisp.c:16515
 #30 detect_input_pending_run_timers at ../../src/keyboard.c:10458
 #31 wait_reading_process_output at ../../src/process.c:5686
 #32 sit_for at ../../src/dispnew.c:6185
 #33 read_char at ../../src/keyboard.c:2800
 #34 read_key_sequence at ../../src/keyboard.c:9635
 #35 command_loop_1 at ../../src/keyboard.c:1392
 #36 internal_condition_case at ../../src/eval.c:1450
 #37 command_loop_2 at ../../src/keyboard.c:1133
 #38 internal_catch at ../../src/eval.c:1181
 #39 command_loop at ../../src/keyboard.c:1111
 #40 recursive_edit_1 at ../../src/keyboard.c:720
 #41 Frecursive_edit at ../../src/keyboard.c:803


Potential duplicate: bug 2101994

Comment 1 Scott Worley 2023-03-29 00:00:49 UTC
Created attachment 1954319 [details]
File: proc_pid_status

Comment 2 Scott Worley 2023-03-29 00:00:51 UTC
Created attachment 1954320 [details]
File: maps

Comment 3 Scott Worley 2023-03-29 00:00:52 UTC
Created attachment 1954321 [details]
File: limits

Comment 4 Scott Worley 2023-03-29 00:00:54 UTC
Created attachment 1954322 [details]
File: environ

Comment 5 Scott Worley 2023-03-29 00:00:55 UTC
Created attachment 1954323 [details]
File: open_fds

Comment 6 Scott Worley 2023-03-29 00:00:57 UTC
Created attachment 1954324 [details]
File: mountinfo

Comment 7 Scott Worley 2023-03-29 00:00:59 UTC
Created attachment 1954325 [details]
File: os_info

Comment 8 Scott Worley 2023-03-29 00:01:01 UTC
Created attachment 1954326 [details]
File: cpuinfo

Comment 9 Scott Worley 2023-03-29 00:01:03 UTC
Created attachment 1954327 [details]
File: core_backtrace

Comment 10 Scott Worley 2023-03-29 00:01:05 UTC
Created attachment 1954328 [details]
File: dso_list

Comment 11 Scott Worley 2023-03-29 00:01:06 UTC
Created attachment 1954329 [details]
File: backtrace

Comment 12 jan_raska 2023-04-19 07:38:42 UTC
Running emacs in Gnome using a shortcut


reporter:       libreport-2.17.9
type:           CCpp
reason:         emacs-28.2 killed by SIGSEGV
journald_cursor: s=b640a586198b483cb5fea1e2ee5a077f;i=fd69;b=e2b0641b88db423489c6d9b9741a11f3;m=22c94c1c;t=5f9ab75abccb4;x=275e05fa92267ada
executable:     /usr/bin/emacs-28.2
cmdline:        /usr/bin/emacs
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-emacs-3815.scope
rootdir:        /
uid:            1000
kernel:         6.2.11-300.fc38.x86_64
package:        emacs-1:28.2-4.fc38
runlevel:       N 5
backtrace_rating: 4
crash_function: handle_fatal_signal
comment:        Running emacs in Gnome using a shortcut

Comment 13 cuzco 2023-04-19 23:20:40 UTC
On freshly installed and updated F38 I executed 'emacs ~/.ssh/config', file did not exist at the time, directory did.


reporter:       libreport-2.17.9
type:           CCpp
reason:         emacs-28.2 killed by SIGSEGV
journald_cursor: s=c4d3d79e8dad4760b16da81bcaaf3517;i=3a70;b=c3236f5a37c0493ba2daf5b7e7cf4d80;m=37b546d5;t=5f9aa03473f13;x=37ec24e85309561a
executable:     /usr/bin/emacs-28.2
cmdline:        emacs /home/fidel/.ssh/config
cgroup:         0::/user.slice/user-1000.slice/session-2.scope
rootdir:        /
uid:            1000
kernel:         6.2.11-300.fc38.x86_64
package:        emacs-1:28.2-4.fc38
runlevel:       N 5
backtrace_rating: 4
crash_function: handle_fatal_signal
comment:        On freshly installed and updated F38 I executed 'emacs ~/.ssh/config', file did not exist at the time, directory did.

Comment 14 Dave P 2023-05-03 11:51:26 UTC
Rbooted. Emacs set as launch programme. Immediately crashed.
Tried to start it again. Crashed.

Reported


reporter:       libreport-2.17.9
type:           CCpp
reason:         emacs-28.2 killed by SIGSEGV
journald_cursor: s=374f96c0c5144323b784434737123300;i=108dc5;b=615f4f2e6bcb4a028b2bccdec9db3fb5;m=42da1f4;t=5fac858e4bb9c;x=ba0f479066e3ed8
executable:     /usr/bin/emacs-28.2
cmdline:        /usr/bin/emacs
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-emacs-2745.scope
rootdir:        /
uid:            1000
kernel:         6.2.14-300.fc38.x86_64
package:        emacs-1:28.2-4.fc38
runlevel:       N 5
backtrace_rating: 4
crash_function: handle_fatal_signal

Comment 15 Christopher Beland 2023-05-10 01:28:57 UTC
Crashed on startup when opening a Python source code file from the command line. Opening the same file again immediately after, in the same way, did not produce a crash.

Windows are opening up oddly small in both height and width.

This output spewed upon crash:

Backtrace:
emacs(emacs_backtrace+0x5c)[0x5889dc]
emacs(terminate_due_to_signal+0xa1)[0x46533c]
emacs[0x465cc6]
emacs[0x6ae2b4]
/lib64/libc.so.6(+0x3db70)[0x7f3a15e5fb70]
/lib64/libcairo.so.2(+0x59c8c)[0x7f3a1e72fc8c]
/lib64/libcairo.so.2(+0xa8144)[0x7f3a1e77e144]
/lib64/libcairo.so.2(+0x64127)[0x7f3a1e73a127]
/lib64/libcairo.so.2(+0x70099)[0x7f3a1e746099]
/lib64/libcairo.so.2(+0x720e9)[0x7f3a1e7480e9]
/lib64/libcairo.so.2(+0x2be9a)[0x7f3a1e701e9a]
/lib64/libcairo.so.2(cairo_show_glyphs+0x2e)[0x7f3a1e75645e]
emacs[0x68c1cd]
emacs[0x539ac2]
emacs[0x53c0b4]
emacs[0x4c0f14]
emacs(gui_write_glyphs+0x9c)[0x4ccc9c]
emacs[0x4757a6]
emacs[0x47caac]
emacs[0x47d824]
emacs(update_frame+0x1ed)[0x47e4cd]
emacs[0x4ab34d]
emacs[0x4aca88]
emacs(message3_nolog+0xf6)[0x4a2a86]
emacs(message3+0x308)[0x4a2f18]
emacs(Fmessage+0x46)[0x5fa976]
emacs(Ffuncall+0x221)[0x603971]
/usr/bin/../lib64/emacs/28.2/native-lisp/28.2-a66ed3a6/preloaded/startup-bbc6ea72-9c04c94d.eln(F646973706c61792d737461727475702d6563686f2d617265612d6d657373616765_display_startup_echo_area_message_0+0x434)[0x7f3a0f028dd4]
emacs(Ffuncall+0x221)[0x603971]
/usr/bin/../lib64/emacs/28.2/native-lisp/28.2-a66ed3a6/preloaded/startup-bbc6ea72-9c04c94d.eln(F636f6d6d616e642d6c696e652d31_command_line_1_0+0x41)[0x7f3a0f0293a1]
emacs(Ffuncall+0x221)[0x603971]
/usr/bin/../lib64/emacs/28.2/native-lisp/28.2-a66ed3a6/preloaded/startup-bbc6ea72-9c04c94d.eln(F636f6d6d616e642d6c696e65_command_line_0+0x195f)[0x7f3a0f0221cf]
emacs(Ffuncall+0x221)[0x603971]
/usr/bin/../lib64/emacs/28.2/native-lisp/28.2-a66ed3a6/preloaded/startup-bbc6ea72-9c04c94d.eln(F6e6f726d616c2d746f702d6c6576656c_normal_top_level_0+0xf6d)[0x7f3a0f01e38d]
emacs(eval_sub+0x4ed)[0x602c9d]
emacs[0x56fafa]
emacs(internal_condition_case+0x6e)[0x5ff21e]
emacs[0x57239a]
emacs(internal_catch+0x47)[0x5ff177]
emacs[0x5706ef]
emacs(recursive_edit_1+0xbb)[0x57146b]


reporter:       libreport-2.17.9
crash_function: handle_fatal_signal
cmdline:        emacs views.py
executable:     /usr/bin/emacs-28.2
reason:         emacs-28.2 killed by SIGSEGV
type:           CCpp
kernel:         6.2.14-300.fc38.x86_64
package:        emacs-1:28.2-4.fc38
rootdir:        /
runlevel:       N 5
uid:            1000
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-5c0bf7ca-fe25-43fa-9ea2-da2f08b25003.scope
journald_cursor: s=629b355a27de4f8e99f84e8329c89cb7;i=d33f6;b=a83c6cf5121d4c8981a518c4830e577a;m=1c5da36877;t=5fb4c9f317014;x=a400a7702e535602
backtrace_rating: 4

Comment 16 Dave P 2023-05-10 09:44:26 UTC
Dropbox doing large sync operation, otherwise I was simply reading when the sig fault was noted. 


reporter:       libreport-2.17.9
type:           CCpp
reason:         emacs-28.2 killed by SIGSEGV
journald_cursor: s=374f96c0c5144323b784434737123300;i=1207ac;b=08a6f8be01284ff8ad02a4fbddd63ea4;m=2440356;t=5fb40544af9bb;x=cc8532614e2a6065
executable:     /usr/bin/emacs-28.2
cmdline:        /usr/bin/emacs
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-emacs-2880.scope
rootdir:        /
uid:            1000
kernel:         6.2.14-300.fc38.x86_64
package:        emacs-1:28.2-4.fc38
runlevel:       N 5
backtrace_rating: 4
crash_function: handle_fatal_signal
comment:        Dropbox doing large sync operation, otherwise I was simply reading when the sig fault was noted.

Comment 17 Jean Abou Samra 2023-05-11 21:11:10 UTC
I've reported this in Cairo.

https://gitlab.freedesktop.org/cairo/cairo/-/issues/778

Comment 18 bugzilla 2023-05-14 16:27:51 UTC
I was increasing the font size on Emacs from 14pts to 20pts and then it crashed.


reporter:       libreport-2.17.10
type:           CCpp
reason:         emacs-28.2 killed by SIGSEGV
journald_cursor: s=651f5fe1e4b54cdd81f0f4261fdc195d;i=759c;b=eb8c60211715429eb93bad6cf3c8928b;m=6a52e53b;t=5fba98bd84559;x=bd195cc07d67138
executable:     /usr/bin/emacs-28.2
cmdline:        /usr/bin/emacs
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-emacs-5510.scope
rootdir:        /
uid:            1000
kernel:         6.2.15-300.fc38.x86_64
package:        emacs-1:28.2-4.fc38
runlevel:       N 5
backtrace_rating: 4
crash_function: handle_fatal_signal
comment:        I was increasing the font size on Emacs from 14pts to 20pts and then it crashed.

Comment 19 Scott Talbert 2023-05-16 00:21:40 UTC

*** This bug has been marked as a duplicate of bug 2189228 ***


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