emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs 24 randomly hanging


From: Adam
Subject: Re: emacs 24 randomly hanging
Date: Mon, 20 Feb 2012 08:23:51 +0100

Andreas Schwab <address@hidden> writes:

Hi Andreas,

> Adam <address@hidden> 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!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]