From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Thomas Fitzsimmons 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 18:07:08 -0400 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 1540418472 26529 195.159.176.226 (24 Oct 2018 22:01:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 24 Oct 2018 22:01:12 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 33050@debbugs.gnu.org To: Filipp Gunbin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 25 00:01:08 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 1gFRD5-0006hU-3z for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Oct 2018 00:01:03 +0200 Original-Received: from localhost ([::1]:50574 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFRFB-0000ep-KA for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Oct 2018 18:03:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFRF5-0000ef-CG for bug-gnu-emacs@gnu.org; Wed, 24 Oct 2018 18:03:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFRF2-0004oM-1L for bug-gnu-emacs@gnu.org; Wed, 24 Oct 2018 18:03:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36679) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gFREz-0004kx-VK for bug-gnu-emacs@gnu.org; Wed, 24 Oct 2018 18:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gFREz-0005Wh-QI for bug-gnu-emacs@gnu.org; Wed, 24 Oct 2018 18:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thomas Fitzsimmons Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Oct 2018 22:03:01 +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.154041856120478 (code B ref 33050); Wed, 24 Oct 2018 22:03:01 +0000 Original-Received: (at 33050) by debbugs.gnu.org; 24 Oct 2018 22:02:41 +0000 Original-Received: from localhost ([127.0.0.1]:40937 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gFREe-0005Jt-JC for submit@debbugs.gnu.org; Wed, 24 Oct 2018 18:02:40 -0400 Original-Received: from mail-it1-f182.google.com ([209.85.166.182]:34750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gFREd-0005Ft-BK for 33050@debbugs.gnu.org; Wed, 24 Oct 2018 18:02:39 -0400 Original-Received: by mail-it1-f182.google.com with SMTP id e81-v6so614744itc.1 for <33050@debbugs.gnu.org>; Wed, 24 Oct 2018 15:02:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fitzsim-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=XiTSLkcsB7OHV6p4ZZRnYx2XQ8VOj41+pjNfwP0b0iY=; b=OdOLPTb7TCKP8wxPEaXFDp5BOE4tX2nrF+Q90nw4rXCujVVqjI9VZV2ZFUyEvivuL7 UyBfPoGhLE4yoShooFI9bQShyGHcgeK75T+KwdP8WOwZB8tGYz9TIA9fTpy8ynYiqsIL hDxJrvOmbsQI0jrkZ1C97AZSQJkjvW2Bld45Lovv6QrVZ7XLs4BVyIW3F3qnIX4Q8IXO ZSlaCvzHdI3eQeEJmQJivHU9R7GWKBQA9/llTWyIjwYLEjQcquhtpL1AY3mrdaeJw0J+ uUr2x18zwcTpTpkTcd/pL/EL2k6D0ka7UZO57hKo8ztFYTULr7brG23C2j8LxicTKyc1 MXvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=XiTSLkcsB7OHV6p4ZZRnYx2XQ8VOj41+pjNfwP0b0iY=; b=tzAlpKIpaZ7qwRbuyRVGvYIiZzv1fqakGeh2rkgilBnlqHGMT78QaWTSfkz50LdOH2 Zb2gXTprx5Z3hpNfrbv8+Ri3+CJldY7HbHVC7KRq6h+PNLj4cwCQT6CC0wDCYoT3VbiM rFWT82abxjyDp6jFeSogXCMn7Qp6YLViCeIcs0m9rLfcjm4vF78kJWSH8KkAvrFTwp/2 mhcyMsDvtsyPhPen0t7TPzy0ZJfXAP1Y7D2/KCI882YY2wn4QeV8CwLId+XeDUBuI4sy Lmj/LzqxWXvZvPYxcgAtjY5KeswMs0rVFqzNKq6lXY/B1BNH5iRwUIadljA61tQjhgom pZMQ== X-Gm-Message-State: AGRZ1gLR5o3vtsVziUxNfD37wCC95yyNwuqSejG9CwMRYXQOPHupf6eu ZHrsSp33fC591wSM5JRCPY5ajRtInyw= X-Google-Smtp-Source: AJdET5fP+nJR2d0p8WeI1tVsoWi5udu7rqCqTe4HiCIAgXkdIik5fk/C5bj6Lc19iROigu+tMZBCSA== X-Received: by 2002:a24:9644:: with SMTP id z65-v6mr2536447itd.175.1540418553510; Wed, 24 Oct 2018 15:02:33 -0700 (PDT) Original-Received: from localhost.localdomain (69-165-165-189.dsl.teksavvy.com. [69.165.165.189]) by smtp.gmail.com with ESMTPSA id v24-v6sm1724287iom.85.2018.10.24.15.02.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Oct 2018 15:02:32 -0700 (PDT) In-Reply-To: (Filipp Gunbin's message of "Wed, 24 Oct 2018 22:46:22 +0300") 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:151572 Archived-At: Hi Filipp, Filipp Gunbin writes: > Thomas, what does (process-attributes (process-id proc)) output for you? > (say, right after the process creation). > > The fact that the process is stopped by OS (in my case) makes me think > that the process is indeed trying to use tty in p-c-t nil case. So it > could be bug in process creation. p-c-t t ((args . /usr/bin/ldapsearch -W) (pmem . 0.006538857941754344) (pcpu . -0.0e+NaN) (etime 0 0 0 0) (rss . 1596) (vsize . 42680) (start 23504 58749 447508 202000) (thcount . 1) (nice . 0) (pri . 20) (ctime 0 0 0 0) (cstime 0 0 0 0) (cutime 0 0 0 0) (time 0 0 0 0) (stime 0 0 0 0) (utime 0 0 0 0) (cmajflt . 0) (cminflt . 0) (majflt . 0) (minflt . 485) (tpgid . [...]) (ttname . /dev/pts54) (sess . 29274) (pgrp . 29274) (ppid . 29075) (state . S) (comm . ldapsearch) (group . [...]) (egid . [...]) (user . [...]) (euid . [...])) p-c-t nil ((args . /usr/bin/ldapsearch -W) (pmem . 0.006538857941754344) (pcpu . 0.0) (etime 0 1 10000 0) (rss . 1596) (vsize . 42684) (start 23504 58688 70097 688000) (thcount . 1) (nice . 0) (pri . 20) (ctime 0 0 0 0) (cstime 0 0 0 0) (cutime 0 0 0 0) (time 0 0 0 0) (stime 0 0 0 0) (utime 0 0 0 0) (cmajflt . 0) (cminflt . 0) (majflt . 0) (minflt . 483) (tpgid . [...]) (ttname . ) (sess . 29201) (pgrp . 29201) (ppid . 29075) (state . S) (comm . ldapsearch) (group . [...]) (egid . [...]) (user . [...]) (euid . [...])) I had been testing on Emacs 26.1, but noticed the difference: (tty . ...) vs (ttname . ...) and so retested on master tip to see if the Emacs version accounted for that, but I get the same result. "tty" isn't listed as a key in src/process.c, so I'm don't know where it's coming from on Darwin. However, ttname's value on my system does correspond to the process-connection-type setting. Thomas