From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Filipp Gunbin Newsgroups: gmane.emacs.bugs Subject: bug#33050: 27.0.50; [macOS] Problem with process input with process-connection-type nil Date: Wed, 24 Oct 2018 16:13:26 +0300 Message-ID: References: <83a7n9udxv.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1540387122 4873 195.159.176.226 (24 Oct 2018 13:18:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 24 Oct 2018 13:18:42 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (darwin) Cc: 33050@debbugs.gnu.org To: Thomas Fitzsimmons Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 24 15:18:38 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gFJ3T-000179-VO for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Oct 2018 15:18:36 +0200 Original-Received: from localhost ([::1]:48348 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFJ5a-0001yR-FY for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Oct 2018 09:20:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFJ42-0000mR-1N for bug-gnu-emacs@gnu.org; Wed, 24 Oct 2018 09:19:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFIz4-0007Pt-Pa for bug-gnu-emacs@gnu.org; Wed, 24 Oct 2018 09:14:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34955) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gFIz4-0007Pg-Hz for bug-gnu-emacs@gnu.org; Wed, 24 Oct 2018 09:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gFIz4-0000bN-50 for bug-gnu-emacs@gnu.org; Wed, 24 Oct 2018 09:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Filipp Gunbin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Oct 2018 13:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33050 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33050-submit@debbugs.gnu.org id=B33050.15403868142269 (code B ref 33050); Wed, 24 Oct 2018 13:14:02 +0000 Original-Received: (at 33050) by debbugs.gnu.org; 24 Oct 2018 13:13:34 +0000 Original-Received: from localhost ([127.0.0.1]:39213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gFIyc-0000aX-JC for submit@debbugs.gnu.org; Wed, 24 Oct 2018 09:13:34 -0400 Original-Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:45867) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gFIyZ-0000aN-LH for 33050@debbugs.gnu.org; Wed, 24 Oct 2018 09:13:32 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 75523CDE; Wed, 24 Oct 2018 09:13:30 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 24 Oct 2018 09:13:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=KlBmaCyPflO7q5vE22wdCzn4YL Ks4CkhZdJ98q+raeo=; b=T5LR9TNvMg+lVn7NQAEvDd/6MKshxjvzV7N2A3+F6M xvRtAhmgMGOV3/YIXQfOfB632FQ4H5SHjNL/Emkvjh3lweqk/U06u8AbRTaA438E tlwzv4knV14fcTpcolyL4qU+hg5xKNK1bXOYVyL969CHRexww0PDSvtWxb5rxl6A T514Pe/GPaRB5L4w4+kBX0MkzuXvKBuyKA+37t58fV8trrCEHfuat+Ym8aigyBmH 175x7SvdySIt64jBiSxyDf5bhOp2TT+XCT9OoKej25UZp4WlNrDZhJsbp8B4s1rX 2KFdOh07buoWhTHTwkBhqh7TvVBzLVC92de3YKpwVoRw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=KlBmaC yPflO7q5vE22wdCzn4YLKs4CkhZdJ98q+raeo=; b=L8l5cOedaaGI4VtvRK4U8O 0RlDJy1cief7qwDlA0bRgpgxxNV9WK7sWyWnAB/palbnV4yBteH5w6X6/E0UB3YR ZIyXXuP2vFxc5TViBuCNrOQ1VZR7U3gg6umTBZe24+j8SdVz03LZi6dURIF1iICF 9kHrEh2roi2DIBpMMgxfxu7w7ahEJGEBw0LzPhyWjupidwzrBQO9W52K8CoV9Ypg ezXEoX2PUxmFg+7V8V/0ff9yNRT2RK4cHSVjukw/nbTL5br7OJLr8Su9tRRSVGT3 IMRlHZTw0SlwlHGt+SW44Fb6V7pBzxf+SIvpkVXonJOfgSq+i2mKcrZ+iwPccYPQ == X-ME-Sender: X-ME-Proxy: Original-Received: from fgunbin.playteam.ru (unknown [95.161.147.10]) by mail.messagingengine.com (Postfix) with ESMTPA id B56DE102FD; Wed, 24 Oct 2018 09:13:28 -0400 (EDT) In-Reply-To: (Thomas Fitzsimmons's message of "Tue, 23 Oct 2018 21:55:13 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:151551 Archived-At: Thomas, On 23/10/2018 21:55 -0400, Thomas Fitzsimmons wrote: >>> Your test case behaves the same way for me on x86_64 GNU/Linux. >> >> Do you mean it fails, or it works ok (regardless of >> process-connection-type value)? > > I meant its behaviour is the same for me on x86_64 GNU/Linux as what you > described its behaviour to be on Mac OS. Without: > > (process-connection-type nil) > > the test case succeeds. With it, the test case hangs. Good that it can be "reproduced" at least in this form. If I change args to "ldapsearch" "-W" (and prompt, accordingly), then - with process-connection-type t, the test exits normally, and buffer contains the same text as for you: Enter LDAP Password: ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1) Process my-process exited abnormally with code 255 - with process-connection-type nil, the test hangs, and when I quit, the buffer contains: Process my-process stopped (tty output): 22 I see that /usr/bin/read is not the best thing to test with, because I don't know exactly what it's doing. My ldapsearch (2.4.28) is from macOS - they don't update it frequently. I'll try a later version. Other than that, I don't know what to do for now :-( Filipp