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: Get "Args out of range" on remote file loaded with tramp on emacs 27 on debian Date: Sat, 11 Sep 2021 17:00:54 +0200 Message-ID: <87tuirqhqx.fsf@dod.no> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33506"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/27 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 11 17:02:36 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 1mP4WZ-0008XF-L8 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 11 Sep 2021 17:02:35 +0200 Original-Received: from localhost ([::1]:34872 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mP4WY-0002TW-38 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 11 Sep 2021 11:02:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mP4VQ-0002Ss-UG for help-gnu-emacs@gnu.org; Sat, 11 Sep 2021 11:01:26 -0400 Original-Received: from cadalora.default.sbang.bv.iomart.io ([2001:41c9:1:424::90]:33864 helo=cadalora.default.sbang.uk0.bigv.io) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mP4VM-0002Fb-2S for help-gnu-emacs@gnu.org; Sat, 11 Sep 2021 11:01:24 -0400 Original-Received: from lorenzo (unknown [84.210.87.211]) by cadalora.default.sbang.uk0.bigv.io (Postfix) with ESMTPSA id A3F041081BF for ; Sat, 11 Sep 2021 16:00:59 +0100 (BST) 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.398, 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:132999 Archived-At: Platform: debian 11 "bullseye", amd64 GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cair= o version 1.16.0) of 2021-03-28, modified by Debian After the upgrade to debian 11, which brought me emacs 27, there are some remote files that fail on load with "Args out of range". There is also at least one, fairly large (1.9MB) file, that loads file (the file used by the old gnus-sync.el). Looking at the Messages buffer, it seems that the load fails after the file has been fetched and successfully decompressed. Does anyone know what causes this? And does anyone know what I can do to fix it? A google search on similar errors said that tramp has had it back in 2013 and 2016, but not recently. Thanks! -Steinar The contents of the Messages buffer after a failing tramp remote file load,= are: Tramp: Opening connection for myuser@somehost.somedomain.com using scp... Tramp: Sending command =E2=80=98exec ssh -l myuser -o ControlMaster=3Daut= o -o ControlPath=3D'tramp.%C' -o ControlPersist=3Dno -e none somehost.somed= omain.com=E2=80=99 Tramp: Waiting for prompts from remote shell...done Tramp: Found remote shell prompt on =E2=80=98somehost.somedomain.com=E2=80= =99 Tramp: Connection reset, because remote host changed from =E2=80=98Linux 4= .19.0-16-amd64=E2=80=99 to =E2=80=98Linux 5.10.0-8-amd64=E2=80=99 Tramp: Opening connection for myuser@somehost.somedomain.com using scp... Tramp: Sending command =E2=80=98exec ssh -l myuser -o ControlMaster=3Daut= o -o ControlPath=3D'tramp.%C' -o ControlPersist=3Dno -e none somehost.somed= omain.com=E2=80=99 Tramp: Waiting for prompts from remote shell...done Tramp: Found remote shell prompt on =E2=80=98somehost.somedomain.com=E2=80= =99 Tramp: Opening connection for myuser@somehost.somedomain.com using scp...d= one [2 times] Tramp: Inserting =E2=80=98/scp:myuser@somehost.somedomain.com:/home/myuser= /somefile=E2=80=99... Tramp: Encoding remote file =E2=80=98/scp:myuser@somehost.somedomain.com:/= home/myuser/somefile=E2=80=99 with =E2=80=98(env GZIP=3D gzip <%s | base64)= =E2=80=99...done Tramp: Decoding local file =E2=80=98/tmp/tramp.bQ7fkB=E2=80=99 with =E2=80= =98(lambda (beg end) (base64-decode-region beg end) (let ((coding-system-fo= r-write 'binary) (coding-system-for-read 'binary)) (apply #'tramp-call-proc= ess-region '(tramp-file-name scp myuser nil somehost.somedomain.com nil /ho= me/myuser/somefile nil) (point-min) (point-max) (car (split-string env GZIP= =3D gzip -d)) t t nil (cdr (split-string env GZIP=3D gzip -d)))))=E2=80=99.= ..done Tramp: Inserting =E2=80=98/scp:myuser@somehost.somedomain.com:/home/myuser= /somefile=E2=80=99...done apply: Args out of range: 1628771269, -1, 0