From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Seppo Ronkainen via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#63283: Emacs crash within fontset Date: Sat, 06 May 2023 19:12:53 +0000 Message-ID: <7viubPQBitOqW2lvRK1P_aP6NjiS05pc86HGIH8yUyCZGabZgL5Hb3YAdm9efSCsxPb7yxW55zGhfZfE2PUjkZesUSharobfMDC3-JTEL1E=@protonmail.com> References: <83wn1njswh.fsf@gnu.org> <835y95hicm.fsf@gnu.org> Reply-To: Seppo Ronkainen Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3184"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63283@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 07 11:33:19 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pvalZ-0000ZO-LS for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 May 2023 11:33:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pvalM-00012T-8q; Sun, 07 May 2023 05:33:04 -0400 Original-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 1pvalK-00010c-En for bug-gnu-emacs@gnu.org; Sun, 07 May 2023 05:33:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pvalK-0001rk-6i for bug-gnu-emacs@gnu.org; Sun, 07 May 2023 05:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pvalK-0004R3-2O for bug-gnu-emacs@gnu.org; Sun, 07 May 2023 05:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Seppo Ronkainen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 May 2023 09:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63283 X-GNU-PR-Package: emacs Original-Received: via spool by 63283-submit@debbugs.gnu.org id=B63283.168345193716992 (code B ref 63283); Sun, 07 May 2023 09:33:02 +0000 Original-Received: (at 63283) by debbugs.gnu.org; 7 May 2023 09:32:17 +0000 Original-Received: from localhost ([127.0.0.1]:36429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvakZ-0004Py-7a for submit@debbugs.gnu.org; Sun, 07 May 2023 05:32:16 -0400 Original-Received: from mail-4322.protonmail.ch ([185.70.43.22]:50525) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvNLE-0004r1-0i for 63283@debbugs.gnu.org; Sat, 06 May 2023 15:13:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1683400385; x=1683659585; bh=yz70+dgJlnIYiskdreVLBO+QSdhDHLZ+HjiwMrfb7XA=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=UlSwpSzbmbTYgp4dY7vttMYX1Xq2E1fJXuPw2xvo+Scd816ZrdGPtMdsO46rQrpXO 8dwnegbUTW+AYd9dC2yL2ahurRA9VF8ACJ3/cUQjmITVEu1siSvmlV7v8Qv6SdFAEd kiv3gpYAR/exUuaqNAyxt041iP86LBok2a9OVyT8vFnxh8IsXRim5HZaKkKpHTF6/x RVheS6/vguqnFYj181rIMayOd7zvXqhOi3MFYcnBCST718N43JiBgp7JMoZfLCRVo5 s7Zp6B2ihIYNxHG0CsuHodAAOJG1NA6kghBujgspflGIDfecRDtGu/pv/oh6alusfo yDOP0ch/foH7g== In-Reply-To: <835y95hicm.fsf@gnu.org> Feedback-ID: 7916417:user:proton X-Mailman-Approved-At: Sun, 07 May 2023 05:32:14 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:261244 Archived-At: sure, here are captures of gdb and system-configuration-features from two b= uild variants of 29.0.90 and one 26.3 /home/user/.local/emacs-29.0.90_minimal/inst/bin/emacs -Q ~/examplefilewith= unicodetext (describe-variable 'system-configuration-features) system-configuration-features is a variable defined in =E2=80=98src/emacs.c= =E2=80=99. Its value is "GLIB GMP JSON PDUMPER SECCOMP X11 XIM GTK3" String listing some of the main features this Emacs was compiled with. An element of the form "FOO" generally means that HAVE_FOO was defined during the build. This is mainly intended for diagnostic purposes in bug reports. Don=E2=80=99t rely on it for testing whether a feature you want to use is a= vailable. Probably introduced at or before Emacs version 25.1. [back] /home/user/.local/emacs-29.0.90_debug/inst/bin/emacs -Q ~/examplefilewithun= icodetext (describe-variable 'system-configuration-features) system-configuration-features is a variable defined in =E2=80=98C source co= de=E2=80=99. Its value is "GLIB GMP JSON PDUMPER SECCOMP X11 XIM GTK3" String listing some of the main features this Emacs was compiled with. An element of the form "FOO" generally means that HAVE_FOO was defined during the build. This is mainly intended for diagnostic purposes in bug reports. Don=E2=80=99t rely on it for testing whether a feature you want to use is a= vailable. Probably introduced at or before Emacs version 25.1. /home/user/.local/emacs-29.0.90_minimal/cons/src/config.h:128 /* Summary of some of the main features enabled by configure. */ #define EMACS_CONFIG_FEATURES "GLIB GMP JSON PDUMPER SECCOMP X11 XIM GTK3" /* Define to the options passed to configure. */ #define EMACS_CONFIG_OPTIONS "--prefix=3D/home/user/.local/emacs-29.0.90_mi= nimal/inst --without-all" > gdb --args /home/user/.local/emacs-29.0.90_minimal/inst/bin/emacs -Q ~/ex= amplefilewithunicodetext GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git Copyright (C) 2021 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "aarch64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /home/user/.local/emacs-29.0.90_minimal/inst/bin/emacs= ... (gdb) run Starting program: /home/user/.local/emacs-29.0.90_minimal/inst/bin/emacs -Q= /home/user/examplefilewithunicodetext [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1". [New Thread 0x7ff4a6fe80 (LWP 44415)] [Detaching after vfork from child process 44416] [Detaching after vfork from child process 44417] [Detaching after vfork from child process 44418] Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. 0x00000055557864c8 in fontset_find_font (fontset=3Dfontset@entry=3D0x30, c= =3Dc@entry=3D12302, face=3Dface@entry=3D0x555664ee90,=20 charset_id=3Dcharset_id@entry=3D-1, fallback=3Dfallback@entry=3Dfalse) = at fontset.c:555 555 struct frame *f =3D (FRAMEP (FONTSET_FRAME (fontset)) (gdb) thread apply all bt Thread 2 (Thread 0x7ff4a6fe80 (LWP 44415) "gmain"): #0 0x0000007ff6fa6ef4 in __GI___poll (fds=3D0x5555dd25c0, nfds=3D1, timeou= t=3D) at ../sysdeps/unix/sysv/linux/poll.c:41 #1 0x0000007ff74b7df8 in () at /lib/aarch64-linux-gnu/libglib-2.0.so.0 #2 0x0000007ff74b7f24 in g_main_context_iteration () at /lib/aarch64-linux= -gnu/libglib-2.0.so.0 #3 0x0000007ff74b7f7c in () at /lib/aarch64-linux-gnu/libglib-2.0.so.0 #4 0x0000007ff74e18f4 in () at /lib/aarch64-linux-gnu/libglib-2.0.so.0 #5 0x0000007ff71d4648 in start_thread (arg=3D0x7ff4a6f780) at pthread_crea= te.c:477 #6 0x0000007ff6fb0c1c in thread_start () at ../sysdeps/unix/sysv/linux/aar= ch64/clone.S:78 Thread 1 (Thread 0x7ff5d6f700 (LWP 44408) "emacs"): #0 0x00000055557864c8 in fontset_find_font (fontset=3Dfontset@entry=3D0x30= , c=3Dc@entry=3D12302, face=3Dface@entry=3D0x555664ee90, charset_id=3Dchars= et_id@entry=3D-1, fallback=3Dfallback@entry=3Dfalse) at fontset.c:555 #1 0x0000005555787240 in fontset_font (fontset=3Dfontset@entry=3D0x30, c= =3Dc@entry=3D12302, face=3Dface@entry=3D0x555664ee90, id=3D-1) at fontset.c= :766 #2 0x0000005555787938 in face_for_char (f=3D0x5556159e50, face=3D0x555664e= e90, c=3D, pos=3D, object=3D) = at fontset.c:995 = = =20 #3 0x00000055555c45d8 in FACE_FOR_CHAR (object=3D, pos=3D, character=3D, face=3D, f=3D) at dispextern.h:1911 =20 #4 get_next_display_element (it=3Dit@entry=3D0x7fffff8978) at xdisp.c:8184 #5 0x00000055555c9988 in display_line (it=3Dit@entry=3D0x7fffff8978, curso= r_vpos=3Dcursor_vpos@entry=3D0) at xdisp.c:24708 #6 0x00000055555cda60 in try_window (window=3Dwindow@entry=3D0x555615a09d,= pos=3D..., flags=3Dflags@entry=3D1) at xdisp.c:20577 #7 0x00000055555e8cd0 in redisplay_window (window=3D, just_= this_one_p=3Djust_this_one_p@entry=3Dfalse) at xdisp.c:19961 #8 0x00000055555eac14 in redisplay_window_0 (window=3Dwindow@entry=3D0x555= 615a09d) at xdisp.c:17446 #9 0x0000005555713234 in internal_condition_case_1 (bfun=3Dbfun@entry=3D0x= 55555eabe0 , arg=3Darg@entry=3D0x555615a09d, handlers= =3D, hfun=3Dhfun@entry=3D0x55555aa300 ) at eval.c:1498 #10 0x00000055555a7348 in redisplay_windows (window=3D0x555615a09d) at xdis= p.c:17416 #11 0x00000055555d6720 in redisplay_internal () at xdisp.c:16866 #12 0x00000055555d7a44 in redisplay () at xdisp.c:16049 #13 0x000000555569b6b0 in read_char (commandflag=3Dcommandflag@entry=3D1, m= ap=3Dmap@entry=3D0x55560ddf03, prev_event=3D0x0, used_mouse_menu=3Dused_mou= se_menu@entry=3D0x7fffffe013, end_time=3Dend_time@entry=3D0x0) at keyboard.= c:2634 #14 0x000000555569d780 in read_key_sequence (keybuf=3Dkeybuf@entry=3D0x7fff= ffe140, prompt=3Dprompt@entry=3D0x0, dont_downcase_last=3Ddont_downcase_las= t@entry=3Dfalse, can_return_switch_frame=3Dcan_return_switch_frame@entry=3D= true, fix_current_buffer=3Dfix_current_buffer@entry=3Dtrue, prevent_redispl= ay=3Dprevent_redisplay@entry=3Dfalse) at keyboard.c:10081 #15 0x000000555569f19c in command_loop_1 () at lisp.h:1165 #16 0x00000055557131a0 in internal_condition_case (bfun=3Dbfun@entry=3D0x55= 5569f004 , handlers=3Dhandlers@entry=3D0x90, hfun=3Dhfun@en= try=3D0x5555693030 ) at eval.c:1474 =20 #17 0x000000555568c378 in command_loop_2 (handlers=3Dhandlers@entry=3D0x90)= at keyboard.c:1131 #18 0x00000055557130f4 in internal_catch (tag=3Dtag@entry=3D0xf390, func=3D= func@entry=3D0x555568c344 , arg=3Darg@entry=3D0x90) at eval= .c:1197 #19 0x000000555568c310 in command_loop () at lisp.h:1165 #20 0x0000005555692b44 in recursive_edit_1 () at keyboard.c:718 #21 0x0000005555692f54 in Frecursive_edit () at keyboard.c:801 #22 0x000000555558cecc in main (argc=3D3, argv=3D0x7fffffe638) at emacs.c:2= 529 (gdb) q A debugging session is active. Inferior 1 [process 44408] will be killed. Quit anyway? (y or n) y > exit exit Process terminal finished /home/user/.local/emacs-29.0.90_debug/cons/src/config.h:128 /* Summary of some of the main features enabled by configure. */ #define EMACS_CONFIG_FEATURES "GLIB GMP JSON PDUMPER SECCOMP X11 XIM GTK3" /* Define to the options passed to configure. */ #define EMACS_CONFIG_OPTIONS "--prefix=3D/home/user/.local/emacs-29.0.90_de= bug/inst --without-all --enable-checking=3Dyes,glyphs --enable-check-lisp-o= bject-type 'CFLAGS=3D-O0 -g3'" > gdb --args /home/user/.local/emacs-29.0.90_debug/inst/bin/emacs -Q ~/exam= plefilewithunicodetext GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git Copyright (C) 2021 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "aarch64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /home/user/.local/emacs-29.0.90_debug/inst/bin/emacs..= . (gdb) run Starting program: /home/user/.local/emacs-29.0.90_debug/inst/bin/emacs -Q /= home/user/examplefilewithunicodetext [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1". [New Thread 0x7ff4a6fe80 (LWP 44369)] [Detaching after vfork from child process 44370] [Detaching after vfork from child process 44371] [Detaching after vfork from child process 44372] fontset.c:970: Emacs fatal error: assertion failed: fontset_id_valid_p (fac= e->fontset) Fatal error 6: Aborted Backtrace: /home/user/.local/emacs-29.0.90_debug/inst/bin/emacs(+0x246468)[0x555579646= 8] /home/user/.local/emacs-29.0.90_debug/inst/bin/emacs(+0x205cc0)[0x5555755cc= 0] /home/user/.local/emacs-29.0.90_debug/inst/bin/emacs(+0x2cba04)[0x555581ba0= 4] /home/user/.local/emacs-29.0.90_debug/inst/bin/emacs(+0x3d33c4)[0x55559233c= 4] /home/user/.local/emacs-29.0.90_debug/inst/bin/emacs(+0x6d308)[0x55555bd308= ] /home/user/.local/emacs-29.0.90_debug/inst/bin/emacs(+0x8d054)[0x55555dd054= ] /home/user/.local/emacs-29.0.90_debug/inst/bin/emacs(+0xc1a10)[0x5555611a10= ] /home/user/.local/emacs-29.0.90_debug/inst/bin/emacs(+0xb3424)[0x5555603424= ] /home/user/.local/emacs-29.0.90_debug/inst/bin/emacs(+0xb059c)[0x555560059c= ] /home/user/.local/emacs-29.0.90_debug/inst/bin/emacs(+0xa7740)[0x55555f7740= ] /home/user/.local/emacs-29.0.90_debug/inst/bin/emacs(+0x30be18)[0x555585be1= 8] /home/user/.local/emacs-29.0.90_debug/inst/bin/emacs(+0xa73b0)[0x55555f73b0= ] /home/user/.local/emacs-29.0.90_debug/inst/bin/emacs(+0xa5b74)[0x55555f5b74= ] /home/user/.local/emacs-29.0.90_debug/inst/bin/emacs(+0xa314c)[0x55555f314c= ] /home/user/.local/emacs-29.0.90_debug/inst/bin/emacs(+0x213e58)[0x5555763e5= 8] /home/user/.local/emacs-29.0.90_debug/inst/bin/emacs(+0x229ba4)[0x5555779ba= 4] /home/user/.local/emacs-29.0.90_debug/inst/bin/emacs(+0x20f678)[0x555575f67= 8] /home/user/.local/emacs-29.0.90_debug/inst/bin/emacs(+0x30bd14)[0x555585bd1= 4] /home/user/.local/emacs-29.0.90_debug/inst/bin/emacs(+0x20ecfc)[0x555575ecf= c] /home/user/.local/emacs-29.0.90_debug/inst/bin/emacs(+0x30ae0c)[0x555585ae0= c] /home/user/.local/emacs-29.0.90_debug/inst/bin/emacs(+0x20ec7c)[0x555575ec7= c] /home/user/.local/emacs-29.0.90_debug/inst/bin/emacs(+0x20ddbc)[0x555575ddb= c] /home/user/.local/emacs-29.0.90_debug/inst/bin/emacs(+0x20e028)[0x555575e02= 8] /home/user/.local/emacs-29.0.90_debug/inst/bin/emacs(+0x208d90)[0x5555758d9= 0] /lib/aarch64-linux-gnu/libc.so.6(__libc_start_main+0xe8)[0x7ff6efee18] /home/user/.local/emacs-29.0.90_debug/inst/bin/emacs(+0x3b368)[0x555558b368= ] Thread 1 "emacs" received signal SIGABRT, Aborted. raise (sig=3D6) at ../sysdeps/unix/sysv/linux/raise.c:50 50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) thread apply all bt Thread 2 (Thread 0x7ff4a6fe80 (LWP 44369) "gmain"): #0 0x0000007ff6fa6ef4 in __GI___poll (fds=3D0x555611e270, nfds=3D1, timeou= t=3D) at ../sysdeps/unix/sysv/linux/poll.c:41 #1 0x0000007ff74b7df8 in () at /lib/aarch64-linux-gnu/libglib-2.0.so.0 #2 0x0000007ff74b7f24 in g_main_context_iteration () at /lib/aarch64-linux= -gnu/libglib-2.0.so.0 #3 0x0000007ff74b7f7c in () at /lib/aarch64-linux-gnu/libglib-2.0.so.0 #4 0x0000007ff74e18f4 in () at /lib/aarch64-linux-gnu/libglib-2.0.so.0 #5 0x0000007ff71d4648 in start_thread (arg=3D0x7ff4a6f780) at pthread_crea= te.c:477 #6 0x0000007ff6fb0c1c in thread_start () at ../sysdeps/unix/sysv/linux/aar= ch64/clone.S:78 Thread 1 (Thread 0x7ff5d6f700 (LWP 44362) "emacs"): #0 raise (sig=3D6) at ../sysdeps/unix/sysv/linux/raise.c:50 #1 0x0000005555755cf0 in terminate_due_to_signal (sig=3D6, backtrace_limit= =3D2147483647) at emacs.c:464 #2 0x000000555581ba04 in die (msg=3D0x55559f6900 "fontset_id_valid_p (face= ->fontset)", file=3D0x55559f6608 "fontset.c", line=3D970) at alloc.c:7707 #3 0x00000055559233c4 in face_for_char (f=3D0x55564e70f0, face=3D0x5556ac9= 5e0, c=3D12302, pos=3D1, object=3D...) at fontset.c:970 #4 0x00000055555bd308 in FACE_FOR_CHAR (f=3D0x55564e70f0, face=3D0x5556ac9= 5e0, character=3D12302, pos=3D1, object=3D...) at dispextern.h:1911 #5 0x00000055555dd054 in get_next_display_element (it=3D0x7fffff8818) at x= disp.c:8184 #6 0x0000005555611a10 in display_line (it=3D0x7fffff8818, cursor_vpos=3D0)= at xdisp.c:24708 #7 0x0000005555603424 in try_window (window=3D..., pos=3D..., flags=3D1) a= t xdisp.c:20577 #8 0x000000555560059c in redisplay_window (window=3D..., just_this_one_p= =3Dfalse) at xdisp.c:19961 #9 0x00000055555f7740 in redisplay_window_0 (window=3D...) at xdisp.c:1744= 6 #10 0x000000555585be18 in internal_condition_case_1 (bfun=3D0x55555f76fc , arg=3D..., handlers=3D..., hfun=3D0x55555f73e8 ) at eval.c:1498 =20 #11 0x00000055555f73b0 in redisplay_windows (window=3D...) at xdisp.c:17416 #12 0x00000055555f5b74 in redisplay_internal () at xdisp.c:16866 #13 0x00000055555f314c in redisplay () at xdisp.c:16049 #14 0x0000005555763e58 in read_char (commandflag=3D1, map=3D..., prev_event= =3D..., used_mouse_menu=3D0x7fffffdf17, end_time=3D0x0) at keyboard.c:2634 #15 0x0000005555779ba4 in read_key_sequence (keybuf=3D0x7fffffe098, prompt= =3D..., dont_downcase_last=3Dfalse, can_return_switch_frame=3Dtrue, fix_cur= rent_buffer=3Dtrue, prevent_redisplay=3Dfalse) at keyboard.c:10081 #16 0x000000555575f678 in command_loop_1 () at keyboard.c:1382 #17 0x000000555585bd14 in internal_condition_case (bfun=3D0x555575f1dc , handlers=3D..., hfun=3D0x555575e464 ) at eval.c:14= 74 #18 0x000000555575ecfc in command_loop_2 (handlers=3D...) at keyboard.c:113= 1 #19 0x000000555585ae0c in internal_catch (tag=3D..., func=3D0x555575ecd4 , arg=3D...) at eval.c:1197 #20 0x000000555575ec7c in command_loop () at keyboard.c:1109 #21 0x000000555575ddbc in recursive_edit_1 () at keyboard.c:718 #22 0x000000555575e028 in Frecursive_edit () at keyboard.c:801 #23 0x0000005555758d90 in main (argc=3D3, argv=3D0x7fffffe638) at emacs.c:2= 529 (gdb) q A debugging session is active. Inferior 1 [process 44362] will be killed. Quit anyway? (y or n) y > exit exit Process terminal finished attempts to reproduce the abort within Emacs 26.3 built with the feature FR= EETYPE (was reported in the output): /home/user/.local/emacs-26.3/inst/bin/emacs-26.3 -Q ~/examplefilewithunicod= etext (describe-variable 'system-configuration-features) system-configuration-features is a variable defined in =E2=80=98C source co= de=E2=80=99. Its value is "XPM PNG SOUND DBUS GSETTINGS GLIB NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYP= E XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS" Documentation: String listing some of the main features this Emacs was compiled with. An element of the form "FOO" generally means that HAVE_FOO was defined during the build. This is mainly intended for diagnostic purposes in bug reports. Don=E2=80=99t rely on it for testing whether a feature you want to use is a= vailable. /home/user/.local/emacs-26.3/cons/src/config.h:117 /* Define to the canonical Emacs configuration name. */ #define EMACS_CONFIGURATION "aarch64-unknown-linux-gnu" /* Summary of some of the main features enabled by configure. */ #define EMACS_CONFIG_FEATURES "XPM PNG SOUND DBUS GSETTINGS GLIB NOTIFY LIB= SELINUX GNUTLS LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE = XIM MODULES THREADS" /* Define to the options passed to configure. */ #define EMACS_CONFIG_OPTIONS "--prefix=3D/home/user/.local/emacs-26.3/inst = --with-gif=3Dno --with-included-regex --with-jpeg=3Dno --with-json=3Dyes --= with-mailutils=3Dyes --with-makeinfo=3Dno --with-modules --with-rsvg=3Dno -= -with-threads --with-tiff=3Dno --with-xml2=3Dyes" I rescale the buffer back and forth several times with C-x C-0, C-x C-=3D, C-x C--, C-x C-+. (text-scale-adjust INC) to both limits which where indicated in the mode line (Fundamental -15) (Fundamental +29) > gdb --args /home/user/.local/emacs-26.3/inst/bin/emacs-26.3 -Q ~/examplef= ilewithunicodetext GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git Copyright (C) 2021 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "aarch64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /home/user/.local/emacs-26.3/inst/bin/emacs-26.3... (gdb) run Starting program: /home/user/.local/emacs-26.3/inst/bin/emacs-26.3 -Q /home= /user/examplefilewithunicodetext [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1". [New Thread 0x7ff3354c40 (LWP 45101)] [Detaching after vfork from child process 45102] [Detaching after vfork from child process 45103] [Detaching after vfork from child process 45104] [New Thread 0x7ff2890c40 (LWP 45105)] [New Thread 0x7ff1f00c40 (LWP 45106)] [Thread 0x7ff1f00c40 (LWP 45106) exited] [Thread 0x7ff3354c40 (LWP 45101) exited] [Thread 0x7ff3681040 (LWP 45094) exited] [Inferior 1 (process 45094) exited normally] (gdb) q > exit exit Process terminal finished > uname -a Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023= aarch64 GNU/Linux % sha512sum emacs-29.0.90.tar.gz 5cbd47142ccd845b8da33f5c2cf62088b5076182a91e4cda7de6c5eef980743221705da8e6f= a825bc0f6e7dcc0625b78382bdd12e319e0ce76ec3d4690557696 emacs-29.0.90.tar.gz Live long and prosper Sent with Proton Mail secure email. ------- Original Message ------- On Saturday, May 6th, 2023 at 10:19 AM, Eli Zaretskii wrote: > [Please use Reply All to reply, so that the bug address is on the CC > list, and this discussion is recorded by our bug tracker.] >=20 > > Date: Fri, 05 May 2023 21:19:18 +0000 > > From: Seppo Ronkainen sodr80@protonmail.com > >=20 > > I was not aware about report-emacs-bug thanks for the guidance > >=20 > > Following instructions from (share/emacs/29.0.90/etc/DEBUG:19) I rebuil= t with options > >=20 > > ./configure --enable-checking=3D'yes,glyphs' --enable-check-lisp-object= -type \ > > CFLAGS=3D'-O0 -g3' > >=20 > > TL;DR > > Now it looks as if (of course) Emacs never crashed, but it seems as if = insufficient font data caused an abort is that right? Hope this helps > >=20 > > fontset.c:970: Emacs fatal error: assertion failed: fontset_id_valid_p = (face->fontset) > > Fatal error 6: Aborted >=20 >=20 > Thanks, but this is not enough info to find the root cause of the > problem. Please run Emacs under GDB, like this: >=20 > $ gdb /path/to/src/emacs > ... > (gdb) run >=20 > Then, when Emacs crashes or aborts, GDB will kick in and show its > "(gdb)" prompt. Please type at the GDB prompt: >=20 > (gdb) thread apply all bt >=20 > and post here everything that GDB prints in response. >=20 > Also, please show what this displays inside Emacs built --without-all: >=20 > M-: system-configuration-features RET