From unknown Thu Jun 19 14:06:52 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#71521 <71521@debbugs.gnu.org> To: bug#71521 <71521@debbugs.gnu.org> Subject: Status: 30.0.50; crash in adjust_frame_glyphs (called by handle_switch_frame) Reply-To: bug#71521 <71521@debbugs.gnu.org> Date: Thu, 19 Jun 2025 21:06:52 +0000 retitle 71521 30.0.50; crash in adjust_frame_glyphs (called by handle_switc= h_frame) reassign 71521 emacs submitter 71521 Daniel Clemente severity 71521 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 12 09:57:26 2024 Received: (at submit) by debbugs.gnu.org; 12 Jun 2024 13:57:26 +0000 Received: from localhost ([127.0.0.1]:39893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHOTd-0004hU-5S for submit@debbugs.gnu.org; Wed, 12 Jun 2024 09:57:26 -0400 Received: from lists.gnu.org ([209.51.188.17]:41618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHOTZ-0004hK-IE for submit@debbugs.gnu.org; Wed, 12 Jun 2024 09:57:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sHOTa-00019C-D4 for bug-gnu-emacs@gnu.org; Wed, 12 Jun 2024 09:57:22 -0400 Received: from mail-ua1-x930.google.com ([2607:f8b0:4864:20::930]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sHOTX-0002aj-DI for bug-gnu-emacs@gnu.org; Wed, 12 Jun 2024 09:57:22 -0400 Received: by mail-ua1-x930.google.com with SMTP id a1e0cc1a2514c-80d6cf96e13so171442241.0 for ; Wed, 12 Jun 2024 06:57:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718200638; x=1718805438; darn=gnu.org; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Vad59Rn2nnNdoDFmEv8Ha1sE+iiANyq3f/9wakT136s=; b=ectIBHa7DGVrOtsjg+IBKWka+vfw2N3woVdfVzUG990i1SQ2qbSdQOkaA4ob6gZNq5 vYYxvBXdnTTleJeSZCyXbPBBGA2M2tdvWYaL02UM0gpI7RHatrjC5P2jl+p3o8Rp0COQ UvXY+sHQqpHdhfhczjcL8le85lEVSGEFKN19K/3Q4zoZmWiA6HWrMtocMJ8RZulgHesu KnwoNVk0FaEZmHTTifrdu1PtPHrWl9AKMesLOeBQUgJX7qlmN3ueACRs6XyICrapf+CL Dx44oSgql6FRPKC2A3xaH4Z6Tb0KK07Od46Odq+Mm73cJe2V5ajQKHRapk1M1eDkwOWA I7PQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718200638; x=1718805438; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Vad59Rn2nnNdoDFmEv8Ha1sE+iiANyq3f/9wakT136s=; b=nyBbB+ethf9Kw29vLkuiuy/HOTQErCxmq/fkhTwYEGIBK46VUY92b8FPgoMyNCxYJT 40Lug5vWZmwGR6Jz19zr/c1MRmMkvQmgxwxMHtZcPuMMzrWBLnLzjWlCGnakHwMYcggk prTTDal0vnd7Rrr4FPdK/q/fRXWBx9k/AhSCdT2+IBLpudbREgRJrAo+JUGnbw9jtxH4 b0hRHAwIm9WQvM9efyg0zPkFtwADCrfte7HpWsvkPLQXhZsfL+qgFQ3ET3psc3gMYXV7 bddfM/+eDrSZTTrpF7XrakgaktEnlMeWSltwjX7rb7g0qaFBLDZ15rF7kginf4hyehoD 8MIA== X-Gm-Message-State: AOJu0YwXnqXIyddHEJjdf0w8j7LftQ729lkW4ThhyMUCFtPhQ9TSaPKE u3iHHIhX8Rrky/kCVTuG7vPQE8+47yOtdBp3rKe7Y81/ZB2GjWeITiemOSz+dmTqPdkpoOCuHe7 lF/9fPDey1WHZHPQKPBMiYUiW5Kgn8kuU X-Google-Smtp-Source: AGHT+IHEgOjEFEews1oHAMJ4g5g60LFqqbFCFTqdjLuNRKv3qDYq0y/tfUvgPWTkmYhFqocR0Pj1rKR+VxkZORrmuV4= X-Received: by 2002:a67:fe44:0:b0:48c:487b:951a with SMTP id ada2fe7eead31-48d91d96490mr2149298137.6.1718200638028; Wed, 12 Jun 2024 06:57:18 -0700 (PDT) MIME-Version: 1.0 From: Daniel Clemente Date: Wed, 12 Jun 2024 13:56:51 +0000 Message-ID: Subject: 30.0.50; crash in adjust_frame_glyphs (called by handle_switch_frame) To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::930; envelope-from=n142857@gmail.com; helo=mail-ua1-x930.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_FILL_THIS_FORM_SHORT=0.01, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) This is another rare crash. It seems related to the minibuffer. Emacs with no X support, but running in X emacs --fg-daemon -Q Open emacsclient frame. Evaluate: (defun recurse () (recurse)) Run: M-x debug, and don't close that window. Call M-: (recurse) Start a loop to open and close frames: for j in `seq 100`; do for i in `seq 10`; do urxvt -e emacsclient '-nw' '-e' '(dired "~")' &; done; sleep 4 && killall emacsclient; done While this is happening, hold down M-x to open minibuffers in the frames that are being opened. After around 5 seconds it will have crashed. With this formula I reproduced it several times. This bug is similar to #71475 (crash in adjust_frame_glyphs, called by delete_frame) In the backtrace I see several Ffuncall but I don't know yet how to debug what Lisp code is being called (functions+arguments). Feel free to close if the bug is too weird or hard to fix. Rare bugs like this keep happening while I want to reproduce other crashes/bugs. These rare bugs aren't very important, but fixing them makes debugging other bugs easier. Lisp nesting exceeds =E2=80=98max-lisp-eval-depth=E2=80=99: 1622 Lisp nesting exceeds =E2=80=98max-lisp-eval-depth=E2=80=99: 1622 Lisp nesting exceeds =E2=80=98max-lisp-eval-depth=E2=80=99: 1622 Lisp nesting exceeds =E2=80=98max-lisp-eval-depth=E2=80=99: 1622 dispnew.c:1851: Emacs fatal error: assertion failed: FRAME_INITIAL_P (f) || noninteractive || !initialized || !f->terminal->name || (f->current_matrix && f->current_matrix->nrows > 0 && f->current_matrix->rows && f->desired_matrix && f->desired_matrix->nrows > 0 && f->desired_matrix->rows) Breakpoint 1, terminate_due_to_signal (sig=3D6, backtrace_limit=3D2147483647) at emacs.c:443 443 signal (sig, SIG_DFL); (gdb) bt #0 terminate_due_to_signal (sig=3D6, backtrace_limit=3D2147483647) at emac= s.c:443 #1 0x000055555573533c in die ( msg=3D0x55555584e4e8 "FRAME_INITIAL_P (f) || noninteractive || !initialized || !f->terminal->name || (f->current_matrix && f->current_matrix->nrows > 0 && f->current_matrix->rows && f->desired_matrix && f->desired_matrix->"..., file=3D0x55555584e231 "dispnew.c", line=3D1851) at alloc.c:8082 #2 0x0000555555589ee4 in adjust_frame_glyphs (f=3D0x5555567f84e8) at dispnew.c:1851 #3 0x0000555555617ff8 in apply_window_adjustment (w=3D0x555556295448) at window.c:7848 #4 0x000055555560c1a2 in set_window_buffer (window=3DXIL(0x55555629544d), buffer=3DXIL(0x5555561bf575), run_hooks_p=3Dfalse, keep_margins_p=3Dfalse) at window.c:4189 #5 0x00005555556e131e in zip_minibuffer_stacks (dest_window=3DXIL(0x55555629544d), source_window=3DXIL(0x555555fde315)) at minibuf.c:160 #6 0x00005555556e170a in move_minibuffers_onto_frame (of=3D0x555555fdde58, frame=3DXIL(0x5555567f84ed), for_deletion=3Dfalse) at minibuf.c:209 #7 0x000055555559ae29 in do_switch_frame (frame=3DXIL(0x5555567f84ed), track=3D0, for_deletion=3D0, norecord=3DXIL(0)) at frame.c:1569 #8 0x000055555559b1fc in Fhandle_switch_frame (event=3DXIL(0x7ffff0a2e363)) at frame.c:1656 #9 0x0000555555770aaa in funcall_subr (subr=3D0x555555eb00e0 , numargs=3D1, args=3D0x7ffffff00640) at eval.c:3161 #10 0x0000555555770471 in funcall_general (fun=3DXIL(0x555555eb00e5), numargs=3D1, args=3D0x7ffffff00640) at eval.c:3040 #11 0x000055555577077a in Ffuncall (nargs=3D2, args=3D0x7ffffff00638) at ev= al.c:3093 #12 0x0000555555764da7 in Ffuncall_interactively (nargs=3D2, args=3D0x7ffffff00638) at callint.c:250 #13 0x0000555555770d0a in funcall_subr (subr=3D0x555555ec3d00 , numargs=3D2, args=3D0x7ffffff00638) at eval.c:3184 #14 0x0000555555770471 in funcall_general (fun=3DXIL(0x555555ec3d05), numargs=3D2, args=3D0x7ffffff00638) at eval.c:3040 #15 0x000055555577077a in Ffuncall (nargs=3D3, args=3D0x7ffffff00630) at ev= al.c:3093 #16 0x0000555555767443 in Fcall_interactively (function=3DXIL(0x8700), record_flag=3DXIL(0), keys=3DXIL(0x5555566966ad)) at callint.c:789 #17 0x00007ffff19aeb8d in F636f6d6d616e642d65786563757465_command_execute_0= () from /opt/dc/emacs/bin/../lib/emacs/30.0.50/native-lisp/30.0.50-cd05323a= /preloaded/simple-fab5b0cf-c39c6ea4.eln #18 0x0000555555770b3f in funcall_subr (subr=3D0x7ffff22dfec0, numargs=3D1, args=3D0x7ffffff00da8) at eval.c:3167 #19 0x0000555555770471 in funcall_general (fun=3DXIL(0x7ffff22dfec5), numargs=3D1, args=3D0x7ffffff00da8) at eval.c:3040 #20 0x000055555577077a in Ffuncall (nargs=3D2, args=3D0x7ffffff00da0) at ev= al.c:3093 #21 0x000055555569155c in command_loop_1 () at keyboard.c:1550 #22 0x000055555576c950 in internal_condition_case (bfun=3D0x555555690d23 , handlers=3DXIL(0x90), hfun=3D0x5555556901ce ) at eval.c:1613 #23 0x0000555555690901 in command_loop_2 (handlers=3DXIL(0x90)) at keyboard= .c:1168 #24 0x000055555576bd7d in internal_catch (tag=3DXIL(0x68d0), func=3D0x5555556908d7 , arg=3DXIL(0x90)) at eval.c:1292 #25 0x0000555555690817 in command_loop () at keyboard.c:1138 #26 0x000055555568fc70 in recursive_edit_1 () at keyboard.c:754 #27 0x00005555556e3854 in read_minibuf (map=3DXIL(0x7ffff2102843), initial=3DXIL(0), prompt=3DXIL(0x55555665de14), expflag=3Dfalse, histvar=3DXIL(0x2aaa9bfbdda8), histpos=3Dmake_fixnum(0), defalt=3DXIL(0), allow_props=3Dfalse, inherit_input_method=3Dfalse) at minibuf.c:905 #28 0x00005555556e4f98 in Fread_from_minibuffer (prompt=3DXIL(0x55555665de14), initial_contents=3DXIL(0), keymap=3DXIL(0x7ffff2102843), read=3DXIL(0), hist=3DXIL(0x2aaa9bfbdda8), default_value=3DXIL(0), inherit_input_method=3DXIL(0)) at minibuf.c:1385 #29 0x0000555555770c40 in funcall_subr (subr=3D0x555555ebb6c0 , numargs=3D7, args=3D0x7ffff0dff208) at eval.c:3173 #30 0x00005555557cce29 in exec_byte_code (fun=3DXIL(0x7ffff21024fd), args_template=3D2050, nargs=3D8, args=3D0x7ffffff01998) at bytecode.c:812 #31 0x0000555555771123 in funcall_lambda (fun=3DXIL(0x7ffff21024fd), nargs=3D8, arg_vector=3D0x7ffffff01958) at eval.c:3252 #32 0x00005555557704bd in funcall_general (fun=3DXIL(0x7ffff21024fd), numargs=3D8, args=3D0x7ffffff01958) at eval.c:3044 [=E2=80=A6] (gdb) xbacktrace "handle-switch-frame" (0xfff00640) "funcall-interactively" (0xfff00638) "command-execute" (0xfff00da8) "read-from-minibuffer" (0xf0dff208) "completing-read-default" (0xfff01958) "read-extended-command-1" (0xfff01cb0) "read-extended-command" (0xf0dff160) "byte-code" (0xfff02310) "command-execute" (0xfff02b78) "recursive-edit" (0xfff02fc0) "debug" (0xfff03168) "eval-expression--debug" (0xfff03308) "recurse" (0xfff03670) "recurse" (0xfff038f0) "recurse" (0xfff03b70) "recurse" (0xfff03df0) "recurse" (0xfff04070) "recurse" (0xfff042f0) (gdb) list 1846 if (FRAME_WINDOW_P (f)) 1847 adjust_frame_glyphs_for_window_redisplay (f); 1848 else 1849 { 1850 adjust_frame_glyphs_for_frame_redisplay (f); 1851 eassert (FRAME_INITIAL_P (f) 1852 || noninteractive 1853 || !initialized 1854 || !f->terminal->name /* frame is being deleted */ 1855 || (f->current_matrix (gdb) 1856 && f->current_matrix->nrows > 0 1857 && f->current_matrix->rows 1858 && f->desired_matrix 1859 && f->desired_matrix->nrows > 0 1860 && f->desired_matrix->rows)); 1861 } 1862 1863 /* Don't forget the buffer for decode_mode_spec. */ 1864 adjust_decode_mode_spec_buffer (f); 1865 (gdb) p FRAME_INITIAL_P (f) $13 =3D 0 (gdb) p noninteractive $14 =3D false (gdb) p f->terminal->name $15 =3D 0x5555566d7470 "/dev/pts/29" (gdb) f->current_matrix Undefined command: "f->current_matrix". Try "help". (gdb) p f->current_matrix $16 =3D (struct glyph_matrix *) 0x5555563918e0 (gdb) p f->current_matrix->nrows $17 =3D 0 (gdb) p f->desired_matrix $18 =3D (struct glyph_matrix *) 0x5555566ae410 (gdb) p f->desired_matrix->nrows $19 =3D 0 (gdb) p f $20 =3D (struct frame *) 0x5555567f84e8 (gdb) p *f $21 =3D { header =3D { size =3D 4611686018595348501 }, name =3D XIL(0x5555564dcfc4), icon_name =3D XIL(0), title =3D XIL(0), last_mouse_device =3D XIL(0), focus_frame =3D XIL(0), root_window =3D XIL(0x5555565bf00d), selected_window =3D XIL(0x5555565bf00d), old_selected_window =3D XIL(0), minibuffer_window =3D XIL(0x55555629544d), param_alist =3D XIL(0x7ffff0a2f943), scroll_bars =3D XIL(0), condemned_scroll_bars =3D XIL(0), menu_bar_items =3D XIL(0), face_hash_table =3D XIL(0x5555562c26c5), menu_bar_vector =3D XIL(0), buffer_predicate =3D XIL(0), buffer_list =3D XIL(0x7ffff0a2f7d3), buried_buffer_list =3D XIL(0), tool_bar_position =3D XIL(0xfc00), tab_bar_items =3D XIL(0), tool_bar_items =3D XIL(0), face_cache =3D 0x55555665d8b0, last_tab_bar_item =3D 0, menu_bar_items_used =3D 0, current_pool =3D 0x5555566ce820, desired_pool =3D 0x55555610d6f0, desired_matrix =3D 0x5555566ae410, current_matrix =3D 0x5555563918e0, glyphs_initialized_p =3D true, resized_p =3D false, default_face_done_p =3D false, already_hscrolled_p =3D false, updated_p =3D false, fonts_changed =3D false, cursor_type_changed =3D false, redisplay =3D true, visible =3D 1, iconified =3D false, garbaged =3D true, wants_modeline =3D true, auto_raise =3D false, auto_lower =3D false, no_split =3D false, explicit_name =3D false, window_change =3D true, window_state_change =3D false, mouse_moved =3D false, pointer_invisible =3D false, --Type for more, q to quit, c to continue without paging-- frozen_window_starts =3D false, output_method =3D output_termcap, can_set_window_size =3D false, after_make_frame =3D false, tab_bar_redisplayed =3D false, tab_bar_resized =3D false, tool_bar_redisplayed =3D false, tool_bar_resized =3D false, inhibit_horizontal_resize =3D false, inhibit_vertical_resize =3D false, face_change =3D true, inhibit_clear_image_cache =3D false, new_size_p =3D false, was_invisible =3D false, select_mini_window_flag =3D false, change_stamp =3D 1, number_of_windows =3D 0, tab_bar_lines =3D 0, tab_bar_height =3D 0, n_tab_bar_rows =3D 0, n_tab_bar_items =3D 0, tool_bar_lines =3D 0, tool_bar_height =3D 0, n_tool_bar_rows =3D 0, n_tool_bar_items =3D 0, decode_mode_spec_buffer =3D 0x5555562846d0 "\224\331U\003PU", insert_line_cost =3D 0x0, delete_line_cost =3D 0x0, insert_n_lines_cost =3D 0x0, delete_n_lines_cost =3D 0x0, text_cols =3D 80, text_lines =3D 24, text_width =3D 80, text_height =3D 24, total_cols =3D 80, total_lines =3D 25, pixel_width =3D 80, pixel_height =3D 25, new_width =3D -1, new_height =3D -1, left_pos =3D 0, top_pos =3D 0, win_gravity =3D 0, size_hint_flags =3D 0, border_width =3D 0, child_frame_border_width =3D 0, internal_border_width =3D 0, right_divider_width =3D 0, bottom_divider_width =3D 0, left_fringe_width =3D 0, right_fringe_width =3D 0, fringe_cols =3D 0, --Type for more, q to quit, c to continue without paging-- menu_bar_lines =3D 1, menu_bar_height =3D 1, column_width =3D 1, line_height =3D 1, terminal =3D 0x5555560ed7f8, output_data =3D { tty =3D 0x555556118170, x =3D 0x555556118170, w32 =3D 0x555556118170, ns =3D 0x555556118170, pgtk =3D 0x555556118170, haiku =3D 0x555556118170, android =3D 0x555556118170 }, font_driver_list =3D 0x0, desired_cursor =3D FILLED_BOX_CURSOR, cursor_width =3D 0, blink_off_cursor =3D FILLED_BOX_CURSOR, blink_off_cursor_width =3D 0, config_scroll_bar_width =3D 0, config_scroll_bar_cols =3D 0, config_scroll_bar_height =3D 0, config_scroll_bar_lines =3D 0, cost_calculation_baud_rate =3D 0, alpha =3D {0, 0}, alpha_background =3D 0, gamma =3D 0, extra_line_spacing =3D 0, background_pixel =3D 18446744073709551613, foreground_pixel =3D 18446744073709551614 } (gdb) (gdb) p *f $22 =3D { header =3D { size =3D 4611686018595348501 }, name =3D XIL(0x5555564dcfc4), icon_name =3D XIL(0), title =3D XIL(0), last_mouse_device =3D XIL(0), focus_frame =3D XIL(0), root_window =3D XIL(0x5555565bf00d), selected_window =3D XIL(0x5555565bf00d), old_selected_window =3D XIL(0), minibuffer_window =3D XIL(0x55555629544d), param_alist =3D XIL(0x7ffff0a2f943), scroll_bars =3D XIL(0), condemned_scroll_bars =3D XIL(0), menu_bar_items =3D XIL(0), face_hash_table =3D XIL(0x5555562c26c5), menu_bar_vector =3D XIL(0), buffer_predicate =3D XIL(0), buffer_list =3D XIL(0x7ffff0a2f7d3), buried_buffer_list =3D XIL(0), tool_bar_position =3D XIL(0xfc00), tab_bar_items =3D XIL(0), tool_bar_items =3D XIL(0), face_cache =3D 0x55555665d8b0, last_tab_bar_item =3D 0, menu_bar_items_used =3D 0, current_pool =3D 0x5555566ce820, desired_pool =3D 0x55555610d6f0, desired_matrix =3D 0x5555566ae410, current_matrix =3D 0x5555563918e0, glyphs_initialized_p =3D true, resized_p =3D false, default_face_done_p =3D false, already_hscrolled_p =3D false, updated_p =3D false, fonts_changed =3D false, cursor_type_changed =3D false, redisplay =3D true, visible =3D 1, iconified =3D false, garbaged =3D true, wants_modeline =3D true, auto_raise =3D false, auto_lower =3D false, no_split =3D false, explicit_name =3D false, window_change =3D true, window_state_change =3D false, mouse_moved =3D false, pointer_invisible =3D false, --Type for more, q to quit, c to continue without paging-- frozen_window_starts =3D false, output_method =3D output_termcap, can_set_window_size =3D false, after_make_frame =3D false, tab_bar_redisplayed =3D false, tab_bar_resized =3D false, tool_bar_redisplayed =3D false, tool_bar_resized =3D false, inhibit_horizontal_resize =3D false, inhibit_vertical_resize =3D false, face_change =3D true, inhibit_clear_image_cache =3D false, new_size_p =3D false, was_invisible =3D false, select_mini_window_flag =3D false, change_stamp =3D 1, number_of_windows =3D 0, tab_bar_lines =3D 0, tab_bar_height =3D 0, n_tab_bar_rows =3D 0, n_tab_bar_items =3D 0, tool_bar_lines =3D 0, tool_bar_height =3D 0, n_tool_bar_rows =3D 0, n_tool_bar_items =3D 0, decode_mode_spec_buffer =3D 0x5555562846d0 "\224\331U\003PU", insert_line_cost =3D 0x0, delete_line_cost =3D 0x0, insert_n_lines_cost =3D 0x0, delete_n_lines_cost =3D 0x0, text_cols =3D 80, text_lines =3D 24, text_width =3D 80, text_height =3D 24, total_cols =3D 80, total_lines =3D 25, pixel_width =3D 80, pixel_height =3D 25, new_width =3D -1, new_height =3D -1, left_pos =3D 0, top_pos =3D 0, win_gravity =3D 0, size_hint_flags =3D 0, border_width =3D 0, child_frame_border_width =3D 0, internal_border_width =3D 0, right_divider_width =3D 0, bottom_divider_width =3D 0, left_fringe_width =3D 0, right_fringe_width =3D 0, fringe_cols =3D 0, --Type for more, q to quit, c to continue without paging-- menu_bar_lines =3D 1, menu_bar_height =3D 1, column_width =3D 1, line_height =3D 1, terminal =3D 0x5555560ed7f8, output_data =3D { tty =3D 0x555556118170, x =3D 0x555556118170, w32 =3D 0x555556118170, ns =3D 0x555556118170, pgtk =3D 0x555556118170, haiku =3D 0x555556118170, android =3D 0x555556118170 }, font_driver_list =3D 0x0, desired_cursor =3D FILLED_BOX_CURSOR, cursor_width =3D 0, blink_off_cursor =3D FILLED_BOX_CURSOR, blink_off_cursor_width =3D 0, config_scroll_bar_width =3D 0, config_scroll_bar_cols =3D 0, config_scroll_bar_height =3D 0, config_scroll_bar_lines =3D 0, cost_calculation_baud_rate =3D 0, alpha =3D {0, 0}, alpha_background =3D 0, gamma =3D 0, extra_line_spacing =3D 0, background_pixel =3D 18446744073709551613, foreground_pixel =3D 18446744073709551614 } (gdb) (gdb) p f->terminal $23 =3D (struct terminal *) 0x5555560ed7f8 (gdb) p f->terminal->name $24 =3D 0x5555566d7470 "/dev/pts/29" (gdb) (gdb) p of $26 =3D (struct frame *) 0x555555fdde58 (gdb) p *of $27 =3D { header =3D { size =3D 4611686018595348501 }, name =3D XIL(0x5555558f66a4), icon_name =3D XIL(0), title =3D XIL(0), last_mouse_device =3D XIL(0), focus_frame =3D XIL(0), root_window =3D XIL(0x555555fde07d), selected_window =3D XIL(0x555555fde07d), old_selected_window =3D XIL(0x555555fde07d), minibuffer_window =3D XIL(0x555555fde315), param_alist =3D XIL(0x7ffff2bb47d3), scroll_bars =3D XIL(0), condemned_scroll_bars =3D XIL(0), menu_bar_items =3D XIL(0x55555621bd05), face_hash_table =3D XIL(0x555555fde5ad), menu_bar_vector =3D XIL(0), buffer_predicate =3D XIL(0), buffer_list =3D XIL(0x7ffff0a363d3), buried_buffer_list =3D XIL(0), tool_bar_position =3D XIL(0xfc00), tab_bar_items =3D XIL(0), tool_bar_items =3D XIL(0), face_cache =3D 0x555555ff67d0, last_tab_bar_item =3D 0, menu_bar_items_used =3D 0, current_pool =3D 0x555556028320, desired_pool =3D 0x5555560090e0, desired_matrix =3D 0x555556028340, current_matrix =3D 0x5555560285b0, glyphs_initialized_p =3D true, resized_p =3D false, default_face_done_p =3D false, already_hscrolled_p =3D false, updated_p =3D false, fonts_changed =3D false, cursor_type_changed =3D false, redisplay =3D true, visible =3D 1, iconified =3D false, garbaged =3D false, wants_modeline =3D true, auto_raise =3D false, auto_lower =3D false, no_split =3D false, explicit_name =3D false, window_change =3D false, window_state_change =3D false, mouse_moved =3D false, pointer_invisible =3D false, --Type for more, q to quit, c to continue without paging-- frozen_window_starts =3D false, output_method =3D output_initial, can_set_window_size =3D true, after_make_frame =3D true, tab_bar_redisplayed =3D false, tab_bar_resized =3D false, tool_bar_redisplayed =3D false, tool_bar_resized =3D false, inhibit_horizontal_resize =3D false, inhibit_vertical_resize =3D false, face_change =3D true, inhibit_clear_image_cache =3D false, new_size_p =3D false, was_invisible =3D false, select_mini_window_flag =3D false, change_stamp =3D 225, number_of_windows =3D 2, tab_bar_lines =3D 0, tab_bar_height =3D 0, n_tab_bar_rows =3D 0, n_tab_bar_items =3D 0, tool_bar_lines =3D 0, tool_bar_height =3D 0, n_tool_bar_rows =3D 0, n_tool_bar_items =3D 0, decode_mode_spec_buffer =3D 0x5555560281d0 "", insert_line_cost =3D 0x0, delete_line_cost =3D 0x0, insert_n_lines_cost =3D 0x0, delete_n_lines_cost =3D 0x0, text_cols =3D 80, text_lines =3D 24, text_width =3D 80, text_height =3D 24, total_cols =3D 80, total_lines =3D 25, pixel_width =3D 80, pixel_height =3D 25, new_width =3D -1, new_height =3D -1, left_pos =3D 0, top_pos =3D 0, win_gravity =3D 0, size_hint_flags =3D 0, border_width =3D 0, child_frame_border_width =3D 0, internal_border_width =3D 0, right_divider_width =3D 0, bottom_divider_width =3D 0, left_fringe_width =3D 0, right_fringe_width =3D 0, fringe_cols =3D 0, --Type for more, q to quit, c to continue without paging-- menu_bar_lines =3D 1, menu_bar_height =3D 1, column_width =3D 1, line_height =3D 1, terminal =3D 0x555555fddc58, output_data =3D { tty =3D 0x0, x =3D 0x0, w32 =3D 0x0, ns =3D 0x0, pgtk =3D 0x0, haiku =3D 0x0, android =3D 0x0 }, font_driver_list =3D 0x0, desired_cursor =3D FILLED_BOX_CURSOR, cursor_width =3D 0, blink_off_cursor =3D FILLED_BOX_CURSOR, blink_off_cursor_width =3D 0, config_scroll_bar_width =3D 0, config_scroll_bar_cols =3D 0, config_scroll_bar_height =3D 0, config_scroll_bar_lines =3D 0, cost_calculation_baud_rate =3D 0, alpha =3D {0, 0}, alpha_background =3D 0, gamma =3D 0, extra_line_spacing =3D 0, background_pixel =3D 18446744073709551613, foreground_pixel =3D 18446744073709551614 } (gdb) p of->terminal $28 =3D (struct terminal *) 0x555555fddc58 (gdb) p of->terminal->name $29 =3D 0x555555fe4630 "initial_terminal" (gdb) (gdb) p redisplaying_p $41 =3D false (gdb) (gdb) p command_loop_level $42 =3D 1 (gdb) (gdb) p enable_recursive_minibuffers $51 =3D false (gdb) p minibuf_level $52 =3D 1 (gdb) (gdb) p Fminibuffer_contents () $57 =3D (struct Lisp_X *) 0x7ffff22ce59c (gdb) p Fminibuffer_contents () $58 =3D (struct Lisp_X *) 0x7ffff22ce59c (gdb) xpr Lisp_String $59 =3D (struct Lisp_String *) 0x7ffff22ce598 "" (gdb) In GNU Emacs 30.0.50 (build 10, x86_64-pc-linux-gnu) of 2024-06-11 built on sonn Repository revision: 5ecff95993d5edbffb27e14c2815d2b23003bcb4 Repository branch: master System Description: Devuan GNU/Linux 5 (daedalus) Configured using: 'configure --prefix=3D/opt/dc/emacs/ --with-tiff=3Dno --without-tiff --without-libsystemd --without-dbus --with-mailutils --with-native-compilation --with-x-toolkit=3Dno --without-imagemagick --without-xft --without-harfbuzz --without-freetype --without-libotf --without-xwidgets --without-xpm --without-jpeg --without-gif --without-png --without-webp --without-rsvg --without-cairo --without-x --enable-checking=3Dyes,glyphs 'CFLAGS=3D-g3 -O0'' Configured features: GMP GNUTLS LCMS2 LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER SECCOMP SOUND SQLITE3 THREADS XIM ZLIB Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=3DSCIM locale-coding-system: utf-8-unix Major mode: Dired by name Minor modes in effect: server-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t buffer-read-only: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort hashcash mail-extr emacsbug message mailcap yank-media puny rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils pp dired-aux cl-loaddefs cl-lib regexp-opt dired dnd dired-loaddefs term/rxvt term/xterm xterm byte-opt gv bytecomp byte-compile server rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads inotify lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 74250 8787) (symbols 48 6385 2) (strings 32 17586 2471) (string-bytes 1 506427) (vectors 16 7800) (vector-slots 8 96753 5941) (floats 8 35 8254) (intervals 56 2243 17) (buffers 984 13))