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: Sat, 19 Aug 2017 19:32:34 +0300 Message-ID: <83ziavcycd.fsf@gnu.org> References: <87ziaw6lnv.fsf@h-brs.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1503160395 21389 195.159.176.226 (19 Aug 2017 16:33:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 19 Aug 2017 16:33:15 +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 Sat Aug 19 18:33:10 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 1dj6gN-00058O-HC for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Aug 2017 18:33:07 +0200 Original-Received: from localhost ([::1]:39115 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dj6gT-00013M-VB for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Aug 2017 12:33:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dj6gL-00012e-Cg for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2017 12:33:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dj6gI-0006ZF-9D for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2017 12:33:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37110) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dj6gI-0006Z3-5Z for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2017 12:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dj6gH-0005gb-TI for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2017 12:33: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: Sat, 19 Aug 2017 16:33: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.150316037321838 (code B ref 28149); Sat, 19 Aug 2017 16:33:01 +0000 Original-Received: (at 28149) by debbugs.gnu.org; 19 Aug 2017 16:32:53 +0000 Original-Received: from localhost ([127.0.0.1]:45791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dj6g8-0005gA-St for submit@debbugs.gnu.org; Sat, 19 Aug 2017 12:32:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51991) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dj6g8-0005fw-1k for 28149@debbugs.gnu.org; Sat, 19 Aug 2017 12:32:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dj6fz-0006Rc-KL for 28149@debbugs.gnu.org; Sat, 19 Aug 2017 12:32:46 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33421) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dj6fz-0006RW-GY; Sat, 19 Aug 2017 12:32:43 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2685 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dj6fz-0004yw-51; Sat, 19 Aug 2017 12:32:43 -0400 In-reply-to: <87ziaw6lnv.fsf@h-brs.de> (message from Alexander Asteroth on Sat, 19 Aug 2017 09:50:44 +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:135918 Archived-At: > 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.