From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Iurie Marian Newsgroups: gmane.emacs.bugs Subject: bug#71709: Fix recent change in tramp-sh-handle-make-process Date: Sat, 22 Jun 2024 19:27:29 +0200 Message-ID: References: <87msneqeyn.fsf@gmx.de> <87iky1qvqu.fsf@gmx.de> <877cehql8y.fsf@gmx.de> <87zfrdp4m5.fsf@gmx.de> <87v820q56d.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35852"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71709@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 22 19:32:22 2024 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 1sL4b8-00097a-6X for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 Jun 2024 19:32:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sL4aq-0006gF-5R; Sat, 22 Jun 2024 13:32:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sL4ao-0006ff-PM for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2024 13:32:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sL4ao-0000u8-GX for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2024 13:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sL4ao-0005fj-CM for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2024 13:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Iurie Marian Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Jun 2024 17:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71709 X-GNU-PR-Package: emacs Original-Received: via spool by 71709-submit@debbugs.gnu.org id=B71709.171907746721701 (code B ref 71709); Sat, 22 Jun 2024 17:32:02 +0000 Original-Received: (at 71709) by debbugs.gnu.org; 22 Jun 2024 17:31:07 +0000 Original-Received: from localhost ([127.0.0.1]:53806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sL4Zu-0005ds-Qx for submit@debbugs.gnu.org; Sat, 22 Jun 2024 13:31:07 -0400 Original-Received: from mail-wr1-f47.google.com ([209.85.221.47]:56437) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sL4Xe-0005XB-GI for 71709@debbugs.gnu.org; Sat, 22 Jun 2024 13:28:47 -0400 Original-Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-364a3d5d901so2138268f8f.0 for <71709@debbugs.gnu.org>; Sat, 22 Jun 2024 10:28:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719077261; x=1719682061; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=xHlvpIK/WRNgsyMTCAOEcBXvvqPRqyt1YyAkhnXujeY=; b=ZieK78u6YvA0QZSUxjZ+a1pc2fC7bsASPJn4nmM23C7A7VHPu1cz0itzfjmlL3qDdf ixAPlUmWMn0uvNCdRPRf02wDmEqsCd18SeHrUpzKS2dE/mwthOzSFrNGVj2Q1zwL5b+5 QOoFTWFC6bKlb6wt253cjwoOHTJsbpR2SuIa9FW4tLmqKgpgkaLT38iX2rdEFn7Px/Ch abq5zlEXUIZUqEkcJEztugO2Gk9wuK/XY0A4qUoouF9E/TWNQywfghtdk/FRQaFiOlto 9Fj5i2hxoSxXsN5HV7pIffgiIGOzph0hhOFXaw+Z7F8ujx+KpYE8aq8NzJy2mAb0xnlP TD7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719077261; x=1719682061; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xHlvpIK/WRNgsyMTCAOEcBXvvqPRqyt1YyAkhnXujeY=; b=pMNiMrbyYcGH/ZMs4s8lpxn6M0Apx/NavOgbsvnSk+mChuXStp+6UjcN6nfrwyZrDa 4csoO6mrYmrwCGNWbWSgPIYT0q1dX4mbdxpprSuMSdXgvPcl+6jLtso5qQxEYoKlKFoJ LIbdKRVqv0Ga5h48DmiigSPH66WW20WBu13WwVNQW5QBO5VEZvX7EXz2RsGM5tRLt458 K5LZVmrhjQPrjGlZz3QZJnjpEn7uvHFsg2DpEJ7mwQFcD3K4WjGCtwFncc5k4O7t9Q+I v2guUS28zHyqzRyIFu+6qT5XdAuD6oCi0kCjqqFojPkaH5d+3YT4+1XWCY9SntChzFd6 aMFw== X-Gm-Message-State: AOJu0Yy9hOInbTCDovxIUo1oTh8tOEL9cQbkWUNcQGXxRklYx8iSCWoD HBy8CyUA4bnL/L8+jUp/9lxcBf4yjxDJlEz604EQP/WjfJ7s/OMduPUQVvA8hy1+ItOGWjg+3wn 92U6i1MZJs0KDUaGbxQZGLUMgj8U= X-Google-Smtp-Source: AGHT+IEMPnGfku2JrwQR08y9iyoBNuaPzGULAaILB12v75PlPcoJqAPgqndZSHTGuR9zGMy3zuw3AfXieQPr1f2Gz+0= X-Received: by 2002:a5d:6650:0:b0:366:ea15:d833 with SMTP id ffacd0b85a97d-366ea15dd6fmr34936f8f.46.1719077260473; Sat, 22 Jun 2024 10:27:40 -0700 (PDT) In-Reply-To: <87v820q56d.fsf@gmx.de> X-Mailman-Approved-At: Sat, 22 Jun 2024 13:31:05 -0400 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:287723 Archived-At: Alright, yes last time I've only applied the patch in *.el file and evaluated the buffer :D I've recompiled from scratch and it works as expected! :) Many thanks! Iurie On Sat, 22 Jun 2024 at 19:05, Michael Albinus wrote: > > Iurie Marian writes: > > Hi Iurie, > > > Unfortunately, the patch doesn't help. > > By the way, this is what I noticed: > > * the issue seems to occur more often in a docker container > > * over /ssh it is working well, or at least it never occurred > > * the temporary buffers like ~/tmp/tramp.J0RZDc~ are actually created on remote > > * after repetitive tests I noticed that it doesn't reproduce anymore > > and I added a line to print the default-directory right before > > `make-process` for stderr: ~lisp/net/tramp-sh.el:3057~ > > - when it fails, the default-directory is on local host > > - when it succeeds - it's on remote (where I guess it finds that > > temporary file) > > But this was exactly the change I have sent to you: preserve proper default-directory. > > > * on emacs restart it starts reproducing again > > * once it starts working, it never reproduces again until emacs restart > > > > It looks like it has something to do with `stderr` process execution > > environment. > > Yes. Did you apply the change as I have said? That means > > - Patch tramp.el inside the emacs tree > - Remove all compiled Tramp files, like 'rm lisp/net/tramp*.elc' > - Recompile EWmacs by calling 'make'. > > Best regards, Michael.