Subject: Re: bug#77046: 31.0.50; Emacs sometimes crashes

From: Markus Triska <[email-masked]>
Date: Sat, 22 Mar 2025 15:19:09 +0100

I found it, please see below, does this help?

All the best,
Markus

Program received signal SIGSEGV, Segmentation fault.
0x000055555559de87 in first_enabled_row (matrix=0x0) at dispnew.c:3499
3499	  for (int i = 0; i < matrix->nrows; ++i)
#0  0x000055555559de87 in first_enabled_row (matrix=0x0) at dispnew.c:3499
#1  0x000055555559deb9 in make_matrix_current (f=0x555555c57ae8) at dispnew.c:3511
#2  0x000055555559e719 in copy_child_glyphs (root=0x555555b15660, child=0x555555c57ae8) at dispnew.c:3715
#3  0x000055555559f5ba in combine_updates_for_frame (f=0x555555b15660, inhibit_scrolling=false) at dispnew.c:4020
#4  0x000055555559f944 in combine_updates (roots=XIL(0x7ffff7345eb3)) at dispnew.c:4073
#5  0x00005555556021e4 in redisplay_internal () at xdisp.c:17748
#6  0x00005555555ff87d in redisplay () at xdisp.c:16802
#7  0x00005555557668ec in read_char (commandflag=1, map=XIL(0x7ffff73463e3), prev_event=XIL(0), used_mouse_menu=0x7fffffffd739, end_time=0x0) at keyboard.c:2672
#8  0x000055555577babf in read_key_sequence (keybuf=0x7fffffffd960, prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false, disable_text_conversion_p=false) at keyboard.c:10848
#9  0x00005555557628c8 in command_loop_1 () at keyboard.c:1424
#10 0x000055555584abfd in internal_condition_case (bfun=0x55555576247a <command_loop_1>, handlers=XIL(0x90), hfun=0x55555576186d <cmd_error>) at eval.c:1620
#11 0x000055555576201d in command_loop_2 (handlers=XIL(0x90)) at keyboard.c:1163
#12 0x0000555555849fce in internal_catch (tag=XIL(0x11df0), func=0x555555761fef <command_loop_2>, arg=XIL(0x90)) at eval.c:1300
#13 0x0000555555761fab in command_loop () at keyboard.c:1141
#14 0x00005555557612ef in recursive_edit_1 () at keyboard.c:749
#15 0x0000555555761523 in Frecursive_edit () at keyboard.c:832
#16 0x000055555575ca31 in main (argc=5, argv=0x7fffffffde28) at emacs.c:2560

Lisp Backtrace:
"redisplay_internal (C function)" (0x0)