From unknown Sun Sep 07 17:04:59 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#14473 <14473@debbugs.gnu.org> To: bug#14473 <14473@debbugs.gnu.org> Subject: Status: 24.3; emacs locks up when eshell attempts to display a dialog Reply-To: bug#14473 <14473@debbugs.gnu.org> Date: Mon, 08 Sep 2025 00:04:59 +0000 retitle 14473 24.3; emacs locks up when eshell attempts to display a dialog reassign 14473 emacs submitter 14473 Joseph Mingrone severity 14473 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat May 25 13:20:51 2013 Received: (at submit) by debbugs.gnu.org; 25 May 2013 17:20:52 +0000 Received: from localhost ([127.0.0.1]:34393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UgI9C-00060i-E2 for submit@debbugs.gnu.org; Sat, 25 May 2013 13:20:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35008) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UgI99-00060D-3b for submit@debbugs.gnu.org; Sat, 25 May 2013 13:20:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UgI7w-0005Hb-TC for submit@debbugs.gnu.org; Sat, 25 May 2013 13:19:39 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-100.7 required=5.0 tests=BAYES_40, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID,USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:50078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgI7w-0005HX-Q7 for submit@debbugs.gnu.org; Sat, 25 May 2013 13:19:32 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgI7u-0007Fi-Ip for bug-gnu-emacs@gnu.org; Sat, 25 May 2013 13:19:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UgI7r-0005G5-3p for bug-gnu-emacs@gnu.org; Sat, 25 May 2013 13:19:30 -0400 Received: from mail-vc0-f178.google.com ([209.85.220.178]:62790) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgI7q-0005Fl-UP for bug-gnu-emacs@gnu.org; Sat, 25 May 2013 13:19:27 -0400 Received: by mail-vc0-f178.google.com with SMTP id id13so3842433vcb.23 for ; Sat, 25 May 2013 10:19:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftfl.ca; s=google; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; bh=m8aptYpRPyI5k0Z1HBb334vzm3fzRbIrfjGUgfv1Bc8=; b=IjbBDzco6X1tgjPwmP6EOfn9NjmrId/VkrQ1dmGw6ZDKUxnMPhw79ktoJauCTDmZfA W4ZuOjOvIGNxF8l+TJuRiLRDVgbOG0Pn9EC0bXi63SM+zU3A8lATDalAIESPTObJUT7d PPj9gp8e4SFnv6ZUxyjOSbImUPeX72SQfYWV0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-type:x-gm-message-state; bh=m8aptYpRPyI5k0Z1HBb334vzm3fzRbIrfjGUgfv1Bc8=; b=Q2jJfc+TdMQYtpZIpJ/7QUi8BoqLxJjwni9m1WkKu6MSwFmJnIJqSq99JEk/drcPun qtqqA2qLQhW6W0Vdh6Fhc7x+XDccPxxBVePUZLBHg7Qlnvn4/NfvJOaEXEBKRb/UbzDP cCYHoY75rCUUg7FrA/YTDX45vIB2WWk1TpKJTIEx4RJ7iuyn3m6J8AXWPmqL1s9IrYJn QpYXhraHf/JB8+EvlY9yC9hpstfa5pP+pMS3/itK9VSXpyMH+0TVdOrezc/jaZ4VdQJu QG+IIcNjteqdDk8uujNQj/HeNObhWUlfUmG/hc7w0FBE9UloPfyp/is2LFd865cdgJDk kxQQ== X-Received: by 10.52.70.111 with SMTP id l15mr8709730vdu.54.1369502365753; Sat, 25 May 2013 10:19:25 -0700 (PDT) Received: from gly.ath.cx.ftfl.ca (Dynamic34-29.Dynamic.Dal.Ca. [129.173.34.203]) by mx.google.com with ESMTPSA id tk7sm13450238vdc.0.2013.05.25.10.19.24 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 25 May 2013 10:19:24 -0700 (PDT) From: Joseph Mingrone To: bug-gnu-emacs@gnu.org Subject: 24.3; emacs locks up when eshell attempts to display a dialog Date: Sat, 25 May 2013 14:19:22 -0300 Message-ID: <86zjvjnfj9.fsf@gly.ath.cx> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-Gm-Message-State: ALoCoQkQUcVGvUub4trf7ptTLXbPdIGhrpxpg+VycSnoyU+HB5yE+ngLMpdra9fCXYxj/3AEid4u X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) When working in Eshell, if a dialog such as http://www.freebsd.org/doc/en/books/handbook/install/dist-set2.png is to be displayed, Emacs will lock up and the processor will stay at 100% until Emacs is killed. This also happens when starting with Emacs -Q. In GNU Emacs 24.3.1 (amd64-portbld-freebsd9.1, X toolkit) of 2013-03-31 on phe.ath.cx Windowing system distributor `The X.Org Foundation', version 11.0.11006000 Configured using: `configure '--localstatedir=/var' '--without-rsvg' '--with-x-toolkit=athena' '--without-xaw3d' '--without-toolkit-scroll-bars' '--without-gif' '--with-xft' '--without-m17n-flt' '--with-otf' '--without-imagemagick' '--without-gsettings' '--without-gconf' '--with-xim' '--with-sound' '--without-dbus' '--with-xml2' '--with-gnutls' '--x-libraries=/usr/local/lib' '--x-includes=/usr/local/include' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=amd64-portbld-freebsd9.1' 'build_alias=amd64-portbld-freebsd9.1' 'CC=cc' 'CFLAGS=-O2 -pipe -fno-strict-aliasing' 'LDFLAGS= -L/usr/local/lib -Wl,-rpath=/usr/local/lib' 'CPPFLAGS=-I/usr/local/include' 'CPP=cpp'' Important settings: value of $LANG: en_CA.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: erc-track-mode: t erc-spelling-mode: t erc-ring-mode: t erc-netsplit-mode: t erc-menu-mode: t erc-match-mode: t erc-log-mode: t erc-list-mode: t erc-pcomplete-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-autojoin-mode: t show-paren-mode: t global-auto-revert-mode: t shell-dirtrack-mode: t erc-services-mode: t erc-networks-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: Recent messages: ("emacs") Loading autorevert...done Loading paren...done Starting Emacs daemon. When done with this frame, type C-x 5 0 Making completion list... Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message idna rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils help-mode server auctex-autoloads tex-site info dired+-autoloads exec-path-from-shell-autoloads fill-column-indicator-autoloads google-translate-autoloads iy-go-to-char-autoloads multi-eshell-autoloads multi-term-autoloads rainbow-delimiters-autoloads erc-track erc-spelling flyspell ispell erc-ring erc-netsplit erc-menu erc-match erc-log erc-pcomplete erc-button erc-fill erc-stamp wid-edit erc-join paren autorevert cus-start cus-load bbdb-autoloads uniquify tls stumpwm-mode edmacro kmacro easy-mmode package ido ess-toolbar ess-mouse mouseme browse-url ess-menu ess-swv ess-noweb ess-noweb-font-lock-mode ess-bugs-l essd-els ess-sas-d ess-sas-l ess-sas-a shell pcomplete ess-arc-d ess-vst-d ess-xls-d ess-lsp-l ess-sta-d ess-sta-l cc-vars cc-defs make-regexp ess-sp6-d ess-sp5-d ess-sp3-d ess-julia ess-r-d compile ess-tracebug warnings ess-roxy advice cl-lib advice-preload hideshow ess-help ess-developer ess-r-args eldoc help-fns ess-s-l ess ess-inf comint ansi-color ring ess-mode ess-noweb-mode ess-utils ess-custom executable ess-compat ess-site erc-services erc-networks erc-goodies erc erc-backend erc-compat format-spec auth-source eieio byte-opt bytecomp byte-compile cconv gnus-util time-date mm-util mail-prsvr password-cache thingatpt pp epa-file epa derived epg epg-config doc-view easymenu jka-compr image-mode dired bbdb timezone tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dynamic-setting font-render-setting x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 30 11:48:07 2019 Received: (at 14473) by debbugs.gnu.org; 30 Sep 2019 15:48:07 +0000 Received: from localhost ([127.0.0.1]:60260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iExuA-0003Oj-Qs for submit@debbugs.gnu.org; Mon, 30 Sep 2019 11:48:06 -0400 Received: from mail-pg1-f175.google.com ([209.85.215.175]:37808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iExu9-0003Nt-9J for 14473@debbugs.gnu.org; Mon, 30 Sep 2019 11:48:05 -0400 Received: by mail-pg1-f175.google.com with SMTP id c17so7630256pgg.4 for <14473@debbugs.gnu.org>; Mon, 30 Sep 2019 08:48:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=fCZ3X8omzqsybs/Qml4Y9V7pW7W/2wPnyzDK1pcGjsk=; b=D8n74nY0/7clwpPEOPR5TKnpovKYB002VnCM1f50Saw6ctCdONUCXWRI22KID7d00n li8slIIWJbD0lcRmstONk5IeCPqaHTg8yGtt9+LljHIxaJ4BtysnECt8vEmoXIjBeym+ JZgR8Wm/7NPORr+e/G1g3KsZeUZqJgZFtJEJ6LRNFJfnVKUJFquivwFkVLodGNuDHV6U h181dXQL3Shria2frLbBh3/3MeU5dRlbBn3N4yGKYZBNXrIOqVmapRJBX3x1OjsYeg8L 553m8QaKf8WJIUlfPhTPp2/+c73fhYrNVgqD91lFVL7l7joJCFBG1uZ80+vqvj/K7bR5 pDjw== X-Gm-Message-State: APjAAAXq+LqxhMmk9+fn03q6/ZZeXdiFZtwfjdx8hX9TqEEPAr3Cry26 eqBYrmK6UQoi5k39hrDWnCDwu/NwafepyNtEUMt0bHXqvg4= X-Google-Smtp-Source: APXvYqxvyzOyy/nYahb+EKxvMpnMHKBUuIWvv+LYOgFhEeNzS3nusjCvFAOc5UT2OCvKpK/x54QvVZVJcQUPtkN1RLw= X-Received: by 2002:a17:90a:cc08:: with SMTP id b8mr27520166pju.119.1569858479430; Mon, 30 Sep 2019 08:47:59 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas Date: Mon, 30 Sep 2019 17:47:48 +0200 Message-ID: Subject: Re: bug#14473: 24.3; emacs locks up when eshell attempts to display a dialog To: Joseph Mingrone Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 14473 Cc: 14473@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Joseph Mingrone writes: > When working in Eshell, if a dialog such as > http://www.freebsd.org/doc/en/books/handbook/install/dist-set2.png is to > be displayed, Emacs will lock up and the processor will stay at 100% > until Emacs is killed. This also happens when starting with Emacs -Q. Are you still seeing this on a modern version of Emacs? If yes, could you please provide a recipe for how to reproduce it, starting from "emacs -Q"? (BTW, the link above is dead.) Best regards, Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 30 12:10:21 2019 Received: (at 14473) by debbugs.gnu.org; 30 Sep 2019 16:10:22 +0000 Received: from localhost ([127.0.0.1]:60330 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEyFh-0007Fw-He for submit@debbugs.gnu.org; Mon, 30 Sep 2019 12:10:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEyFg-0007Fb-2P for 14473@debbugs.gnu.org; Mon, 30 Sep 2019 12:10:20 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41868) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iEyFa-0007zP-IF; Mon, 30 Sep 2019 12:10:14 -0400 Received: from [176.228.60.248] (port=4940 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iEyFW-0008Ay-UQ; Mon, 30 Sep 2019 12:10:14 -0400 Date: Mon, 30 Sep 2019 19:10:07 +0300 Message-Id: <83r23xbw9s.fsf@gnu.org> From: Eli Zaretskii To: Stefan Kangas In-reply-to: (message from Stefan Kangas on Mon, 30 Sep 2019 17:47:48 +0200) Subject: Re: bug#14473: 24.3; emacs locks up when eshell attempts to display a dialog References: <86zjvjnfj9.fsf@gly.ath.cx> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 14473 Cc: jrm@ftfl.ca, 14473@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Kangas > Date: Mon, 30 Sep 2019 17:47:48 +0200 > Cc: 14473@debbugs.gnu.org > > Joseph Mingrone writes: > > > When working in Eshell, if a dialog such as > > http://www.freebsd.org/doc/en/books/handbook/install/dist-set2.png is to > > be displayed, Emacs will lock up and the processor will stay at 100% > > until Emacs is killed. This also happens when starting with Emacs -Q. > > Are you still seeing this on a modern version of Emacs? If yes, could > you please provide a recipe for how to reproduce it, starting from > "emacs -Q"? > > (BTW, the link above is dead.) You can still find it in the Internet Archive: https://web.archive.org/web/20130801011654/http://www.freebsd.org/doc/en/books/handbook/install/dist-set2.png From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 03 11:49:11 2019 Received: (at 14473) by debbugs.gnu.org; 3 Oct 2019 15:49:11 +0000 Received: from localhost ([127.0.0.1]:40838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iG3Lr-0005fE-9K for submit@debbugs.gnu.org; Thu, 03 Oct 2019 11:49:11 -0400 Received: from mail-qt1-f176.google.com ([209.85.160.176]:44873) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iG3Lp-0005f1-2b for 14473@debbugs.gnu.org; Thu, 03 Oct 2019 11:49:10 -0400 Received: by mail-qt1-f176.google.com with SMTP id u40so4215395qth.11 for <14473@debbugs.gnu.org>; Thu, 03 Oct 2019 08:49:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftfl.ca; s=google; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Ee6Fz83E51YXXYh+MFsVanXiW+reqX64rU4RZ9cx8TY=; b=dpD/5ZRQ6Y83aWdxVM76WWQAHdVKVXS39m13VcxIbT51+MsUxho8g5yQ2f7NTiQ+Xa AAj2ilBSnOwwUk5WcdssOcm7C9zVIKRxXa/A/lXybiOy87YRMqb118f3Qa31Napy5Y7b yr8ai8I6uxM/BcYgu6rW0GoB6PJcl1T/uxDMc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Ee6Fz83E51YXXYh+MFsVanXiW+reqX64rU4RZ9cx8TY=; b=G8vv9dN2evnYyRk53TyoTdzXdEUFkHmWP77af4Mzk12W75YuAyGdcgCIRTZaBnplvm TsjmvoG7ErNNkIon0nYIOGs2jTR+NQW2K/OftTQapCCkmA/12sNCXX9GA2d3YzhXU+d1 YN5SNYE1v/KBF84UXib0k+F0Ul9o0QlM1UTlMgDYGUsrJQZuC/BHqe/EflW9rHX5ZNCy 3jNf6sB7Jxfs26bXGK9bOSHUQzb72SAZVIDurmW0UE6KXdf02gq+iTN1SqJdb9XUkKHK WSWgNubFUgzsJ0zwxNGnFwPdzKbLGXy1FizIXpOkRsVVocFDKz4J1XMQeu/LLdpDfu6h 3j2w== X-Gm-Message-State: APjAAAVkegAYMKjgrRnSpkvsRL7y5pYU7IlI9Vs9Lq4r24tLAhi3aP3E 4VmN4NNIwrNSMyB2zQ06vhTYw7lLNLI= X-Google-Smtp-Source: APXvYqwavuGPClcHyuJQ1hXXXIsxtSQNp7YdoHsuEe/xOLB2yBxs8wC1kJvwvdxk59B4PaxbbkyZJA== X-Received: by 2002:ac8:37d0:: with SMTP id e16mr10552966qtc.79.1570117742870; Thu, 03 Oct 2019 08:49:02 -0700 (PDT) Received: from phe.ftfl.ca.ftfl.ca (drmons0544w-156-57-171-174.dhcp-dynamic.fibreop.ns.bellaliant.net. [156.57.171.174]) by smtp.gmail.com with ESMTPSA id l129sm1736643qkd.84.2019.10.03.08.48.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 Oct 2019 08:48:59 -0700 (PDT) From: Joseph Mingrone To: Eli Zaretskii Subject: Re: bug#14473: 24.3; emacs locks up when eshell attempts to display a dialog References: <86zjvjnfj9.fsf@gly.ath.cx> <83r23xbw9s.fsf@gnu.org> Date: Thu, 03 Oct 2019 12:48:57 -0300 In-Reply-To: <83r23xbw9s.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 30 Sep 2019 19:10:07 +0300") Message-ID: <86wodlakye.fsf@phe.ftfl.ca> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 14473 Cc: 14473@debbugs.gnu.org, Stefan Kangas X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Eli Zaretskii writes: >> From: Stefan Kangas >> Date: Mon, 30 Sep 2019 17:47:48 +0200 >> Cc: 14473@debbugs.gnu.org >> Joseph Mingrone writes: >> > When working in Eshell, if a dialog such as >> > http://www.freebsd.org/doc/en/books/handbook/install/dist-set2.png is to >> > be displayed, Emacs will lock up and the processor will stay at 100% >> > until Emacs is killed. This also happens when starting with Emacs -Q. >> Are you still seeing this on a modern version of Emacs? If yes, could >> you please provide a recipe for how to reproduce it, starting from >> "emacs -Q"? >> (BTW, the link above is dead.) > You can still find it in the Internet Archive: > https://web.archive.org/web/20130801011654/http://www.freebsd.org/doc/en/books/handbook/install/dist-set2.png It's still a problem (26.3 and 2019-09-15 master-branch build) in that the dialog is not displayed, but the Emacs process no longer consumes 100% CPU. Here is a simple recipe to reproduce the problem. It assumes the FreeBSD ports tree is installed in the default location, which is /usr/ports. 1. emacs -Q 2. M-x eshell 3. cd /usr/ports/editors/emacs 4. sudo make config Instead of the dialog displaying, eshell becomes unusable (blank screen and no keys will return the prompt). Trying to exit by hitting TAB/Enter reports Completion function pcomplete-completions-at-point uses a deprecated calling convention Warning: pcomplete-completions-at-point failed to return valid completion data! You can switch buffers and kill the eshell process now though. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKgBAEBCgCKFiEEVbCTpybDiFVxIrrVNqQMg7DW754FAl2WGGlfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDU1 QjA5M0E3MjZDMzg4NTU3MTIyQkFENTM2QTQwQzgzQjBENkVGOUUMHGpybUBmdGZs LmNhAAoJEDakDIOw1u+egNYP/33f03M1jnQ/y1LLz0Utk8aeghpE6HdS7TFD08SZ NX369dnT8RWwy+J/jkfAKHtxyPgQUQglZJ40QHnLgfl9/LSKjjDzgabVuKOlz6T2 Ina2cuEPpn0XsNJVllm2emxyuA35hxGgsO80RFdOshfhc/ur2Wi1RTPXu5kY/wxT 9h7MCKFbAz+3C9/B6nwNyMjqDKqFZiZsobrrD/BFtcTrKNhFz7yPEceeA8ighPOj hJBrchmpLoxHImPKKtDtAaUfeUv80kHWrru36dSya6qB1WsP7zyk1OPkWT/TIPzb RsBmRnBSrDLdQwlRvbXlddIaH2tvjU9Q9t64EIH3whThY0amXmWtu17wuiMrHpuY /5RfRGvkFvb9fc/6uFP4TMmgRSxjNoWQNsrTYNfT/DeBrpwjHI5SKZ3xysh29hRx G6OCzS//Mhi8D4re1695gxWpQlgLJjQccXn0P0ltl+yd/PDs8upEbKqemRnab+0A m0XbdVnM4GlK++kir8fsQ0x4yuxVb8v5zKqCsQt67qDIQsPXGyGfGLlnxqJKuy7u YahSxfRpazCSdH3fvBpcVh8PqYIoya0eJQaqYfsDhBFJxk6o/t56thlMArbYlMBD Xl+/IB2eBiQkZ4cykxK7MVPt4jV1i0Hq8bQOhkQM1qyNxgOEjYHQpU9Bj+IRtmZx Hi6H =yjD2 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 03 12:48:23 2019 Received: (at 14473) by debbugs.gnu.org; 3 Oct 2019 16:48:23 +0000 Received: from localhost ([127.0.0.1]:40983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iG4H8-0002zS-S9 for submit@debbugs.gnu.org; Thu, 03 Oct 2019 12:48:23 -0400 Received: from mail-pg1-f171.google.com ([209.85.215.171]:38744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iG4H6-0002zB-VD for 14473@debbugs.gnu.org; Thu, 03 Oct 2019 12:48:21 -0400 Received: by mail-pg1-f171.google.com with SMTP id x10so2119463pgi.5 for <14473@debbugs.gnu.org>; Thu, 03 Oct 2019 09:48:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=d/kXRKH/NSyk1RcEjkcFNR9bcrvO4s5cgOfwHC3iOF4=; b=mv+WiYH4qM79KwsjCgO5gljyT1B5lHfMKY1n6l3YkzaZge29unHpsAja90u4jI3tdK MSmupfCmMo9c4rQPmwEQEcpel8Y4YEnsVMlzxzsbJVM7VKMQW2DSvvNtm81e/6moAfvX ajiSxxO0vGm3eX+XHB+DkW5H1vN2PjDuVylc7GbVAYZeDNFrZcLRJT3RXWBSp81bFmLo 8owajVsj9I8rmVO9QzpCusqhpDI+9GsTj5y0OXkgz6X1zcANKik1SU/rBtU0zW9kkIAQ b2tosC5UDJA9Rid66UEZgCpfjrFAbf8rlj6mVc8UZ2UZuJS7kHGHJwKcmqYMd/SYIRQ7 iv0g== X-Gm-Message-State: APjAAAX7pINHOJDgsySBW+n/f32EXRQkWo6KW7hqwzzv9O2RGDB+j4I6 APqZXEAO5b8J5lkSodZ3QDbjg++WvzX8nUiaa5NxTmCt1Ws= X-Google-Smtp-Source: APXvYqxmyuHiKnbNV73/d9TWRKVRKa0xcbG5E60V2NUsppIB1jbcmitcPvdRUtjLzrOruycgM9aPhksWLsZhvbPbB2c= X-Received: by 2002:a63:1310:: with SMTP id i16mr9758301pgl.200.1570121294953; Thu, 03 Oct 2019 09:48:14 -0700 (PDT) MIME-Version: 1.0 References: <86zjvjnfj9.fsf@gly.ath.cx> <83r23xbw9s.fsf@gnu.org> <86wodlakye.fsf@phe.ftfl.ca> In-Reply-To: <86wodlakye.fsf@phe.ftfl.ca> From: Stefan Kangas Date: Thu, 3 Oct 2019 18:48:02 +0200 Message-ID: Subject: Re: bug#14473: 24.3; emacs locks up when eshell attempts to display a dialog To: Joseph Mingrone Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 14473 Cc: 14473@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Joseph Mingrone writes: > It's still a problem (26.3 and 2019-09-15 master-branch build) in that the dialog is not displayed, but the Emacs process no longer consumes 100% CPU. Thanks for reporting back. > Here is a simple recipe to reproduce the problem. It assumes the FreeBSD ports tree is installed in the default location, which is /usr/ports. Can you think of any way to reproduce this if you are not using FreeBSD? Is there some particular command run by "make config" that makes eshell freeze for example? It seems to me that very few Emacs developers are using FreeBSD, and I personally don't have access to any FreeBSD systems for debugging. > Instead of the dialog displaying, eshell becomes unusable (blank screen and no keys will return the prompt). Trying to exit by hitting TAB/Enter reports > > Completion function pcomplete-completions-at-point uses a deprecated calling convention > Warning: pcomplete-completions-at-point failed to return valid completion data! > > You can switch buffers and kill the eshell process now though. What happens if you run M-x toggle-debug-on-error before trying to reproduce? Do you then get a backtrace? Best regards, Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 07 14:54:06 2019 Received: (at 14473) by debbugs.gnu.org; 7 Oct 2019 18:54:06 +0000 Received: from localhost ([127.0.0.1]:49125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHY8x-0008UT-C3 for submit@debbugs.gnu.org; Mon, 07 Oct 2019 14:54:03 -0400 Received: from mail-qt1-f170.google.com ([209.85.160.170]:46371) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHY8v-0008U0-0i for 14473@debbugs.gnu.org; Mon, 07 Oct 2019 14:54:01 -0400 Received: by mail-qt1-f170.google.com with SMTP id u22so20687381qtq.13 for <14473@debbugs.gnu.org>; Mon, 07 Oct 2019 11:54:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftfl.ca; s=google; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=BlHhE+4ZNwrVw8732xs5PW8tJLBctG+0DcbjeS8MG1k=; b=VhuNYtsC5dDopSAz3xxANMSu60YyoyjPiTHQmNKdr0dmW6olHgRvrXCZe18MAFbjeh qlrL2b0UZgB1gK2ziyIvV6cEwsE4B4RYJX0fIE0TUmXNNg0oUAOKH7WNO2Dv9XFqYgc+ cq02da6uNP5TrOdx9eH+ZBi8JNoeAdMafuBLI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=BlHhE+4ZNwrVw8732xs5PW8tJLBctG+0DcbjeS8MG1k=; b=svhO6pnvC9p48qIEB90TivRKzB230d+2BtAyb5wNRgvWw8jPknjhGB9fuxEp+xMaGa yTsRuEVl4d6kTKgZJO/pa8Lae3ZizCXzEuQxpiNXrCD7gAXiUkkhWT/n+4shjUjQSIvT oZ1zUSSuD7aKxE/qIiORylSC26gLZedUZBUyAdDwdVEuAdo0O+CsLXHdN0UOMHgIK/VR aeUgUDr3wqpJQ44LrMwhtxymBiODbHxR0GAHHf3X/0rcgXEVValtaFmen9kya/2sdeOu RNO90AZ2khJE/gmWETQEpxmu+EfVPdgdTBUM04PYwoO2UKG6Ies8wk07hUH7mTQKVFtu 4fIg== X-Gm-Message-State: APjAAAWBKH4MvdKGokJgHsOVMEcCo/fifkKq73zgkXu255DQqGDOQRt1 IqUNwbwVPXuP5oQE5h6UAkBpkNJAwss= X-Google-Smtp-Source: APXvYqzla2PZSSXkKuzGGUZoIaVF/WAj/duYpNJj9NlGM3BVnmccgWk3Tdb2GzEAfzvj5kYC7VwGhg== X-Received: by 2002:aed:2806:: with SMTP id r6mr31156158qtd.206.1570474434884; Mon, 07 Oct 2019 11:53:54 -0700 (PDT) Received: from phe.ftfl.ca.ftfl.ca (drmons0544w-156-57-171-174.dhcp-dynamic.fibreop.ns.bellaliant.net. [156.57.171.174]) by smtp.gmail.com with ESMTPSA id 22sm7693336qkj.0.2019.10.07.11.53.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 07 Oct 2019 11:53:53 -0700 (PDT) From: Joseph Mingrone To: Stefan Kangas Subject: Re: bug#14473: 24.3; emacs locks up when eshell attempts to display a dialog References: <86zjvjnfj9.fsf@gly.ath.cx> <83r23xbw9s.fsf@gnu.org> <86wodlakye.fsf@phe.ftfl.ca> Date: Mon, 07 Oct 2019 15:53:51 -0300 In-Reply-To: (Stefan Kangas's message of "Thu, 3 Oct 2019 18:48:02 +0200") Message-ID: <8636g4crpc.fsf@phe.ftfl.ca> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 14473 Cc: 14473@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Stefan Kangas writes: > Joseph Mingrone writes: >> It's still a problem (26.3 and 2019-09-15 master-branch build) in that the dialog is not displayed, but the Emacs process no longer consumes 100% CPU. > Thanks for reporting back. >> Here is a simple recipe to reproduce the problem. It assumes the FreeBSD ports tree is installed in the default location, which is /usr/ports. > Can you think of any way to reproduce this if you are not using > FreeBSD? Is there some particular command run by "make config" that > makes eshell freeze for example? It seems to me that very few Emacs > developers are using FreeBSD, and I personally don't have access to > any FreeBSD systems for debugging. I would guess any GNU/Linux command that also presents these curses dialogs would have problems. If you or any Emacs developer wants a FreeBSD shell account, I can provide one. https://invisible-island.net/dialog/dialog-figures.html To be clear, it seems like less of a freeze now and more like an inability to display the dialog and the point becomes lost requiring users to kill eshell. So, it is much less severe of a problem than in the past. >> Instead of the dialog displaying, eshell becomes unusable (blank screen and no keys will return the prompt). Trying to exit by hitting TAB/Enter reports >> Completion function pcomplete-completions-at-point uses a deprecated calling convention >> Warning: pcomplete-completions-at-point failed to return valid completion data! >> You can switch buffers and kill the eshell process now though. > What happens if you run M-x toggle-debug-on-error before trying to > reproduce? Do you then get a backtrace? There is no backtrace. Regards, Joseph --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKgBAEBCgCKFiEEVbCTpybDiFVxIrrVNqQMg7DW754FAl2bib9fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDU1 QjA5M0E3MjZDMzg4NTU3MTIyQkFENTM2QTQwQzgzQjBENkVGOUUMHGpybUBmdGZs LmNhAAoJEDakDIOw1u+eJiYP/1nodilWGUig03ySiNT93PVqNuNrL0hk56cFKvWH md6E94R6IRL7c9U/Ym7rR5PsCZ/nlidN4YY489GUdkIXNYDL86KZ9XXD4snJUSpf y5jGJZlGNr51DXVYBFgUMROCmOGbW78p+7WmPtKpv32BpBPqrNYNjMZ4SmphxNBA onzswz8VsgP32tHUeP3mHCdVExL12upHtgR+M5hKgUfI3lEK1byoqTdPuOXCf54o iXY+yHJc5VINsQmGdCzLyl28Qg2Qp49pNBYJx1+azL1QM1HSUAKsfrrpFx0N0bVK R1tCyLhUs15uBWdh6YWv/3OLhacNTmp7F1j4HxMauhVNxBurFVQhnzFRCvXH4Er3 rkJrPu46iXrNpBV00loKgZfrYEH4/f0vFhr6akjyAF6g4I/yV/swsSwzZ5U89AOG qB3SzwPKAnK97Fc9anV+IvOHlfaQFZv9GKQ4KiMvB7k/dNKG/egbU7C3pWZYoC4X 9BERwria2YY9hWD8RfowBF9s4syoC7uLbNJhUAxuqTfzG2ydOA28G+Y0knVj5ad8 eaHX8VzMfjuPZmuCu9qfaNbSUg9X6pkTrcrwhH5SIbNIv2b2x8LUKX0T3EGlgH3F jQRp6eCsTkqRsMacyhag3GEQfs2fuz2iWGlMHR1OirrTefEj0dLsbMYkeG6kdIqA Dbla =xpiX -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 08 10:06:15 2019 Received: (at 14473) by debbugs.gnu.org; 8 Oct 2019 14:06:15 +0000 Received: from localhost ([127.0.0.1]:51159 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHq7y-00017b-FB for submit@debbugs.gnu.org; Tue, 08 Oct 2019 10:06:14 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:40802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHq7w-00017N-30 for 14473@debbugs.gnu.org; Tue, 08 Oct 2019 10:06:12 -0400 Received: by mail-pf1-f196.google.com with SMTP id x127so10819285pfb.7 for <14473@debbugs.gnu.org>; Tue, 08 Oct 2019 07:06:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YWUmIszbb9gXlE5gQ9SC0SE8zHYjqBi9rFPhtInEvYg=; b=br6KRqvA+gM8it+U/A8WuAGa5Eq6b0JUL5p3kXIRPZIXCUluj1fmSaw26/O6mpsqWr ccF7HgT76S+sqmyVvRGFCUaVSapSBeqN42fsDNxaHfxeJH1d/+nrp9Ky6lW2TYqKhViZ 31Nya81w9uSY838ilEmec+FAV+AZh8haJ3/pBoBH/4unC26qhkQVUHs4sHGRN7eaYfpk 4Rb/24Gv22QMj84AoEUy/pu/UFrx/klH/LsImx/9zcypSpdc6UEml2uO3Akfo8I6fuPj 6Qj/b47xiQz3tW1xgAMKUBt3orBAJmjxQYLDaU73D9gIyeGgJ407+6iVQ7zMbRCZk9JB me0g== X-Gm-Message-State: APjAAAXoG2MFGeg+hd4dKUCj48um9jFrk75tBVfP0iJDqXRUlnrwBoMi bwrGgsA5CNmur0Ex2pdYmR+2XfIglXhsmJePRSk= X-Google-Smtp-Source: APXvYqx3+NVB4/Y64ZV4vmWG652z2PwsLDBv2yljtpQ24i5WDNeOa6YHr+1tnFCNygJZqRS0Q8yysI8n5UMXDwTaTOQ= X-Received: by 2002:aa7:8750:: with SMTP id g16mr38493663pfo.190.1570543566325; Tue, 08 Oct 2019 07:06:06 -0700 (PDT) MIME-Version: 1.0 References: <86zjvjnfj9.fsf@gly.ath.cx> <83r23xbw9s.fsf@gnu.org> <86wodlakye.fsf@phe.ftfl.ca> <8636g4crpc.fsf@phe.ftfl.ca> In-Reply-To: <8636g4crpc.fsf@phe.ftfl.ca> From: Stefan Kangas Date: Tue, 8 Oct 2019 16:05:54 +0200 Message-ID: Subject: Re: bug#14473: 24.3; emacs locks up when eshell attempts to display a dialog To: Joseph Mingrone Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 14473 Cc: 14473@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hi Joseph, Joseph Mingrone writes: > >> It's still a problem (26.3 and 2019-09-15 master-branch build) in that the dialog is not displayed, but the Emacs process no longer consumes 100% CPU. > > > Thanks for reporting back. > > >> Here is a simple recipe to reproduce the problem. It assumes the FreeBSD ports tree is installed in the default location, which is /usr/ports. > > > Can you think of any way to reproduce this if you are not using > > FreeBSD? Is there some particular command run by "make config" that > > makes eshell freeze for example? It seems to me that very few Emacs > > developers are using FreeBSD, and I personally don't have access to > > any FreeBSD systems for debugging. > > I would guess any GNU/Linux command that also presents these curses > dialogs would have problems. If you or any Emacs developer wants a > FreeBSD shell account, I can provide one. Thank you, noted. There are indeed (a small number of) open bugs regarding *BSD systems, so I'm hoping that someone will take you up on that offer. I might if I find the time. > https://invisible-island.net/dialog/dialog-figures.html > > To be clear, it seems like less of a freeze now and more like an > inability to display the dialog and the point becomes lost requiring > users to kill eshell. So, it is much less severe of a problem than in > the past. Yes, after installing "dialog", I'm able to reproduce the problem on my system using this command: dialog --yesno "foobar" 10 50 In my case, hitting RET brings me back to the eshell prompt. I think the problem is that eshell just doesn't support the control characters that ncurses is producing, meaning that it has to switch to term-mode to get that to work. Luckily, there are user options you could set to make eshell do that automatically. I created a Makefile with: config: dialog --yesno "foobar" 10 50 Using that Makefile, saying "make config" in eshell opens it in term-mode automatically after I evaluate: (add-to-list 'eshell-visual-subcommands '("make" "config")) Does setting that option solve the issues you're seeing too? If so, I think we can just write this up as a limitation in eshell, and recommend users to configure this variable. Also see eshell-visual-commands and eshell-visual-options for more. One final thing, is running "make config" common on FreeBSD? I guess it's part of the "ports" system that pretty much everyone uses, including people on OpenBSD? If so, perhaps it would be worth changing the default of eshell-visual-subcommands from nil to something like: (when (equal system-type 'berkeley-unix) '(("make" "config"))) Best regards, Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 14 13:53:48 2019 Received: (at 14473) by debbugs.gnu.org; 14 Oct 2019 17:53:48 +0000 Received: from localhost ([127.0.0.1]:41656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iK4XU-00044r-51 for submit@debbugs.gnu.org; Mon, 14 Oct 2019 13:53:48 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:40773) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iK4XR-00044a-82 for 14473@debbugs.gnu.org; Mon, 14 Oct 2019 13:53:46 -0400 Received: by mail-qk1-f193.google.com with SMTP id y144so16635530qkb.7 for <14473@debbugs.gnu.org>; Mon, 14 Oct 2019 10:53:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftfl.ca; s=google; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version; bh=ogEUHl4ykGSkST++f2WzsrTljhlt22qMEVsU13Tcb4o=; b=RvnOYugeQh5Hus1Txy0EJcYn1pfwm59KWh1TZDFG315T7c/xi9WZgFFJRlm/L3IoaV Qk4iryCZ086v9pbK7nCXmkE9evTTRWhtONAPMkdVogT9rEZArb2U+4zCUgyU6LlG1Voz TNKlLvgJQ8XEWGd78F80Ok0Fc9hx0qQeOPQFQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:message-id :user-agent:mime-version; bh=ogEUHl4ykGSkST++f2WzsrTljhlt22qMEVsU13Tcb4o=; b=kY8w05+dEEEv2C0IZiOjDPuCwMnDx13FNV1HnjFhbC/bdWoeIxasvhffFAzyJsUOdW fu6LbyfhMKqFVmV5tRysrAzAuqiPGmx4sJJi680fkn7PN0Y6V2xoURWrN17MzxPkOncr /c6Hj7/ZrYL/jwAzcqaE/rl4ixEjmLv+WSpX7UNTsMmevIdGgsk6XCRdAnQ7zZae9+mU g2dhdKlY0eWnqhSWUaHNPzuexiRuNR0y/fzz9ha/lSEHduG8hMflLc7LGAV+X+p80tK6 AOPz2HHJpmlT7QAPJ3w0VDr8IpAJ7s2FL3wm5aS5GGwzy2AE8y78xFWfiUDeCluvVVLX AKMw== X-Gm-Message-State: APjAAAVnV/XTmk87wSivNZEdW2BQWZW6377v7GvZ2woNvf06fNgszDsp r1S2lhX3zD0sxRURxUXSq5Rsh+Ml7QzEjQ== X-Google-Smtp-Source: APXvYqxk8VK4WzetijF9R5naDZDzxlwlo3F6WJQ8nEzbk7fET6y5xrewVa0eDroqPqMtEfOmDKS/VQ== X-Received: by 2002:a37:2ec5:: with SMTP id u188mr29576600qkh.54.1571075618748; Mon, 14 Oct 2019 10:53:38 -0700 (PDT) Received: from phe.ftfl.ca.ftfl.ca (drmons0544w-99-192-42-241.dhcp-dynamic.fibreop.ns.bellaliant.net. [99.192.42.241]) by smtp.gmail.com with ESMTPSA id o52sm12058397qtf.56.2019.10.14.10.53.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Oct 2019 10:53:36 -0700 (PDT) From: Joseph Mingrone To: Stefan Kangas Subject: Re: bug#14473: 24.3; emacs locks up when eshell attempts to display a dialog References: <86zjvjnfj9.fsf@gly.ath.cx> <83r23xbw9s.fsf@gnu.org> <86wodlakye.fsf@phe.ftfl.ca> <8636g4crpc.fsf@phe.ftfl.ca> Date: Mon, 14 Oct 2019 14:53:35 -0300 Message-ID: <86pnizxlgg.fsf@phe.ftfl.ca> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 14473 Cc: 14473@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Stefan Kangas writes: > Hi Joseph, > Joseph Mingrone writes: >> >> It's still a problem (26.3 and 2019-09-15 master-branch build) in that the dialog is not displayed, but the Emacs process no longer consumes 100% CPU. >> > Thanks for reporting back. >> >> Here is a simple recipe to reproduce the problem. It assumes the FreeBSD ports tree is installed in the default location, which is /usr/ports. >> > Can you think of any way to reproduce this if you are not using >> > FreeBSD? Is there some particular command run by "make config" that >> > makes eshell freeze for example? It seems to me that very few Emacs >> > developers are using FreeBSD, and I personally don't have access to >> > any FreeBSD systems for debugging. >> I would guess any GNU/Linux command that also presents these curses >> dialogs would have problems. If you or any Emacs developer wants a >> FreeBSD shell account, I can provide one. > Thank you, noted. There are indeed (a small number of) open bugs > regarding *BSD systems, so I'm hoping that someone will take you up on > that offer. I might if I find the time. >> https://invisible-island.net/dialog/dialog-figures.html >> To be clear, it seems like less of a freeze now and more like an >> inability to display the dialog and the point becomes lost requiring >> users to kill eshell. So, it is much less severe of a problem than in >> the past. > Yes, after installing "dialog", I'm able to reproduce the problem on > my system using this command: > dialog --yesno "foobar" 10 50 > In my case, hitting RET brings me back to the eshell prompt. > I think the problem is that eshell just doesn't support the control > characters that ncurses is producing, meaning that it has to switch to > term-mode to get that to work. Luckily, there are user options you > could set to make eshell do that automatically. > I created a Makefile with: > config: > dialog --yesno "foobar" 10 50 > Using that Makefile, saying "make config" in eshell opens it in > term-mode automatically after I evaluate: > (add-to-list 'eshell-visual-subcommands '("make" "config")) > Does setting that option solve the issues you're seeing too? > If so, I think we can just write this up as a limitation in eshell, > and recommend users to configure this variable. Also see > eshell-visual-commands and eshell-visual-options for more. > One final thing, is running "make config" common on FreeBSD? I guess > it's part of the "ports" system that pretty much everyone uses, > including people on OpenBSD? If so, perhaps it would be worth > changing the default of eshell-visual-subcommands from nil to > something like: > (when (equal system-type 'berkeley-unix) '(("make" "config"))) > Best regards, > Stefan Kangas Hi Stefan, RET or TAB RET does not return to the eshell prompt here. Switching to term mode by adding ("make" "config") `to eshell-visual-subcommands' does now work, so I think this bug can be closed. I had this commented out in my config, so assume I tried it at one point and it didn't work. I should have checked this again when you contacted me though. Running `make config` was more common in the past, but many FreeBSD users now install pre-built packages or build their own packages with tools on top of the ports tree. I am less familiar with OpenBSD, but am relatively confident that most OpenBSD users install pre-built packages. Another complication is that many users would run this as `sudo make config` or `doas make config` on OpenBSD. Thank you, Joseph --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEVbCTpybDiFVxIrrVNqQMg7DW754FAl2kth9fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDU1 QjA5M0E3MjZDMzg4NTU3MTIyQkFENTM2QTQwQzgzQjBENkVGOUUACgkQNqQMg7DW 756F3w/5AddO0yq83R7UQGeaASRjptSyWipZjfZRTr1VotpVp4sWUELMco5vp2sv UPpqBdRD3Q4F6V5qXNnB75j3o+9R8QW+B4r36vutuussZUqbDxGyOKHdK9fbwDCz 4Sf9KUUQUk6KYN5oK2UNHRrdnAENxszIIJ8chxlrQv1mJpY6O/bIlCcGtAvUNAPc GFWN5KoaltfGehO0iy8EBahv2Zy8E6CGXVixt4tozt6OR9TbdQw0gv7sLSVehOdn ZO4X/e3lfL78aZPOhW89I6e3Pu4ReBTQj1sOxaBAQty/bGlRwFzAFv4RMkF+zTHj 3QRCpl4HUIU3dO0OKzH+pi1DwYcwBvGttB4Z37a473ZIKE7aCBjMzHfeMKaBv2Wv Sete5EFfwahyeSIMD8SMOOdt1ROXcX2J3rDQPqX0t2JkToYufC8aL/NJsQ1IhP0H AtmB5HX5QXvV4Lbp3n/OHIgGP3Do4XR8++/vtBzwpmQkGBNplsy58CFckIJsZejT 4ZngMecxg8Zkcuso2z2ocKaLUx0Nzxh94C1wxgd43tUADP9Dsl8ExhwRoGFMR+iT 2BLvtFnC+4iyB/CmOsDwdSgY2hfzUCJ+B8kQIzfXiGm1xyn/o5CIn/ZW2+VXHcN/ fly8kR8qUF3cZJA56z9dVZVxiMSiSGb48WwjHJpDbagi/H2oWHw= =0Qtc -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 14 15:34:34 2019 Received: (at 14473-done) by debbugs.gnu.org; 14 Oct 2019 19:34:35 +0000 Received: from localhost ([127.0.0.1]:41712 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iK670-0006rk-LM for submit@debbugs.gnu.org; Mon, 14 Oct 2019 15:34:34 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:37389) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iK66z-0006rC-QJ for 14473-done@debbugs.gnu.org; Mon, 14 Oct 2019 15:34:34 -0400 Received: by mail-pf1-f195.google.com with SMTP id y5so10948997pfo.4 for <14473-done@debbugs.gnu.org>; Mon, 14 Oct 2019 12:34:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0RNz2xk27mU9fRFBmheFO11krcwet+ejlTYL0VA8cLM=; b=DED6f2722WqepD2A+JS2jn97vngEXKTBL/hy+6s7IVgiYrGVRGMTd5HNGhss2Y2yCr p9dWQ4vfYx8nJPkqGB+AQzOoyduNg1sPoMlgI//tBYz/EJv8JqbWkR4xtZs1H8MSpcAH +hXOwU+KSMoh+l3bk4zNv5aN3vpWVuyPFcS/lkxoacgQxqPQbyhiAXx6SGp8fxqxbid4 LCBTpbNT5Wi5KifbYw7PwdhiH8semKY07+C1Im4l9OPGwRK0xgNCt0PId8FKvNlkSLra ZuwR6UD/ax55iY2b6qV6XZ01TsqFQapAYTawjjn2RmoNc8I+3e7e7ZKdDy3RmrJNihaH JHzQ== X-Gm-Message-State: APjAAAVZzHVajY9m6wbIobh6DkXHMxsk+0+N7jg1eL+FP62AShhlLRCo hYc6M41TW0L/IWhvGEyDAA2sRWgnnjjq4J19b/Y= X-Google-Smtp-Source: APXvYqz+eP/c/lRBKBMwm/Guey78tzb598qCJo1O9okP/tY2byAn4kuTebUOrSPy6SksTPFzGtAADJ9anfGYKMSsFBg= X-Received: by 2002:a63:1c03:: with SMTP id c3mr33365089pgc.198.1571081667928; Mon, 14 Oct 2019 12:34:27 -0700 (PDT) MIME-Version: 1.0 References: <86zjvjnfj9.fsf@gly.ath.cx> <83r23xbw9s.fsf@gnu.org> <86wodlakye.fsf@phe.ftfl.ca> <8636g4crpc.fsf@phe.ftfl.ca> <86pnizxlgg.fsf@phe.ftfl.ca> In-Reply-To: <86pnizxlgg.fsf@phe.ftfl.ca> From: Stefan Kangas Date: Mon, 14 Oct 2019 21:34:16 +0200 Message-ID: Subject: Re: bug#14473: 24.3; emacs locks up when eshell attempts to display a dialog To: Joseph Mingrone Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 14473-done Cc: 14473-done@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Joseph Mingrone writes: > Switching to term mode by adding ("make" "config") `to > eshell-visual-subcommands' does now work, so I think this bug can be > closed. Thanks for verifying that it solves the problem. > Running `make config` was more common in the past, but many FreeBSD > users now install pre-built packages or build their own packages with > tools on top of the ports tree. I am less familiar with OpenBSD, but am > relatively confident that most OpenBSD users install pre-built packages. > Another complication is that many users would run this as `sudo make > config` or `doas make config` on OpenBSD. Perhaps we should leave the default alone then. I'm consequently closing the bug report. Best regards, Stefan Kangas From unknown Sun Sep 07 17:04:59 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 12 Nov 2019 12:24:11 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator