From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: emacs 24 randomly hanging Date: Wed, 22 Feb 2012 09:49:35 -0500 Message-ID: References: <878vjzz920.fsf@earth.home> <87sji4mpwn.fsf@this.that> <4F43CC35.60407@gmx.at> <8762f0qbam.fsf@this.that> <4F44A6A2.8040701@gmx.at> <4F44B84B.5020203@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1329922193 18360 80.91.229.3 (22 Feb 2012 14:49:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 22 Feb 2012 14:49:53 +0000 (UTC) Cc: Andreas Schwab , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 22 15:49:52 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 1S0DVv-0000ln-MO for ged-emacs-devel@m.gmane.org; Wed, 22 Feb 2012 15:49:51 +0100 Original-Received: from localhost ([::1]:48912 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0DVu-0003vP-HX for ged-emacs-devel@m.gmane.org; Wed, 22 Feb 2012 09:49:50 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:47220) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0DVn-0003uv-Vg for emacs-devel@gnu.org; Wed, 22 Feb 2012 09:49:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S0DVi-0005QP-6b for emacs-devel@gnu.org; Wed, 22 Feb 2012 09:49:43 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:51267) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0DVi-0005QI-4C for emacs-devel@gnu.org; Wed, 22 Feb 2012 09:49:38 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAH7/RE9Ld/XJ/2dsb2JhbABEsmmBCIFzAQEEAVYjBQsLNBIUGA0kiBS3E4xIEWUXBgIDAwKFFwqEGwSIT5sZhFs X-IronPort-AV: E=Sophos;i="4.73,464,1325480400"; d="scan'208";a="164164618" Original-Received: from 75-119-245-201.dsl.teksavvy.com (HELO pastel.home) ([75.119.245.201]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 22 Feb 2012 09:49:36 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id F106D59173; Wed, 22 Feb 2012 09:49:35 -0500 (EST) In-Reply-To: <4F44B84B.5020203@gmx.at> (martin rudalics's message of "Wed, 22 Feb 2012 10:41:31 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.183 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:148707 Archived-At: >> There is an invariant that *every* live frame is on Vframe_alist. >> If that invariant is violated then this is the bug that must >> be fixed. > Such an invariant seems obvious but I don't see it neither formulated > nor preserved. It's indeed an important invariant. > And why is Vframe_list "V" prefixed but not available in Lisp? I don't know why it has a V, but I suspect it's because Vbuffer_alist also has a "V". As for why it's not available to Lisp, it's specifically because the above mentioned invariant needs to be preserved and the C code might break otherwise. Actually, now that I think about it I have a vague recollection that Vbuffer_alist was exported to Lisp at some point in the past, and that it later was hidden so as to prevent Lisp code from breaking the invariant. So if my memory isn't screwing with me, that would explain Vbuffer_alist's "V". Stefan