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#57968: 29.0.50; Emacs crashes in console, when invoked from mutt Date: Wed, 21 Sep 2022 14:28:59 +0300 Message-ID: <83leqduft0.fsf@gnu.org> References: <86pmfpx1bk.fsf@protected.rcdrun.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1555"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57968@debbugs.gnu.org To: Jean Louis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 21 13:32:07 2022 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 1oaxxX-0000Ev-DB for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Sep 2022 13:32:07 +0200 Original-Received: from localhost ([::1]:59234 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oaxxW-0003OT-GQ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Sep 2022 07:32:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38100) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaxvY-0002Wr-1r for bug-gnu-emacs@gnu.org; Wed, 21 Sep 2022 07:30:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33574) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oaxvX-000700-Lu for bug-gnu-emacs@gnu.org; Wed, 21 Sep 2022 07:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oaxvX-0006NE-Gj for bug-gnu-emacs@gnu.org; Wed, 21 Sep 2022 07:30:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Sep 2022 11:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57968 X-GNU-PR-Package: emacs Original-Received: via spool by 57968-submit@debbugs.gnu.org id=B57968.166375974724344 (code B ref 57968); Wed, 21 Sep 2022 11:30:03 +0000 Original-Received: (at 57968) by debbugs.gnu.org; 21 Sep 2022 11:29:07 +0000 Original-Received: from localhost ([127.0.0.1]:60880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oaxuc-0006Ka-NK for submit@debbugs.gnu.org; Wed, 21 Sep 2022 07:29:07 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36278) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oaxub-0006K6-5k for 57968@debbugs.gnu.org; Wed, 21 Sep 2022 07:29:05 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51676) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaxuV-0006Up-Q6; Wed, 21 Sep 2022 07:28:59 -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=w8C4DOe+K0HpPAGFbt3PpKAxALc5mQF7IW8dxgV7RxQ=; b=iWJLvcObP/Tk B7aAmIsF/tDINPnubR+uuZCwRWew/6JThf5nkzHN3eBG+2/51AK3evykTbq9FX7uId8pHUf+qqzD1 SG+VflQTN5vSchAInD47C3jfmfxNJr6bpslQNB+0E8slcnkEQVIk5CL9pii3q/OOV8cR1crZBpHA5 ADQYKIfbhb36Vz7j5+vSPQbua7bgBKR+ox2p+3fdRb0oAB9LJTjydtmMudWVFmm62swK3mOU5l820 8nheevNpk4LLFmC4xr55lcoFvYac5keqiyqzkEKtDnQtTw8UqAQmLKKf2k38QQirnVjDoSDDhHINc WvuoBOhhj9NQHvCGNJE1mA==; Original-Received: from [87.69.77.57] (port=3049 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaxuM-00052A-PR; Wed, 21 Sep 2022 07:28:59 -0400 In-Reply-To: <86pmfpx1bk.fsf@protected.rcdrun.com> (message from Jean Louis on Tue, 20 Sep 2022 23:01:19 +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" Xref: news.gmane.io gmane.emacs.bugs:243304 Archived-At: > From: Jean Louis > Date: Tue, 20 Sep 2022 23:01:19 +0300 > > I use mutt to send emails, but normally emacsclient. This time Emacs > server was busy, and I have invoked settings in mutt: > > :set editor="emacs -Q -nw" > > to use it from console. > > But then when editing, Emacs crashes: > > $ mutt > Fatal error 6: Aborted > Backtrace:ped mutt > emacs(+0x19a4c3)[0x5596d6e8f4c3] > emacs(+0x48197)[0x5596d6d3d197] > emacs(+0x486e2)[0x5596d6d3d6e2] > emacs(+0x48334)[0x5596d6d3d334]gency escape. > emacs(+0x199f28)[0x5596d6e8ef28] > /usr/lib/libc.so.6(+0x428e0)[0x7f3968c498e0] > /usr/lib/libc.so.6(__pread64_nocancel+0xe)[0x7f3968d1188e] > /usr/lib/libc.so.6(+0x15aea8)[0x7f3968d61ea8] > /usr/lib/libc.so.6(+0x15b2af)[0x7f3968d622af] > /usr/lib/libc.so.6(getutid_r+0x31)[0x7f3968d61c61] > /usr/lib/libc.so.6(getutid+0x33)[0x7f3968d61b43] > emacs(+0x1a78df)[0x5596d6e9c8df] > emacs(+0x1a7d7c)[0x5596d6e9cd7c] > emacs(+0x1a7f3e)[0x5596d6e9cf3e] > emacs(+0x1a8755)[0x5596d6e9d755] These addresses can only be interpreted on your system, and are otherwise useless. So either you translate them to file names and line numbers using the technique described in the node "Crashing" of the user manual, or you need to arrange Emacs to run under a debugger and post the backtrace from there. Btw, this part: > emacs(+0x48334)[0x5596d6d3d334]gency escape. hints that Emacs attempted the "emergency escape" feature, for some reason (did you press C-g more than once or twice?). If so, then this abort was triggered by you. I'm also wondering whether "emacs -nw" can be run from mutt, since mutt is (AFAIK) full-screen text-mode application, and so it probably usurps the terminal and doesn't allow other programs work in full-screen mode, something that Emacs must do. So perhaps the scenario was like this: . you invoked the editor . emacs couldn't display on the terminal and seemed to freeze . you typed C-g several times . emacs performed the "emergency escape" procedure and aborted itself Sounds plausible?