From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: Tramp with global-auto-revert-mode. Date: Mon, 17 May 2004 10:03:06 -0500 (CDT) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200405171503.i4HF36v09344@raven.dms.auburn.edu> 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> <200405162004.i4GK4I503710@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1084806749 27864 80.91.224.253 (17 May 2004 15:12:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 May 2004 15:12:29 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon May 17 17:12:17 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 1BPjmq-0001i3-00 for ; Mon, 17 May 2004 17:12:16 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BPjmq-0005eW-01 for ; Mon, 17 May 2004 17:12:16 +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 1BPjf8-0000Jw-UR for emacs-devel@quimby.gnus.org; Mon, 17 May 2004 11:04:18 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BPjf0-0000IQ-9e for emacs-devel@gnu.org; Mon, 17 May 2004 11:04:10 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BPjeL-00006x-QE for emacs-devel@gnu.org; Mon, 17 May 2004 11:04:02 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BPjeL-00006k-Bb for emacs-devel@gnu.org; Mon, 17 May 2004 11:03:29 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id i4HF3MTS016777; Mon, 17 May 2004 10:03:22 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id i4HF36v09344; Mon, 17 May 2004 10:03:06 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: storm@cua.dk In-reply-to: (storm@cua.dk) 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:23581 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23581 Kim Storm wrote: And I have studied the cause a little further and found at least one reason for the crash -- trying to mark a Lisp_Misc_Free object, most likely resulting from freeing a marker which is still present on some undo list. Unless I am misunderstanding, it would seem that freeing a marker which is still referenced on an undo list is a bug. Is disabling undo in Tramp work buffers sufficient to avoid this kind of problem or is there still a bug in the C code? I have installed a fix for this; I don't know if it has any bad effects, but at least it solves the crash for me. Clearly any bad effects will only occur in situations were Emacs would have crashed earlier without your fix. An obvious bad effect is the one you mentioned yourself in the comment to your fix: unpredictable behavior if the user does `undo'. Sincerely, Luc.