From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#72692: Emacs 31.05 (40eecd594ac) get SIGSEGV on Linux (Linux 6.6.45 Kde Wayland) Date: Sun, 18 Aug 2024 08:58:18 +0000 Message-ID: <87sev2gqc7.fsf@protonmail.com> References: <8b1c8e1f-e0b9-4049-888c-3f723e0008a9@gmail.com> Reply-To: Pip Cet 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="12062"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72692@debbugs.gnu.org To: Eval EXEC Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 18 10:59:45 2024 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 1sfblI-00032W-Tm for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Aug 2024 10:59:45 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sfbl0-0003mP-G9; Sun, 18 Aug 2024 04:59:26 -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 1sfbkx-0003m5-Kr for bug-gnu-emacs@gnu.org; Sun, 18 Aug 2024 04:59:24 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sfbkx-0005FO-Bk for bug-gnu-emacs@gnu.org; Sun, 18 Aug 2024 04:59:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:From:Date:To:Subject; bh=82AT8q/zvCEodQpVCf7LrLRriJ5BFBM7nm+SAxPCPAs=; b=m/+KzVObTeD/n5dSTLgH0VShKAOjzwKvNcuujxqXQVdNmfSbQ4eYz9oLNd0spBMz6mFfmolAHaigiHD/DUoNdvhuNuJZ1rM2HM/HGvPqqRBjkDZHbeSdZLzFPWljMYeDbdCd0V0sYKvSPbr3n7Qibg9OJmK2oELWQyuU6YMgdBwD2xOKTEk+bLw4AWzQfmcfpzKKNdDCK4MJVJLrdFxqG/78nqvhTMf3tOZWe2cnVlzQ9uOLlmF3jJc+n9mWZz6unvNE8hJ24nztAKJGNOgTt9nErLMScOlkRTkjod9hHrXrt1T0lqhMePPQ5Jf0+r6axH1fV/Q+5vmMow9nZWLiZA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sfblb-0007Xb-2L for bug-gnu-emacs@gnu.org; Sun, 18 Aug 2024 05:00:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pip Cet Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Aug 2024 09:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72692 X-GNU-PR-Package: emacs Original-Received: via spool by 72692-submit@debbugs.gnu.org id=B72692.172397155328898 (code B ref 72692); Sun, 18 Aug 2024 09:00:03 +0000 Original-Received: (at 72692) by debbugs.gnu.org; 18 Aug 2024 08:59:13 +0000 Original-Received: from localhost ([127.0.0.1]:55375 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfbkm-0007W2-GM for submit@debbugs.gnu.org; Sun, 18 Aug 2024 04:59:12 -0400 Original-Received: from mail-40131.protonmail.ch ([185.70.40.131]:30981) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfbkl-0007Vp-1Q for 72692@debbugs.gnu.org; Sun, 18 Aug 2024 04:59:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1723971503; x=1724230703; bh=82AT8q/zvCEodQpVCf7LrLRriJ5BFBM7nm+SAxPCPAs=; 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=lESlXVmtdT8DU9ZFBeZZTHlxDlODCjAP86YQLxdomF2Mvx4uDYreRRBzX95VSdauE Yl8aTl1q94SI0Gx0hbS4OY4TiCU/Ok0BdSzQS/R4BeJRWQwm0bHNEsY1XVccoipJxC vjddDCwL+T1mXvp7CKjuHz49dUiBcrS+lGsn6ctQGRiqcTfnARxVtNm73lMvex8qsb tA1kfcKGEdQJ6w8VIU3oDFvvcZFh+KCGnVm0SkU+VR5bRf9QOY7zR/3mDPuU84FDLy bZGNbh7r+J96bytCcP0+rLAVkWThJ3pRg8XuYAIi9beNJIGHhkyNWpucmrErrZB9FA Fkjx4Y5CocLJQ== In-Reply-To: <8b1c8e1f-e0b9-4049-888c-3f723e0008a9@gmail.com> Feedback-ID: 112775352:user:proton X-Pm-Message-ID: c5ea1937f8141d89a88c862885a76f44e83b72db 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:290299 Archived-At: "Eval EXEC" writes: > I'm help to tesing Emacs master branch (commit: 40eecd594ac) on Linux. Thank you! > I compile emacs source code by: > > ```bash > > make extraclean > ./autogen.sh \ > =C2=A0 && ./configure \ > =C2=A0 --prefix=3D$(realpath ../emacs-build/$(git branch --show-current = | sed > 's/\//_/g'))\ > =C2=A0 --with-imagemagick --with-xwidgets \ > =C2=A0 --with-modules --with-x-toolkit=3Dgtk3 --without-compress-install= \ > =C2=A0 --without-toolkit-scroll-bars --with-native-compilation --with-ma= ilutils\ > =C2=A0 --with-tree-sitter --with-xinput2=C2=A0 \ > =C2=A0 --with-dbus=C2=A0 --with-native-compilation=3Daot \ > =C2=A0 --with-file-notification=3Dinotify\ > =C2=A0 && make -j30 install > ``` You might want to consider adding --enable-checking and CFLAGS=3D"-O0 -g3 -ggdb" or equivalent to that until this bug has been found. > When I using emacs, I got crash, the backtrace is : > > ``` > > line to your configuration file "/home/exec/.config/gdb/gdbinit". > For more information about this security protection see the > "Auto-loading safe path" section in the GDB manual.=C2=A0 E.g., run from = the > shell: > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 info "(gdb)Auto-loading safe = path" > warning: File > "/nix/store/x47hg342iyiw50c1fhqjzz4n0rqy3dhh-isl-0.20/lib/libisl.so.19.1.= 0-gdb.py" > auto-loading has been declined by your `auto-load safe-path' set to > "$debugdir:$datadir/auto-load:/nix/store/40yjzm7r5ki59kkk9423dnwbm86x7pyd= -gcc-13.2.0-lib". > (gdb) c > The program is not being run. > (gdb) bt > #0=C2=A0 0x00007f9eaeea2efc in __pthread_kill_implementation () from > /nix/store/dbcw19dshdwnxdv5q2g6wldj6syyvq7l-glibc-2.39-52/lib/libc.so.6 > #1=C2=A0 0x00007f9eaee52e86 in raise () from > /nix/store/dbcw19dshdwnxdv5q2g6wldj6syyvq7l-glibc-2.39-52/lib/libc.so.6 > #2=C2=A0 0x0000000000473791 in terminate_due_to_signal (sig=3Dsig@entry= =3D11, > backtrace_limit=3Dbacktrace_limit@entry=3D40) at emacs.c:469 > #3=C2=A0 0x0000000000473ccd in handle_fatal_signal (sig=3Dsig@entry=3D11)= at > sysdep.c:1800 > #4=C2=A0 0x00000000005c4bf8 in deliver_thread_signal (sig=3Dsig@entry=3D1= 1, > handler=3D0x473cc2 ) at sysdep.c:1792 > #5=C2=A0 0x00000000005c4c7c in deliver_fatal_thread_signal (sig=3D11) at > sysdep.c:1812 > #6=C2=A0 handle_sigsegv (sig=3D11, siginfo=3D, arg=3D out>) at sysdep.c:1950 > #7=C2=A0 > #8=C2=A0 fontset_find_font (fontset=3Dfontset@entry=3D0x0, c=3Dc@entry=3D= 127802, > face=3Dface@entry=3D0x13fec610, charset_id=3Dcharset_id@entry=3D-1, > fallback=3Dfallback@entry=3Dfalse) > =C2=A0=C2=A0=C2=A0 at /home/exec/Projects/git.savannah.gnu.org/git/emacs= /src/lisp.h:2127 > #9=C2=A0 0x00000000006dd64d in fontset_font (fontset=3Dfontset@entry=3D0x= 0, > c=3Dc@entry=3D127802, face=3Dface@entry=3D0x13fec610, id=3D-1) at fontset= .c:793 Do you still have the core file? Can you print *face in this stack frame? The relevant gdb commands are "frame 9" followed by "p *face". c is ?=F0=9F=8C=BA . Are you using that character in your mode line, by an= y chance? Does it show up for you in Emacs? > I believe the crash is related to the font, but I can't reproduce it. It > happens about once a day. What would also be helpful would be to source .gdbinit from your src/ directory, (gdb: "source/home/exec/Projects/git.savannah.gnu.org/git/emacs/src/.gdbinit"), then "pp Vfontset_table" to see how large it is. Thanks! Pip