From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eval EXEC 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 16:29:13 +0800 Message-ID: <8b1c8e1f-e0b9-4049-888c-3f723e0008a9@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35005"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: 72692@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 18 10:30:35 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 1sfbJ4-0008sK-GK for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Aug 2024 10:30:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sfbIw-000075-GA; Sun, 18 Aug 2024 04:30: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 1sfbIt-00006j-8P for bug-gnu-emacs@gnu.org; Sun, 18 Aug 2024 04:30:23 -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 1sfbIs-0002Ba-T8 for bug-gnu-emacs@gnu.org; Sun, 18 Aug 2024 04:30:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=From:MIME-Version:Date:To:Subject; bh=+Cq4KXH5DvGZUQm7pGqJRta86rQQNNLp07Tn4BcZGqo=; b=j0ddxR853fgPnrJ4lOnckEhBxXiMefIonJOkcIfxWoDs0J56V91+Po7aeNe0R6d/v0JYqyYKfwHMYb3lQJWE/UiqialSGQtFiwYe5JC7/ysVbDF3cgw/UBId46uw+G9BRhb7czy9HhG3CB+4cpHcE6qe+mBnhdFjzFbn+ldktM2OgXQO/LsQSaakE6OfNPdD08Dq/9GfpKyoaQA6oLr3e9fMj+NqDiHsQEknUvZQHuFF7v0D1T/kkaqIAhGZoz7N3/x69Xf2orSWjqY5S5T24IThrSDEjTNgnSCEzeSjOwPjCgHdsT16RYaW1ph/e2U7CC89ktrC2+Qi/JykEZVoFg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sfbJW-0006o8-1O for bug-gnu-emacs@gnu.org; Sun, 18 Aug 2024 04:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eval EXEC Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Aug 2024 08:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72692 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.172396980826030 (code B ref -1); Sun, 18 Aug 2024 08:31:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Aug 2024 08:30:08 +0000 Original-Received: from localhost ([127.0.0.1]:55368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfbId-0006lG-Cy for submit@debbugs.gnu.org; Sun, 18 Aug 2024 04:30:07 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:43870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfbIa-0006l3-Os for submit@debbugs.gnu.org; Sun, 18 Aug 2024 04:30:05 -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 1sfbHw-0008LD-DI for bug-gnu-emacs@gnu.org; Sun, 18 Aug 2024 04:29:24 -0400 Original-Received: from mail-il1-x144.google.com ([2607:f8b0:4864:20::144]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sfbHu-0001oo-IB for bug-gnu-emacs@gnu.org; Sun, 18 Aug 2024 04:29:24 -0400 Original-Received: by mail-il1-x144.google.com with SMTP id e9e14a558f8ab-39d37218c5cso3175795ab.1 for ; Sun, 18 Aug 2024 01:29:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723969761; x=1724574561; darn=gnu.org; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=+Cq4KXH5DvGZUQm7pGqJRta86rQQNNLp07Tn4BcZGqo=; b=GOfCR27c9+BAnMzhjqv8xCPeG72OdQtUH8wdGBUNNz1vxOnqPbgiQliph4leUega7z IJ4dGSAQ2TTL/wBtRt08OIolKwWtOu0fmRWDKIcGzhwK829yQGBiOxMmnf2HHogwPk4+ ni1kUaYE1hd70HsaE5qYeBqYcYkIe/7SwtdLJJm87N2+PiFPbZegeh4SJHufNbdKTVTG ThEtFbbhEnEc1/LaksAf5uNXEv93/6y4dxhtJyGWEVFYlly9tipWoZZmhQ/D5FuD70E7 ZfoppaPGEzUP4UI2HLqyRWsSS6jKgcBOfjge+YpBXi18e8I3MwZNdX3gtmctjtHyScHQ 62tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723969761; x=1724574561; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=+Cq4KXH5DvGZUQm7pGqJRta86rQQNNLp07Tn4BcZGqo=; b=H1iFYtqus3Np/e227bLAhJ+o3X3+QvXl6QliakaCyqZZV/EXu9hf72EZzP+fhCkPnl wBeJSH/JzgogHzXAeJnYtx75hwQ3BfP6WMidoI+FMOTqdooBSNOBSK6hRtYdpkpf/Tz4 oXHOwwUuzUVsAkRTWTE4pWBakE38eW/0gWuoE4sl7NSk/v0lyx3Bgu+7WZod4EQUcUmr N9QtK3LpTcm8aDaCKIjCCrT9C+dJ+O7XxgHtJZ8eQgw3Mn6ZNf0ZEc8G2tvEaMYZJs7m b+M64uLohMdC3SYsB+PldCACdEJcsR3OwLxInFprs3X7ENfqMMnRH4z2bOVn7kFjVXyD jCGQ== X-Gm-Message-State: AOJu0Yy3b8wwa1+8htiaxIa7Y+i60O016ln1EhRGkLPUta2as4a/qa50 fpFys0cuB2GCzhTutuXw7woCML/urLp5aXLBTNIzYn4GmzH/T1bl+P4/h7jkxUf2nQ== X-Google-Smtp-Source: AGHT+IGeiLPO5HWmOVt9HrDppd4FPY82N0c8uNOZafCRhYEjEIXKOtl7Vujg3R6R4SoqrBLEikS8EA== X-Received: by 2002:a05:6e02:20ce:b0:375:e93b:7c8c with SMTP id e9e14a558f8ab-39d26cfe95emr88788945ab.12.1723969760619; Sun, 18 Aug 2024 01:29:20 -0700 (PDT) Original-Received: from [28.0.0.1] (144.34.182.14.16clouds.com. [144.34.182.14]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7c6b61c691csm5694231a12.21.2024.08.18.01.29.19 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 18 Aug 2024 01:29:20 -0700 (PDT) Content-Language: en-US Received-SPF: pass client-ip=2607:f8b0:4864:20::144; envelope-from=execvy@gmail.com; helo=mail-il1-x144.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:290298 Archived-At: Hello, I'm help to tesing Emacs master branch (commit: 40eecd594ac) on Linux. I compile emacs source code by: ```bash make extraclean ./autogen.sh \   && ./configure \   --prefix=$(realpath ../emacs-build/$(git branch --show-current | sed 's/\//_/g'))\   --with-imagemagick --with-xwidgets \   --with-modules --with-x-toolkit=gtk3 --without-compress-install \   --without-toolkit-scroll-bars --with-native-compilation --with-mailutils\   --with-tree-sitter --with-xinput2  \   --with-dbus  --with-native-compilation=aot \   --with-file-notification=inotify\   && make -j30 install ``` 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.  E.g., run from the shell:         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  0x00007f9eaeea2efc in __pthread_kill_implementation () from /nix/store/dbcw19dshdwnxdv5q2g6wldj6syyvq7l-glibc-2.39-52/lib/libc.so.6 #1  0x00007f9eaee52e86 in raise () from /nix/store/dbcw19dshdwnxdv5q2g6wldj6syyvq7l-glibc-2.39-52/lib/libc.so.6 #2  0x0000000000473791 in terminate_due_to_signal (sig=sig@entry=11, backtrace_limit=backtrace_limit@entry=40) at emacs.c:469 #3  0x0000000000473ccd in handle_fatal_signal (sig=sig@entry=11) at sysdep.c:1800 #4  0x00000000005c4bf8 in deliver_thread_signal (sig=sig@entry=11, handler=0x473cc2 ) at sysdep.c:1792 #5  0x00000000005c4c7c in deliver_fatal_thread_signal (sig=11) at sysdep.c:1812 #6  handle_sigsegv (sig=11, siginfo=, arg=) at sysdep.c:1950 #7  #8  fontset_find_font (fontset=fontset@entry=0x0, c=c@entry=127802, face=face@entry=0x13fec610, charset_id=charset_id@entry=-1, fallback=fallback@entry=false)     at /home/exec/Projects/git.savannah.gnu.org/git/emacs/src/lisp.h:2127 #9  0x00000000006dd64d in fontset_font (fontset=fontset@entry=0x0, c=c@entry=127802, face=face@entry=0x13fec610, id=-1) at fontset.c:793 #10 0x00000000006dddce in face_for_char (f=0x28b8ee0, face=face@entry=0x13fec610, c=127802, pos=, object=) at fontset.c:1031 #11 0x00000000004b503c in FACE_FOR_CHAR (object=, pos=, character=, face=0x13fec610, f=)     at /home/exec/Projects/git.savannah.gnu.org/git/emacs/src/dispextern.h:1962 #12 get_next_display_element (it=it@entry=0x7ffe5294f4c0) at xdisp.c:8547 #13 0x00000000004c4258 in display_string (string=string@entry=0x0, lisp_string=lisp_string@entry=0x765cc214, face_string=face_string@entry=0x0, face_string_pos=face_string_pos@entry=0, start=,     it=it@entry=0x7ffe5294f4c0, field_width=, precision=, max_x=496, multibyte=) at xdisp.c:29274 #14 0x00000000004c4d78 in display_mode_element (it=it@entry=0x7ffe5294f4c0, depth=, depth@entry=1, field_width=, field_width@entry=0, precision=, precision@entry=0,     elt=, props=, risky=) at xdisp.c:27822 #15 0x00000000004c5210 in display_mode_element (it=it@entry=0x7ffe5294f4c0, depth=1, depth@entry=0, field_width=field_width@entry=0, precision=precision@entry=0, elt=, elt@entry=0xef4fb43,     props=props@entry=0x0, risky=false) at xdisp.c:28007 #16 0x00000000004c7d00 in display_mode_line (w=w@entry=0x3064de10, face_id=MODE_LINE_INACTIVE_FACE_ID, format=0xef4fb43) at xdisp.c:27495 #17 0x00000000004c9fdd in display_mode_lines (w=w@entry=0x3064de10) at xdisp.c:27408 #18 0x00000000004dfb25 in redisplay_window (window=, just_this_one_p=just_this_one_p@entry=false) at xdisp.c:20981 #19 0x00000000004e372b in redisplay_window_0 (window=window@entry=0x3064de15) at xdisp.c:18070 #20 0x000000000063315c in internal_condition_case_1 (bfun=bfun@entry=0x4e3700 , arg=arg@entry=0x3064de15, handlers=, hfun=hfun@entry=0x49b6a0 )     at eval.c:1637 #21 0x0000000000497ff9 in redisplay_windows (window=0x3064de15) at xdisp.c:18039 #22 0x000000000049801d in redisplay_windows (window=0x3064dbf5) at xdisp.c:18033 #23 0x00000000004cb2d3 in redisplay_internal () at xdisp.c:17438 #24 0x00000000004cc8d5 in redisplay () at xdisp.c:16613 #25 0x00000000005b3dfc in read_char (commandflag=1, map=map@entry=0x7650ab73, prev_event=0x0, used_mouse_menu=used_mouse_menu@entry=0x7ffe52955ecb, end_time=end_time@entry=0x0) at keyboard.c:2678 #26 0x00000000005b6f34 in read_key_sequence (keybuf=keybuf@entry=0x7ffe52956050, prompt=prompt@entry=0x0, dont_downcase_last=dont_downcase_last@entry=false,     can_return_switch_frame=can_return_switch_frame@entry=true, fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false, disable_text_conversion_p=false) at keyboard.c:10736 #27 0x00000000005b8fd8 in command_loop_1 () at keyboard.c:1429 #28 0x00000000006330cf in internal_condition_case (bfun=bfun@entry=0x5b8e00 , handlers=handlers@entry=0x90, hfun=hfun@entry=0x5a8e20 ) at eval.c:1613 #29 0x00000000005a3fb6 in command_loop_2 (handlers=handlers@entry=0x90) at keyboard.c:1168 #30 0x0000000000632ff3 in internal_catch (tag=tag@entry=0x12450, func=func@entry=0x5a3f90 , arg=arg@entry=0x90) at eval.c:1292 #31 0x00000000005a3f51 in command_loop () at keyboard.c:1146 #32 0x00000000005a898a in recursive_edit_1 () at keyboard.c:754 #33 0x00000000005a8d0f in Frecursive_edit () at keyboard.c:837 #34 0x000000000047ca5a in main (argc=1, argv=) at emacs.c:2624 ``` I believe the crash is related to the font, but I can't reproduce it. It happens about once a day. What information should I provide to help investigate this bug? And my OS info is: ``` ❯ nix-info -m  - system: `"x86_64-linux"`  - host os: `Linux 6.6.45, NixOS, 24.05 (Uakari), 24.05.20240813.4a92571`  - multi-user?: `yes`  - sandbox: `yes`  - version: `nix-env (Nix) 2.18.5`  - channels(exec): `""`  - channels(root): `""`  - nixpkgs: `/nix/store/qszplw617r895nbcprgyj139c9a3r0xs-source` ``` Thank you!