GNU bug report logs - #57968
29.0.50; Emacs crashes in console, when invoked from mutt

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Jean Louis <bugs@HIDDEN>; Keywords: moreinfo; dated Wed, 21 Sep 2022 07:37:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 57968 <at> debbugs.gnu.org:


Received: (at 57968) by debbugs.gnu.org; 21 Sep 2022 11:29:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 07:29:07 2022
Received: from localhost ([127.0.0.1]:60880 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oaxuc-0006Ka-NK
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 07:29:07 -0400
Received: from eggs.gnu.org ([209.51.188.92]:36278)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1oaxub-0006K6-5k
 for 57968 <at> debbugs.gnu.org; Wed, 21 Sep 2022 07:29:05 -0400
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 <eliz@HIDDEN>)
 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==;
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 <eliz@HIDDEN>)
 id 1oaxuM-00052A-PR; Wed, 21 Sep 2022 07:28:59 -0400
Date: Wed, 21 Sep 2022 14:28:59 +0300
Message-Id: <83leqduft0.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Jean Louis <bugs@HIDDEN>
In-Reply-To: <86pmfpx1bk.fsf@HIDDEN> (message from Jean Louis on
 Tue, 20 Sep 2022 23:01:19 +0300)
Subject: Re: bug#57968: 29.0.50;
 Emacs crashes in console, when invoked from mutt
References: <86pmfpx1bk.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 57968
Cc: 57968 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Jean Louis <bugs@HIDDEN>
> 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?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57968; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 Sep 2022 07:36:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 03:36:05 2022
Received: from localhost ([127.0.0.1]:60468 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oauH6-0003nu-IA
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 03:36:05 -0400
Received: from lists.gnu.org ([209.51.188.17]:53460)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <admin@HIDDEN>) id 1oauH1-0003nT-VL
 for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 03:36:02 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:44870)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <admin@HIDDEN>)
 id 1oauGz-0004BM-T4
 for bug-gnu-emacs@HIDDEN; Wed, 21 Sep 2022 03:35:59 -0400
Received: from stw1.rcdrun.com ([217.170.207.13]:59425)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <admin@HIDDEN>)
 id 1oauGx-0006Gg-Fa
 for bug-gnu-emacs@HIDDEN; Wed, 21 Sep 2022 03:35:57 -0400
Received: from localhost ([::ffff:197.239.7.61])
 (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384)
 by stw1.rcdrun.com with ESMTPSA
 id 00000000000B5AC7.00000000632ABEB9.00005ACA; Wed, 21 Sep 2022 00:35:20 -0700
From: Jean Louis <bugs@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 29.0.50; Emacs crashes in console, when invoked from mutt
Date: Tue, 20 Sep 2022 23:01:19 +0300
Message-ID: <86pmfpx1bk.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=217.170.207.13;
 envelope-from=admin@HIDDEN; helo=stw1.rcdrun.com
X-Spam_score_int: 0
X-Spam_score: 0.0
X-Spam_bar: /
X-Spam_report: (0.0 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_06_12=1.543,
 HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_SBL=0.141, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 2.6 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  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. 
 Content analysis details:   (2.6 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 2.6 RCVD_IN_SBL            RBL: Received via a relay in Spamhaus SBL
 [197.239.7.61 listed in zen.spamhaus.org]
 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level
 mail domains are different
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 1.1 DATE_IN_PAST_06_12     Date: is 6 to 12 hours before Received: date
 0.9 SPF_FAIL               SPF: sender does not match SPF record (fail)
 [SPF failed: Please see http://www.openspf.org/Why?s=mfrom;
 id=admin%40protected.rcdrun.com; ip=209.51.188.17; r=debbugs.gnu.org]
 -2.3 RCVD_IN_DNSWL_MED      RBL: Sender listed at https://www.dnswl.org/,
 medium trust [209.51.188.17 listed in list.dnswl.org]
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.6 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  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. 
 
 Content analysis details:   (1.6 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -2.3 RCVD_IN_DNSWL_MED      RBL: Sender listed at https://www.dnswl.org/,
                             medium trust
                             [209.51.188.17 listed in list.dnswl.org]
  2.6 RCVD_IN_SBL            RBL: Received via a relay in Spamhaus SBL
                             [197.239.7.61 listed in zen.spamhaus.org]
  0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level
                             mail domains are different
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
  1.1 DATE_IN_PAST_06_12     Date: is 6 to 12 hours before Received: date
  0.9 SPF_FAIL               SPF: sender does not match SPF record (fail)
 [SPF failed: Please see http://www.openspf.org/Why?s=mfrom;id=admin%40protected.rcdrun.com;ip=209.51.188.17;r=debbugs.gnu.org]
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager


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]
emacs(+0x1a8a1d)[0x5596d6e9da1d]
emacs(+0x1aa4f8)[0x5596d6e9f4f8]
emacs(+0x1ac740)[0x5596d6ea1740]
emacs(+0x1f9236)[0x5596d6eee236]
emacs(+0x252032)[0x5596d6f47032]
emacs(+0x2084a6)[0x5596d6efd4a6]
emacs(+0x20a0a0)[0x5596d6eff0a0]
emacs(+0x252032)[0x5596d6f47032]
emacs(+0x2084a6)[0x5596d6efd4a6]
emacs(+0x2044de)[0x5596d6ef94de]
emacs(+0x2084a6)[0x5596d6efd4a6]
emacs(+0x205a6e)[0x5596d6efaa6e]
emacs(+0x252032)[0x5596d6f47032]
emacs(+0x2084a6)[0x5596d6efd4a6]
emacs(+0x18c839)[0x5596d6e81839]
emacs(+0x206d17)[0x5596d6efbd17]
emacs(+0x177c56)[0x5596d6e6cc56]
emacs(+0x206c71)[0x5596d6efbc71]
emacs(+0x177bf1)[0x5596d6e6cbf1]
emacs(+0x17efe2)[0x5596d6e73fe2]
emacs(+0x17f370)[0x5596d6e74370]
emacs(+0x50ed2)[0x5596d6d45ed2]
/usr/lib/libc.so.6(+0x2d290)[0x7f3968c34290]
/usr/lib/libc.so.6(__libc_start_main+0x8a)[0x7f3968c3434a]
emacs(+0x513e5)[0x5596d6d463e5]



In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo
 version 1.17.6, Xaw3d scroll bars) of 2022-09-16 built on
 protected.rcdrun.com
Repository revision: 3c1579697ff03d3991b41ead503211cffac0998f
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101003
System Description: Parabola GNU/Linux-libre

Configured using:
 'configure --with-x-toolkit=lucid'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY
PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS
WEBP X11 XAW3D XDBE XIM XINPUT2 XPM LUCID ZLIB

Important settings:
  value of $LC_ALL: en_US.UTF-8
  value of $LANG: de_DE.UTF-8
  value of $XMODIFIERS: @im=exwm-xim
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr ispell emacsbug message mailcap yank-media puny
dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg
rfc6068 epg-config gnus-util text-property-search time-date subr-x
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils rmc iso-transl tooltip eldoc paren
electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
faces cus-face macroexp files window text-properties overlay sha1 md5
base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify lcms2
dynamic-setting system-font-setting font-render-setting cairo x-toolkit
xinput2 x multi-tty make-network-process emacs)

Memory information:
((conses 16 42989 7602)
 (symbols 48 5282 0)
 (strings 32 15441 3035)
 (string-bytes 1 435599)
 (vectors 16 10720)
 (vector-slots 8 160870 12224)
 (floats 8 41 14)
 (intervals 56 275 0)
 (buffers 1000 12))

-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/




Acknowledgement sent to Jean Louis <bugs@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#57968; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 21 Sep 2022 11:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.