From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Tramp with global-auto-revert-mode. Date: 17 May 2004 08:04:06 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200405122254.i4CMsUj29445@raven.dms.auburn.edu> <200405122326.i4CNQk929511@raven.dms.auburn.edu> <200405132324.i4DNOBs14811@raven.dms.auburn.edu> <200405140008.i4E08lb14858@raven.dms.auburn.edu> <871xln4xmc.fsf-monnier+emacs@gnu.org> <200405140132.i4E1WaH15085@raven.dms.auburn.edu> <87vfiz3fez.fsf-monnier+emacs@gnu.org> <200405140308.i4E38b415540@raven.dms.auburn.edu> <87pt973b7y.fsf-monnier+emacs@gnu.org> <200405150139.i4F1dbs26083@raven.dms.auburn.edu> <200405152044.i4FKiig02345@raven.dms.auburn.edu> <200405161811.i4GIB3O03519@raven.dms.auburn.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1084770695 14331 80.91.224.253 (17 May 2004 05:11:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 May 2004 05:11:35 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon May 17 07:11:28 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BPaPQ-0002kl-00 for ; Mon, 17 May 2004 07:11:28 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BPaPQ-0008QF-00 for ; Mon, 17 May 2004 07:11:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BPaN9-0007Qu-9h for emacs-devel@quimby.gnus.org; Mon, 17 May 2004 01:09:07 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BPaJ7-0005uG-GJ for emacs-devel@gnu.org; Mon, 17 May 2004 01:04:57 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BPaHd-0005kJ-80 for emacs-devel@gnu.org; Mon, 17 May 2004 01:03:56 -0400 Original-Received: from [207.232.27.5] (helo=WST0054) by monty-python.gnu.org with asmtp (Exim 4.34) id 1BPaGK-000511-61; Mon, 17 May 2004 01:02:04 -0400 Original-To: Luc Teirlinck In-reply-to: <200405161811.i4GIB3O03519@raven.dms.auburn.edu> (message from Luc Teirlinck on Sun, 16 May 2004 13:11:03 -0500 (CDT)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:23566 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23566 > Date: Sun, 16 May 2004 13:11:03 -0500 (CDT) > From: Luc Teirlinck > > I have trouble making sense of the contents of last_marked You need to look backwards in last_marked starting with last_marked_index, like you did, but to look at the GC code as you go. The part of GC where your session crashed examines live Lisp objects and marks all of the components of each object (so that the following sweep step will not garbage-collect what is still in use). Some Lisp data structures are marked by looping inside the same invocation of mark_object; others cause mark_object to be invoked recursively. By contrast, the objects in last_marked[] array are recorded chronologically as they are marked, and the recursive invocations are not visible there. So, to find out which Lisp data structure was being marked, you need to identify what object in last_marked[] corresponds to each recursive invocation of mark_object that you see in the backtrace. That would hopefully give a hint as to where to look for the villain(s). Does that help?