From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#34174: 27.0.50; Calling `par' via shell-command-on-region always errors out Date: Wed, 23 Jan 2019 10:05:44 -0800 Organization: UCLA Computer Science Department Message-ID: References: <11de7b7c-09f0-fb64-396b-64d75815b028@cs.ucla.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="211090"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 Cc: 34174@debbugs.gnu.org To: Kaushal Modi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 23 19:06:17 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gmMul-000smJ-Td for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Jan 2019 19:06:16 +0100 Original-Received: from localhost ([127.0.0.1]:39553 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmMuk-0006CK-Mf for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Jan 2019 13:06:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmMud-0006C3-Uc for bug-gnu-emacs@gnu.org; Wed, 23 Jan 2019 13:06:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gmMua-0000Ua-4m for bug-gnu-emacs@gnu.org; Wed, 23 Jan 2019 13:06:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43784) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gmMuY-0000SL-4F for bug-gnu-emacs@gnu.org; Wed, 23 Jan 2019 13:06:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gmMuX-0000Zn-LB for bug-gnu-emacs@gnu.org; Wed, 23 Jan 2019 13:06:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Jan 2019 18:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34174 X-GNU-PR-Package: emacs Original-Received: via spool by 34174-submit@debbugs.gnu.org id=B34174.15482667562205 (code B ref 34174); Wed, 23 Jan 2019 18:06:01 +0000 Original-Received: (at 34174) by debbugs.gnu.org; 23 Jan 2019 18:05:56 +0000 Original-Received: from localhost ([127.0.0.1]:43065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gmMuS-0000ZU-1x for submit@debbugs.gnu.org; Wed, 23 Jan 2019 13:05:56 -0500 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:52894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gmMuN-0000ZE-LV for 34174@debbugs.gnu.org; Wed, 23 Jan 2019 13:05:52 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 84B9B16111E; Wed, 23 Jan 2019 10:05:45 -0800 (PST) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id qQrhqY6mR6UX; Wed, 23 Jan 2019 10:05:44 -0800 (PST) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 888EF161135; Wed, 23 Jan 2019 10:05:44 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id n116DDd3OoKk; Wed, 23 Jan 2019 10:05:44 -0800 (PST) Original-Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 6E082160FEC; Wed, 23 Jan 2019 10:05:44 -0800 (PST) Openpgp: preference=signencrypt Autocrypt: addr=eggert@cs.ucla.edu; prefer-encrypt=mutual; keydata= xsFNBEyAcmQBEADAAyH2xoTu7ppG5D3a8FMZEon74dCvc4+q1XA2J2tBy2pwaTqfhpxxdGA9 Jj50UJ3PD4bSUEgN8tLZ0san47l5XTAFLi2456ciSl5m8sKaHlGdt9XmAAtmXqeZVIYX/UFS 96fDzf4xhEmm/y7LbYEPQdUdxu47xA5KhTYp5bltF3WYDz1Ygd7gx07Auwp7iw7eNvnoDTAl KAl8KYDZzbDNCQGEbpY3efZIvPdeI+FWQN4W+kghy+P6au6PrIIhYraeua7XDdb2LS1en3Ss mE3QjqfRqI/A2ue8JMwsvXe/WK38Ezs6x74iTaqI3AFH6ilAhDqpMnd/msSESNFt76DiO1ZK QMr9amVPknjfPmJISqdhgB1DlEdw34sROf6V8mZw0xfqT6PKE46LcFefzs0kbg4GORf8vjG2 Sf1tk5eU8MBiyN/bZ03bKNjNYMpODDQQwuP84kYLkX2wBxxMAhBxwbDVZudzxDZJ1C2VXujC OJVxq2kljBM9ETYuUGqd75AW2LXrLw6+MuIsHFAYAgRr7+KcwDgBAfwhPBYX34nSSiHlmLC+ KaHLeCLF5ZI2vKm3HEeCTtlOg7xZEONgwzL+fdKo+D6SoC8RRxJKs8a3sVfI4t6CnrQzvJbB n6gxdgCu5i29J1QCYrCYvql2UyFPAK+do99/1jOXT4m2836j1wARAQABzSBQYXVsIEVnZ2Vy dCA8ZWdnZXJ0QGNzLnVjbGEuZWR1PsLBfgQTAQIAKAUCTIByZAIbAwUJEswDAAYLCQgHAwIG FQgCCQoLBBYCAwECH In-Reply-To: Content-Language: en-US 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: 209.51.188.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:154713 Archived-At: On 1/23/19 9:37 AM, Kaushal Modi wrote: > I ran: > > strace -o /tmp/par.tr par, and > strace -o /tmp/emacs.tr emacs -Q > > Looking at the .tr files, they could possibly contain work sensitive > data. So I am not sure if I should share those files publicly. We care about the I/O requests involving the text you're reformatting, so I suggest running 'par' on some innocuous text and just looking at the associated syscalls (assuming you can reproduce the problem). Also, please try running the shell command 'fmt' on the same text, to see if that can reproduce the problem. If it doesn't reproduce the problem, see how fmt's system calls differ from par's. I mention 'fmt' because it's similar to 'par' and I can easily run 'fmt' here. > [ So the problem, as you guessed, seems to be with my OS (RHEL 6.8) .. > But why only `par`? hmm ] Wow, that's older than even the most-ancient RHEL host I have ready access to (RHEL 6.10). I could not reproduce the problem on that host, using 'fmt'.