From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii 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 11:55:27 +0300 Message-ID: <83sfy13pxc.fsf@gnu.org> References: <87tuirqhqx.fsf@dod.no> <86sfy1ufm6.fsf@dod.no> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30177"; mail-complaints-to="usenet@ciao.gmane.io" 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:57:00 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 1mRsd9-0007eb-TB for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 19 Sep 2021 10:56:59 +0200 Original-Received: from localhost ([::1]:57470 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRsd7-0002Gv-WF for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 19 Sep 2021 04:56:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50134) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRsbz-0002Gn-QY for help-gnu-emacs@gnu.org; Sun, 19 Sep 2021 04:55:47 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49502) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRsby-0005LT-RE for help-gnu-emacs@gnu.org; Sun, 19 Sep 2021 04:55:47 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3625 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRsbr-0005zz-Np for help-gnu-emacs@gnu.org; Sun, 19 Sep 2021 04:55:46 -0400 In-Reply-To: <86sfy1ufm6.fsf@dod.no> (message from Steinar Bang on Sun, 19 Sep 2021 10:36:01 +0200) 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:133104 Archived-At: > From: Steinar Bang > Date: Sun, 19 Sep 2021 10:36:01 +0200 > > >>>>> 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) If you read the doc string of set-visited-file-modtime, you will see that an argument of 1628771269 is invalid. > apply(set-visited-file-modtime 1628771269) > tramp-run-real-handler(set-visited-file-modtime (1628771269)) > tramp-sh-handle-set-visited-file-modtime(nil) Are you using an old version of Tramp? It seems like Tramp calls set-visited-file-modtime with a time value that is no longer supported in Emacs 27. In any case, I think you should submit a bug report, this place is not where such issues should be discussed.