From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id cBsKGmzIS2WH3gAAG6o9tA:P1 (envelope-from ) for ; Wed, 08 Nov 2023 18:42:04 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id cBsKGmzIS2WH3gAAG6o9tA (envelope-from ) for ; Wed, 08 Nov 2023 18:42:04 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 05E9A5A757 for ; Wed, 8 Nov 2023 18:42:04 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=fabionatali.com header.s=gm1 header.b=cwd1NSbx; dmarc=pass (policy=reject) header.from=fabionatali.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699465324; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=6gJuCE0nf+SX0+mg81aV8I8Nd49N53d4pkljDZRIILI=; b=nwBQuINp/YblCMbxHqGgBqSCQ+SYsMnW8vBZgMe7gD6qNiwu4110mNJ+U0YGx300UROHBY 4v3kiTKzNSLF9SNDqEEKyBwQysjagq9/1OGbY7/wufBRsoa7yyYi0DChv32Woq0ruJLLLh rKYrl9I+wmnRP2xFeUbw0k2CSzovGwY+ITJUtzjeHQyahHoTX4OEtaha4+0uLcLb1LtAy5 ETIzL35TpFMtRvUZ4r4IeH2Y9EDD0H/s8+a1YXox8glbv6o5oN54vhFgTMOxApbt3T9ZZz vWCDRry+ahG+xPDoGC38uB57VRbPJ3SSINDH9RXWZRYiyldEjlVZ2As9onbNKw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=fabionatali.com header.s=gm1 header.b=cwd1NSbx; dmarc=pass (policy=reject) header.from=fabionatali.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1699465324; a=rsa-sha256; cv=none; b=ulpezY/scPEdF9Qt+eNERv3WVO7fSuSkHOhodZd2KqnvhMiQXZILJxemqZT1mGkAtJqJM8 XA1jGFboRcUDBC4m6VayA6T2e/SxqeQa3md+XGvJg0RJTwbrDmkuid13DjRh1h4Dv9wrRc 10vi+Oly7cxyq02y366OScNrDPR60bWulxseKzHhMVStK7rEMCRTxrPN+mhaAc/Te+DFiR ogIAgHduLpNFx+ML2evdE6RQL9sZMV+uH3XClgt7l2EsLEKUXb+dw4dqyUV4rnqXibumwi o6z1MSei6uxf1pJwN57tMNInye4UPPig/ghPxNWNePNt2tTJU6LWXmFit26gUw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r0mY9-00044n-08; Wed, 08 Nov 2023 12:41:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r0mY7-00044W-Ic for emacs-orgmode@gnu.org; Wed, 08 Nov 2023 12:41:07 -0500 Received: from relay1-d.mail.gandi.net ([2001:4b98:dc4:8::221]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r0mY3-0001bh-Ri for emacs-orgmode@gnu.org; Wed, 08 Nov 2023 12:41:07 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 38E10240007; Wed, 8 Nov 2023 17:40:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fabionatali.com; s=gm1; t=1699465258; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=6gJuCE0nf+SX0+mg81aV8I8Nd49N53d4pkljDZRIILI=; b=cwd1NSbxCXNokh9d63pP7hsqhBcc6Tq3rIFLTN174ScZEK5avEzd2y/jTh/yYvYN+DgHpx VsprLc2OMoqIUl3u7ey0kuLpha/CCrxr4LUBsZl1/p7rogH2AmnTclplh8cMJwIHDZZ54h fPEtY5dtiWcVLhvtkgkJ8rO5SDGmufWhsstwisuV1OrcnwxVFQbLFxHrpUNyZMBEs400Cw tYF/d5BXQCSNlau3yITcz8wBRupB5gujk1jSC4V213uETchcPmG142PpV3sVZMVm2EMmMd u3UFyDBbdSgPwycPQqUbvfEAqHN4QgmgKAWfJzvlhQY5JECuhrUpQFiUKePiuA== From: Fabio Natali To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: Issue with org-persist and Tramp In-Reply-To: <87msvofvgx.fsf@localhost> References: <87jzqthdge.fsf@fabionatali.com> <87msvofvgx.fsf@localhost> Date: Wed, 08 Nov 2023 17:40:57 +0000 Message-ID: <87a5roi1na.fsf@fabionatali.com> MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: me@fabionatali.com Received-SPF: pass client-ip=2001:4b98:dc4:8::221; envelope-from=me@fabionatali.com; helo=relay1-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.41 X-Spam-Score: -7.41 X-Migadu-Queue-Id: 05E9A5A757 X-Migadu-Scanner: mx10.migadu.com X-TUID: YnNuvkXda2Qs On 2023-11-08, 09:25 +0000, Ihor Radchenko wrote: > May you please share the backtrace? > In particular, may you (1) M-x toggle-debug-on-quit (2) try to close the > problematic file; observe Emacs "freeze" (3) C-g and post the obtained > backtrace. Hi Ihor, Thanks for your email. Sure, glad to share the backtrace with you. This is how the issue can be reproduced on my system. - Enable debug, `toggle-debug-on-quit' - Open a remote file, `(find-file "/ssh::~/test.org")' - Bring the remote machine offline - Try to close the remote file, `kill-buffer' - The system hangs for a while as it tries to reach the remote machine - Quitting (`keyboard-quit') produces the following backtrace #+begin_export ascii Debugger entered--Lisp error: (quit "") signal(quit ("")) tramp-error(nil quit "") tramp-signal-hook-function(quit ("")) signal(quit ("")) tramp-maybe-open-connection((tramp-file-name "ssh" nil nil "" nil "/home/user/test.org" nil)) tramp-send-command((tramp-file-name "ssh" nil nil "" nil "/home/user/test.org" nil) "echo \\\"`getconf PATH 2>/dev/null`\\\" 2>/dev/null; e...") tramp-send-command-and-check((tramp-file-name "ssh" nil nil "" nil "/home/user/test.org" nil) "echo \\\"`getconf PATH 2>/dev/null`\\\"") tramp-send-command-and-read((tramp-file-name "ssh" nil nil "" nil "/home/user/test.org" nil) "echo \\\"`getconf PATH 2>/dev/null`\\\"" noerror) tramp-get-remote-path((tramp-file-name "ssh" nil nil "" nil "/home/user/test.org" nil)) tramp-get-remote-stat((tramp-file-name "ssh" nil nil "" nil "/home/user/test.org" nil)) tramp-sh-handle-file-attributes("/ssh::/home/user/test.org") tramp-sh-file-name-handler(file-attributes "/ssh::/home/user/test.org") apply(tramp-sh-file-name-handler file-attributes "/ssh::/home/user/test.org") tramp-file-name-handler(file-attributes "/ssh::/home/user/test.org") org-persist--normalize-associated(#) org-persist-write-all(#) org-persist-write-all-buffer() kill-buffer("test.org") funcall-interactively(kill-buffer "test.org") command-execute(kill-buffer) #+end_export Glad to share other info if helpful. Thanks, cheers, Fabio.