From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Tramp with global-auto-revert-mode. Date: 14 May 2004 01:11:39 +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> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1084493094 23541 80.91.224.253 (14 May 2004 00:04:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 14 May 2004 00:04:54 +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 02:04:48 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 1BOQC0-0001eB-00 for ; Fri, 14 May 2004 02:04:48 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BOQC0-0004sl-00 for ; Fri, 14 May 2004 02:04:48 +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 1BOQ6i-0005oP-0W for emacs-devel@quimby.gnus.org; Thu, 13 May 2004 19:59:20 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BOPhD-0008Pc-4S for emacs-devel@gnu.org; Thu, 13 May 2004 19:32:59 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BOPa7-0006ig-2v for emacs-devel@gnu.org; Thu, 13 May 2004 19:26:10 -0400 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BOPMd-0003jH-J5 for emacs-devel@gnu.org; Thu, 13 May 2004 19:11:43 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepc.post.tele.dk (Postfix) with SMTP id D84EC262803; Fri, 14 May 2004 01:11:41 +0200 (CEST) Original-To: Luc Teirlinck In-Reply-To: <200405122326.i4CNQk929511@raven.dms.auburn.edu> Original-Lines: 61 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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:23366 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23366 Luc Teirlinck writes: > Here is the complete backtrace of the crash: Always include an xbacktrace please! Some observations: > #31 0x081089e7 in Ffile_readable_p (filename=1754131912) at fileio.c:3096 Calls a tramp handler? > #53 0x08139316 in call1 (fn=675096024, arg1=-2005996080) at eval.c:2520 > #54 0x080e6b62 in timer_check (do_it_now=1) at keyboard.c:4404 > #55 0x0816733d in wait_reading_process_input (time_limit=1, microsecs=0, > read_kbd=0, do_display=0) at process.c:4127 > #56 0x08166ae9 in Faccept_process_output (process=-2006691680, timeout=1, > timeout_msecs=675044336) at process.c:3774 We are inside a timer handler here: That timer handler (at some point) calls accept-process-output, which calls wait_reading_process_input, which may run timers (and does so). > #81 0x081089e7 in Ffile_readable_p (filename=1754131912) at fileio.c:3096 We are inside a timer handler here: I suppose this calls a tramp handler. > #104 0x080e6b62 in timer_check (do_it_now=1) at keyboard.c:4404 > #105 0x0816733d in wait_reading_process_input (time_limit=1, microsecs=0, > read_kbd=0, do_display=0) at process.c:4127 > #106 0x08166ae9 in Faccept_process_output (process=-2006691680, timeout=1, > timeout_msecs=675044336) at process.c:3774 Tramp handler calls accept-process-output, which calls wait_reading_process_input, which may run timers (and does so). > #147 0x0810974a in Finsert_file_contents (filename=1754430920, > visit=675044384, beg=675044336, end=675044336, replace=675044336) > at fileio.c:3719 I suppose this calls a tramp handler. > #164 0x080ecb6a in Fcommand_execute (cmd=675120712, record_flag=675044336, > keys=675044336, special=675044336) at keyboard.c:9670 I suppose you did C-x C-f ? 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. -- Kim F. Storm http://www.cua.dk