From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.bugs Subject: bug#34174: 27.0.50; Calling `par' via shell-command-on-region always errors out Date: Mon, 28 Jan 2019 21:29:03 -0500 Message-ID: References: <11de7b7c-09f0-fb64-396b-64d75815b028@cs.ucla.edu> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000adee0405808f90ad" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="17866"; mail-complaints-to="usenet@blaine.gmane.org" To: Paul Eggert , 34174-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 29 03:30:20 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 1goJAH-0004Lc-Kl for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Jan 2019 03:30:17 +0100 Original-Received: from localhost ([127.0.0.1]:42039 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goJAG-0001UJ-Ao for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Jan 2019 21:30:16 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goJA4-0001S9-Ii for bug-gnu-emacs@gnu.org; Mon, 28 Jan 2019 21:30:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1goJA3-0002ZQ-Iw for bug-gnu-emacs@gnu.org; Mon, 28 Jan 2019 21:30:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50364) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1goJA3-0002ZF-Ec for bug-gnu-emacs@gnu.org; Mon, 28 Jan 2019 21:30:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1goJA3-0005jq-4h for bug-gnu-emacs@gnu.org; Mon, 28 Jan 2019 21:30:03 -0500 Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Jan 2019 02:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 34174 X-GNU-PR-Package: emacs Mail-Followup-To: 34174@debbugs.gnu.org, kaushal.modi@gmail.com, kaushal.modi@gmail.com Original-Received: via spool by 34174-done@debbugs.gnu.org id=D34174.154872899522014 (code D ref 34174); Tue, 29 Jan 2019 02:30:02 +0000 Original-Received: (at 34174-done) by debbugs.gnu.org; 29 Jan 2019 02:29:55 +0000 Original-Received: from localhost ([127.0.0.1]:49645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1goJ9u-0005iz-Ld for submit@debbugs.gnu.org; Mon, 28 Jan 2019 21:29:55 -0500 Original-Received: from mail-lj1-f176.google.com ([209.85.208.176]:44797) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1goJ9l-0005ic-Mn for 34174-done@debbugs.gnu.org; Mon, 28 Jan 2019 21:29:52 -0500 Original-Received: by mail-lj1-f176.google.com with SMTP id k19-v6so16080364lji.11 for <34174-done@debbugs.gnu.org>; Mon, 28 Jan 2019 18:29:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=/aCxPrd8O0DeKEcwbAcwl0Mfj6sHAmybUHOO005bMLQ=; b=MUYqmBkXH/kKfwXKPcWHf67ba2Bz8Rdzmw40zW7pu4z23v4tSEyitkM4fDNB86zXx0 iw1gcx+gYTvncIAZXyQVNm+AVBwiJYCdGsYv7OeWdEX1J2gAWOwpK++9HhQehZMY3MZ6 YP4lm9HI+Ql/pZWD8iVmjS7JbwQE5DyUkCSfVJJR9fKPkop39bMqoQkhGIY0hmVprHMj 9//JxOGSO9NUTmItBvYVzlIvNmJrJOcPRF+u/mAoV19HL6M56rxD8systgYAfv6hegDj tx0bnv1KT6KN2yNYdyKe5sEjkUKgiRAMOqIolykTQUmU6+HNoZCRiJCE8FPrDVMf1l/C MxAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=/aCxPrd8O0DeKEcwbAcwl0Mfj6sHAmybUHOO005bMLQ=; b=Ylo5nKs/Qv1ra0ZuHAjCp/2UXVZSEt3JFQe5AjSb41o41ZWBNEiKK9JhmrxEQVFYe6 NQTDL1MZeDDd7sP3OG5EygF90Yp6zymRgU+zQ5SZYmsKf5Aq9qxfE+7I29994CFiR1gk CTiczOZb3xG2OOm1HslkhJ4IpdlIZa0vtsPbDrSegCj8QZSOJizblZAo966BcawUnSg0 cpStSjcTKctKxRE7ZlGbC/V0a4VJP7vanJO+f2F+OLzBOM9R1WvAXd7Jn6tCSepuLL9M DaGv6VXaM5vYoBmxOn4L3IPgQcaLez9vKjkOhXaZripRKTcLzeQeDWtO5hXU/27lPERe OaJw== X-Gm-Message-State: AJcUukcm2Zu+pz924JoyCGGhaJkwqtXoypPhcC4+yB3aolcLyV+O+qlG tt2VGystUXi34yZ/Miy8IO+IELKxUijBUII/cEM= X-Google-Smtp-Source: ALg8bN6BJAeTeWjU1Hy1X2is/jliD2SZt/3gdC4TbvVz7zH8A4J5G6PsW/ru4UuNTvB7Q3MEQlScjXxgT/vR4os6GOg= X-Received: by 2002:a2e:8855:: with SMTP id z21-v6mr19041634ljj.191.1548728979548; Mon, 28 Jan 2019 18:29:39 -0800 (PST) In-Reply-To: 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:154855 Archived-At: --000000000000adee0405808f90ad Content-Type: text/plain; charset="UTF-8" On Wed, Jan 23, 2019 at 1:05 PM Paul Eggert wrote: > 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. > Hi Paul, Thanks for your time. I hate it when this happens. This issue got automagically "solved". I cannot recreate this issue any more. All I did was rebuild Emacs to the latest master. [ As I did not understand the root cause of this issue, I am certain that this will repeat at some point. ] Kaushal --000000000000adee0405808f90ad Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Jan 23, 2019 at 1:05 PM Paul Eggert <eggert@cs.ucla.edu> wrote:
On 1/23/19 9:37 AM, Kaushal Modi wrote:=
> I ran:
>
> strace -o /tmp/par.tr <http://par.tr> par, and
> strace -o /tmp/emacs.tr <http://emacs.tr> emacs -Q
>
> Looking at the .tr files, they could possibly contain work sensitive <= br> > 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 &#= 39;fmt'
because it's similar to 'par' and I can easily run 'fmt'= ; here.


Hi Paul,

Thanks for your time.= I hate it when this happens.

This issue got = automagically "solved". I cannot recreate this issue=20 any more.
All I did was rebuild Emacs to the latest master.
=

[ As I did not understand the root cause of= this issue, I am certain that this will repeat at some point. ]
=
Kaushal
--000000000000adee0405808f90ad--