From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#33018: 26.1.50; thread starvation with async processes and accept-process-output Date: Wed, 17 Oct 2018 20:56:31 +0300 Message-ID: <83zhvcqwxc.fsf@gnu.org> References: <87r2gwbmma.fsf@tcd.ie> <875zy7cqzd.fsf@gmx.de> <878t30h823.fsf@tcd.ie> <87sh177i36.fsf@gmx.de> <877eiipu8g.fsf@tcd.ie> <83k1mirl9n.fsf@gnu.org> <874ldkjwzn.fsf@tcd.ie> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1539798909 20201 195.159.176.226 (17 Oct 2018 17:55:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 17 Oct 2018 17:55:09 +0000 (UTC) Cc: michael.albinus@gmx.de, 33018@debbugs.gnu.org To: "Basil L. Contovounesios" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 17 19:55:04 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 1gCq2B-00057D-1L for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Oct 2018 19:55:03 +0200 Original-Received: from localhost ([::1]:38455 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gCq4H-0004bU-Jx for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Oct 2018 13:57:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gCq4A-0004bP-HR for bug-gnu-emacs@gnu.org; Wed, 17 Oct 2018 13:57:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gCq46-00042m-G1 for bug-gnu-emacs@gnu.org; Wed, 17 Oct 2018 13:57:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51337) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gCq46-00042e-Ay for bug-gnu-emacs@gnu.org; Wed, 17 Oct 2018 13:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gCq46-0000P7-9N for bug-gnu-emacs@gnu.org; Wed, 17 Oct 2018 13:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Oct 2018 17:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33018 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33018-submit@debbugs.gnu.org id=B33018.15397990131536 (code B ref 33018); Wed, 17 Oct 2018 17:57:02 +0000 Original-Received: (at 33018) by debbugs.gnu.org; 17 Oct 2018 17:56:53 +0000 Original-Received: from localhost ([127.0.0.1]:55595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gCq3x-0000Oh-8n for submit@debbugs.gnu.org; Wed, 17 Oct 2018 13:56:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gCq3v-0000OT-JM for 33018@debbugs.gnu.org; Wed, 17 Oct 2018 13:56:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gCq3m-0003hz-28 for 33018@debbugs.gnu.org; Wed, 17 Oct 2018 13:56:46 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42408) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gCq3k-0003hB-56; Wed, 17 Oct 2018 13:56:40 -0400 Original-Received: from [176.228.60.248] (port=3903 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gCq3j-0001oO-Lc; Wed, 17 Oct 2018 13:56:40 -0400 In-reply-to: <874ldkjwzn.fsf@tcd.ie> (contovob@tcd.ie) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:151351 Archived-At: > From: "Basil L. Contovounesios" > Cc: , <33018@debbugs.gnu.org> > Date: Wed, 17 Oct 2018 18:37:00 +0100 > > #0 0x00007ffff766a2a4 in __GI___libc_write (fd=1, buf=0x5555559c1b30, nbytes=4096) > at ../sysdeps/unix/sysv/linux/write.c:27 > #1 0x00007ffff75fb56d in _IO_new_file_write (f=0x7ffff7739760 <_IO_2_1_stdout_>, > data=0x5555559c1b30, n=4096) at fileops.c:1203 > #2 0x00007ffff75fa88f in new_do_write (fp=0x7ffff7739760 <_IO_2_1_stdout_>, > data=0x5555559c1b30 "pan>\n

Emacs is primarily a text editor and is designed for manipulating pieces of text, although it is capable of formatting and print"..., to_do=to_do@entry=4096) at fileops.c:457 > #3 0x00007ffff75fc6f9 in _IO_new_do_write (fp=, data=, > to_do=4096) at fileops.c:433 > #4 0x00007ffff75fa6d8 in _IO_new_file_sync (fp=0x7ffff7739760 <_IO_2_1_stdout_>) > at fileops.c:813 > #5 0x00007ffff75ef6ed in __GI__IO_fflush (fp=0x7ffff7739760 <_IO_2_1_stdout_>) at iofflush.c:40 > #6 0x00005555555918bb in write_data (out=0x7ffff7739760 <_IO_2_1_stdout_>, out2=0x0, > buf=0x5555559a9590 "pan>\n

Emacs is primarily a text editor and is designed for manipulating pieces of text, although it is capable of formatting and print"..., bufsize=4096, skip=0x7fffffffd0e8, > written=0x7fffffffd0e0) at retr.c:207 > #7 0x000055555559204f in fd_read_body (downloaded_filename=0x5555555e18a0 "-", fd=4, > out=0x7ffff7739760 <_IO_2_1_stdout_>, toread=198224, startpos=0, qtyread=0x7fffffffda20, > qtywritten=0x7fffffffd9d0, elapsed=0x7fffffffda28, flags=1, out2=0x0) at retr.c:498 Looks like the buffer of the pipe through which Emacs reads the stuff is full, and wget waits for some space there?