From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mani Kancherla Newsgroups: gmane.emacs.bugs Subject: bug#50205: 27.2; crashes or hangs when opening a specific file using tramp Date: Sat, 28 Aug 2021 14:26:41 -0700 Message-ID: References: <83tujcu3f4.fsf@gnu.org> <835yvrs9sl.fsf@gnu.org> <87v93r9y8x.fsf@gmx.de> <8735qu9ecq.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000002d42a005caa5421d" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9089"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50205@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 28 23:27:13 2021 Return-path: Envelope-to: geb-bug-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 1mK5r7-00020M-8I for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 Aug 2021 23:27:13 +0200 Original-Received: from localhost ([::1]:52748 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mK5r5-0008W4-2R for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 Aug 2021 17:27:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mK5qw-0008Vs-PM for bug-gnu-emacs@gnu.org; Sat, 28 Aug 2021 17:27:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43557) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mK5qw-0006iB-Hk for bug-gnu-emacs@gnu.org; Sat, 28 Aug 2021 17:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mK5qw-0000s9-ER for bug-gnu-emacs@gnu.org; Sat, 28 Aug 2021 17:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mani Kancherla Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Aug 2021 21:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50205 X-GNU-PR-Package: emacs Original-Received: via spool by 50205-submit@debbugs.gnu.org id=B50205.16301860203345 (code B ref 50205); Sat, 28 Aug 2021 21:27:02 +0000 Original-Received: (at 50205) by debbugs.gnu.org; 28 Aug 2021 21:27:00 +0000 Original-Received: from localhost ([127.0.0.1]:55103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mK5qu-0000rs-12 for submit@debbugs.gnu.org; Sat, 28 Aug 2021 17:27:00 -0400 Original-Received: from mail-io1-f51.google.com ([209.85.166.51]:35494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mK5qr-0000re-VD for 50205@debbugs.gnu.org; Sat, 28 Aug 2021 17:26:59 -0400 Original-Received: by mail-io1-f51.google.com with SMTP id a15so13923964iot.2 for <50205@debbugs.gnu.org>; Sat, 28 Aug 2021 14:26:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=E8vjpj73sM2py3D7+yOPFxzWkiiPnaHJDnrSxc1+L70=; b=bqdgk26QWzwq8nIEUGH5ZpY3Dh490y6fAR+66ECqn+mi5IS7hK7kNhAT1XGsPgwv0O 64auU9mAAvBDao7wfpO67z35OXenqeb+ycITusFg41J/i2XXzof5/qUeEcbJofJSBHgd g2ZM1iUwZSVOC8VdH7G7SBnTdw01AD1DE0E94LHeP4SgMdq+BB3akxPiipzlwtQl/e0g AawhKBtRtlGXRy75yQIclL5bLQYcgb9tmSmcltsXMFH1+MXnlykvwkzR1oofTG7XgApT ePHXLAfHeTovmOwpiGMcRofI+u8P+tYbhqKXp16uCvE3P2LRvIQcaP7t/n7Mhj6fzW9k zDRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=E8vjpj73sM2py3D7+yOPFxzWkiiPnaHJDnrSxc1+L70=; b=H4pNd5YIJ6rmjcqoW9Fwvgdm3OTAH/FeWvgU88Z3BkLcWKCcuWg8XeJI1dGAxO8rTS tYJDu0QpiYlu/mHwVi6OFp8dOWihts++Vylo65ZwVSDkWiu/CrdOfJOHsJathfikGA2+ IEnv908rWc5GMIaRJ1QFLX7PgKorlZwhq8a0/bbdW/6X3yvWjvA8UJqZO7fS12IXgApR 5DnCsdbvzEGeQQ7cqN72J6LASx0k/JaNWUgc0tmRPEvmOouTDaL7ROkWM4ONDqTvVmW1 zJXz370N6RpL0At9zadR+zSY8kFCJSsW7PJ4/Ov9QbSZryqTuAXItLRDTUrp2C91JXps xnTA== X-Gm-Message-State: AOAM531RX6qyzNQQQsAhq/0G3V/9jsjqeF4/c+GGifb24a/JP2WJa0Li mTa/g6UshcrVQ3lu9I6Me4EUld7V0XV+uh/WhJaKxE7sjHQtLg== X-Google-Smtp-Source: ABdhPJwDYzAnMeGpAyV3k/t9mVVv21Ee3trw5yNk9qVb0eCnlEHw6p0LQlcrv6KvFPPuJy8IWnUJkaPMMG0nDgxuuOE= X-Received: by 2002:a02:c7d2:: with SMTP id s18mr9942926jao.22.1630186012229; Sat, 28 Aug 2021 14:26:52 -0700 (PDT) In-Reply-To: <8735qu9ecq.fsf@gmx.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:212901 Archived-At: --0000000000002d42a005caa5421d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Michael, I had tried multiple versions of tramp. I checked my elpa/ and saw I had tried tramp 2.5.1 and 2.5.1.1 earlier. Now that I renamed my elpa/ folder to elpa-bak/, emacs is using the built-in 2.4.5.27.2. I now tried installing the latest tramp via emacs menu Options>Manage Emacs Packages> and then selecting tramp 2.5.1.1 from there and clicking install. It gives me an error, please see below. This is with "GNU Emacs 27.2 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 (Build 18G95)) of 2021-03-27". Install package =E2=80=98tramp-2.5.1.1=E2=80=99? y Contacting host: elpa.gnu.org:443 Parsing tar file...done Extracting...done INFO Scraping files for tramp-autoloads.el... Generating autoloads for tramp-adb.el...done Generating autoloads for tramp-archive.el...done Generating autoloads for tramp-cache.el...done Generating autoloads for tramp-cmds.el...done Generating autoloads for tramp-compat.el...done Generating autoloads for tramp-crypt.el...done Generating autoloads for tramp-ftp.el...done Generating autoloads for tramp-fuse.el...done Generating autoloads for tramp-gvfs.el...done Generating autoloads for tramp-integration.el...done Generating autoloads for tramp-pkg.el...done Generating autoloads for tramp-rclone.el...done Generating autoloads for tramp-sh.el...done Generating autoloads for tramp-smb.el...done Generating autoloads for tramp-sshfs.el...done Generating autoloads for tramp-sudoedit.el...done Generating autoloads for tramp-uu.el...done Generating autoloads for tramp.el...done Generating autoloads for trampver.el...done INFO Scraping files for tramp-autoloads.el...done Wrote /Users/mkancherla/.emacs.d/elpa/tramp-2.5.1.1/tramp-autoloads.el [2 times] Error in package--load-files-for-activation: (void-function tramp-register-crypt-file-name-handler) tramp-register-file-name-handlers: Symbol=E2=80=99s function definition is = void: tramp-register-crypt-file-name-handler Mani On Sat, Aug 28, 2021 at 1:13 AM Michael Albinus wrote: > Mani Kancherla writes: > > Hi Mani, > > > I just did one more quick test. I renamed .emacs.d/elpa where I only > > have the newer version tramp to .emacs.d/elpa-bak. That seems to fix > > the problem. > > Mani > > > > I verified that "emacs -Q" has no issues. I can reproduce the > > issue consistently without "-Q". Any information I can collect > > that will help debug the issue? > > Thanks for the feedback. I've tried to reproduce the problem with your > test file and with both Emacs 28.0.50 and 27.2, and the recent Tramp > 2.5.2-pre, with no success. > > Which Tramp version do you use? Check variable tramp-version. > > Has it been compiled for Emacs 27.2? You can check this in > ~/.emacs.d/elpa/tramp-/tramp.elc. > > Perhaps you deinstall the ELPA Tramp package, and reinstall it (2.5.1.1 > is the recent version, will be 2.5.1.2 next days). Does it behave > better? > > > Thanks, > > Mani > > Best regards, Michael. > --0000000000002d42a005caa5421d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Michael,

I had tried multiple versio= ns of tramp. I checked my elpa/ and saw I had tried tramp 2.5.1 and 2.5.1.1= earlier. Now that I renamed my elpa/ folder to elpa-bak/, emacs is using t= he built-in 2.4.5.27.2. I now tried installing the latest tramp via emacs m= enu Options>Manage Emacs Packages> and then selecting tramp 2.5.1.1 f= rom there and clicking install. It gives me an error,=C2=A0please see=C2=A0= below. This is with "GNU Emacs 27.2 (build 1, x86_64-apple-darwin18.7.= 0, NS appkit-1671.60 Version 10.14.6 (Build 18G95)) of 2021-03-27".
Install package =E2=80=98tramp-2.5.1.1=E2=80=99? y

Contacting host: elpa.gnu.org:443=
Parsing tar file...done
Extracting...done
=C2=A0 INFO =C2=A0 =C2= =A0 Scraping files for tramp-autoloads.el...
Generating autoloads for t= ramp-adb.el...done
Generating autoloads for tramp-archive.el...done
G= enerating autoloads for tramp-cache.el...done
Generating autoloads for t= ramp-cmds.el...done
Generating autoloads for tramp-compat.el...done
G= enerating autoloads for tramp-crypt.el...done
Generating autoloads for t= ramp-ftp.el...done
Generating autoloads for tramp-fuse.el...done
Gene= rating autoloads for tramp-gvfs.el...done
Generating autoloads for tramp= -integration.el...done
Generating autoloads for tramp-pkg.el...done
G= enerating autoloads for tramp-rclone.el...done
Generating autoloads for = tramp-sh.el...done
Generating autoloads for tramp-smb.el...done
Gener= ating autoloads for tramp-sshfs.el...done
Generating autoloads for tramp= -sudoedit.el...done
Generating autoloads for tramp-uu.el...done
Gener= ating autoloads for tramp.el...done
Generating autoloads for trampver.el= ...done
=C2=A0 INFO =C2=A0 =C2=A0 Scraping files for tramp-autoloads.el.= ..done
Wrote /Users/mkancherla/.emacs.d/elpa/tramp-2.5.1.1/tramp-autoloa= ds.el [2 times]
Error in package--load-files-for-activation: (void-funct= ion tramp-register-crypt-file-name-handler)
tramp-register-file-name-han= dlers: Symbol=E2=80=99s function definition is void: tramp-register-crypt-f= ile-name-handler

Mani


On S= at, Aug 28, 2021 at 1:13 AM Michael Albinus <michael.albinus@gmx.de> wrote:
Mani Kancherla <kancherla.mani@gmail.com>= writes:

Hi Mani,

> I just did one more quick test. I renamed .emacs.d/elpa where I only > have the newer version tramp to .emacs.d/elpa-bak. That seems to fix > the problem.
> Mani
>
>=C2=A0 =C2=A0 =C2=A0I verified that "emacs -Q" has no issues.= I can reproduce the
>=C2=A0 =C2=A0 =C2=A0issue consistently without "-Q". Any info= rmation I can collect
>=C2=A0 =C2=A0 =C2=A0that will help debug the issue?

Thanks for the feedback. I've tried to reproduce the problem with your<= br> test file and with both Emacs 28.0.50 and 27.2, and the recent Tramp
2.5.2-pre, with no success.

Which Tramp version do you use? Check variable tramp-version.

Has it been compiled for Emacs 27.2? You can check this in
~/.emacs.d/elpa/tramp-<version>/tramp.elc.

Perhaps you deinstall the ELPA Tramp package, and reinstall it (2.5.1.1
is the recent version, will be 2.5.1.2 next days). Does it behave
better?

>=C2=A0 =C2=A0 =C2=A0Thanks,
>=C2=A0 =C2=A0 =C2=A0Mani

Best regards, Michael.
--0000000000002d42a005caa5421d--