From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#55832: 28.1; Emacs crashes when using tramp from helm in emacs-29 Date: Sat, 11 Jun 2022 19:46:08 +0000 Message-ID: <87pmjft1vu.fsf@posteo.net> References: <87fskbgfv7.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9300"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , larsi@gnus.org, 55832@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 11 21:52:13 2022 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 1o079Z-0002CO-C4 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 Jun 2022 21:52:13 +0200 Original-Received: from localhost ([::1]:41730 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o079X-0004g7-Vz for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 Jun 2022 15:52:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60404) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o079O-0004fq-04 for bug-gnu-emacs@gnu.org; Sat, 11 Jun 2022 15:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60189) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o079N-0003ry-Ny for bug-gnu-emacs@gnu.org; Sat, 11 Jun 2022 15:52:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o079N-0005tq-Lo for bug-gnu-emacs@gnu.org; Sat, 11 Jun 2022 15:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Jun 2022 19:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55832 X-GNU-PR-Package: emacs Original-Received: via spool by 55832-submit@debbugs.gnu.org id=B55832.165497709722643 (code B ref 55832); Sat, 11 Jun 2022 19:52:01 +0000 Original-Received: (at 55832) by debbugs.gnu.org; 11 Jun 2022 19:51:37 +0000 Original-Received: from localhost ([127.0.0.1]:54086 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o078y-0005t8-HB for submit@debbugs.gnu.org; Sat, 11 Jun 2022 15:51:36 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:60737) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o078r-0005sc-44 for 55832@debbugs.gnu.org; Sat, 11 Jun 2022 15:51:35 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id BACC9240028 for <55832@debbugs.gnu.org>; Sat, 11 Jun 2022 21:51:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1654977082; bh=wNe+IAEVfPWS1BIyrQgpFC6Y6588q4OKRGS3j93AOJ4=; h=From:To:Cc:Subject:Date:Autocrypt:From; b=VpGNB+JPY+EQEDlMmkB+nNVn/Tv5qx4VknmjhOG+hqebCSjbt++ohvfRyBXEfvvmq 7FXBYYnyUCL+kdcAlAWOGqknTMsCmFDWPgqRW98FVhcyzxU4/QDKgjeBDaz+L61Iv3 oQrxrPa1WHMnxZzy90cyQV6XVkyaWVZ382IEC6l/eYxrSPVPzUiSaOw15qkoU9ckUa X9Gof8A3RH6jZaj0OCH+UdCZZctmZ33bi5biDpktp6vuSjDF7iK7JNCmTOKiz1HCgn M5TSpPESZxbZquBbNLl7Tnv0eMB1G32/5Z873R9YldQMwEExR5nc2wbB4Jwv2i/nh6 0bUgUAbMhEkvw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LL7kK07NPz6tmd; Sat, 11 Jun 2022 21:51:20 +0200 (CEST) In-reply-to: <87fskbgfv7.fsf@gmx.de> Autocrypt: addr=thievol@posteo.net; prefer-encrypt=mutual; keydata= mQGNBF8ylcIBDADG+hy+zR6L4/vbdDDZuSaMmSrU3A5QZJpeBCvxTr7MpzzruZbhLPW1K3R6N2MA edi8Y+C8o27FVRIjpdbaKMGu9je7JV/TbUQYo3SOwCK1vM4LUn4V6ZLzSYkuiEt4eyMoiDdyvN0p kcK6P9x9DCetcEVszXzQg+yzCVrQ2hXWDXWT4M18EC3wtO7RHPouMqGiwBFhBAYErCqFWFxQHkfb tG/4yGyJ58rglb65O3qijjMWvYwcWZun9/7qm8Z4/4mHopmo2zgU+OrptnLSZfkZGz3Y7Uf452xQ GVq0Fv75NPvQru7y+DYVhuVXXyAmGxt+vf4rIiixMBbhKEPjcxEPAa2LTzex2IsTZR+QVG9uDnqC WcgaOEQ58fzXNvNhtwwF/Rgio2XWAJVdmFWS59/k9W58CIUSNKBMZh2XeGdEmtHvDtCxW3z6FJha 36RzOM3fMNNiAGdFZJA84gcdloJR+sHCDTTPT3784fjr+V8An7sI581NGFzkRQqPvEQCZbUAEQEA AbQSdGhpZXZvbEBwb3N0ZW8ubmV0iQHUBBMBCgA+FiEEI9twfRN7r3nig/xwDsVtFB0W75MFAl8y lcICGwMFCQPCZwAFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQDsVtFB0W75MB3QwAlTsVzFmr +S/tMKwwwOibjhNPi/OZiUC2AYfaqfVAiIHDT3RbzDe03sAJoomJkJnYVjGzQZwibCMO2+ITkMPV 2wvrd4CbgS1KCVbrltwcuK/nxPCBaHytOCZUIInnhJo5PE/h03K 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:234305 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Michael Albinus writes: > Thierry Volpiatto writes: > > Hi Thierry, > >> Ah ok, I noticed I have always in ~/.emacs.d/tramp an UNKNOW entry for >> uid and gid, is it normal? > > When the remote uid or gid cannot be determined, Tramp sets the default > value "UNKNOWN" (for the uid-string resp. remote-gid property), and -1 > (for the uid-integer resp. gid-integer property). See > tramp-unknown-id-string and tramp-unknown-id-integer. > > However, I would be surprised if these values are used for a "sudo" > connection. Checking my own ~/.emacs.d/tramp I find such entries, > indeed, for a "sudo" connection. Very strange. But although incorrect, > they haven't disturbed my use of Tramp. > > After exiting Emacs, deleting ~/.emacs.d/tramp, and starting Emacs again > with a "sudo" connection, there arer proper values "root" and 0 in the > cached properties. Hmm, don't know where these values came from in > history, but I don't believe they should disturb Tramp. But who > knows. Perhaps you move the ~/.emacs.d/tramp file away (in order to use > it later if necessary), start a new Emacs instance, and see, whether it > still crashes with your scenario. Will try this now. >>> Sad. Since I cannot reproduce the problem locally, what happens if you >>> invoke "emacs -Q" similar to how I've done? >> >> I can't reproduce the crash using helm -P path/to/emacs though there is >> not much difference with my helm-find-files config, the difference comes >> I guess from the usage of normal emacs (or possibly only -q) and emacs >> -Q which affect tramp in some ways. >> >> What I would like to understand is why the crash appears AFTER >> tramp-cleanup-all-connections and not before on first shot. > > Also a mystery to me. > > If the removing of the ~/.emacs.d/tramp file does not help, you might > try the following settings: > > (setq tramp-verbose 10 tramp-debug-to-file t) Ah nice, with those setting instead of crashing emacs hang and I can recuperate with C-g, here the tramp log: https://gist.github.com/thierryvolpiatto/96b5d3bacc92deac1fad275eede69354 Thanks. =2D-=20 Thierry --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHHBAEBCgAxFiEEI9twfRN7r3nig/xwDsVtFB0W75MFAmKk8jUTHHRoaWV2b2xA cG9zdGVvLm5ldAAKCRAOxW0UHRbvk3rQC/0Q2z6WCrghAsiziaQkYLvnZrrGERGY jB3kjS5s5mBUy7NUw3qGduskJ0fI379PY4euejNCeE1ZPcToimkZ0cN1rVO36XbT GSMUVquwHLVJzkhFWM8fnHVDD+yPXM7FHQZY1VBlUyrEqazVuS7Gs/qXscV9bXgJ BZ4pxAuq6xegV2a13n73JCRa2KFOc/nRvKvkUce6zzyEyuQ7y4qSCHENeY5/edOV kNdS/5MoKrVMgPZ+aSuUpwpBvEsmEsk1TJg1R2E9EF1f0e9dG0/HRz2l4R2IyhRX 97YFthRUdLL0+nyhXp6C3Eo4BT4TP0Ex7Xwj6ksZJ2nUlUB1IHHxW7xM3L/YIWxH CtzLHdLdi0Y7bJWuK2FOko7xbmDUz6FilWXwdHifgNLeWa6xUyIZ6lF4rulOhb3W 6AQ1VPnsFVbwHFMd75y0nxLukSr6wpHMta+fKj0cLYBVP9QJ4AsnHAgJ5Jt2l19p YXdNKmtcENJ2DMXKkziILMubj+6TG6edQzU= =C1jn -----END PGP SIGNATURE----- --=-=-=--