unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Alexander Asteroth <alexander.asteroth@h-brs.de>
Cc: 28149@debbugs.gnu.org
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	[thread overview]
Message-ID: <83ziavcycd.fsf@gnu.org> (raw)
In-Reply-To: <87ziaw6lnv.fsf@h-brs.de> (message from Alexander Asteroth on Sat, 19 Aug 2017 09:50:44 +0200)

> From: Alexander Asteroth <alexander.asteroth@h-brs.de>
> 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.





  reply	other threads:[~2017-08-19 16:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-19  7:50 bug#28149: 26.0.50; Emacs regularly hangs for multiple seconds in e.g. find-file Alexander Asteroth
2017-08-19 16:32 ` Eli Zaretskii [this message]
2017-08-21  7:07   ` Alexander Asteroth
2017-08-21 14:58     ` Eli Zaretskii
2017-08-21 16:51       ` Alexander Asteroth
2017-08-22 16:33         ` Alexander Asteroth
2017-08-22 16:44           ` Eli Zaretskii
2017-08-22 19:55             ` Alexander Asteroth
2017-08-22 20:47             ` Alexander Asteroth
2017-08-23  2:36               ` Eli Zaretskii
2017-08-28 10:59                 ` Alexander Asteroth
2017-08-28 14:31                   ` Eli Zaretskii
2017-08-22 16:34         ` Alexander Asteroth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83ziavcycd.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=28149@debbugs.gnu.org \
    --cc=alexander.asteroth@h-brs.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).