From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#28149: 26.0.50; Emacs regularly hangs for multiple seconds in e.g. find-file Date: Mon, 21 Aug 2017 17:58:09 +0300 Message-ID: <83pobpary6.fsf@gnu.org> References: <87ziaw6lnv.fsf@h-brs.de> <83ziavcycd.fsf@gnu.org> <8760dhcsbq.fsf@h-brs.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1503327552 17967 195.159.176.226 (21 Aug 2017 14:59:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 21 Aug 2017 14:59:12 +0000 (UTC) Cc: 28149@debbugs.gnu.org To: Alexander Asteroth Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 21 16:59:08 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1djoAV-0004R6-Jj for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Aug 2017 16:59:07 +0200 Original-Received: from localhost ([::1]:52094 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1djoAc-00010R-3O for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Aug 2017 10:59:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1djoAU-0000yx-CA for bug-gnu-emacs@gnu.org; Mon, 21 Aug 2017 10:59:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1djoAQ-0004yz-96 for bug-gnu-emacs@gnu.org; Mon, 21 Aug 2017 10:59:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39273) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1djoAQ-0004yr-5D for bug-gnu-emacs@gnu.org; Mon, 21 Aug 2017 10:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1djoAP-0000T4-Uz for bug-gnu-emacs@gnu.org; Mon, 21 Aug 2017 10:59:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Aug 2017 14:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28149 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28149-submit@debbugs.gnu.org id=B28149.15033275091758 (code B ref 28149); Mon, 21 Aug 2017 14:59:01 +0000 Original-Received: (at 28149) by debbugs.gnu.org; 21 Aug 2017 14:58:29 +0000 Original-Received: from localhost ([127.0.0.1]:47954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1djo9r-0000SG-N0 for submit@debbugs.gnu.org; Mon, 21 Aug 2017 10:58:29 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1djo9p-0000S2-K2 for 28149@debbugs.gnu.org; Mon, 21 Aug 2017 10:58:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1djo9g-0004e0-FS for 28149@debbugs.gnu.org; Mon, 21 Aug 2017 10:58:20 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57611) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1djo9g-0004dw-C4; Mon, 21 Aug 2017 10:58:16 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1536 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1djo9f-00013u-LZ; Mon, 21 Aug 2017 10:58:16 -0400 In-reply-to: <8760dhcsbq.fsf@h-brs.de> (message from Alexander Asteroth on Mon, 21 Aug 2017 09:07:05 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 208.118.235.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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:135997 Archived-At: > From: Alexander Asteroth > Cc: Alexander Asteroth , 28149@debbugs.gnu.org > Date: Mon, 21 Aug 2017 09:07:05 +0200 > > I tried and after bisection after bisection, hangs got less but did not > disappear. Then I did one final test with emacs -Q again and actually > managed, after several minutes, a hanging as well, after find-file with > completion in buffers with lots of files in it (/usr/share/... or > similar). > > I come to the conclusion, that it probably is not an emacs problem at > all but rather a hardware or OS problem that manifests only in a singe > threaded application like emacs. Hmm. This description is not entirely consistent with your original report, which said: > my emacs hangs pretty often anf for 10 secs. ca. when I am prompted for > e.g. a file in find-file, or an interactive function in M-x or a > shell-command in read-shell-command. It seems to happen only, in these > cases, when there is an option to auto-complete. This doesn't sound like the hangs were while Emacs was actually auto-completing on file names. Was that just an inaccuracy in the description, and you in fact see the hangs only while Emacs completes on file names, after you type TAB etc.? In any case, 10 sec for completion sounds like a lot to me. Especially since yours looks like an optimized build. How many files do you have in the directory where completion is so slow? And what kind of CPU do you have on that system? Thanks.