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: Thu, 13 May 2004 19:54:39 -0500 (CDT) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200405140054.i4E0sdj15022@raven.dms.auburn.edu> References: <200405122254.i4CMsUj29445@raven.dms.auburn.edu> <200405122326.i4CNQk929511@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1084503445 7190 80.91.224.253 (14 May 2004 02:57:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 14 May 2004 02:57:25 +0000 (UTC) Cc: kai@emptydomain.de, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri May 14 04:57:20 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 1BOSsy-00083v-00 for ; Fri, 14 May 2004 04:57:20 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BOSsy-0000O0-00 for ; Fri, 14 May 2004 04:57:20 +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 1BOSi8-0004A2-U0 for emacs-devel@quimby.gnus.org; Thu, 13 May 2004 22:46:09 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BOShE-0003sa-PS for emacs-devel@gnu.org; Thu, 13 May 2004 22:45:13 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BOSgd-0003es-NI for emacs-devel@gnu.org; Thu, 13 May 2004 22:45:07 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BOQyU-0002xb-Vk for emacs-devel@gnu.org; Thu, 13 May 2004 20:54:55 -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 i4E0skTS001198; Thu, 13 May 2004 19:54:47 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id i4E0sdj15022; Thu, 13 May 2004 19:54:39 -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:23374 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23374 Kim Storm wrote: So we in three levels of tramp handlers and two levels of accept-process-output, wait_reading_process_input, and timer_check. I just installed a change to make wait_reading_process_input reentrant which may or may not be relevant to this crash. Apparently it is relevant of sorts. Note that Lars Hansen has reports and backtraces of crashes using Tramp _without_ global-auto-revert-mode being enabled. Maybe these do not happen any more after your change. Mine definitely do not happen any more but for strange reasons. Before I visited one large file using Tramp-ssh, without problems. Then visiting a second large file got an "Invalid base64 data" error (just because it is the second file). Tried again. Crash. Now when I visit one file using Tramp-ssh, Emacs freezes. In my personal Emacs, I can still quit with C-g because I put in calls to with-local-quit. In CVS Emacs, this is an outright freeze. My with-local-quits do not help very much, because it refreezes 0-5 seconds later. I can not check whether the crash still occurs after your changes, because I can no longer carry out the recipe to produce the crash. I wonder why I was able to do so _before_ your change. The cause for the freezing bug seems obvious: It is now completely clear that global-auto-revert-mode should not try to revert remote files over a slow connection. I plan to disable auto-reverting of remote files using global-auto-revert-mode, with a user option to re-enable it for people with fast connections that are permanently on-line. For other people, there just seems to be too much ugliness involved. I believe I will do this tomorrow. Sincerely, Luc.