From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#66127: 28.2; emacs crash after single C-g Date: Thu, 21 Sep 2023 07:41:22 +0300 Message-ID: <83ttro9lzh.fsf@gnu.org> References: <87fs38r4y6.fsf@neko.mail-host-address-is-not-set> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31165"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66127@debbugs.gnu.org To: tom@logand.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 21 06:42:16 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 1qjBW3-0007tr-C3 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 Sep 2023 06:42:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjBVj-0008FI-6m; Thu, 21 Sep 2023 00:41:55 -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 1qjBVg-0008FA-W2 for bug-gnu-emacs@gnu.org; Thu, 21 Sep 2023 00:41:53 -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 1qjBVg-0000JJ-Mz for bug-gnu-emacs@gnu.org; Thu, 21 Sep 2023 00:41:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qjBVp-0001vK-Sx for bug-gnu-emacs@gnu.org; Thu, 21 Sep 2023 00:42:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Sep 2023 04:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66127 X-GNU-PR-Package: emacs Original-Received: via spool by 66127-submit@debbugs.gnu.org id=B66127.16952712977361 (code B ref 66127); Thu, 21 Sep 2023 04:42:01 +0000 Original-Received: (at 66127) by debbugs.gnu.org; 21 Sep 2023 04:41:37 +0000 Original-Received: from localhost ([127.0.0.1]:60755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjBVR-0001ue-50 for submit@debbugs.gnu.org; Thu, 21 Sep 2023 00:41:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48926) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjBVK-0001uO-Rw for 66127@debbugs.gnu.org; Thu, 21 Sep 2023 00:41:34 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qjBV5-0000Hz-J9; Thu, 21 Sep 2023 00:41:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=WHg0vp73xblOO1qCj7MtOXv1z/ub1pufsgP1vTWmRPo=; b=hB8br5oBpKUF kIAuABHOs5Ozgpb8+/AMibPw8gfSeBoK+BsA42BVRZLi4xSxNij0d9atF6M7vKwEricb8exY5oGM1 ggaaCzd66NAIBIBmy02W9lXdOvrYjHPnPFCQXNXQJvA8qDi947IDQYPNYRQWKaOQWLXHkD/IlR5Vh /AI3jmXwkVi1oH/4mCtPfWgUhYlHOCj6QBj0/WHmTsHe03Ezqn8G1hAwWERRrOmD0/snCYwMhBO3T yvJoJLzfN7O23VL6OkDmavKN1zzDxyBmcKJoDiy4erSaDpm5ogVx0auqFUJmhy2MlnYZ25GDjPCIp L0A0OoSmoeI7cm13m9QZPA==; In-Reply-To: <87fs38r4y6.fsf@neko.mail-host-address-is-not-set> (tom@logand.com) 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:270972 Archived-At: > From: tom@logand.com > Date: Wed, 20 Sep 2023 21:59:45 +0200 > > > Sorry I do not have a minimal test case. > > Since a long time ago, single C-g crashes emacs for me so when there is > something long running blocking emacs, it is not possible to reliably > interrupt it. > > I observe this behaviour often when using the notmuch email client and > trying to display a long thread. When notmuch block emacs for ages and > I press single C-g, sometimes I get the following crash: > > Fatal error 11: Segmentation fault > Backtrace: > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x5251c8] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x41f4e6] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x41f9e8] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x523398] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x52341c] > /nix/store/46m4xx889wlhsdj72j38fnlyyvvvvbyb-glibc-2.37-8/lib/libc.so.6(+0x38d60)[0x7f6e33852d60] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x5efcba] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x5eff11] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x5894c3] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/../lib/emacs/28.2/native-lisp/28.2-d1746297/preloaded/jit-lock-8a988e43-703cd7fb.eln(F6a69742d6c6f636b2d666f6e746966792d6e6f77_jit_lock_fontify_now_0+0x2d2)[0x7f6e316b0172] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x5894c3] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/../lib/emacs/28.2/native-lisp/28.2-d1746297/preloaded/jit-lock-8a988e43-703cd7fb.eln(F6a69742d6c6f636b2d66756e6374696f6e_jit_lock_function_0+0x232)[0x7f6e316afaf2] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x5894c3] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x588981] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x43e5f4] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x44d95c] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x44daf8] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x452fd6] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x458788] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x4566b5] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x458ae0] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x45ac77] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x455876] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x47c514] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x4814ab] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x58865c] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x441149] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x441105] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x46b751] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x46d705] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x4289ee] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x5894c3] > /nix/store/bvkjcb6pzd3d51q9j7yhf3bhljxlvb95-emacs-packages-deps/share/emacs/native-lisp/28.2-d1746297/notmuch-show-482175f2-4dd38a29.eln(F6e6f746d7563682d73686f772d636f6d6d616e642d686f6f6b_notmuch_show_command_hook_0+0x71)[0x7f6e2f742971] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x5894c3] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x5895f8] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x588981] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x50a9c1] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x588c6d] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x50e318] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x51b00b] > /nix/store/5vx99s8cjzv8hcirly8g06alhjz0zaba-emacs-28.2/bin/emacs[0x5885cf] > ... > Segmentation fault (core dumped) > > Does this help? Only a little. Those addresses in the backtrace can only be interpreted on your system. The node "Crashing" in the Emacs user manual explains how to convert them to human-readable list of files, functions, and line numbers, so please do that and post the results. For even better results, run Emacs under GDB, and when it crashes, type at the GDB prompt: (gdb) thread apply all bt and post the results. All of the above assumes your Emacs was not stripped of debug info; if it was, there's no way of getting symbolic backtraces, and I would recommend to download the symbols or rebuild Emacs without stripping, before doing any of the above. > In GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars) > System Description: NixOS 23.05 (Stoat) Any chance you could try Emacs 29.1 or the HEAD of the current emacs-29 branch of the Emacs Git repository? We will not be making any more releases from the Emacs 28 branch, and it is possible that the bug you are experiencing was already solved. Thanks.