From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Pieter van Oostrum Newsgroups: gmane.emacs.bugs Subject: bug#39075: 28.0.50; Emacs hangs on 100% CPU and grows beyond bounds in shell-mode Date: Mon, 20 Jan 2020 14:12:20 +0100 Message-ID: References: <24088.59850.194801.667764@cochabamba.vanoostrum.org> <83y2ue71py.fsf@gnu.org> <83blr87eq1.fsf@gnu.org> <87h80q1se8.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="65516"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.60 (darwin) Cc: 39075@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 20 14:15:17 2020 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 1itWtc-000Ght-I2 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Jan 2020 14:15:12 +0100 Original-Received: from localhost ([::1]:36206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itWtb-0001sl-93 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Jan 2020 08:15:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58812) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itWra-00085o-39 for bug-gnu-emacs@gnu.org; Mon, 20 Jan 2020 08:13:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1itWrW-0004LN-Bg for bug-gnu-emacs@gnu.org; Mon, 20 Jan 2020 08:13:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38552) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1itWrW-0004LD-8T for bug-gnu-emacs@gnu.org; Mon, 20 Jan 2020 08:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1itWrW-0003sM-4g for bug-gnu-emacs@gnu.org; Mon, 20 Jan 2020 08:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Pieter van Oostrum Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Jan 2020 13:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39075 X-GNU-PR-Package: emacs Original-Received: via spool by 39075-submit@debbugs.gnu.org id=B39075.157952595314862 (code B ref 39075); Mon, 20 Jan 2020 13:13:02 +0000 Original-Received: (at 39075) by debbugs.gnu.org; 20 Jan 2020 13:12:33 +0000 Original-Received: from localhost ([127.0.0.1]:44525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itWr3-0003re-BB for submit@debbugs.gnu.org; Mon, 20 Jan 2020 08:12:33 -0500 Original-Received: from smarthost-a.hosting2go.nl ([83.137.198.201]:55098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itWqy-0003rN-0I for 39075@debbugs.gnu.org; Mon, 20 Jan 2020 08:12:31 -0500 X-ASG-Debug-ID: 1579525942-0ac37b67526199d0001-ZIxEMc Original-Received: from server24.hosting2go.nl (server24.hosting2go.nl [83.137.194.11]) by smarthost-a.hosting2go.nl with ESMTP id sKV4E2Bjm7eo1RZE (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <39075@debbugs.gnu.org>; Mon, 20 Jan 2020 14:12:22 +0100 (CET) X-Barracuda-Envelope-From: pieter-l@vanoostrum.org X-Barracuda-Effective-Source-IP: server24.hosting2go.nl[83.137.194.11] X-Barracuda-Apparent-Source-IP: 83.137.194.11 Original-Received: (qmail 7689 invoked from network); 20 Jan 2020 13:12:21 -0000 Original-Received: from static-145.132.212.31.ip.telfort.nl (HELO cochabamba.vanoostrum.org) (145.132.212.31) by server24.hosting2go.nl with SMTP; 20 Jan 2020 13:12:21 -0000 Received-SPF: unknown (server24.hosting2go.nl: domain at 83.137.194.9 does not designate permitted sender hosts) Original-Received: from cochabamba.vanoostrum.org (localhost [IPv6:::1]) by cochabamba.vanoostrum.org (Postfix) with ESMTP id 17FC8A751510; Mon, 20 Jan 2020 14:12:20 +0100 (CET) X-ASG-Orig-Subj: Re: bug#39075: 28.0.50; Emacs hangs on 100% CPU and grows beyond bounds in shell-mode In-Reply-To: <87h80q1se8.fsf@gmx.de> (Michael Albinus's message of "Mon, 20 Jan 2020 08:47:11 +0100") X-Barracuda-Connect: server24.hosting2go.nl[83.137.194.11] X-Barracuda-Start-Time: 1579525942 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://83.137.198.201:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at hosting2go.nl X-Barracuda-Scan-Msg-Size: 1084 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 1.04 X-Barracuda-Spam-Status: No, SCORE=1.04 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=4.5 tests=BSF_SC0_MISMATCH_TO, FS_LARGE_PERCENT2 A-X-Hosting2GO-Smarthost: Clean X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.79460 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 1.04 FS_LARGE_PERCENT2 Larger than 100% in subj. 0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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:174912 Archived-At: Michael Albinus writes: > Pieter van Oostrum writes: > >>>> I propose to amend the test also, so that it would have caught this >>>> error (by hanging). >>> >>> I haven't read anything else, so take this with a grain of salt, but >>> tests that hang (rather than just fail) are a PITA for automated testing. >> >> That is true, but the test is there to test the fix, which makes it no >> longer hang. And as these are in the same commit, the test should >> never hang, unless somebody breaks the fix later. But then hanging >> could occur with any bug. > > I haven't checked your test case, but in Tramp I try to avoid hanging by > wrapping process related tests with a timer. > > Experience has taught me, that I'm able to break the tests all the time > by new code :-( > If you know a better test to check for this particular fix, I would be happy if you could let me know. I don't know if some timer code would help. -- Pieter van Oostrum www: http://pieter.vanoostrum.org/ PGP key: [8DAE142BE17999C4]