From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alexander Asteroth 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 09:07:05 +0200 Message-ID: <8760dhcsbq.fsf@h-brs.de> References: <87ziaw6lnv.fsf@h-brs.de> <83ziavcycd.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1503299302 22074 195.159.176.226 (21 Aug 2017 07:08:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 21 Aug 2017 07:08:22 +0000 (UTC) User-Agent: mu4e 0.9.17; emacs 25.2.1 Cc: 28149@debbugs.gnu.org, Alexander Asteroth To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 21 09:08:14 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 1djgoh-00050e-5a for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Aug 2017 09:08:07 +0200 Original-Received: from localhost ([::1]:49684 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1djgon-00038N-Qv for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Aug 2017 03:08:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38567) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1djgog-00037F-Ch for bug-gnu-emacs@gnu.org; Mon, 21 Aug 2017 03:08:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1djgoc-0001LB-Bh for bug-gnu-emacs@gnu.org; Mon, 21 Aug 2017 03:08:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38553) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1djgoc-0001L2-8Q for bug-gnu-emacs@gnu.org; Mon, 21 Aug 2017 03:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1djgoc-0000wz-2t for bug-gnu-emacs@gnu.org; Mon, 21 Aug 2017 03:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alexander Asteroth Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Aug 2017 07:08: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.15032992433610 (code B ref 28149); Mon, 21 Aug 2017 07:08:01 +0000 Original-Received: (at 28149) by debbugs.gnu.org; 21 Aug 2017 07:07:23 +0000 Original-Received: from localhost ([127.0.0.1]:47234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1djgnz-0000w9-Ii for submit@debbugs.gnu.org; Mon, 21 Aug 2017 03:07:23 -0400 Original-Received: from ux-2s11.inf.fh-bonn-rhein-sieg.de ([194.95.66.8]:41202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1djgnx-0000vv-Gy for 28149@debbugs.gnu.org; Mon, 21 Aug 2017 03:07:22 -0400 Original-Received: from epsilon.h-brs.de (pD9F83C97.dip0.t-ipconnect.de [217.248.60.151]) (authenticated bits=0) by ux-2s11.inf.fh-bonn-rhein-sieg.de (8.14.4/8.14.4/Debian-4ska2) with ESMTP id v7L77ARN017794 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 21 Aug 2017 09:07:13 +0200 In-reply-to: <83ziavcycd.fsf@gnu.org> X-Auth: by SMTP AUTH @ ux-2s11 X-MIMEDefang-Info-ge: Gescannt in Inf@FH-BRS, Regeln s. MiniFAQ E-Mail/Mailscanner X-Scanned-By: MIMEDefang 2.73 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:135979 Archived-At: Hi Eli, 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. ... the search continues ... -- Alex Eli Zaretskii writes: >> From: Alexander Asteroth >> Date: Sat, 19 Aug 2017 09:50:44 +0200 >> >> I suspected the read(4, ....) call since it always appears near the end, >> but then tried also stracing emacs -Q and a) it does not seem to have >> the hanging problem and b) it also containes these reads, that take 0.4 >> to 0.9 seconds. >> >> Any suggestion how I could narrow down the cause of this problem? > > If "emacs" hangs, but "emacs -Q" doesn't, then how about bisecting > your init file to find the customization(s) that cause these hangs? > > One other thing to try is start the profiler (M-x profiler-start), do > whatever it takes to cause the hang, then type M-x profiler-report, > expand all the branches in the tree it presents and post the result > here. This could give a hint about the package/feature which causes > this. > > Thanks.