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#42538: 28.0.50; tramp-test35-remote-path test timing out on macOS Date: Fri, 31 Jul 2020 20:04:06 +0200 Message-ID: <87d04bzhm1.fsf@gmx.de> References: <87ft9epra4.fsf@gmx.de> <87v9ianuhy.fsf@gmx.de> <87r1sxnfjg.fsf@gmx.de> <87ft9ae6t3.fsf@gmx.de> <871rktdxs3.fsf@gmx.de> <87y2mzzksi.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38895"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 42538@debbugs.gnu.org To: Philipp Stephani Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 31 20:05:56 2020 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 1k1ZPn-000A02-T0 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 31 Jul 2020 20:05:55 +0200 Original-Received: from localhost ([::1]:38984 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k1ZPm-0008NR-9b for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 31 Jul 2020 14:05:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55490) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1ZOw-0008Bs-T4 for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2020 14:05:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55265) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k1ZOw-0003Tz-K3 for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2020 14:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k1ZOw-0002b9-Ct for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2020 14:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 31 Jul 2020 18:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42538 X-GNU-PR-Package: emacs Original-Received: via spool by 42538-submit@debbugs.gnu.org id=B42538.15962186569930 (code B ref 42538); Fri, 31 Jul 2020 18:05:02 +0000 Original-Received: (at 42538) by debbugs.gnu.org; 31 Jul 2020 18:04:16 +0000 Original-Received: from localhost ([127.0.0.1]:38578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1ZOB-0002a5-Mf for submit@debbugs.gnu.org; Fri, 31 Jul 2020 14:04:16 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:44729) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1ZO9-0002Zs-PC for 42538@debbugs.gnu.org; Fri, 31 Jul 2020 14:04:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1596218647; bh=AaynySJj8YTUVgSYOZ7QkP7Wp0lgfUubc6OSy7SfydE=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=JFtAeDKHiopT1KgiZZilNGRHMXQwoc5a2g6loeMF403Alpv0cJnxl2iFjSrfDxKVy lEBUIyFbvExxle2iMFylCbH/x3ABBJ3AxOdE+SG7KUzQugAqxAdwlyzZsuOSeJRhA8 5sp08vrbXVX84G9tanXe43UTKf89edTW2a4z3mEE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([212.91.243.92]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MaJ81-1kDt4s0oFB-00WE5V; Fri, 31 Jul 2020 20:04:07 +0200 In-Reply-To: (Philipp Stephani's message of "Fri, 31 Jul 2020 19:30:42 +0200") X-Provags-ID: V03:K1:fvBjQ0NdBEMFDblnGq3yqcBsG3aYSqj07IBdPdfg0jmI2PM91XQ 3EtnHlREHneR4WCWubdCy83CEUpUGbzaWNKJNhPY9gh4/mbTVHYWqq2bRbhaFs3ubDO9Q5g Hk2/x1vdpqOSKoWoeh+EMUdlwqMGhViALhqS4eu3f6D4Ou3TQtgSQ88usqblNeMR0aNmXrw VDdpXS4hK+AJ7SNwaDZ5A== X-UI-Out-Filterresults: notjunk:1;V03:K0:6pwT7TCge9A=:hgKAsclEIHuFkv9GkbtPon R09ImubwnLKzM9ZYBUMLZdVU+HoZ0S8H1DrtLHyDfdDV5F6zNET8QUlo4+gDYCzOs9D5wu+LH Py3LSoFlvorTDHm71tyfsnIS/xkGfzJQx4Oexl5NQ0v3L0agnDRy1OexODHPiYNSneqjg1rEP KfTd4/6xNyB69NvDpno7hyj2Tb1SOhOM8fHqx4YOS19B1s3Dax0Jmg5DH2kSH4Mds1UVnOht8 1jTGsRUGuGsM5lUzppJYKVxsRWd91+qScgAFyOe2lNXfr+CYxAfPdBqdm4+sZqVgV3j4RO5XW AyewrXss/SU/gCIJZeWiYJaiPSW5djnOjC65otNlLxg3TToDnopOtJoJV2/+wzNmLihV1G5br m2R3OPZIq6YZn3pXxLw0uUaOp+AURdvNaQvWAoPntPx/ENNsQKVHUCAgd4X/Hiuq18jORmNXd BITlXBmuX20PAQ8wQQ0vXlBKYPLUlcFuqZ2r+n++gB0SzYIxIZ+cG1+ccKmpDZPOQMLOiDVyl zGooOVqwcGaC1mQ2IDxMNL1bEy+F0jzsIrHNJtXe6vHYOyZ2vJO7EQNi0Fyr/kBxuCpnU+6e4 zrBV0m3paUwYI/5mbehSiAM/85sd3PE+2VswgbFGOzUmRNcJPenmoNx6rAI2B4M85Vwe9xUMk nX5Mu+4BZHQ6YtHkR+2PuPSiR6nEd0sNxYg2TtzeYzPFsfXBFi9y6Vrf2tkMhh2kUBM96ER2l sBUFQPWySo4gTPY9ZrhVt4ZkAfrk+bTXgIcscfzOhMn6uo+duOmtJvf0PCgn8d52GkBrdSdD 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:183742 Archived-At: Philipp Stephani writes: Hi Philipp, >> Thanks for the analysis. However, I fail to see where Tramp fires the >> command 'kill -17 $$'. There's only 'kill -2 $$'. Could you, please, show me? > > `tramp-get-signal-strings' invokes "bash -c 'kill -NUM $$'" for all > signal numbers, including 17. It excluded 19, assuming that's SIGSTOP, > but that assumption doesn't hold on macOS (or FreeBSD, or any non-x86 > system, FWIW). I see. `tramp-get-signal-strings' is problematic anyway, because it runs locally, but shall serve the signal strings for the remote host. Maybe, we shall assume standardized signal strings up to 15 only. What happens, if you replace the function by (untested) --8<---------------cut here---------------start------------->8--- (defun tramp-get-signal-strings () "Strings to return by `process-file' in case of signals." ;; We use key nil for local connection properties. (with-tramp-connection-property nil "signal-strings" (let (result) (dotimes (i 128) (push (if (and (< i 16) (stringp shell-file-name) (executable-find shell-file-name)) (call-process shell-file-name nil nil nil "-c" (format "kill -%d $$" i)) (format "Signal %d" i)) result)) ;; Due to Bug#41287, we cannot add this to the `dotimes' clause. (reverse result)))) --8<---------------cut here---------------end--------------->8--- Best regards, Michael.