From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.help Subject: Re: Get "Args out of range" on remote file loaded with tramp on emacs 27 on debian Date: Sun, 19 Sep 2021 10:36:01 +0200 Message-ID: <86sfy1ufm6.fsf@dod.no> References: <87tuirqhqx.fsf@dod.no> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17648"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 19 10:36:37 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mRsJR-0004Ms-Dv for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 19 Sep 2021 10:36:37 +0200 Original-Received: from localhost ([::1]:55434 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRsJQ-0008WI-2X for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 19 Sep 2021 04:36:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRsIx-0008Tq-9u for help-gnu-emacs@gnu.org; Sun, 19 Sep 2021 04:36:07 -0400 Original-Received: from cadalora.default.sbang.bv.iomart.io ([2001:41c9:1:424::90]:35358 helo=cadalora.default.sbang.uk0.bigv.io) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRsIv-0004un-Jq for help-gnu-emacs@gnu.org; Sun, 19 Sep 2021 04:36:07 -0400 Original-Received: from mccoy (unknown [84.210.87.211]) by cadalora.default.sbang.uk0.bigv.io (Postfix) with ESMTPSA id 456391000E1 for ; Sun, 19 Sep 2021 09:36:02 +0100 (BST) In-Reply-To: (Stefan Monnier via Users list for the's message of "Tue, 14 Sep 2021 09:38:59 -0400") Received-SPF: none client-ip=2001:41c9:1:424::90; envelope-from=sb@dod.no; helo=cadalora.default.sbang.uk0.bigv.io X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.399, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:133103 Archived-At: >>>>> Stefan Monnier via Users list for the GNU Emacs text editor : > If you `M-x toggle-debug-on-error RET` are you able to get a backtrace? > That would help narrow down the problem. Thanks, here's the stack trace: Debugger entered--Lisp error: (args-out-of-range 1628771269 -1 0) set-visited-file-modtime(1628771269) apply(set-visited-file-modtime 1628771269) tramp-run-real-handler(set-visited-file-modtime (1628771269)) tramp-sh-handle-set-visited-file-modtime(nil) apply(tramp-sh-handle-set-visited-file-modtime nil) tramp-sh-file-name-handler(set-visited-file-modtime nil) apply(tramp-sh-file-name-handler set-visited-file-modtime nil) tramp-file-name-handler(set-visited-file-modtime nil) set-visited-file-modtime() #f(compiled-function () #)() tramp-handle-insert-file-contents(#("/scp:myuser@somehost.somedomain.com:/home/myuser/somefile" 1 4 (tramp-default t)) t nil nil nil) apply(tramp-handle-insert-file-contents (#("/scp:myuser@somehost.somedomain.com:/home/myuser/somefile" 1 4 (tramp-default t)) t nil nil nil)) tramp-sh-file-name-handler(insert-file-contents #("/scp:myuser@somehost.somedomain.com:/home/myuser/somefile" 1 4 (tramp-default t)) t nil nil nil) apply(tramp-sh-file-name-handler insert-file-contents (#("/scp:myuser@somehost.somedomain.com:/home/myuser/somefile" 1 4 (tramp-default t)) t nil nil nil)) tramp-file-name-handler(insert-file-contents #("/scp:myuser@somehost.somedomain.com:/home/myuser/somefile" 1 4 (tramp-default t)) t nil nil nil) insert-file-contents(#("/scp:myuser@somehost.somedomain.com:/home/myuser/somefile" 1 4 (tramp-default t)) t) find-file-noselect-1(# #("/scp:myuser@somehost.somedomain.com:/home/myuser/somefile" 1 4 (tramp-default t)) nil nil #("/scp:myuser@somehost.somedomain.com:/home/myuser/somefile" 1 4 (tramp-default t)) (414310 (-1 . 1))) find-file-noselect(#("/scp:myuser@somehost.somedomain.com:somefile" 1 4 (tramp-default t)) nil nil t) find-file(#("/scp:myuser@somehost.somedomain.com:somefile" 1 4 (tramp-default t)) t) funcall-interactively(find-file #("/scp:myuser@somehost.somedomain.com:somefile" 1 4 (tramp-default t)) t) call-interactively(find-file nil nil) command-execute(find-file)