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: Thu, 16 Jun 2022 18:11:05 +0000 Message-ID: <87k09g4gu2.fsf@posteo.net> References: <87y1xwwmbz.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="33787"; 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 Thu Jun 16 20:14:16 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 1o1u0W-0008cf-6p for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Jun 2022 20:14:16 +0200 Original-Received: from localhost ([::1]:43196 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o1u0U-0005lg-Vg for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Jun 2022 14:14:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1u0I-0005lY-4n for bug-gnu-emacs@gnu.org; Thu, 16 Jun 2022 14:14:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49206) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o1u0H-0004Ia-SF for bug-gnu-emacs@gnu.org; Thu, 16 Jun 2022 14:14:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o1u0H-0000Ey-KN for bug-gnu-emacs@gnu.org; Thu, 16 Jun 2022 14:14: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: Thu, 16 Jun 2022 18:14: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.1655403224895 (code B ref 55832); Thu, 16 Jun 2022 18:14:01 +0000 Original-Received: (at 55832) by debbugs.gnu.org; 16 Jun 2022 18:13:44 +0000 Original-Received: from localhost ([127.0.0.1]:43103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1u00-0000EN-DH for submit@debbugs.gnu.org; Thu, 16 Jun 2022 14:13:44 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:60527) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1tzs-0000E4-Us for 55832@debbugs.gnu.org; Thu, 16 Jun 2022 14:13:42 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 260B0240027 for <55832@debbugs.gnu.org>; Thu, 16 Jun 2022 20:13:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1655403211; bh=p0UJtgfsmOA8+DHTS8Joi2Jq2pCPO8korlAjgdCsh0A=; h=From:To:Cc:Subject:Date:Autocrypt:From; b=HVW/lkly0DvRPIE5lROGL8U+4s4GoZ/YT8Qj6Z9uQ3Ca1wjJhFYtgyQ9mpKOylm5e yztCIrS1UjZdum/ZYn1Ippwq4obfjZW/7u8BSG3I/8uLrBp9DUmOtMQJPc/Do3WcEV kAmSzAcQDqSL1cfG3MDQSTAjCFPsRJiPkQd4H4A03AnqT0VA+fBnhaVVdaHHrAb2Vt vEPcmUvQpdblBbbFb79K4erM79q2FYGr4AMVEeS63Hek8uzhuK9eUt+QIBujp/pOp7 a7DwMLi4LpetPUs+e3gB//arDll4oBs+hgQy0fAv3rjzbIDty5tdiusyoCbcG4cOWm FSBcFKCfeLXdg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LP9K42JNvz6tmp; Thu, 16 Jun 2022 20:13:27 +0200 (CEST) In-reply-to: <87y1xwwmbz.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:234658 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Michael, Michael Albinus writes: > Thierry Volpiatto writes: > > Hi Thierry, > >> tramp-list-connections is often returning nil whatever the value of >> tramp-cache-data is but I have no recipe to reproduce this reliabily, if >> I can make a recipe when I have time I will report it, for now perhaps >> you can forget it. > > I made a code review of using property "process-buffer" in Tramp, and > there is indeed a case it behaves incorrectly: after spawning an > asynchronous process. Recipe: > > # emacs -Q /sudo:: > > M-: (tramp-list-connections) > =3D> ((tramp-file-name "sudo" #("root" 0 4 (tramp-default t)) nil #("gand= alf" 0 7 (tramp-default t)) nil nil nil)) > > M-x async-shell-command RET ls Probably there is something else than this but couldn't figure out what, I will let you know if I find other use cases. > M-: (tramp-list-connections) > nil > > I'm working on a fix. Great thanks. =2D-=20 Thierry --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHHBAEBCgAxFiEEI9twfRN7r3nig/xwDsVtFB0W75MFAmKrcsUTHHRoaWV2b2xA cG9zdGVvLm5ldAAKCRAOxW0UHRbvk6nMC/9FAV8kdfD7+61GEYAYHs1KoisxAAGR 1c6E4MfcwWBT1pN60HFbPN0tF2FiZLTX5G2Th0bk38Z0mmw68r8SVZAWwTTx3wiY u2EGWfqS2jI0q3C3v0cq0+nuMERGq+GYkwyJQ50rbqSseFVoNycm9Kl8hfHqamZk /FdQ1Q1LdI1aldDt7+awsueC0bQCALrSno8/YHbVzeOS9tb1D1q9w4E/pni8hdoH r/rwlpN0dgUSLBF5yR86fgqAbmjfOYT5GAamuobteLLy54CwSNxr8QfjEitd0MjP 6Xbn0k8TRC4/5Ub+Egc4tEaFasjbUh3qJgvo1A8w0mdKH2ZV/Wjx0EHA8Tv+Rmas Gfh0lha6V+A8minDxDwKVFKLQHv6X7QqyYOdFi5rRAS8Ux8wStrRHWA179K9cxCt XcI/HaG0v/6SAvj4HSagV5clLFV7bwbZlhfMLw6Sf5z9YyYRD8G3zMjGBwNB94aJ J3MTagSZltkdpiqjaNJEVRgmnmCZQbO2Mvo= =X3WN -----END PGP SIGNATURE----- --=-=-=--