GNU bug report logs - #31214
hang in Faccept_process_output

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Glenn Morris <rgm@HIDDEN>; dated Thu, 19 Apr 2018 00:38:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 31214 <at> debbugs.gnu.org:


Received: (at 31214) by debbugs.gnu.org; 19 Apr 2018 17:40:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 19 13:40:02 2018
Received: from localhost ([127.0.0.1]:33167 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f9DXM-0006Je-LO
	for submit <at> debbugs.gnu.org; Thu, 19 Apr 2018 13:40:02 -0400
Received: from eggs.gnu.org ([208.118.235.92]:47275)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rgm@HIDDEN>) id 1f9DXK-0006JO-Ku
 for 31214 <at> debbugs.gnu.org; Thu, 19 Apr 2018 13:39:58 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rgm@HIDDEN>) id 1f9DX8-0005Ca-Q6
 for 31214 <at> debbugs.gnu.org; Thu, 19 Apr 2018 13:39:52 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41188)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rgm@HIDDEN>)
 id 1f9DX8-0005CL-Mk
 for 31214 <at> debbugs.gnu.org; Thu, 19 Apr 2018 13:39:46 -0400
Received: from rgm by fencepost.gnu.org with local (Exim 4.82)
 (envelope-from <rgm@HIDDEN>)
 id 1f9DX7-000734-OP; Thu, 19 Apr 2018 13:39:45 -0400
From: Glenn Morris <rgm@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#31214: hang in Faccept_process_output
References: <17in8ovxo9.fsf@HIDDEN>
 <35k1t3p0la.fsf@HIDDEN> <83h8o7yuax.fsf@HIDDEN>
X-Spook: Defcon condor security Immigration Customs Enforcement
X-Ran: KH}Xed%:H>NO}!rCu\GO)[:u'BV6@2LP'(9PL3/M[F_T-4cU2n838[i|5WfO,0k,0)cTto
X-Hue: black
X-Debbugs-No-Ack: yes
X-Attribution: GM
Date: Thu, 19 Apr 2018 13:39:45 -0400
In-Reply-To: <83h8o7yuax.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 19 Apr
 2018 20:34:14 +0300")
Message-ID: <e3in8n14f2.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 31214
Cc: 31214 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

Eli Zaretskii wrote:

> If the emacs-26 branch doesn't have this problem

It does.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31214; Package emacs. Full text available.
bug Marked as found in versions 26.1. Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 31214 <at> debbugs.gnu.org:


Received: (at 31214) by debbugs.gnu.org; 19 Apr 2018 17:34:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 19 13:34:12 2018
Received: from localhost ([127.0.0.1]:33159 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f9DRk-0006Bc-F9
	for submit <at> debbugs.gnu.org; Thu, 19 Apr 2018 13:34:12 -0400
Received: from eggs.gnu.org ([208.118.235.92]:43027)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1f9DRj-0006BP-8r
 for 31214 <at> debbugs.gnu.org; Thu, 19 Apr 2018 13:34:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1f9DRa-0008AO-6W
 for 31214 <at> debbugs.gnu.org; Thu, 19 Apr 2018 13:34:06 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41055)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1f9DRa-0008AF-4H
 for 31214 <at> debbugs.gnu.org; Thu, 19 Apr 2018 13:34:02 -0400
Received: from [176.228.60.248] (port=3216 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1f9DRY-0000Yc-O3; Thu, 19 Apr 2018 13:34:01 -0400
Date: Thu, 19 Apr 2018 20:34:14 +0300
Message-Id: <83h8o7yuax.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Glenn Morris <rgm@HIDDEN>
In-reply-to: <35k1t3p0la.fsf@HIDDEN> (message from Glenn Morris on
 Thu, 19 Apr 2018 13:28:33 -0400)
Subject: Re: bug#31214: hang in Faccept_process_output
References: <17in8ovxo9.fsf@HIDDEN>
 <35k1t3p0la.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 31214
Cc: 31214 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

> From: Glenn Morris <rgm@HIDDEN>
> Date: Thu, 19 Apr 2018 13:28:33 -0400
> 
> Glenn Morris wrote:
> 
> > Current master on RHEL7.4.
> 
> Also reproduced on current Debian testing.

If the emacs-26 branch doesn't have this problem, it could be due to
the changes in commit 4ba32858.  Can you try backing out that
changeset?

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31214; Package emacs. Full text available.

Message received at 31214 <at> debbugs.gnu.org:


Received: (at 31214) by debbugs.gnu.org; 19 Apr 2018 17:28:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 19 13:28:46 2018
Received: from localhost ([127.0.0.1]:33145 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f9DMT-00061J-VH
	for submit <at> debbugs.gnu.org; Thu, 19 Apr 2018 13:28:46 -0400
Received: from eggs.gnu.org ([208.118.235.92]:38717)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rgm@HIDDEN>) id 1f9DMS-000617-5u
 for 31214 <at> debbugs.gnu.org; Thu, 19 Apr 2018 13:28:44 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rgm@HIDDEN>) id 1f9DMJ-0005EX-Cf
 for 31214 <at> debbugs.gnu.org; Thu, 19 Apr 2018 13:28:39 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40946)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rgm@HIDDEN>)
 id 1f9DMJ-0005Dm-8V
 for 31214 <at> debbugs.gnu.org; Thu, 19 Apr 2018 13:28:35 -0400
Received: from rgm by fencepost.gnu.org with local (Exim 4.82)
 (envelope-from <rgm@HIDDEN>)
 id 1f9DMH-00022p-Cc; Thu, 19 Apr 2018 13:28:33 -0400
From: Glenn Morris <rgm@HIDDEN>
To: 31214 <at> debbugs.gnu.org
Subject: Re: bug#31214: hang in Faccept_process_output
References: <17in8ovxo9.fsf@HIDDEN>
X-Spook: Cartel import Armed Revolutionary Forces Colombia
X-Ran: |Bji$Ove0T//vf=tMsls;IdYN+JR%|2`>|{~((=3!yEa+iBXGVU].p&H`okUIu6.]v<R|w
X-Hue: magenta
X-Debbugs-No-Ack: yes
X-Attribution: GM
Date: Thu, 19 Apr 2018 13:28:33 -0400
In-Reply-To: <17in8ovxo9.fsf@HIDDEN> (Glenn Morris's message of
 "Wed, 18 Apr 2018 20:37:26 -0400")
Message-ID: <35k1t3p0la.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 31214
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

Glenn Morris wrote:

> Current master on RHEL7.4.

Also reproduced on current Debian testing.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31214; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Apr 2018 00:37:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 18 20:37:35 2018
Received: from localhost ([127.0.0.1]:59852 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f8xZv-0002AZ-JE
	for submit <at> debbugs.gnu.org; Wed, 18 Apr 2018 20:37:35 -0400
Received: from eggs.gnu.org ([208.118.235.92]:48744)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rgm@HIDDEN>) id 1f8xZt-0002AN-VK
 for submit <at> debbugs.gnu.org; Wed, 18 Apr 2018 20:37:34 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rgm@HIDDEN>) id 1f8xZo-0004Sz-0P
 for submit <at> debbugs.gnu.org; Wed, 18 Apr 2018 20:37:28 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55510)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rgm@HIDDEN>)
 id 1f8xZn-0004Sn-TA
 for submit <at> debbugs.gnu.org; Wed, 18 Apr 2018 20:37:27 -0400
Received: from rgm by fencepost.gnu.org with local (Exim 4.82)
 (envelope-from <rgm@HIDDEN>)
 id 1f8xZm-0007l5-UH; Wed, 18 Apr 2018 20:37:27 -0400
From: Glenn Morris <rgm@HIDDEN>
To: submit <at> debbugs.gnu.org
Subject: hang in Faccept_process_output
X-Spook: Indigo president Gulf Cartel John Kerry Center for
X-Ran: "l<Ew}v&{QmPEz]2C?;aJPxzDRJ?69.iagk0z<}yV[nt[e5K]qqoN3c_57*Wq;{')\Xsqu
X-Hue: white
X-Debbugs-No-Ack: yes
X-Attribution: GM
Date: Wed, 18 Apr 2018 20:37:26 -0400
Message-ID: <17in8ovxo9.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

Package: emacs
Version: 27.0.50

Current master on RHEL7.4. If I do:

n=0
while : ; do
 let n++; echo $n
 rm -f test/src/process-tests.log
 make -C test src/process-tests.log \
   SELECTOR='\"make-process/mix-stderr$$\"' >& /dev/null
done

then eventually (after a few hundred loops), the spawned Emacs hangs in
Faccept_process_output. The associated external process is dead and
gone. gdb says:

#0  0x00007fe00d135879 in pselect () at /lib64/libc.so.6
#1  0x000000000068087e in really_call_select (arg=0x7ffda4c66e60)
    at thread.c:572
#2  0x00000000005d6f13 in flush_stack_call_func (func=0x6807ed <really_call_select>, arg=0x7ffda4c66e60) at alloc.c:5213
#3  0x0000000000680933 in thread_select (func=0x413330 <pselect@plt>, max_fds=10, rfds=0x7ffda4c67390, wfds=0x7ffda4c67310, efds=0x0, timeout=0x7ffda4c67680, sigmask=0x0) at thread.c:602
#4  0x00000000006aa642 in xg_select (fds_lim=10, rfds=0x7ffda4c67720, wfds=0x7ffda4c676a0, efds=0x0, timeout=0x7ffda4c67680, sigmask=0x0) at xgselect.c:117
#5  0x0000000000656410 in wait_reading_process_output (time_limit=0, nsecs=0, read_kbd=0, do_display=false, wait_for_cell=..., wait_proc=0x140b6a0, just_wait_proc=0) at process.c:5384
#6  0x00000000006547cf in Faccept_process_output (process=..., seconds=..., millisec=..., just_this_one=...) at process.c:4672

Maybe resembles https://debbugs.gnu.org/24201 ?
But Emacs is sleeping using no CPU.




Report forwarded to bug-gnu-emacs@HIDDEN:
bug#31214; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 19 Apr 2018 17:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.