From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thomas Koch Newsgroups: gmane.emacs.bugs Subject: bug#12145: Fix causes problems with other processes Date: Thu, 2 Mar 2023 12:48:56 +0200 (EET) Message-ID: <202231886.202734.1677754136372@office.mailbox.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12938"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Michael Albinus , =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= To: "12145@debbugs.gnu.org" <12145@debbugs.gnu.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 02 11:50:25 2023 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 1pXgW1-000393-AZ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Mar 2023 11:50:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pXgVm-0000D0-MO; Thu, 02 Mar 2023 05:50:10 -0500 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 1pXgVg-0000Aq-4A for bug-gnu-emacs@gnu.org; Thu, 02 Mar 2023 05:50:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pXgVe-0002I7-RF for bug-gnu-emacs@gnu.org; Thu, 02 Mar 2023 05:50:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pXgVe-0001OW-Dy for bug-gnu-emacs@gnu.org; Thu, 02 Mar 2023 05:50:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Thomas Koch Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Mar 2023 10:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12145 X-GNU-PR-Package: emacs Original-Received: via spool by 12145-submit@debbugs.gnu.org id=B12145.16777541485292 (code B ref 12145); Thu, 02 Mar 2023 10:50:02 +0000 Original-Received: (at 12145) by debbugs.gnu.org; 2 Mar 2023 10:49:08 +0000 Original-Received: from localhost ([127.0.0.1]:55919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXgUl-0001NH-Sp for submit@debbugs.gnu.org; Thu, 02 Mar 2023 05:49:08 -0500 Original-Received: from mout-p-101.mailbox.org ([80.241.56.151]:55002) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXgUj-0001Mn-ED for 12145@debbugs.gnu.org; Thu, 02 Mar 2023 05:49:06 -0500 Original-Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4PS7Bd2mJvz9syt; Thu, 2 Mar 2023 11:48:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=koch.ro; s=MBO0001; t=1677754137; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GzgCjUHx+VDKPkXE/fOhrW4aHWZ/PDVmoWX6NPlvuPo=; b=RRmdpgJZduVHK1zC6+TMRhGSgRAFrUcYOchiGlP4ETPTxKGyIjO3bqakv6BwoTYAGbUNk5 3Y5sbaTEhyatGF9lmgfHs5fDzo2606wQD6ZpFbOPbqqgcAV2CaTZtZp/RQ1+A9PPGZElBd rusLi0hrZoYP6yIyHSc/oKM5GbyBhvX0Xr93zbOid7CFrHm3iTAtIbXFGi7o61cxm6IGQB fEQ149TDZQQY30OJWMLpKJxBH4gY/yIKF9/odgy14qhDcnOQq0o1tTt3zm9o4gg4NyRfo5 KvbdY4har0fjdJeq0TRjfnZF7ruT2ak9LkKtlMK7ahv1ySetrMX/oMyxyUOVjg== X-Priority: 3 Importance: Normal 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:257130 Archived-At: The fix for this bug seems to cause a problem with "concurrent" processes over SSH with ControlMaster, see https://debbugs.gnu.org/61350 For testing I've removed the JUST-THIS-ONE arguments from all accept-process-output calls in Tramp. Afterwards the bug can still be reproduced in tramp 2.6.0 as described above. At this point I wanted to paste the backtrace of the issue. However I found myself unable to reproduce the issue a second time. Only after I started eglot, I could trigger actually two different backtraces, depending on the starting folder for `find-name-dired` or the pattern. Debugger entered--Lisp error: (wrong-type-argument processp nil) set-process-filter(nil find-dired-filter) find-dired("/blacky:/home/thk/git/yacy_search_server/source/ne..." "-name \\*.java") find-name-dired("/blacky:/home/thk/git/yacy_search_server/source/ne..." "*.java") funcall-interactively(find-name-dired "/blacky:/home/thk/git/yacy_search_server/source/ne..." "*.java") call-interactively(find-name-dired record nil) command-execute(find-name-dired record) execute-extended-command(nil "find-name-dired" nil) funcall-interactively(execute-extended-command nil "find-name-dired" nil) call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) Debugger entered--Lisp error: (wrong-type-argument "markerp nil") signal(wrong-type-argument ("markerp nil")) tramp-error((tramp-file-name #("scp" 0 3 (tramp-default t)) nil nil "blacky" nil "/home/thk/git/yacy_search_server/.dir-locals.el" nil) wrong-type-argument "markerp nil") tramp-signal-hook-function(wrong-type-argument (markerp nil)) comint-output-filter(# " 74785 4 -rw-r--r-- 1 thk thk ...") accept-process-output(# nil nil t) tramp-accept-process-output(#) tramp-wait-for-regexp(# nil "\\(?:^\\|\0\\)\\(?:[^\n#$]*///ad07405faf7fa5751ee9747c48...") tramp-wait-for-output(#) tramp-send-command((tramp-file-name #("scp" 0 3 (tramp-default t)) nil nil "blacky" nil "/home/thk/git/yacy_search_server/.dir-locals.el" nil) "test -r /home/thk/git/yacy_search_server/.dir-loca...") tramp-send-command-and-check((tramp-file-name #("scp" 0 3 (tramp-default t)) nil nil "blacky" nil "/home/thk/git/yacy_search_server/.dir-locals.el" nil) "test -r /home/thk/git/yacy_search_server/.dir-loca...") tramp-run-test("-r" "/blacky:/home/thk/git/yacy_search_server/.dir-loca...") tramp-sh-handle-file-readable-p("/blacky:/home/thk/git/yacy_search_server/.dir-loca...") apply(tramp-sh-handle-file-readable-p "/blacky:/home/thk/git/yacy_search_server/.dir-loca...") tramp-sh-file-name-handler(file-readable-p "/blacky:/home/thk/git/yacy_search_server/.dir-loca...") apply(tramp-sh-file-name-handler file-readable-p "/blacky:/home/thk/git/yacy_search_server/.dir-loca...") tramp-file-name-handler(file-readable-p "/blacky:/home/thk/git/yacy_search_server/.dir-loca...") file-readable-p("/blacky:/home/thk/git/yacy_search_server/.dir-loca...") dir-locals--all-files("/blacky:/home/thk/git/yacy_search_server/") locate-dominating-file("/blacky:/home/thk/git/yacy_search_server/" dir-locals--all-files) dir-locals-find-file("/blacky:/home/thk/git/yacy_search_server/") hack-dir-local-variables() hack-dir-local-variables-non-file-buffer() dired-mode("/blacky:/home/thk/git/yacy_search_server/" "-dilsb") find-dired("/blacky:/home/thk/git/yacy_search_server/" "-name \\*.bat") find-name-dired("/blacky:/home/thk/git/yacy_search_server/" "*.bat") funcall-interactively(find-name-dired "/blacky:/home/thk/git/yacy_search_server/" "*.bat") call-interactively(find-name-dired record nil) command-execute(find-name-dired record) execute-extended-command(nil "find-name-dired" nil) funcall-interactively(execute-extended-command nil "find-name-dired" nil) call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) I'd like to try to understand this bug better and to find a fix that does not set JUST-THIS-ONE to t. Any help is appreciated.