From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adam Newsgroups: gmane.emacs.devel Subject: Re: emacs 24 randomly hanging Date: Mon, 20 Feb 2012 08:23:51 +0100 Message-ID: <87linyj7gc.fsf@this.that> References: <878vjzz920.fsf@earth.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1329722652 20911 80.91.229.3 (20 Feb 2012 07:24:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 20 Feb 2012 07:24:12 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 20 08:24:11 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RzNbX-00081i-D8 for ged-emacs-devel@m.gmane.org; Mon, 20 Feb 2012 08:24:11 +0100 Original-Received: from localhost ([::1]:45137 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RzNbW-0003vE-LG for ged-emacs-devel@m.gmane.org; Mon, 20 Feb 2012 02:24:10 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:46166) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RzNbO-0003v4-Ux for emacs-devel@gnu.org; Mon, 20 Feb 2012 02:24:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RzNbL-0006LQ-1o for emacs-devel@gnu.org; Mon, 20 Feb 2012 02:24:02 -0500 Original-Received: from nm22-vm3.bullet.mail.ird.yahoo.com ([212.82.109.253]:37573) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RzNbK-0006L6-LZ for emacs-devel@gnu.org; Mon, 20 Feb 2012 02:23:59 -0500 Original-Received: from [77.238.189.51] by nm22.bullet.mail.ird.yahoo.com with NNFMP; 20 Feb 2012 07:23:56 -0000 Original-Received: from [217.146.189.69] by tm4.bullet.mail.ird.yahoo.com with NNFMP; 20 Feb 2012 07:23:56 -0000 Original-Received: from [127.0.0.1] by smtp149.mail.ird.yahoo.com with NNFMP; 20 Feb 2012 07:23:56 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1329722636; bh=KiC6t/gMHMOjqhZg7U2Ef4Ki6wMt3+bP+84FpRLi/xA=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:From:To:Subject:In-Reply-To:Message-ID:References:Mail-Followup-To:Date:MIME-Version:Content-Type; b=Q7xK+kIsj6q9jWUaJz3Ixyo1vIlF10B01qUMIaO2lH/bVfHX8iKxpwSEWUsSWFrwbtR8+O02pahT1Clb3nNkGsYbyXTD9sU9zCsG2OWG8Q50LTFOd/+WpGrrwek7jlPzn4WSYlEcv0ERlK3MjEoqs9VRWn8Firw1J7cOheJW0JI= X-Yahoo-Newman-Id: 966755.54990.bm@smtp149.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: gSRJJQ4VM1kIcH0p23AmY2JWR9znJzuRnkhmt7KtkXWVqAZ 2vFKymNhhEy.ZduanWZVsZPKY5zGMm5nGVJsHAcFli6tL2YHdup4OpIqucvI gYVyMWjJY2QxcemLO9s4DVtmwPFwDmLKj9ERw_Lr9zcwgyvoaS61NZVNdT8G ciBXOTJKvQGDdvpPTeb__HyI.qv1DK9rl06WZvoyz7c8GzCN2_grRIkU4Tak jFyDlunZzTIglw6mdqkguHza.leJqV46iUns2nDB9Pq08GsmIJAR_7brcrtA VBEoMWwZHJMZMAl_ytfxCxydbkL3S9CNlhW151V5uuRfBYWmuKSao9lr89aW td4WcZLBiSH7HMDDWEg3HRVo- X-Yahoo-SMTP: Fed9kveswBC.fi0EvcUg6UnufDS8 Original-Received: from earth.home (adam_w67@180.149.96.69 with plain) by smtp149.mail.ird.yahoo.com with SMTP; 19 Feb 2012 23:23:55 -0800 PST In-Reply-To: (Andreas Schwab's message of "Sun, 19 Feb 2012 10:54:39 +0100") Mail-Followup-To: emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.82.109.253 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:148674 Archived-At: Andreas Schwab writes: Hi Andreas, > Adam 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!