From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#66127: 28.2; emacs crash after single C-g Date: Wed, 10 Jan 2024 02:37:13 -0800 Message-ID: References: <87fs38r4y6.fsf@neko.mail-host-address-is-not-set> <83ttro9lzh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33978"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66127-done@debbugs.gnu.org, tom@logand.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 10 11:38:19 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 1rNVyU-0008aX-NX for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Jan 2024 11:38:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rNVyA-0007oF-A7; Wed, 10 Jan 2024 05:37:58 -0500 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 1rNVy8-0007nn-Hp for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2024 05:37:56 -0500 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 1rNVy8-0007eb-8F for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2024 05:37:56 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rNVyE-0001pR-Jd for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2024 05:38:02 -0500 Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Jan 2024 10:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 66127 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Mail-Followup-To: 66127@debbugs.gnu.org, stefankangas@gmail.com, tom@logand.com Original-Received: via spool by 66127-done@debbugs.gnu.org id=D66127.17048830496961 (code D ref 66127); Wed, 10 Jan 2024 10:38:02 +0000 Original-Received: (at 66127-done) by debbugs.gnu.org; 10 Jan 2024 10:37:29 +0000 Original-Received: from localhost ([127.0.0.1]:41999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNVxh-0001oD-8r for submit@debbugs.gnu.org; Wed, 10 Jan 2024 05:37:29 -0500 Original-Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]:55585) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNVxf-0001o0-1V for 66127-done@debbugs.gnu.org; Wed, 10 Jan 2024 05:37:27 -0500 Original-Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-50e759ece35so4438520e87.3 for <66127-done@debbugs.gnu.org>; Wed, 10 Jan 2024 02:37:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704883034; x=1705487834; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=+WBf+cXrhF4YyMgMMlZwlVgYIarOW0EfVU1FT/QkeR0=; b=PAgnL2iLEqavmBncigARo7/vaHGlOyy3dUlZ3YXA0JASuTU0yTeXzz8ZUrcEagobt5 LChWwfwHgFluvr6iyllX8qBFC6IXUDFcihuq1dRG0as/Ce/qtgQQHifGOI/TlAs9+IJa KrQGqwcQ5B6ROsOWFg9KzzrnnHOCaTc6ZQGB2hvnBZEDk+NNsOuVaZhzenYmUpR7uVjT z1UCSrp8AR4YawmVGO2bey/Oki37scggOfe++pcFQqlOw4SLa2rp5XZmbY6g9kM/frnY otpTEEIVTCE/AJu+Is8WL9iPiGxfLNvkCpfO4EnkAu75GOPAbmU/N5qJPlA25BJJcxK3 NArg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704883034; x=1705487834; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+WBf+cXrhF4YyMgMMlZwlVgYIarOW0EfVU1FT/QkeR0=; b=WURrdirVbhNgc+xxRXLiMcnlj3PYWDJ4gZerumUJD+O2897hbhMM9ZNBcy3k7ffaJ0 T6RpVW/Ez7ROo+PyLnCfvfwd/UYWhvK2Eizubs6FvMUlWXWWaQBYmxye8HhZxc7uZvW1 ne2vJ2gYs3uLhEuKeppLf90KPraWpzmvJpYdiElpi24LWLC7U8RvVp7YUWj3Tlbcexpu GvqUco+lqz5NqXWgRXvIOUJluGik0+RWGrM01Nb1dfmHQyqEmN6pm4WgWi/VZqguWxFZ eb3Yyr1cqtEjIkFvKTQo24Bb2lncjgV1e2VPR67AGnDjI/YZOajRqkHrITlpawuylGIK iMpA== X-Gm-Message-State: AOJu0YwXtmaT1we63/29RYUEi1379+WmEYJ/ZTZauQ+a4Hu9p4kWJye2 DwgXlkArEgQyP27IrNi7TNgbjPhkXa0fwTXHRSY= X-Google-Smtp-Source: AGHT+IHNw5AKuTxjV99ZXRHjWYTqMknFUTA5tzGIomXqcVe954qld7IJm0+d6+vyY4laLcS+crM0CcHw5B5NsDEY0XU= X-Received: by 2002:a05:6512:b18:b0:50e:7be3:d325 with SMTP id w24-20020a0565120b1800b0050e7be3d325mr356251lfu.86.1704883033556; Wed, 10 Jan 2024 02:37:13 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 10 Jan 2024 02:37:13 -0800 In-Reply-To: <83ttro9lzh.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 21 Sep 2023 07:41:22 +0300") 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:277697 Archived-At: Eli Zaretskii writes: >> 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. More information was requested, but none was given within 3 months, so I'm closing this bug. If this is still an issue, please reply to this email (use "Reply to all" in your email client) and we can reopen the bug report.