From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 03 20:37:27 2018 Received: (at submit) by debbugs.gnu.org; 4 Nov 2018 00:37:27 +0000 Received: from localhost ([127.0.0.1]:33235 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJ6Pv-0005kv-3k for submit@debbugs.gnu.org; Sat, 03 Nov 2018 20:37:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJ6Pt-0005kh-Q9 for submit@debbugs.gnu.org; Sat, 03 Nov 2018 20:37:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJ6Pk-0000xU-7j for submit@debbugs.gnu.org; Sat, 03 Nov 2018 20:37:20 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37906) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gJ6Pg-0000mm-Uv for submit@debbugs.gnu.org; Sat, 03 Nov 2018 20:37:13 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34089) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJ6Pf-0004NH-Vw for bug-gnu-emacs@gnu.org; Sat, 03 Nov 2018 20:37:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJ6Pb-00006U-Lx for bug-gnu-emacs@gnu.org; Sat, 03 Nov 2018 20:37:11 -0400 Received: from palegreen.birch.relay.mailchannels.net ([23.83.209.140]:42301) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gJ6PV-00081o-LB for bug-gnu-emacs@gnu.org; Sat, 03 Nov 2018 20:37:03 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 605BC12281A for ; Sun, 4 Nov 2018 00:36:57 +0000 (UTC) Received: from pdx1-sub0-mail-a80.g.dreamhost.com (unknown [100.96.35.77]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 24B8C122FED for ; Sun, 4 Nov 2018 00:36:57 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from pdx1-sub0-mail-a80.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.2); Sun, 04 Nov 2018 00:36:57 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Battle-Keen: 11bbff3319b06e8f_1541291817226_4007508150 X-MC-Loop-Signature: 1541291817226:3745046878 X-MC-Ingress-Time: 1541291817226 Received: from pdx1-sub0-mail-a80.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a80.g.dreamhost.com (Postfix) with ESMTP id CD65A802E1 for ; Sat, 3 Nov 2018 17:36:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to :subject:date:message-id:mime-version:content-type; s= linkov.net; bh=jJgAQVYJprXh8OqhOoi4aD2cj34=; b=AK315/3PZ8UzjquYJ gHj79C+o0BnLPZIb4YhXkXqS0ttkqTroIQ7vUBmMuU3OhmIf6aEMiBjzPX1csJvF 0opDTD8axG5hnMAc1Ys05Sq+yF/hgfIEC5IEInmgsaQ9UqwI0miIGdhPHadNA4rM WBnIhAljnFIdtxi2bPqvl0IatI= Received: from mail.jurta.org (m91-129-101-157.cust.tele2.ee [91.129.101.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a80.g.dreamhost.com (Postfix) with ESMTPSA id 01D75802DF for ; Sat, 3 Nov 2018 17:36:55 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a80 From: Juri Linkov To: bug-gnu-emacs@gnu.org Subject: 27.0.50; Recursive password prompt takes over Organization: LINKOV.NET Date: Sun, 04 Nov 2018 01:41:41 +0200 Message-ID: <87k1ltafuy.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtkedrjedugddukeejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffuohffkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddtuddrudehjeenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutddurdduheejpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepsghughdqghhnuhdqvghmrggtshesghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedt X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit 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: -6.0 (------) A bug in a shell script caused an infinitive stream of the same output lines: Password: sh: 1: read: Illegal option -s Password: sh: 1: read: Illegal option -s Password: sh: 1: read: Illegal option -s Password: sh: 1: read: Illegal option -s Password: sh: 1: read: Illegal option -s ... Currently Emacs handles such shell output very poorly and fails with the following backtrace: Debugger entered--Lisp error: (error "Variable binding depth exceeds max-specpdl-size") read-string("(In buffer *shell*) Password: sh: 1: read: Ill..." nil t nil) read-passwd("(In buffer *shell*) Password: sh: 1: read: Ill...") comint-send-invisible("Password: sh: 1: read: Illegal option -s\nPassword:...") comint-watch-for-password-prompt("Password: sh: 1: read: Illegal option -s\n\nPassword...") run-hook-with-args(comint-watch-for-password-prompt "Password: sh: 1: read: Illegal option -s\n\nPassword...") comint-output-filter(#> "Password: sh: 1: read: Illegal option -s\n\nPassword...") ... read-string("(In buffer *shell*) sh: 1: read: Illegal optio..." nil t nil) read-passwd("(In buffer *shell*) sh: 1: read: Illegal optio...") comint-send-invisible("sh: 1: read: Illegal option -s\nPassword: sh: 1: re...") comint-watch-for-password-prompt("sh: 1: read: Illegal option -s\n\nPassword: sh: 1: r...") run-hook-with-args(comint-watch-for-password-prompt "sh: 1: read: Illegal option -s\n\nPassword: sh: 1: r...") comint-output-filter(#> "sh: 1: read: Illegal option -s\n\nPassword: sh: 1: r...") ... read-string("(In buffer *shell*) sh: 1: read: Illegal optio..." nil t nil) read-passwd("(In buffer *shell*) sh: 1: read: Illegal optio...") comint-send-invisible("sh: 1: read: Illegal option -s\nPassword: sh: 1: re...") comint-watch-for-password-prompt("sh: 1: read: Illegal option -s\n\nPassword: sh: 1: r...") run-hook-with-args(comint-watch-for-password-prompt "sh: 1: read: Illegal option -s\n\nPassword: sh: 1: r...") comint-output-filter(#> "sh: 1: read: Illegal option -s\n\nPassword: sh: 1: r...") ... A reproducible short test case: 0. emacs -Q 1. M-& while true; do echo -n "Password: "; sleep 1; done RET After 42 seconds Emacs session becomes completely unusable, and control can be regained only after killing the shell script from outside Emacs. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 10 09:14:47 2019 Received: (at control) by debbugs.gnu.org; 10 Jul 2019 13:14:47 +0000 Received: from localhost ([127.0.0.1]:35064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlCQp-00035y-F5 for submit@debbugs.gnu.org; Wed, 10 Jul 2019 09:14:47 -0400 Received: from quimby.gnus.org ([80.91.231.51]:37494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlCQn-00035p-If for control@debbugs.gnu.org; Wed, 10 Jul 2019 09:14:45 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hlCQk-0000Xg-LR for control@debbugs.gnu.org; Wed, 10 Jul 2019 15:14:44 +0200 Date: Wed, 10 Jul 2019 15:14:42 +0200 Message-Id: <87sgre3ubh.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #33252 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: tags 33252 + confirmed quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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 (-) tags 33252 + confirmed quit From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 10 09:24:32 2019 Received: (at 33252) by debbugs.gnu.org; 10 Jul 2019 13:24:32 +0000 Received: from localhost ([127.0.0.1]:35069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlCaG-0005SI-Ga for submit@debbugs.gnu.org; Wed, 10 Jul 2019 09:24:32 -0400 Received: from quimby.gnus.org ([80.91.231.51]:37598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlCaF-0005SB-F9 for 33252@debbugs.gnu.org; Wed, 10 Jul 2019 09:24:32 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hlCaA-0000bO-Rt; Wed, 10 Jul 2019 15:24:29 +0200 From: Lars Ingebrigtsen To: Juri Linkov Subject: Re: bug#33252: 27.0.50; Recursive password prompt takes over References: <87k1ltafuy.fsf@mail.linkov.net> Date: Wed, 10 Jul 2019 15:24:26 +0200 In-Reply-To: <87k1ltafuy.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 04 Nov 2018 01:41:41 +0200") Message-ID: <87pnmi3tv9.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Juri Linkov writes: > A reproducible short test case: > > 0. emacs -Q > > 1. M-& > while true; do echo -n "Password: "; sleep 1; done > RET > > After 42 seconds Emacs session becomes completely unusable, and control > ca [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 33252 Cc: 33252@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: -1.0 (-) Juri Linkov writes: > A reproducible short test case: > > 0. emacs -Q > > 1. M-& > while true; do echo -n "Password: "; sleep 1; done > RET > > After 42 seconds Emacs session becomes completely unusable, and control > can be regained only after killing the shell script from outside Emacs. I've now added a recursion check to the comint prompting, and it'll stop adding new prompts when it's ten layers deep, which will allow the user to kill the shell script. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 10 09:24:36 2019 Received: (at control) by debbugs.gnu.org; 10 Jul 2019 13:24:36 +0000 Received: from localhost ([127.0.0.1]:35072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlCaJ-0005SY-P4 for submit@debbugs.gnu.org; Wed, 10 Jul 2019 09:24:35 -0400 Received: from quimby.gnus.org ([80.91.231.51]:37612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlCaI-0005SR-4x for control@debbugs.gnu.org; Wed, 10 Jul 2019 09:24:34 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hlCaF-0000ba-Kz for control@debbugs.gnu.org; Wed, 10 Jul 2019 15:24:33 +0200 Date: Wed, 10 Jul 2019 15:24:31 +0200 Message-Id: <87o9223tv4.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #33252 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: tags 33252 fixed close 33252 27.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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 (-) tags 33252 fixed close 33252 27.1 quit From unknown Fri Sep 12 04:34:02 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 08 Aug 2019 11:24:05 +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