From: Adam <adam_w67@yahoo.com>
To: emacs-devel@gnu.org
Subject: Re: emacs 24 randomly hanging
Date: Mon, 20 Feb 2012 08:23:51 +0100 [thread overview]
Message-ID: <87linyj7gc.fsf@this.that> (raw)
In-Reply-To: <m2ehtrw3kw.fsf@linux-m68k.org> (Andreas Schwab's message of "Sun, 19 Feb 2012 10:54:39 +0100")
Andreas Schwab <schwab@linux-m68k.org> writes:
Hi Andreas,
> Adam <adam_w67@yahoo.com> writes:
>
>> (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.
>
> Please include the lisp backtrace (see etc/DEBUG).
Here we go:
--8<---------------cut here---------------start------------->8---
(gdb) xbacktrace
"next-frame" (0xb2242600)
"setq" (0xb2242788)
"while" (0xb22428a8)
"let*" (0xb2242a08)
"catch" (0xb2242c38)
"cl-block-wrapper" (0xb2242d28)
"block" (0xb2242e18)
"loop" (0xb2242f08)
"a/group-buffer-visible" (0xb2242fd0)
"and" (0xb22431e8)
"if" (0xb22432e8)
"when" (0xb22433d8)
"a/on-window-change" (0xb2243540)
"x-create-frame" (0xb22438f8)
"x-create-frame-with-faces" (0xb2243ab8)
"make-frame" (0xb2243c88)
"make-frame-on-display" (0xb2243e88)
"server-create-window-system-frame" (0xb2244070)
0x4bb29e0 PVEC_COMPILED
"funcall" (0xb2244220)
0x4b29fa0 PVEC_COMPILED
"funcall" (0xb2244620)
"server-process-filter" (0xb22449e8)
(gdb)
--8<---------------cut here---------------end--------------->8---
this time I was actually creating a new frame when the error occurred.
Actually, this error might only occur whenever I create a new frame. As
I said before, I use a tight integration between my window manager and
emacs, and my window manager creates and deletes emacs frames all the
time. I am not sure, though.
#+BEGIN_SRC emacs-lisp
(defun a/group-buffer-visisble ()
(loop
for frame being the frames
thereis
(and (not (a/frame-invisible frame))
(loop for window being the windows of frame
thereis (and (eq (window-buffer window)
(get-buffer gnus-group-buffer)))))))
#+END_SRC
a/on-window-change is called by window-configuration-change-hook and by
my window manager everytime windows are
selected/deselected/hidden/restored.
Hope this help!
next prev parent reply other threads:[~2012-02-20 7:23 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 [this message]
2012-02-20 15:34 ` Dan Nicolaescu
2012-02-21 10:10 ` Adam
2012-02-21 10:43 ` Adam
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=87linyj7gc.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.