From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: Re: frames vs. weak hash tables and garbage collection Date: Fri, 28 Sep 2007 10:34:00 -0400 Message-ID: References: <86wsvdvmkb.fsf@macs.hw.ac.uk> <86y7fru45n.fsf@macs.hw.ac.uk> <868x6u1g8x.fsf@macs.hw.ac.uk> <874phgo5l2.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1190990057 21065 80.91.229.12 (28 Sep 2007 14:34:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 28 Sep 2007 14:34:17 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, jbw@macs.hw.ac.uk Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 28 16:34:13 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IbGux-0000N3-Em for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Sep 2007 16:34:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IbGut-00044t-MI for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Sep 2007 10:34:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IbGur-00042i-2c for bug-gnu-emacs@gnu.org; Fri, 28 Sep 2007 10:34:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IbGuo-0003xf-Qv for bug-gnu-emacs@gnu.org; Fri, 28 Sep 2007 10:34:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IbGuo-0003xQ-Ks for bug-gnu-emacs@gnu.org; Fri, 28 Sep 2007 10:34:02 -0400 Original-Received: from tomts5.bellnexxia.net ([209.226.175.25] helo=tomts5-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IbGuo-0000Zv-5f for bug-gnu-emacs@gnu.org; Fri, 28 Sep 2007 10:34:02 -0400 Original-Received: from pastel.home ([74.12.208.240]) by tomts5-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070928143401.VTPR1592.tomts5-srv.bellnexxia.net@pastel.home> for ; Fri, 28 Sep 2007 10:34:01 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 03E077F81; Fri, 28 Sep 2007 10:34:00 -0400 (EDT) Original-Newsgroups: gnu.emacs.bug User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) Cancel-Lock: sha1:O1Ot5jGgRygSvXQZgNRJyn/XR6c= In-Reply-To: (Richard Stallman's message of "Thu\, 27 Sep 2007 18\:17\:41 -0400") Posted-To: gnu.emacs.bug X-Detected-Kernel: Solaris 8 (1) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16643 Archived-At: The following message is a courtesy copy of an article that has been posted to gnu.emacs.bug as well. > Can you try stepping thru the function sweep_weak_table > when it operates on this hash table, and see what it does > when it gets to this line > int key_known_to_survive_p = survives_gc_p (HASH_KEY (h, i)); > and following lines? Please check the gnu.emacs.bug newsgroup (apparently the gateway to the mailing-list isn't working right) where I explained the cause of the problem: basically it's kept alive by the "recent input events" array and the `values' variable. Stefan