all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: unfrostedpoptart <david@therogoffs.com>, help-gnu-emacs@gnu.org
Subject: RE: help! Keep getting emacs locked up / not responding to c-g / having to kill process
Date: Thu, 3 Oct 2013 07:20:29 -0700 (PDT)	[thread overview]
Message-ID: <7fdcb6b5-5cea-45d7-9e47-107b66ab4a1b@default> (raw)
In-Reply-To: <b162b39e-72f4-4f3d-8330-7254464cf17f@googlegroups.com>

> This is related to my previous post about clearing the kill ring.  I have a
> frequent case, when running shell buffers, where selecting a lot of the
> buffer (could be thousands of lines) seems to lock up emacs.  Most of the
> time, one or more c-g hits will stop what it was doing and give me back
> control.  However, lately (including 15 minutes ago) I've been hitting this
> and c-g does nothing and ps shows emacs at around 95% cpu.  As this is a
> shared server, that doesn't make me popular with other users!
> 
> I end up having to kill the process. This really sucks since I had about a
> dozen shell buffers logged into  multiple servers and running long jobs that
> were all killed when I killed emacs.
> 
> Any suggestions on stopping this from happening in the first place and/or
> something stronger than c-g but short of killing emacs?
> 
> FYI, this is 24.3.something on REH 5.something.

The suggestion I have is, as usual when nothing is said about the setup,
try to reproduce the problem without your init file, i.e., starting from
`emacs -Q'.  If you can repro it that way then report the recipe here,
asking for possible suggestions.  Or if you think it is a bug, report it
via `M-x report-emacs-bug'.

If the problem does not occur when you start from `emacs -Q', then try to
narrow down your init file, to see what causes the problem.  Then post
what you find here, if it's not obvious at that point how to fix it.

You say that most of the time repeated C-g works, but sometimes it does
not.  Sounds like Emacs is in an infinite loop.  For that too, I would
first suspect code (loaded) from your init file.  (Infinite loops in
vanilla Emacs get reported and fixed very quickly.)

IOW, a recipe please, or at least some more, and more concrete, info.



  reply	other threads:[~2013-10-03 14:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-03  4:53 help! Keep getting emacs locked up / not responding to c-g / having to kill process unfrostedpoptart
2013-10-03 14:20 ` Drew Adams [this message]
2013-10-03 15:44 ` Michael Heerdegen
     [not found] ` <mailman.3317.1380815092.10748.help-gnu-emacs@gnu.org>
2013-10-03 16:54   ` unfrostedpoptart
2013-10-07 22:31   ` unfrostedpoptart
2013-10-07 23:18     ` Stefan Monnier

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

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

  git send-email \
    --in-reply-to=7fdcb6b5-5cea-45d7-9e47-107b66ab4a1b@default \
    --to=drew.adams@oracle.com \
    --cc=david@therogoffs.com \
    --cc=help-gnu-emacs@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.