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: Fri, 17 Jun 2022 17:10:38 +0000 Message-ID: <875ykzryut.fsf@posteo.net> References: <87tu8jw7rj.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="30919"; 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 Fri Jun 17 19:21:15 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 1o2Fek-0007o1-Sm for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 17 Jun 2022 19:21:15 +0200 Original-Received: from localhost ([::1]:38288 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2Fej-0002Tl-Os for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 17 Jun 2022 13:21:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50962) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2FeZ-0002TE-3D for bug-gnu-emacs@gnu.org; Fri, 17 Jun 2022 13:21:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52976) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2FeY-0000Ex-Re for bug-gnu-emacs@gnu.org; Fri, 17 Jun 2022 13:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2FeY-0003lf-I2 for bug-gnu-emacs@gnu.org; Fri, 17 Jun 2022 13:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Jun 2022 17:21:02 +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.165548642414385 (code B ref 55832); Fri, 17 Jun 2022 17:21:02 +0000 Original-Received: (at 55832) by debbugs.gnu.org; 17 Jun 2022 17:20:24 +0000 Original-Received: from localhost ([127.0.0.1]:46867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2Fdv-0003jw-TT for submit@debbugs.gnu.org; Fri, 17 Jun 2022 13:20:24 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:39333) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2Fdu-0003jj-DK for 55832@debbugs.gnu.org; Fri, 17 Jun 2022 13:20:23 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 8BBF824002A for <55832@debbugs.gnu.org>; Fri, 17 Jun 2022 19:20:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1655486416; bh=bcUiifa3IAEWaB1OSHlje1ES4Cn7f+FY+JkfAkatVbc=; h=From:To:Cc:Subject:Date:Autocrypt:From; b=NIb+hqQ7NeekfxGvEGqfXWbtph6w+gHrIozkoWU1qLbsoonzolzOu/bfv3QF7+iE8 VtBtZhVNM7fenYd+ZdTKnsrvj2o81qpuaArLuO+5Ph2bnopHrKu8ussDJlsADcZHoa yowp5DPJqYjXtV5zwlgx/UpQMaMeyJi8NEEJkkch0ywUT0FBQ0rerRI7rZaZBW3IVM sh12VIdPAcJVSr+EhCQSGES0H8qq2VOu2jNYMMimhlJr9umLDHJWV2g7kb75ULFibz qpLV/UsTSErzHBmObummupxiUq416v0BY3L0dy4vD51vGVVRDHYrAY8nYl/Z/NKl+Z JNHW/srQ0Xqzg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LPm594q1nz6tnM; Fri, 17 Jun 2022 19:20:13 +0200 (CEST) In-reply-to: <87tu8jw7rj.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:234714 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Michael, Michael Albinus writes: > Thierry Volpiatto writes: > >> Hi Michael, > > Hi Thierry, > >>> 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 #("ga= ndalf" 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. > > According to the code review, out-of-band methods (like "scp") are > suspicious, too. And there might be some corner cases with the "smb" meth= od. Ok, I sometimes use scp but more rarely now that I have a rsync command in helm, also last time I tried, scp method was not supporting more than three file at the time (marked files), see https://github.com/emacs-helm/helm/issues/1945.=20=20 For smb I never used it.=20 > I haven't tried to compose further recipes for problematic cases. I have > simply changed the handling of the "process-buffer" and "process-name" > properties in all Tramp files. This shall be good enough. Ok thanks. >>> M-: (tramp-list-connections) >>> nil >>> >>> I'm working on a fix. >> >> Great thanks. > > I've pushed the fix to master. Thanks, will try as soon as possible. =2D-=20 Thierry --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHHBAEBCgAxFiEEI9twfRN7r3nig/xwDsVtFB0W75MFAmKst8oTHHRoaWV2b2xA cG9zdGVvLm5ldAAKCRAOxW0UHRbvk6zpDACBWw/+n5xOH7SLIDpbf9XKRU4VMYed kUkKh4PRA3E+YcKq0guzvYfnA6S5xWbX9Sh3BYB6y0pY3TdeZWUsY2RtsujlsSOZ XHi2Ms6FTNzKyqSHodzS2ds3df1mqFvkQGYwT8xxfoVX/yhutrHFpMONvH+Ua4tC T1SIwAjiyOwzP8rLzbYkfIQsZgRFRjfcBALwpUsHcgFmxPtRLy5sb5E94Q5+t0Ni +prIkC5g8R1wLP2L53Ewvp8Veow3m/X4xYWZwYdQKemSdElCIuswvhGK5XLmoIq3 MRV8zFVYBvQzRMFK7qLf9UfSncPXPbJAxWNvvLybdSTdD1oaQW6DqP5RwGctirpW Tb12gZvOf8XUaslUjbo6by4OPyhjMsmK4x3hTkpGK/VRq/FlS1fEh+e1n9aKGdiK 5vZ/LqJHUaW8SyJS+ijmLsl7hUJ+GhEM8zy4pPfJMmLILk8I8LCp9LwZj8OFWKC8 Rld9ejTmTy2SLxaqfMkT8OBkf+3tXMWP36U= =sViX -----END PGP SIGNATURE----- --=-=-=--