From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#55832: 28.1; Emacs crashes when using tramp from helm in emacs-29 Date: Tue, 14 Jun 2022 13:05:18 +0200 Message-ID: <87fsk7y07l.fsf@gmx.de> References: <87bkuzge0m.fsf@gmx.de> <87y1y3552h.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25104"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Eli Zaretskii , larsi@gnus.org, 55832@debbugs.gnu.org To: Thierry Volpiatto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 14 13:07:46 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 1o14Oe-0006IU-RK for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 14 Jun 2022 13:07:44 +0200 Original-Received: from localhost ([::1]:36410 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o14Od-0006XX-Mn for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 14 Jun 2022 07:07:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o14N1-0006Ng-7T for bug-gnu-emacs@gnu.org; Tue, 14 Jun 2022 07:06:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39160) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o14Mz-00085A-Uv for bug-gnu-emacs@gnu.org; Tue, 14 Jun 2022 07:06:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o14Mz-0004s9-Mq for bug-gnu-emacs@gnu.org; Tue, 14 Jun 2022 07:06:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87bkv4mrap.fsf@posteo.net> Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Jun 2022 11:06: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.165520472918688 (code B ref 55832); Tue, 14 Jun 2022 11:06:01 +0000 Original-Received: (at 55832) by debbugs.gnu.org; 14 Jun 2022 11:05:29 +0000 Original-Received: from localhost ([127.0.0.1]:33057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o14MS-0004rM-Pt for submit@debbugs.gnu.org; Tue, 14 Jun 2022 07:05:29 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:57081) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o14MR-0004r7-JC for 55832@debbugs.gnu.org; Tue, 14 Jun 2022 07:05:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1655204720; bh=Qzac14nF6m6g6O8S8pLq1jjuOHG6T+3Hs0S0xhQH1SU=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date; b=Z3eQMbtqdrYMXmG/S1tv/GTEXgvDWSIY1DzG8X0qBqyDw3z2HdJbd+PukPW/SSB2E BpmXyYWmTcI/Ery7WO/pYPRIozIhOiYUcLpQq662vw4YAJx5kbhTDVpHYZ+xbYIpmd rmQbiLzSHEHVtr0DAA3fBIVfLmjoKkGFJ7OmxA8Q= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([79.140.124.118]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N0XD2-1np3oa0d9A-00wYqY; Tue, 14 Jun 2022 13:05:20 +0200 X-Provags-ID: V03:K1:tQ6lmHgNixCqZ7BvaywoSyuv0yIL/J/yIq99iMYG7AHP34Vzm38 KDazdb9PSEaE0HBNk69LICiy4DRbyZPzD4f1RHAL7sXEHPd6Zyi+7wasQ4MIxmjVhEQ5vVO 9qze2/+MfsmXhQwDulJL/uBOA1S+01+sJw4WX6oeyBfnFSUsJz0fwfkU52Fqbuzyf2VULVn CogkZKz9ys6i9t3r1eNCA== X-UI-Out-Filterresults: notjunk:1;V03:K0:F1M/vHI2blc=:yq+H/uER4nb6sTl/tf/kpQ mvCAt17XlacBv2gtAXb0y04O5g5UjbSWolaNywS7yYA7e7oDFtAj5svNit5OYbuqmOYX+fXyX E4bPnzwQTK8GoXsNFpH9gOcXs2hwBjXWJCz2EJ5unB/ghwUEOm58w/2qm9BQ0foFOWBe7+eub vpvWLN2SGBf3ga7cjZae9aq9UDI6T1frmt2IlbOoo+bEKpC1V+eaxZaG8etl1KUxBNx2BH5/i dT+gTNKT2UsDslRYA/M/+IuFwxFGtQPiiaC4QUGQsDs8Iih9FGpfiQ0U77YHAtTVvMLBnDYPF E2e8/Wi5JoIblmPdmQdkrVstk5z86zP4r9Zujvs5w/VD/hsBUNk3/OaEqIXQMts3V6teL7U4Z Ewrbgb8+pY8p+BcOiqpXHToEivWXxDXjJ5UnTJMdHQTtvtdGJ3NQAG5imYWs2U88sQEA5yoAQ o0Zk4kNwYIG5aQbGEMDGzJNuiSO20ZUaM5oVizGk8Kob9sLt1L1U3uB8RSPz9DWuOz4Th61I+ b/TyzSLssIMFzXHdM8Pxpqdia4sGQ767Jbwlg0f1qtGQikB3ndO7MwGEnZKJxv8IqGPYEmsRr Al4TKyINx3crDOyuifMqdV/jqs2m1/VokeOOiNmAEdyqZeJzWsIPKfCgYywXzQmpkaeHzG4n+ 8NPEqa/lCKxaX4vCQzio6wLYnD5vV3bRzh2Ypz545vvXpiV59olh5cka86ZIJJQA65zZahRMj hWT1CdOuqhIXs9pYDsD3i7ZydMN6KMPLAQ36aatcFbY2gboXKNNbigPFuxotgu6zVOxfHAWU 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:234469 Archived-At: Thierry Volpiatto writes: Hi Thierry, sorry for the delay, I've been occupied by other duties last days. >>>> (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. The trace looks surprising, again and again >> >> 21:38:47.713417 tramp-get-remote-id (5) # Finding POSIX `id' command >> >> I'll try to analyze tomorrow what could have triggered this behavior. If >> not successful, I'll ask you for instrumentation of Tramp. > > Thanks. Finally, I could reproduce the problem with the following code snippet: --8<---------------cut here---------------start------------->8--- (progn (tramp-cleanup-all-connections) (let ((non-essential t)) (tramp-get-remote-uid (tramp-dissect-file-name "/sudo::") 'string))) --8<---------------cut here---------------end--------------->8--- I've pushed a fix to master, could you please check? Best regards, Michael.