From: Adam <adam_w67@yahoo.com>
To: emacs-devel@gnu.org
Subject: Re: emacs 24 randomly hanging
Date: Tue, 21 Feb 2012 11:43:48 +0100 [thread overview]
Message-ID: <87sji4mpwn.fsf@this.that> (raw)
In-Reply-To: <878vjzz920.fsf@earth.home> (Adam's message of "Sun, 19 Feb 2012 06:28:07 +0100")
Adam <adam_w67@yahoo.com> writes:
> I am using GNU Emacs 24.0.93.1 (x86_64-unknown-linux-gnu, GTK+ Version
> 2.20.1) of 2012-02-15, built from sources.
>
> I am constantly experiencing my emacs hanging. That is, C-g does not
> work, and the screen is not updated. It happens about twice a day or
> so, which is very annoying, as I only have one emacs instance up
> and running in which I am doing all my work.
>
> I am pretty sure emacs hanging has been discussed to death, and I am
> pretty sure I just screwed my emacs configuration up somewhere. What's
> worring me is that C-g does not work, though. In fact, nothing works.
> I have to send a SIGKILL to my emacs process to get rid of it.
>
> Here's a backtrace:
[...]
> (I am running emacs in daemon mode with about three or five open X11
> clients. Although the backtrace references Fx_create_frame, I *did* not
> create a frame. I am using a tight intergration between my window
> manager and emacs though, and my window manager spawns about two
> `emacsclient -e' per second).
>
> Is this problem known? Could this be fixed in emacs 24?
I am able to reproduce my problem with emacs -q.
#+BEGIN_SRC sh
#!/bin/bash
killall -9 emacsclient
emacs -q --daemon || exit 1
emacsclient -e "(progn (require 'cl)
(defun walk-frames ()
(loop for frame being the frames))
(add-hook 'window-configuration-change-hook 'walk-frames))"
for I in {1..100}
do
echo $I
emacsclient -e "(walk-frames)" >/dev/null &
emacsclient -c -e "(delete-frame)" >/dev/null &
done
wait
emacsclient -e "(kill-emacs 0)"
#+END_SRC
It is the very same backtrace.
Although this testcase is quite artificial, the underlying problem is
real. I really hope this can be fixed for emacs 24.
next prev parent reply other threads:[~2012-02-21 10:43 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-19 5:28 emacs 24 randomly hanging Adam
2012-02-19 9:45 ` Adam
2012-02-19 9:54 ` Andreas Schwab
2012-02-20 7:23 ` Adam
2012-02-20 15:34 ` Dan Nicolaescu
2012-02-21 10:10 ` Adam
2012-02-21 10:43 ` Adam [this message]
2012-02-21 15:41 ` Dan Nicolaescu
2012-02-21 16:54 ` martin rudalics
2012-02-21 18:42 ` Adam
2012-02-22 8:26 ` martin rudalics
2012-02-22 9:01 ` Andreas Schwab
2012-02-22 9:41 ` martin rudalics
2012-02-22 14:49 ` Stefan Monnier
2012-02-24 18:43 ` martin rudalics
2012-02-22 10:55 ` Chong Yidong
2012-02-22 16:28 ` Eli Zaretskii
2012-02-23 8:05 ` Chong Yidong
2012-02-23 14:03 ` Christopher Schmidt
2012-02-23 16:39 ` Christopher Schmidt
2012-02-23 17:42 ` Chong Yidong
2012-02-24 18:43 ` martin rudalics
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=87sji4mpwn.fsf@this.that \
--to=adam_w67@yahoo.com \
--cc=emacs-devel@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.