GNU bug report logs - #49682
27.2.50; accept-process-output within accept-process-output hangs emacs

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: Rajeev N <rajeev.jnk@HIDDEN>; dated Wed, 21 Jul 2021 14:59:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 49682) by debbugs.gnu.org; 28 Jul 2021 16:13:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 28 12:13:12 2021
Received: from localhost ([127.0.0.1]:55720 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m8mBD-0001Ib-Sz
	for submit <at> debbugs.gnu.org; Wed, 28 Jul 2021 12:13:12 -0400
Received: from eggs.gnu.org ([209.51.188.92]:59558)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1m8mBC-0001IO-Cl
 for 49682 <at> debbugs.gnu.org; Wed, 28 Jul 2021 12:13:10 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:60190)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1m8mB6-0004vI-VO; Wed, 28 Jul 2021 12:13:04 -0400
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2828
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1m8mB2-0002Tb-OL; Wed, 28 Jul 2021 12:13:04 -0400
Date: Wed, 28 Jul 2021 19:12:58 +0300
Message-Id: <83a6m6to1h.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Rajeev N <rajeev.jnk@HIDDEN>
In-Reply-To: <875ywvzb90.fsf@HIDDEN> (message from Rajeev N on Tue, 27
 Jul 2021 17:40:27 -0400)
Subject: Re: bug#49682: 27.2.50; accept-process-output within
 accept-process-output hangs emacs
References: <87mtqfzpbl.fsf@HIDDEN> <87k0ljpulj.fsf@HIDDEN>
 <87czrbve2s.fsf@HIDDEN> <87sg07od34.fsf@HIDDEN>
 <874kclkls1.fsf@HIDDEN>
 <895868e4-4f20-ba77-f4e5-7ea2715d18f0@HIDDEN>
 <87y29s7svx.fsf@HIDDEN>
 <27f2f996-5cb2-acf2-4f94-b964a7f1d32a@HIDDEN>
 <874kcgeqwa.fsf@HIDDEN>
 <4b30f49a-599d-a063-9923-44e59632a9f8@HIDDEN>
 <87v94v3c41.fsf@HIDDEN> <831r7jvewf.fsf@HIDDEN>
 <875ywvzb90.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 49682
Cc: larsi@HIDDEN, 49682 <at> debbugs.gnu.org, dgutov@HIDDEN
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: -3.3 (---)

> Disposition-Notification-To: rajeev.jnk@HIDDEN
> From: Rajeev N <rajeev.jnk@HIDDEN>
> Cc: dgutov@HIDDEN,  larsi@HIDDEN,  49682 <at> debbugs.gnu.org
> Date: Tue, 27 Jul 2021 17:40:27 -0400
> 
> It seems to be a bug-  a similar bug was fixed recently.

It might be a bug, but we need a more detailed understanding of how
this happens.

I also very much wonder why many people are unable to reproduce this
problem on very similar if not identical systems.  Could this be a
kernel or a library bug specific to your system?




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

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


Received: (at 49682) by debbugs.gnu.org; 27 Jul 2021 21:40:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 27 17:40:37 2021
Received: from localhost ([127.0.0.1]:54129 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m8UoX-0007Pa-Cu
	for submit <at> debbugs.gnu.org; Tue, 27 Jul 2021 17:40:37 -0400
Received: from vr0.sivalik.com ([104.238.130.12]:45924 helo=smtp.sivalik.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rajeev.jnk@HIDDEN>) id 1m8UoT-0007PL-Ey
 for 49682 <at> debbugs.gnu.org; Tue, 27 Jul 2021 17:40:36 -0400
Received: from hp (pool-96-242-220-29.nwrknj.fios.verizon.net [96.242.220.29])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest
 SHA256) (No client certificate requested)
 (Authenticated sender: rajeev@HIDDEN)
 by smtp.sivalik.com (Postfix) with ESMTPSA id 1629D60FDF;
 Tue, 27 Jul 2021 17:40:28 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=sivalik.com; s=svlk;
 t=1627422028; bh=nklXyV7EOAPaqRpvXOJemIwEeqtr/XT12hlOeAnY0NU=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From;
 b=B4xzCy0icJ+OywRh+99Nk3/9PQgMNpj3Qlb39a4Q9nTt2HbWphbgHdZj3IGMCx9vN
 Qbh0VqvzcUJof0+LSoZ/xf+AhWdbkxoNtAdBu8R1CigQKfKGago1X+4Pk48bcI35s7
 7E/HMQLNfAwKqekNf5NJOFQAyyG0I8G05gyW1hXQ=
X-No-Archive: yes
From: Rajeev N <rajeev.jnk@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#49682: 27.2.50; accept-process-output within
 accept-process-output hangs emacs
References: <87mtqfzpbl.fsf@HIDDEN> <87k0ljpulj.fsf@HIDDEN>
 <87czrbve2s.fsf@HIDDEN> <87sg07od34.fsf@HIDDEN>
 <874kclkls1.fsf@HIDDEN>
 <895868e4-4f20-ba77-f4e5-7ea2715d18f0@HIDDEN>
 <87y29s7svx.fsf@HIDDEN>
 <27f2f996-5cb2-acf2-4f94-b964a7f1d32a@HIDDEN>
 <874kcgeqwa.fsf@HIDDEN>
 <4b30f49a-599d-a063-9923-44e59632a9f8@HIDDEN>
 <87v94v3c41.fsf@HIDDEN> <831r7jvewf.fsf@HIDDEN>
Date: Tue, 27 Jul 2021 17:40:27 -0400
In-Reply-To: <831r7jvewf.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 27 Jul
 2021 20:35:12 +0300")
Message-ID: <875ywvzb90.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Content-Disposition: inline
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 49682
Cc: larsi@HIDDEN, 49682 <at> debbugs.gnu.org, dgutov@HIDDEN
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: -1.0 (-)

It seems to be a bug-  a similar bug was fixed recently.

  http://git.savannah.gnu.org/cgit/emacs.git/commit/src/process.c?id=1773679af3241919a85d6174b1554070a63cca79

On Tue, 27 Jul 2021 at  8:35 PM +0300, Eli Zaretskii wrote:

#+begin_quote
> Disposition-Notification-To: rajeev.jnk@HIDDEN
> From: Rajeev N <rajeev.jnk@HIDDEN>
> Cc: Lars Ingebrigtsen <larsi@HIDDEN>,  49682 <at> debbugs.gnu.org,  Eli
>  Zaretskii <eliz@HIDDEN>
> Date: Tue, 27 Jul 2021 13:22:54 -0400
> 
> Another input that may help resolve the issue:
> 
> In the pselect loop- file descriptor 19 is show in CLOSE_WAIT state by lsof.
> 
> lsof:
> 
> emacs   66152 rajeev   19u     IPv4            2567759      0t0      TCP hp:37994->wildebeest.gnu.org:https (CLOSE_WAIT)

 If the remote host closed the connection, why isn't our sentinel being
 called and the connection closed?
#+end_quote




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

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


Received: (at 49682) by debbugs.gnu.org; 27 Jul 2021 17:35:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 27 13:35:32 2021
Received: from localhost ([127.0.0.1]:53817 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m8QzM-0007cs-K7
	for submit <at> debbugs.gnu.org; Tue, 27 Jul 2021 13:35:32 -0400
Received: from eggs.gnu.org ([209.51.188.92]:41450)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1m8QzI-0007cZ-Uk
 for 49682 <at> debbugs.gnu.org; Tue, 27 Jul 2021 13:35:31 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:56826)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1m8QzC-0003uP-SO; Tue, 27 Jul 2021 13:35:22 -0400
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3438
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1m8Qz9-00019I-TE; Tue, 27 Jul 2021 13:35:21 -0400
Date: Tue, 27 Jul 2021 20:35:12 +0300
Message-Id: <831r7jvewf.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Rajeev N <rajeev.jnk@HIDDEN>
In-Reply-To: <87v94v3c41.fsf@HIDDEN> (message from Rajeev N on Tue, 27
 Jul 2021 13:22:54 -0400)
Subject: Re: bug#49682: 27.2.50; accept-process-output within
 accept-process-output hangs emacs
References: <87mtqfzpbl.fsf@HIDDEN> <87k0ljpulj.fsf@HIDDEN>
 <87czrbve2s.fsf@HIDDEN> <87sg07od34.fsf@HIDDEN>
 <874kclkls1.fsf@HIDDEN>
 <895868e4-4f20-ba77-f4e5-7ea2715d18f0@HIDDEN>
 <87y29s7svx.fsf@HIDDEN>
 <27f2f996-5cb2-acf2-4f94-b964a7f1d32a@HIDDEN>
 <874kcgeqwa.fsf@HIDDEN>
 <4b30f49a-599d-a063-9923-44e59632a9f8@HIDDEN>
 <87v94v3c41.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 49682
Cc: larsi@HIDDEN, 49682 <at> debbugs.gnu.org, dgutov@HIDDEN
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: -3.3 (---)

> Disposition-Notification-To: rajeev.jnk@HIDDEN
> From: Rajeev N <rajeev.jnk@HIDDEN>
> Cc: Lars Ingebrigtsen <larsi@HIDDEN>,  49682 <at> debbugs.gnu.org,  Eli
>  Zaretskii <eliz@HIDDEN>
> Date: Tue, 27 Jul 2021 13:22:54 -0400
> 
> Another input that may help resolve the issue:
> 
> In the pselect loop- file descriptor 19 is show in CLOSE_WAIT state by lsof.
> 
> lsof:
> 
> emacs   66152 rajeev   19u     IPv4            2567759      0t0      TCP hp:37994->wildebeest.gnu.org:https (CLOSE_WAIT)

If the remote host closed the connection, why isn't our sentinel being
called and the connection closed?




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

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


Received: (at 49682) by debbugs.gnu.org; 27 Jul 2021 17:23:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 27 13:23:04 2021
Received: from localhost ([127.0.0.1]:53807 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m8QnI-0007If-9P
	for submit <at> debbugs.gnu.org; Tue, 27 Jul 2021 13:23:04 -0400
Received: from vr0.sivalik.com ([104.238.130.12]:44130 helo=smtp.sivalik.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rajeev.jnk@HIDDEN>) id 1m8QnE-0007Ht-Ti
 for 49682 <at> debbugs.gnu.org; Tue, 27 Jul 2021 13:23:02 -0400
Received: from hp (pool-96-242-220-29.nwrknj.fios.verizon.net [96.242.220.29])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest
 SHA256) (No client certificate requested)
 (Authenticated sender: rajeev@HIDDEN)
 by smtp.sivalik.com (Postfix) with ESMTPSA id 6556B5E0B2;
 Tue, 27 Jul 2021 13:22:55 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=sivalik.com; s=svlk;
 t=1627406575; bh=cPD3OKpf6LgXvizTmIEQuTxQYnR2UBADDNELHtm18ps=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From;
 b=ecOJphiK0mq9hCWvBaTH9HUTDXXTprUhr1aNg+zGI436zHaFwUzZowKT9Vq1kwx62
 ajI9LspOwK0Zozx3KP8OOH651iQXOTwgZHQdiv0V6wUTIggFvvN9URb0yTKbGh02JU
 fx+oAbqYygW9N9beseP3BKrS1GfrjBs0UU7aqrOY=
X-No-Archive: yes
From: Rajeev N <rajeev.jnk@HIDDEN>
To: Dmitry Gutov <dgutov@HIDDEN>
Subject: Re: bug#49682: 27.2.50; accept-process-output within
 accept-process-output hangs emacs
References: <87mtqfzpbl.fsf@HIDDEN> <87k0ljpulj.fsf@HIDDEN>
 <87czrbve2s.fsf@HIDDEN> <87sg07od34.fsf@HIDDEN>
 <874kclkls1.fsf@HIDDEN>
 <895868e4-4f20-ba77-f4e5-7ea2715d18f0@HIDDEN>
 <87y29s7svx.fsf@HIDDEN>
 <27f2f996-5cb2-acf2-4f94-b964a7f1d32a@HIDDEN>
 <874kcgeqwa.fsf@HIDDEN>
 <4b30f49a-599d-a063-9923-44e59632a9f8@HIDDEN>
Date: Tue, 27 Jul 2021 13:22:54 -0400
In-Reply-To: <4b30f49a-599d-a063-9923-44e59632a9f8@HIDDEN> (Dmitry Gutov's
 message of "Tue, 27 Jul 2021 17:13:46 +0300")
Message-ID: <87v94v3c41.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Content-Disposition: inline
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 49682
Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 49682 <at> debbugs.gnu.org,
 Eli Zaretskii <eliz@HIDDEN>
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: -1.0 (-)

Another input that may help resolve the issue:

In the pselect loop- file descriptor 19 is show in CLOSE_WAIT state by lsof.

lsof:

emacs   66152 rajeev   19u     IPv4            2567759      0t0      TCP hp:37994->wildebeest.gnu.org:https (CLOSE_WAIT)

strace:

 pselect6(20, [3 5 6 8 13 15 17 19], [], NULL, {tv_sec=0, tv_nsec=0}, {NULL, 8}) = 1 (in [19], left {tv_sec=0, tv_nsec=0})
 rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
 rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
 pselect6(20, [3 5 13 17 19], NULL, NULL, {tv_sec=0, tv_nsec=0}, {NULL, 8}) = 1 (in [19], left {tv_sec=0, tv_nsec=0})




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

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


Received: (at 49682) by debbugs.gnu.org; 27 Jul 2021 14:13:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 27 10:13:57 2021
Received: from localhost ([127.0.0.1]:53469 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m8NqG-0006Vn-U9
	for submit <at> debbugs.gnu.org; Tue, 27 Jul 2021 10:13:57 -0400
Received: from mail-ed1-f45.google.com ([209.85.208.45]:37725)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raaahh@HIDDEN>) id 1m8NqE-0006VY-Lr
 for 49682 <at> debbugs.gnu.org; Tue, 27 Jul 2021 10:13:55 -0400
Received: by mail-ed1-f45.google.com with SMTP id h8so15556316ede.4
 for <49682 <at> debbugs.gnu.org>; Tue, 27 Jul 2021 07:13:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=sender:subject:to:cc:references:from:message-id:date:user-agent
 :mime-version:in-reply-to:content-language:content-transfer-encoding;
 bh=VAHr/0dmK2ZXczQjZldDHqy0zIxHms31ETcVwg3fbl4=;
 b=mSKQ/+uVbD/+7Vq6ULNtVWdAqJowvuZD7N4nP+DJCEWD3y2tBFQM536Jd99hXNywvF
 A01/4Dbo3Fb7FUbLAvgxhCx8AgQYO50ie6gZProxskMW1wPg3dkgrwYclaOtoecWWLNm
 UD72u4aw8t9tWg1ZyKnlpdwNLNYOULAecFZUaYBuIAm+cjBcIsKBZQ38GVkliABZSZ2r
 npeXGpEv0QZh1cveEuwvJWWrbU0RFsGcDYaMbFkE+q2Ipnu5KaLUYMdHgNltHxkP095r
 jdsbyiSybwfUIiKCWCqKNyQE2hYbD0fu8Ml7AK3MIQ8WdcbYmI0m+3utSByd+TSi84f7
 gZRA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:sender:subject:to:cc:references:from:message-id
 :date:user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=VAHr/0dmK2ZXczQjZldDHqy0zIxHms31ETcVwg3fbl4=;
 b=CHLrjwf5tMZDaU2VpkV31YsS+PP8a1oBXbWjR60GYzu5g9MKUFgaG6TklI2HEx8KVB
 oBReFcTB423pLBO1DPiPU4VoWTdOsgg1WyDP2X+illdZ/9SEd0vsilobGv75oSMdX0zR
 B0P6u0DeVv+dwskJfo56vYy8RHJcaDN+tyKhmUTh97lLHGbbv+z6y22ibBpdXcUhYfVb
 Tr25ZO+mmnsI5VK7ThEgG6/jJYaEIsfmFET/DbOqq4sQGXVjV9WsZ1kJXcIyhsW/jF1f
 ebZt5Hf7kEyzru/YJl2FrZuWgaKEltxvB5XY4pY1xR0S4QhXfA1YSpuRs62KBvorjVc9
 o6hA==
X-Gm-Message-State: AOAM530Ezw64rCeDfDj/miB75yNS6vHDTB6knHnftaKoNryYb4iE6WnU
 MVuGjDFHTEDxv+MuC3S8PUI=
X-Google-Smtp-Source: ABdhPJxD5+v4Z/gPjRK/GYkYwI78P7paBVwPpV+b97rMSfYUAqRVXyzMTipQGkyZ3p300695jvsclg==
X-Received: by 2002:a05:6402:3551:: with SMTP id
 f17mr28047974edd.223.1627395228838; 
 Tue, 27 Jul 2021 07:13:48 -0700 (PDT)
Received: from [192.168.0.6] ([46.251.119.176])
 by smtp.googlemail.com with ESMTPSA id cn21sm1313130edb.81.2021.07.27.07.13.47
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Tue, 27 Jul 2021 07:13:48 -0700 (PDT)
Subject: Re: bug#49682: 27.2.50; accept-process-output within
 accept-process-output hangs emacs
To: Rajeev N <rajeev.jnk@HIDDEN>
References: <87mtqfzpbl.fsf@HIDDEN> <87k0ljpulj.fsf@HIDDEN>
 <87czrbve2s.fsf@HIDDEN> <87sg07od34.fsf@HIDDEN>
 <874kclkls1.fsf@HIDDEN>
 <895868e4-4f20-ba77-f4e5-7ea2715d18f0@HIDDEN>
 <87y29s7svx.fsf@HIDDEN>
 <27f2f996-5cb2-acf2-4f94-b964a7f1d32a@HIDDEN>
 <874kcgeqwa.fsf@HIDDEN>
From: Dmitry Gutov <dgutov@HIDDEN>
Message-ID: <4b30f49a-599d-a063-9923-44e59632a9f8@HIDDEN>
Date: Tue, 27 Jul 2021 17:13:46 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <874kcgeqwa.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.4 (/)
X-Debbugs-Envelope-To: 49682
Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 49682 <at> debbugs.gnu.org,
 Eli Zaretskii <eliz@HIDDEN>
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: -0.6 (/)

On 26.07.2021 23:55, Rajeev N wrote:
> I am able to reproduce the hang on head of master and emacs-27 branches using emacs -Q,  it does not happen every time, sometime it takes a few tries.  The following is what is shown by strace in a loop:
> 
> pselect6(20, [3 5 13 17 19], NULL, NULL, {tv_sec=0, tv_nsec=0}, {NULL, 8}) = 1 (in [19], left {tv_sec=0, tv_nsec=0})
> rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> pselect6(20, [3 5 6 8 13 15 17 19], [], NULL, {tv_sec=0, tv_nsec=0}, {NULL, 8}) = 1 (in [19], left {tv_sec=0, tv_nsec=0})
> rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> pselect6(20, [3 5 13 17 19], NULL, NULL, {tv_sec=0, tv_nsec=0}, {NULL, 8}) = 1 (in [19], left {tv_sec=0, tv_nsec=0})
> rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> pselect6(20, [3 5 6 8 13 15 17 19], [], NULL, {tv_sec=0, tv_nsec=0}, {NULL, 8}) = 1 (in [19], left {tv_sec=0, tv_nsec=0})
> rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0

Maybe Lars or Eli can interpret this log.




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

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


Received: (at 49682) by debbugs.gnu.org; 26 Jul 2021 20:55:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 26 16:55:57 2021
Received: from localhost ([127.0.0.1]:51631 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m87dl-00087t-KD
	for submit <at> debbugs.gnu.org; Mon, 26 Jul 2021 16:55:57 -0400
Received: from vr0.sivalik.com ([104.238.130.12]:37048 helo=smtp.sivalik.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rajeev.jnk@HIDDEN>) id 1m87dj-00087e-RB
 for 49682 <at> debbugs.gnu.org; Mon, 26 Jul 2021 16:55:56 -0400
Received: from hp (pool-96-242-220-29.nwrknj.fios.verizon.net [96.242.220.29])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest
 SHA256) (No client certificate requested)
 (Authenticated sender: rajeev@HIDDEN)
 by smtp.sivalik.com (Postfix) with ESMTPSA id 2120B620CF;
 Mon, 26 Jul 2021 16:55:50 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=sivalik.com; s=svlk;
 t=1627332950; bh=zk5GMDjVbUFL094reL+VcFV4mzeDXwUH8bUxHEYQPXs=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From;
 b=PZdAdyuwaMCyKrxEhF63XTPzvAoMx8fyn/em1b/qWRThv73C1QvH19oyoxvO+umxn
 TWvn2n7gPcukcoCaxYbJyI8MZcy1w8gvOI21XL9osMQ7k94AgIAvupTtBx1OHqDDvT
 rkYffoNRXhyRotVywC2m8VwQhvZxbmifRg7AewyA=
X-No-Archive: yes
From: Rajeev N <rajeev.jnk@HIDDEN>
To: Dmitry Gutov <dgutov@HIDDEN>
Subject: Re: bug#49682: 27.2.50; accept-process-output within
 accept-process-output hangs emacs
References: <87mtqfzpbl.fsf@HIDDEN> <87k0ljpulj.fsf@HIDDEN>
 <87czrbve2s.fsf@HIDDEN> <87sg07od34.fsf@HIDDEN>
 <874kclkls1.fsf@HIDDEN>
 <895868e4-4f20-ba77-f4e5-7ea2715d18f0@HIDDEN>
 <87y29s7svx.fsf@HIDDEN>
 <27f2f996-5cb2-acf2-4f94-b964a7f1d32a@HIDDEN>
Date: Mon, 26 Jul 2021 16:55:49 -0400
In-Reply-To: <27f2f996-5cb2-acf2-4f94-b964a7f1d32a@HIDDEN> (Dmitry Gutov's
 message of "Mon, 26 Jul 2021 23:22:57 +0300")
Message-ID: <874kcgeqwa.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Content-Disposition: inline
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 49682
Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 49682 <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: -1.0 (-)

I am able to reproduce the hang on head of master and emacs-27 branches using emacs -Q,  it does not happen every time, sometime it takes a few tries.  The following is what is shown by strace in a loop:

pselect6(20, [3 5 13 17 19], NULL, NULL, {tv_sec=0, tv_nsec=0}, {NULL, 8}) = 1 (in [19], left {tv_sec=0, tv_nsec=0})
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
pselect6(20, [3 5 6 8 13 15 17 19], [], NULL, {tv_sec=0, tv_nsec=0}, {NULL, 8}) = 1 (in [19], left {tv_sec=0, tv_nsec=0})
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
pselect6(20, [3 5 13 17 19], NULL, NULL, {tv_sec=0, tv_nsec=0}, {NULL, 8}) = 1 (in [19], left {tv_sec=0, tv_nsec=0})
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
pselect6(20, [3 5 6 8 13 15 17 19], [], NULL, {tv_sec=0, tv_nsec=0}, {NULL, 8}) = 1 (in [19], left {tv_sec=0, tv_nsec=0})
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0




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

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


Received: (at 49682) by debbugs.gnu.org; 26 Jul 2021 20:23:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 26 16:23:08 2021
Received: from localhost ([127.0.0.1]:51583 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m8780-0007M9-1A
	for submit <at> debbugs.gnu.org; Mon, 26 Jul 2021 16:23:08 -0400
Received: from mail-ej1-f47.google.com ([209.85.218.47]:40611)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raaahh@HIDDEN>) id 1m877x-0007LT-PQ
 for 49682 <at> debbugs.gnu.org; Mon, 26 Jul 2021 16:23:06 -0400
Received: by mail-ej1-f47.google.com with SMTP id oz16so9868206ejc.7
 for <49682 <at> debbugs.gnu.org>; Mon, 26 Jul 2021 13:23:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=sender:subject:to:cc:references:from:message-id:date:user-agent
 :mime-version:in-reply-to:content-language:content-transfer-encoding;
 bh=9ihoXq3xIymE2QoQfk8diEuJn3bZ6GL+N14PHwHUXE8=;
 b=PM0ZjOaWM6qHs5qtIrbRwuFDVY5s8xX7dRMXWv7OwergVHd4SdRLrXCYwD7XPRByEs
 V7Spj8Z6tFVlK9nY/eAV1D37xh+q93hXmJ1GORtz872tajEJWJz0/x6YdeCSGY89+AKb
 lO3Wc2ATr9qtopqQ/lbeU3qP0cmLei7r/hGDQQpWL6Oy3CJPCLTjuOm6L7hyP5dMZh6U
 xetfiP/WKr+IXtoZLIVxJshndPD1ZjSQte1SzPY2Yh9BzFqFXTxXvkU8Aoawit/Uyw+I
 VvR4rvYFEbfeR1b5tIfVDaSoJPgsV/9agXM1AffZSiv8q5sEUj1l8Z16JO55AC2PHb+B
 L0pw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:sender:subject:to:cc:references:from:message-id
 :date:user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=9ihoXq3xIymE2QoQfk8diEuJn3bZ6GL+N14PHwHUXE8=;
 b=fZEVMiPI3Td9tp0Q5rKJ3RJEqUOcu7d9veDjqe/8RD691udOo8V6PBKtfn5R0a7AK5
 xJAMspaUn7+zICCtI9PUlBdLZ1DQ1FE2n7sZGQI63W46JSJXkTmAtcpIrvKPr6udiBZG
 9gYYUJ+57l0sRO9jvVyhJXvPGZiZ86YZfCjKNzAbVOo9buBO8X4Ne6smkneY3WNGQpim
 SWQUDWEai0LcAlMO5Jp7TfsYQA3ZLC19PS7T8DapIX9qEQPqeDIo6ANgfaqUsetryvgI
 UKQgqp6ROD0Y6nP3m7PPBkSdxK9JYiywGaIV1EDpIAtIWMp2RPkklVdbjV9Cw5gn26nA
 7CoA==
X-Gm-Message-State: AOAM531432IF0aZr3pntW/gYnhi7EhCOkIGUlrR27mQReelLD1MlKcKB
 ySFNxK7B+czV1UyIchjeN8qmcHXOFs4=
X-Google-Smtp-Source: ABdhPJzpIboqixJLxutdFjp6iS42y9vjPlPXkz37q4S5VqbBrmAwlglubLyl1V9t4z+KUI0JWl0Bvw==
X-Received: by 2002:a17:906:fb11:: with SMTP id
 lz17mr1042198ejb.336.1627330979952; 
 Mon, 26 Jul 2021 13:22:59 -0700 (PDT)
Received: from [192.168.0.6] ([46.251.119.176])
 by smtp.googlemail.com with ESMTPSA id i6sm205304ejd.57.2021.07.26.13.22.58
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Mon, 26 Jul 2021 13:22:59 -0700 (PDT)
Subject: Re: bug#49682: 27.2.50; accept-process-output within
 accept-process-output hangs emacs
To: Rajeev N <rajeev.jnk@HIDDEN>
References: <87mtqfzpbl.fsf@HIDDEN> <87k0ljpulj.fsf@HIDDEN>
 <87czrbve2s.fsf@HIDDEN> <87sg07od34.fsf@HIDDEN>
 <874kclkls1.fsf@HIDDEN>
 <895868e4-4f20-ba77-f4e5-7ea2715d18f0@HIDDEN>
 <87y29s7svx.fsf@HIDDEN>
From: Dmitry Gutov <dgutov@HIDDEN>
Message-ID: <27f2f996-5cb2-acf2-4f94-b964a7f1d32a@HIDDEN>
Date: Mon, 26 Jul 2021 23:22:57 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <87y29s7svx.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.4 (/)
X-Debbugs-Envelope-To: 49682
Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 49682 <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: -0.6 (/)

On 26.07.2021 22:54, Rajeev N via Bug reports for GNU Emacs, the Swiss 
army knife of text editors wrote:
> For me the following also hangs emacs.  The problem seems to me that (accept-process-output stream 0.05) in network-stream-get-response does not return even though it has a timeout of .05.
> 
> (let ()
>    (run-with-timer 0 nil #'url-retrieve"https://www.gnu.org/"  #'ignore)
>    (make-process :name "echo" :command '("echo")
> 		:sentinel (lambda (_p _e)
> 			    (with-current-buffer (generate-new-buffer " *debug")
> 			      (run-with-timer 0 nil #'open-network-stream
> 					      "testing" (current-buffer) "smtp.gmail.com" 587
> 					      :type 'starttls
> 					      :return-list t
> 					      :warn-unless-encrypted t
> 					      :capability-command "EHLOwww.gnu.org\r\n"
> 					      :end-of-command "^[0-9]+ .*\r\n"
> 					      :success "^2.*\n"
> 					      :always-query-capabilities t
> 					      :starttls-function
> 					      (lambda (capabilities)
> 						(and (string-match "[ -]STARTTLS" capabilities)
> 						     "STARTTLS\r\n"))
> 					      :client-certificate t
> 					      :use-starttls-if-possible t)))))

Hmm, that doesn't freeze for me.

Even though if I follow 'C-x C-e' with 'C-p' right away, it will wait 
for like 0.5s before moving the cursor to the previous line.

I have tried it in a number of versions of Emacs, so far no luck.

Any chance you're not starting with 'emacs -Q' and your personal config 
affects this?




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

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


Received: (at 49682) by debbugs.gnu.org; 26 Jul 2021 19:54:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 26 15:54:53 2021
Received: from localhost ([127.0.0.1]:51558 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m86gf-0006fj-0K
	for submit <at> debbugs.gnu.org; Mon, 26 Jul 2021 15:54:53 -0400
Received: from vr0.sivalik.com ([104.238.130.12]:36600 helo=smtp.sivalik.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rajeev.jnk@HIDDEN>) id 1m86ga-0006fT-LU
 for 49682 <at> debbugs.gnu.org; Mon, 26 Jul 2021 15:54:51 -0400
Received: from hp (pool-96-242-220-29.nwrknj.fios.verizon.net [96.242.220.29])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest
 SHA256) (No client certificate requested)
 (Authenticated sender: rajeev@HIDDEN)
 by smtp.sivalik.com (Postfix) with ESMTPSA id E8D0862046;
 Mon, 26 Jul 2021 15:54:42 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=sivalik.com; s=svlk;
 t=1627329283; bh=DwrVdfHIudpW6F2h3zIoHen1QC9vEFHw1B9yN22HK1M=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From;
 b=VVy7+n/rKQRV0tlduwrhLE7eJL16VDdrZMYJ3lC8FgvemNLC3ghL//lhwxi71dquL
 EflJFFzkY8M14JchPO4FBJYtm/T9IRxzbDAR2wmL40a8ZqNXO/SS9+3zGtaPU0krL2
 KUU7w6jmlXK39+MdXvJRDrSeAi5tf+EYsLT+a79s=
X-No-Archive: yes
From: Rajeev N <rajeev.jnk@HIDDEN>
To: Dmitry Gutov <dgutov@HIDDEN>
Subject: Re: bug#49682: 27.2.50; accept-process-output within
 accept-process-output hangs emacs
References: <87mtqfzpbl.fsf@HIDDEN> <87k0ljpulj.fsf@HIDDEN>
 <87czrbve2s.fsf@HIDDEN> <87sg07od34.fsf@HIDDEN>
 <874kclkls1.fsf@HIDDEN>
 <895868e4-4f20-ba77-f4e5-7ea2715d18f0@HIDDEN>
Date: Mon, 26 Jul 2021 15:54:42 -0400
In-Reply-To: <895868e4-4f20-ba77-f4e5-7ea2715d18f0@HIDDEN> (Dmitry Gutov's
 message of "Mon, 26 Jul 2021 21:58:39 +0300")
Message-ID: <87y29s7svx.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Content-Disposition: inline
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 49682
Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 49682 <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: -1.0 (-)

For me the following also hangs emacs.  The problem seems to me that (accept-process-output stream 0.05) in network-stream-get-response does not return even though it has a timeout of .05.

(let ()
  (run-with-timer 0 nil #'url-retrieve "https://www.gnu.org/" #'ignore)
  (make-process :name "echo" :command '("echo")
		:sentinel (lambda (_p _e)
			    (with-current-buffer (generate-new-buffer " *debug")
			      (run-with-timer 0 nil #'open-network-stream
					      "testing" (current-buffer) "smtp.gmail.com" 587
					      :type 'starttls
					      :return-list t
					      :warn-unless-encrypted t
					      :capability-command "EHLO www.gnu.org\r\n"
					      :end-of-command "^[0-9]+ .*\r\n"
					      :success "^2.*\n"
					      :always-query-capabilities t
					      :starttls-function
					      (lambda (capabilities)
						(and (string-match "[ -]STARTTLS" capabilities)
						     "STARTTLS\r\n"))
					      :client-certificate t
					      :use-starttls-if-possible t)))))


On Mon, 26 Jul 2021 at  9:58 pm +0300, Dmitry Gutov wrote:

#+begin_quote
 On 23.07.2021 20:00, Rajeev N via Bug reports for GNU Emacs, the Swiss
 army knife of text editors wrote:

> (let ()
>    (run-with-timer 0 nil #'url-retrieve"https://www.gnu.org/"  #'ignore)
>    (make-process :name "echo" :command '("echo")
>     :sentinel (lambda (_p _e) (run-with-timer 0 nil #'diary-mail-entries))))

 Any chance you have an example of the problem that doesn't require
 SMTP/Mail/Gnus to be configured in Emacs?
#+end_quote




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

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


Received: (at 49682) by debbugs.gnu.org; 26 Jul 2021 18:58:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 26 14:58:52 2021
Received: from localhost ([127.0.0.1]:51519 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m85oS-0005GG-EM
	for submit <at> debbugs.gnu.org; Mon, 26 Jul 2021 14:58:52 -0400
Received: from mail-ej1-f49.google.com ([209.85.218.49]:36728)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raaahh@HIDDEN>) id 1m85oO-0005G1-5M
 for 49682 <at> debbugs.gnu.org; Mon, 26 Jul 2021 14:58:52 -0400
Received: by mail-ej1-f49.google.com with SMTP id gn26so11929815ejc.3
 for <49682 <at> debbugs.gnu.org>; Mon, 26 Jul 2021 11:58:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=sender:subject:to:cc:references:from:message-id:date:user-agent
 :mime-version:in-reply-to:content-language:content-transfer-encoding;
 bh=XzUBPBf3hfHVXFIb5mxjar1TEIkyzjocAKK5f3vTvig=;
 b=pl17aZbhIMH/aQwhUQtHcbmmgW76Ga7Kds0VATWEysv1Fldqw8YR5COMGZ9A2bRKWM
 m7xEIpUgAO4IpfilSWFNm1PU+aD4LVnX30HsYEKOLlhfTm80CpsIx+a7M3kVHIiAAEiI
 USySwpMpKUoO6UNhviL0pmFfuj1NBqwYRQVqhJvM6XvL3c0wG584v5ciPfz4unCsjbXN
 bXXKG2bDBFHkpX6YqyFhYfOVpnRNwa2bFsWNh/H6engWtJnhaRyWqpuSNy9S0Y4ocdEs
 PQpAsmigD9XUdYndBzntzGCkyzqZ+oPS2R3AwmlgDRYkYQEOQM96iRyUkbMhCxHLN9BB
 Efqg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:sender:subject:to:cc:references:from:message-id
 :date:user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=XzUBPBf3hfHVXFIb5mxjar1TEIkyzjocAKK5f3vTvig=;
 b=FNTrlwVFXyvFLmsJNBpF0X1JzLDXp2EcL8O6g3gfkAM9RzFACTkTJAKmmqI6gBoYc+
 +PTBYZeDYsvMgxzf9n+e/bt/tENsdlk6eLUVURMuDE1mFtGR20cTCS6x0eXKhir0k9Yo
 qtmMjUT26qzDXSmqriCwOxULAoih6vr6VPd3rxRzWalUewBqN0uQ7iKfrSFJV1/y/X+m
 V4cds6oKl9V8oZshxtfurazv6xO7A9REberzLDUSIAqW2Yf19fQGa7Zwo4o/8M9Z2ky6
 Gq+SnyorKNz2IBBKZmY8nWZhtbGrT3Kyv8TM4+0OT72wY/Wy9KM6HiV+CL97/0TsqdtS
 cR/Q==
X-Gm-Message-State: AOAM530M8zDbcYqyDy7sZK6AJAU4xV7SFvc+hbVjwBN1F3F0ZwJED4U1
 JQj/UEMpdE7KNy5TUjQVaJk2pe6qw3U=
X-Google-Smtp-Source: ABdhPJyx8hmYtPu1vUYyubMiwReloflptkcxCVkXrfb4YjLLcrLt0K52Zxd/g+8nHmliIBa0p18s0Q==
X-Received: by 2002:a17:907:1b22:: with SMTP id
 mp34mr18450102ejc.408.1627325921879; 
 Mon, 26 Jul 2021 11:58:41 -0700 (PDT)
Received: from [192.168.0.6] ([46.251.119.176])
 by smtp.googlemail.com with ESMTPSA id f18sm157085ejx.23.2021.07.26.11.58.40
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Mon, 26 Jul 2021 11:58:41 -0700 (PDT)
Subject: Re: bug#49682: 27.2.50; accept-process-output within
 accept-process-output hangs emacs
To: Rajeev N <rajeev.jnk@HIDDEN>, Lars Ingebrigtsen <larsi@HIDDEN>
References: <87mtqfzpbl.fsf@HIDDEN> <87k0ljpulj.fsf@HIDDEN>
 <87czrbve2s.fsf@HIDDEN> <87sg07od34.fsf@HIDDEN>
 <874kclkls1.fsf@HIDDEN>
From: Dmitry Gutov <dgutov@HIDDEN>
Message-ID: <895868e4-4f20-ba77-f4e5-7ea2715d18f0@HIDDEN>
Date: Mon, 26 Jul 2021 21:58:39 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <874kclkls1.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.4 (/)
X-Debbugs-Envelope-To: 49682
Cc: 49682 <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: -0.6 (/)

On 23.07.2021 20:00, Rajeev N via Bug reports for GNU Emacs, the Swiss 
army knife of text editors wrote:
> (let ()
>    (run-with-timer 0 nil #'url-retrieve"https://www.gnu.org/"  #'ignore)
>    (make-process :name "echo" :command '("echo")
>     :sentinel (lambda (_p _e) (run-with-timer 0 nil #'diary-mail-entries))))

Any chance you have an example of the problem that doesn't require 
SMTP/Mail/Gnus to be configured in Emacs?




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

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


Received: (at 49682) by debbugs.gnu.org; 24 Jul 2021 10:46:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 24 06:46:34 2021
Received: from localhost ([127.0.0.1]:45247 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m7FAw-0007fj-12
	for submit <at> debbugs.gnu.org; Sat, 24 Jul 2021 06:46:34 -0400
Received: from vr0.sivalik.com ([104.238.130.12]:40874 helo=smtp.sivalik.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rajeev.jnk@HIDDEN>) id 1m7FAs-0007fT-VF
 for 49682 <at> debbugs.gnu.org; Sat, 24 Jul 2021 06:46:32 -0400
Received: from hp (pool-96-242-220-29.nwrknj.fios.verizon.net [96.242.220.29])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest
 SHA256) (No client certificate requested)
 (Authenticated sender: rajeev@HIDDEN)
 by smtp.sivalik.com (Postfix) with ESMTPSA id 52F1361BC2;
 Sat, 24 Jul 2021 06:46:25 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=sivalik.com; s=svlk;
 t=1627123585; bh=PosIIIMpFshBetXxWrMrPuq/a73YdRhdJ9NTWgnWwEo=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From;
 b=lG1TUa/+zs4vDmJQhF689ahN63G4/3zLQi7L9jx9nnxg7e84jKHwDkkkRYDGtdXda
 TdNXfd80tE857RSeB8Amh1RXt6flr7ExwZexfwP2r41QCm8oa7QouFUyM5PCFDqVLq
 UHk9qM4vOF0YTeqfpKJBF85ed1QPj8Ez3p1oLGtc=
X-No-Archive: yes
From: Rajeev N <rajeev.jnk@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#49682: 27.2.50; accept-process-output within
 accept-process-output hangs emacs
References: <87mtqfzpbl.fsf@HIDDEN> <87k0ljpulj.fsf@HIDDEN>
 <87czrbve2s.fsf@HIDDEN> <87sg07od34.fsf@HIDDEN>
 <874kclkls1.fsf@HIDDEN> <87v950gg5a.fsf@HIDDEN>
Date: Sat, 24 Jul 2021 06:46:25 -0400
In-Reply-To: <87v950gg5a.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Sat,
 24 Jul 2021 12:28:17 +0200")
Message-ID: <8735s4at1a.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Content-Disposition: inline
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 49682
Cc: 49682 <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: -1.0 (-)

Thank for checking.  It always hangs for me in the 1st or 2nd try.  Here is what I get when I send a usr2 signal to emacs process.

Debugger entered--Lisp error: (quit)
  accept-process-output(#<process smtpmail> 0.05)
  network-stream-get-response(#<process smtpmail> 1 "^[0-9]+ .*\15\n")
  network-stream-open-starttls("smtpmail" #<buffer *trace of SMTP session to smtp.gmail.com*> "smtp.gmail.com" 587 (:type starttls :return-list t :warn-unless-encrypted nil :capability-command "EHLO hp\15\n" :end-of-command "^[0-9]+ .*\15\n" :success "^2.*\n" :always-query-capabilities t :starttls-function #f(compiled-function (capabilities) #<bytecode 0x1565a5a06db9>) :client-certificate t :use-starttls-if-possible t))
  open-network-stream("smtpmail" #<buffer *trace of SMTP session to smtp.gmail.com*> "smtp.gmail.com" 587 :type starttls :return-list t :warn-unless-encrypted nil :capability-command "EHLO hp\15\n" :end-of-command "^[0-9]+ .*\15\n" :success "^2.*\n" :always-query-capabilities t :starttls-function #f(compiled-function (capabilities) #<bytecode 0x1565a5a06db9>) :client-certificate t :use-starttls-if-possible t)
  smtpmail-via-smtp(("rajeev.jnk@HIDDEN") #<buffer  smtpmail temp>)
  smtpmail-send-it()
  message-smtpmail-send-it()
  message-multi-smtp-send-mail()
  gnus-agent-send-mail()
  message--send-mail-maybe-partially()
  message-send-mail(nil)
  message-send-via-mail(nil)
  message-send(nil)
  message-send-and-exit(nil)
  funcall-interactively(message-send-and-exit nil)
  call-interactively(message-send-and-exit)
  diary-mail-entries()
  apply(diary-mail-entries nil)
  timer-event-handler([t 24827 60854 498512 nil diary-mail-entries nil nil 704000])




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

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


Received: (at 49682) by debbugs.gnu.org; 24 Jul 2021 10:28:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 24 06:28:27 2021
Received: from localhost ([127.0.0.1]:45216 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m7EtO-0007AY-RT
	for submit <at> debbugs.gnu.org; Sat, 24 Jul 2021 06:28:27 -0400
Received: from quimby.gnus.org ([95.216.78.240]:60506)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1m7EtN-0007AL-TL
 for 49682 <at> debbugs.gnu.org; Sat, 24 Jul 2021 06:28:26 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=98PtsM9PNvJ3tfy18I7HahnP6lxeCVZuW1jJwj+bAR0=; b=XPt5+SA6bO5zjOoFE8d1Jo8ayu
 mCyPeYehFviZv3dxhV3mPvpZyzVHbsjyh6vSGmh+E6jgXMkc/lSvP5pzGX6zdLes5keV/JzFLZWEn
 ib1rXJ0Y5olKGclObPsSFTGgxDLeCi4Rj5/Z33zrd4CeE3IcsjE6bYP2S6d4noWGJkMo=;
Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1m7EtF-0004FA-R3; Sat, 24 Jul 2021 12:28:20 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Rajeev N <rajeev.jnk@HIDDEN>
Subject: Re: bug#49682: 27.2.50; accept-process-output within
 accept-process-output hangs emacs
References: <87mtqfzpbl.fsf@HIDDEN> <87k0ljpulj.fsf@HIDDEN>
 <87czrbve2s.fsf@HIDDEN> <87sg07od34.fsf@HIDDEN>
 <874kclkls1.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEX41p3otofWmnCp
 aVNKLyb///85U+krAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+UHGAoJDHgz8UUAAAG+SURBVDjLbZPb
 leQgDETBk4CENwAjOoA2cgLbkH9MWxL4MbNDf7QPl1LxKIUwB4VvI15fRN/gE8Qn4CeIvwKQhS7E
 fJUkgGtdvACbgsMpYU5zhZRE27YQnwrx/0UxStry6cHJwZdq762CMIqwCRwsNo8BEfEcE/QxmuaT
 SDGno5+kxm3MOwhzFlxlCkQNXIrePjG7w09gkmigOHi1m7wj/w42caAO1v6oNb0dfD3A3+n9H2jZ
 wfCITxCt0gRhPZ6KdIOnP3G+AZ7h9GnJBBNQvjUfTtU2pf7A/tTu07YYdW53CSsvmyQ//l5ZtJZq
 pTisVLIWu/amutayFzWwhUJFHDQ8LyxyKQYyAFa89Gh6qEorMhQprPngT2na8VP5lPoa5rQmxZd5
 9KppTyg1tksStVrmYF7tPdYyDph2ThmJAcChcbvmYnFeaPF52EsOI1YABPsUKUqWVxMakUZKcCGW
 VogiQB4gOUCMI0PE6U/fzrAPABXOyXnt7xuMUJ7dsNNoKGRXpiKEYl1yNhRAzhO8cCmdpjuAn4k9
 wniSOmpNIBmS0Sbt6kEHArCMMLgiXkB45qS9z3b2fF1AdR+15B+Mln+kRFSe+QAAACV0RVh0ZGF0
 ZTpjcmVhdGUAMjAyMS0wNy0yNFQxMDowOToxMiswMDowMGuojjIAAAAldEVYdGRhdGU6bW9kaWZ5
 ADIwMjEtMDctMjRUMTA6MDk6MTIrMDA6MDAa9TaOAAAAAElFTkSuQmCC
X-Now-Playing: Heidi Berry's _Heidi Berry_: "Follow"
Date: Sat, 24 Jul 2021 12:28:17 +0200
In-Reply-To: <874kclkls1.fsf@HIDDEN> (Rajeev N.'s message of "Fri, 23
 Jul 2021 13:00:46 -0400")
Message-ID: <87v950gg5a.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Rajeev N <rajeev.jnk@HIDDEN> writes: > [Quoted text
 removed
 due to X-No-Archive] I've tried it a bunch of times, but it never hangs for
 me. It does message this, though: 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 49682
Cc: 49682 <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: -3.3 (---)

Rajeev N <rajeev.jnk@HIDDEN> writes:

> [Quoted text removed due to X-No-Archive]

I've tried it a bunch of times, but it never hangs for me.  It does
message this, though:

Sending via mail...
Blocking call to accept-process-output with quit inhibited!! [4 times]
Sending email  
Blocking call to accept-process-output with quit inhibited!!
Sending email done
Blocking call to accept-process-output with quit inhibited!!


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

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


Received: (at 49682) by debbugs.gnu.org; 23 Jul 2021 18:31:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 23 14:31:08 2021
Received: from localhost ([127.0.0.1]:44615 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m6zwx-0003YH-Ck
	for submit <at> debbugs.gnu.org; Fri, 23 Jul 2021 14:31:08 -0400
Received: from mail-wr1-f49.google.com ([209.85.221.49]:42835)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raaahh@HIDDEN>) id 1m6zws-0003OW-AL
 for 49682 <at> debbugs.gnu.org; Fri, 23 Jul 2021 14:31:05 -0400
Received: by mail-wr1-f49.google.com with SMTP id j2so3285005wrx.9
 for <49682 <at> debbugs.gnu.org>; Fri, 23 Jul 2021 11:31:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=sender:subject:to:cc:references:from:message-id:date:user-agent
 :mime-version:in-reply-to:content-language:content-transfer-encoding;
 bh=fiYk1D88s1PPkr8XIjCGNqMWmtkGyfE333zOrkr6S0Q=;
 b=pGZTSCRTj/jTqzMfenjM3TZ6d+dqZgLLW2rR73oYbb+RQCPUByl02Qubuttyj1dC69
 AXwYWNwK4GYhpx4Za38ZMMscc0jmgKW/1BSHEbsdSoyIWtq2P/og9X9t9KrwsFVZVCFU
 GLJO/ZKoPj4ahbpVI6S4hshI8bk0Pj+q+hIewNJWkCYph1+7v5btUPSziUolxy1Yqagb
 C9Xnefwx6SYWkL6oWC29tTSkqnMw2OqlE/PX+881oPatTU87BSaHl8FuT5HKduhC3E2N
 psHkgTe4CloLczqaKSrZvnbxVdw12s3vsx8AGLrwWpiSjp2d8R6qQe+GDNQIz0N91E/y
 63Dg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:sender:subject:to:cc:references:from:message-id
 :date:user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=fiYk1D88s1PPkr8XIjCGNqMWmtkGyfE333zOrkr6S0Q=;
 b=UNhJqXWnMMYqA7YY5QHjMhZhq0KLjkfeWmZdxqKXe3AiIqQtkUaTWhXs18SsIxU8gH
 mCthtbBFVC9Nfj43Q8PhX0X3zp17gWBc887VS9OFnISBPZsi26EY2kXsZarzzr8vX4es
 Ug4nvDebXYQgoL/y1IeWF70B1nZL0s/u7YJrKCdqbzWMP37YPrQROlNCMW7oaYrNwgNf
 +xdGUTcxb8A9menE9uEfkn9A6gFh0uyL18LjQrZZsIjaIRM2wA46Oi59FHGm1vui81ZJ
 raUz7ATwxHQbbK33iSqphT/gsSVLKjlaPyw37LQGrQWLIlrrg+XRt7igV+qB7akOY1VO
 fl2A==
X-Gm-Message-State: AOAM5316PCWnScSNYNfm/jH444kP/FLqE3OjniQs9nV4XuuRq9b0RsRR
 68q+XXWaA+t0WaflvZ+aUoQjjRJxixU=
X-Google-Smtp-Source: ABdhPJx51DShnuOSqfUmSq0IGpbUvR0Ydtu4tgXd0Q6NQQyX/xzwI08urEkpfq9Q9gMPahAnibB8aQ==
X-Received: by 2002:adf:fb05:: with SMTP id c5mr6646820wrr.55.1627065056447;
 Fri, 23 Jul 2021 11:30:56 -0700 (PDT)
Received: from [192.168.0.6] ([46.251.119.176])
 by smtp.googlemail.com with ESMTPSA id m32sm5423758wms.23.2021.07.23.11.30.55
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Fri, 23 Jul 2021 11:30:55 -0700 (PDT)
Subject: Re: bug#49682: 27.2.50; accept-process-output within
 accept-process-output hangs emacs
To: Eli Zaretskii <eliz@HIDDEN>, Lars Ingebrigtsen <larsi@HIDDEN>
References: <87mtqfzpbl.fsf@HIDDEN> <83mtqf4gab.fsf@HIDDEN>
 <87k0ljnyjj.fsf@HIDDEN> <83fsw6528f.fsf@HIDDEN>
From: Dmitry Gutov <dgutov@HIDDEN>
Message-ID: <f65a0301-d52b-c5a8-408f-cf65000424e7@HIDDEN>
Date: Fri, 23 Jul 2021 21:30:54 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <83fsw6528f.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.4 (/)
X-Debbugs-Envelope-To: 49682
Cc: rajeev.jnk@HIDDEN, 49682 <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: -0.6 (/)

On 22.07.2021 08:47, Eli Zaretskii wrote:
>> From: Lars Ingebrigtsen <larsi@HIDDEN>
>> Cc: Rajeev N <rajeev.jnk@HIDDEN>,  49682 <at> debbugs.gnu.org
>> Date: Wed, 21 Jul 2021 23:32:16 +0200
>>
>> Eli Zaretskii <eliz@HIDDEN> writes:
>>
>>>> (let () (run-with-timer 0 nil #'url-retrieve "https://www.gnu.org/"
>>>> #'ignore) (diary-mail-entries))
>>>
>>> Don't do that, because it will hurt.  Mixing timers with subprocesses
>>> is asking for trouble.
>>
>> That's not my experience, really -- url-queue.el is based around firing
>> off `url-retrieve' from timers, and I've never seen any problems.
> 
> Sheer luck, IMO.
> 
> I don't really understand the need to run subprocesses from timers,
> since subprocess support already includes async operation and built-in
> time-outs.

This is a fairly common configuration. Consider a minimal IDE setup:

1. Code completion popup which is shown when Emacs is idle for XX ms.
2. Eldoc hints which are shown at YY ms after the user stops typing.

When both are implemented using HTTP calls, you get "timers with 
subprocesses".

In fact, I have a configuration like that (based on url.el) and get an 
occasional strong freeze (one that requires 3 C-g's to get out of) about 
once every 1-2 weeks. Haven't found a solid repro so far, so if the 
reporter has something stable-ish, I'll be following this report intently.




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

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


Received: (at 49682) by debbugs.gnu.org; 23 Jul 2021 17:00:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 23 13:00:55 2021
Received: from localhost ([127.0.0.1]:44481 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m6yXf-0000KS-M0
	for submit <at> debbugs.gnu.org; Fri, 23 Jul 2021 13:00:55 -0400
Received: from vr0.sivalik.com ([104.238.130.12]:57378 helo=smtp.sivalik.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rajeev.jnk@HIDDEN>) id 1m6yXc-0000KC-5t
 for 49682 <at> debbugs.gnu.org; Fri, 23 Jul 2021 13:00:54 -0400
Received: from hp (pool-96-242-220-52.nwrknj.fios.verizon.net [96.242.220.52])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest
 SHA256) (No client certificate requested)
 (Authenticated sender: rajeev@HIDDEN)
 by smtp.sivalik.com (Postfix) with ESMTPSA id 96B665FC08;
 Fri, 23 Jul 2021 13:00:46 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=sivalik.com; s=svlk;
 t=1627059646; bh=OBErbFBD9Sf9bXE/nDmm68W7+Zztgk2OBpqXX5jXhHE=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From;
 b=kdQCvVX12dgK1ZV4lrPwBUdbJcYX1zz/E6tD5PXc6l8vG6xwSgS4ZuIRQ15ZMuNPH
 752If9X57P5LFLpQxPLXfk6ZoME/BmoTIyyaDVfhTKHv1BqkNXtDAn72Anu8quMjFM
 n4Kh/1Dvc0z4KXJBv0IgqfKqS204I2P4xopn3ZMA=
X-No-Archive: yes
From: Rajeev N <rajeev.jnk@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#49682: 27.2.50; accept-process-output within
 accept-process-output hangs emacs
References: <87mtqfzpbl.fsf@HIDDEN> <87k0ljpulj.fsf@HIDDEN>
 <87czrbve2s.fsf@HIDDEN> <87sg07od34.fsf@HIDDEN>
Date: Fri, 23 Jul 2021 13:00:46 -0400
In-Reply-To: <87sg07od34.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Wed,
 21 Jul 2021 18:18:07 +0200")
Message-ID: <874kclkls1.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Content-Disposition: inline
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 49682
Cc: 49682 <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: -1.0 (-)

Hi Lars,

Can you please check the following recipe, with smtpmail package without queuing, it hangs emacs for me, you may have to try couple of times.

(let ()
  (run-with-timer 0 nil #'url-retrieve "https://www.gnu.org/" #'ignore)
  (make-process :name "echo" :command '("echo")
   :sentinel (lambda (_p _e) (run-with-timer 0 nil #'diary-mail-entries))))

Thanks.




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

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


Received: (at 49682) by debbugs.gnu.org; 22 Jul 2021 05:47:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 22 01:47:57 2021
Received: from localhost ([127.0.0.1]:39182 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m6RYr-00055R-Jc
	for submit <at> debbugs.gnu.org; Thu, 22 Jul 2021 01:47:57 -0400
Received: from eggs.gnu.org ([209.51.188.92]:39140)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1m6RYm-00055B-UR
 for 49682 <at> debbugs.gnu.org; Thu, 22 Jul 2021 01:47:56 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:42876)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1m6RYh-0005WI-9D; Thu, 22 Jul 2021 01:47:47 -0400
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2763
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1m6RYg-0001Ay-Tl; Thu, 22 Jul 2021 01:47:47 -0400
Date: Thu, 22 Jul 2021 08:47:28 +0300
Message-Id: <83fsw6528f.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
In-Reply-To: <87k0ljnyjj.fsf@HIDDEN> (message from Lars Ingebrigtsen on Wed, 
 21 Jul 2021 23:32:16 +0200)
Subject: Re: bug#49682: 27.2.50; accept-process-output within
 accept-process-output hangs emacs
References: <87mtqfzpbl.fsf@HIDDEN> <83mtqf4gab.fsf@HIDDEN>
 <87k0ljnyjj.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 49682
Cc: rajeev.jnk@HIDDEN, 49682 <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: -3.3 (---)

> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Cc: Rajeev N <rajeev.jnk@HIDDEN>,  49682 <at> debbugs.gnu.org
> Date: Wed, 21 Jul 2021 23:32:16 +0200
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> >> (let () (run-with-timer 0 nil #'url-retrieve "https://www.gnu.org/"
> >> #'ignore) (diary-mail-entries))
> >
> > Don't do that, because it will hurt.  Mixing timers with subprocesses
> > is asking for trouble.
> 
> That's not my experience, really -- url-queue.el is based around firing
> off `url-retrieve' from timers, and I've never seen any problems.

Sheer luck, IMO.

I don't really understand the need to run subprocesses from timers,
since subprocess support already includes async operation and built-in
time-outs.




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

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


Received: (at 49682) by debbugs.gnu.org; 21 Jul 2021 21:55:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 21 17:55:17 2021
Received: from localhost ([127.0.0.1]:38847 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m6KBR-0003nq-B7
	for submit <at> debbugs.gnu.org; Wed, 21 Jul 2021 17:55:17 -0400
Received: from vr0.sivalik.com ([104.238.130.12]:41940 helo=smtp.sivalik.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rajeev.jnk@HIDDEN>) id 1m6KBQ-0003nb-08
 for 49682 <at> debbugs.gnu.org; Wed, 21 Jul 2021 17:55:16 -0400
Received: from hp (pool-96-242-220-52.nwrknj.fios.verizon.net [96.242.220.52])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest
 SHA256) (No client certificate requested)
 (Authenticated sender: rajeev@HIDDEN)
 by smtp.sivalik.com (Postfix) with ESMTPSA id 9E4495FD1B;
 Wed, 21 Jul 2021 17:55:10 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=sivalik.com; s=svlk;
 t=1626904510; bh=WXpwlSHkkQXybjJxkRFiq5l0wxKdCiEpv+iMzAYp3DY=;
 h=From:To:Cc:Subject:References:Date:From;
 b=WaDqm4qAdz4tQZMhkFx4uQSGRXcxQWCYEQ0C+7r37tHewn5vOxLfDCAFLVBSgF4je
 Q34A30RCFLrAvmvPm7e2zFXdHOOssWK9nAPZuX/Ni/+yKiPHm3lKiR3hJAhoPHWDwj
 mT9lXy9pkRUslrRsloxm9TSpCs6sx1lxRD060jt8=
X-No-Archive: yes
From: Rajeev N <rajeev.jnk@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#49682: 27.2.50; accept-process-output within
 accept-process-output hangs emacs
References: <87mtqfzpbl.fsf@HIDDEN> <83mtqf4gab.fsf@HIDDEN>
 <87k0ljnyjj.fsf@HIDDEN>
Date: Wed, 21 Jul 2021 17:53:00 -0400
Message-ID: <87im13xrk3.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/html
Content-Disposition: inline
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: 49682
Cc: Eli Zaretskii <eliz@HIDDEN>, 49682 <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: -0.3 (/)

<p>
There is a bug but I am unable to pin-point where.  All I could narrow it down to is that smtpmail open-network-stream hangs when it is invoked from within accept-process-output with timeout of 1 secs of url-retrieve.
</p>

<p>
I found a workaround for my needs by using smtpmail-queue-mail.
</p>

<p>
On Wed, 21 Jul 2021 at 11:32 pm +0200, Lars Ingebrigtsen wrote:
</p>

<blockquote>
<p>
Eli Zaretskii &lt;eliz@HIDDEN&gt; writes:
</p>

<p>
&gt;&gt; (let () (run-with-timer 0 nil #'url-retrieve "<a href="https://www.gnu.org/">https://www.gnu.org/</a>"
&gt;&gt; #'ignore) (diary-mail-entries))
&gt;
&gt; Don't do that, because it will hurt.  Mixing timers with subprocesses
&gt; is asking for trouble.
</p>

<p>
That's not my experience, really &#x2013; url-queue.el is based around firing
off `url-retrieve' from timers, and I've never seen any problems.
</p>
</blockquote>




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

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


Received: (at 49682) by debbugs.gnu.org; 21 Jul 2021 21:32:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 21 17:32:29 2021
Received: from localhost ([127.0.0.1]:38804 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m6JpN-0003Ei-Gx
	for submit <at> debbugs.gnu.org; Wed, 21 Jul 2021 17:32:29 -0400
Received: from quimby.gnus.org ([95.216.78.240]:47112)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1m6JpL-0003ET-HA
 for 49682 <at> debbugs.gnu.org; Wed, 21 Jul 2021 17:32:28 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=HOa9ImUwV5oRpwW6efPz+IBTz1K17+TRw49RqQKyK7M=; b=WpYID/lgjqz3Mbs21us40EhQ8s
 NH8I2QB3gCRYbc/wyx9IIQAglOTIXAFE8Gp4ARIV6fTcqAYKqhBbX+ux/myCVSbZ6Anmn5pKGjVxe
 6imZA99v5QznNs2Dy0HEe8V8+4jxRJfBEkWlNfVdasEPKFcAjrIszIgB+2vCQIY3NsGk=;
Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1m6JpB-0001yh-Et; Wed, 21 Jul 2021 23:32:20 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#49682: 27.2.50; accept-process-output within
 accept-process-output hangs emacs
References: <87mtqfzpbl.fsf@HIDDEN> <83mtqf4gab.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEX9/f3Qz82joJ9g
 XVzBvr1CPj2Cfn0aFxb////y4WnOAAAAAWJLR0QIht6VegAAAAd0SU1FB+UHFRUfBfhnwKYAAAGM
 SURBVDjLddPBTsMwDADQtuwD2mnaeThhZ1RjdmVZxJ1FVu5D8ANTld/HyaBN1+BDD36y47ppVWXR
 VuWod+U0Nl21WaZbtXvAo3rTVT2D5niu3l8eULvn5u4o8/G4fpS6p+UIbd3Vpl7t2uJ0nTUgkb9D
 F2cwgMwceCrquq6t6rWKefJ+hNoehTYp78iHCcBam/LIDimr0ADaIAkg9sRZRQSSNIAChTMAJf3B
 bqzd9yOstMwfG8kMxy57jwiGecBYCfsZ2FNIMcRHW4Dgc2hG4DCraKRzAhl4VrG6yLTpBIdIOXxf
 bsA9xZoJ8LJXQRbuwBHn8PoqgIN3qpflhrcR4kYGcuQQ5IgJ6hv0n+6yhNOAGtJMCyBZuA9FkC/i
 56DBnK4Eh1unWYUW2B+YF2C3V+rpU923Mnbr+NybtJiwmyq02V75DAWwRhbyu+McwJoQZOfOF4HC
 sAAQGA7BfRWB5MqVQA7p4ZDD6hcC+7SUGdyuz8CLVn8XLtxXvP8HqgRpqvg3yc8Wr9wIi/gB4J+5
 pIBYQnkAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjEtMDctMjFUMjE6MzE6MDUrMDA6MDAzPrefAAAA
 JXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA3LTIxVDIxOjMxOjA1KzAwOjAwQmMPIwAAAABJRU5ErkJg
 gg==
X-Now-Playing: Severed Heads's _Clean_: "Violins And Moonlight"
Date: Wed, 21 Jul 2021 23:32:16 +0200
In-Reply-To: <83mtqf4gab.fsf@HIDDEN> (Eli Zaretskii's message of "Wed, 21 Jul
 2021 22:29:16 +0300")
Message-ID: <87k0ljnyjj.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Eli Zaretskii <eliz@HIDDEN> writes: >> (let ()
 (run-with-timer
 0 nil #'url-retrieve "https://www.gnu.org/" >> #'ignore) (diary-mail-entries))
 > > Don't do that, because it will hurt. Mixing timers with subprocesses
 > is asking for troub [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 49682
Cc: Rajeev N <rajeev.jnk@HIDDEN>, 49682 <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: -3.3 (---)

Eli Zaretskii <eliz@HIDDEN> writes:

>> (let () (run-with-timer 0 nil #'url-retrieve "https://www.gnu.org/"
>> #'ignore) (diary-mail-entries))
>
> Don't do that, because it will hurt.  Mixing timers with subprocesses
> is asking for trouble.

That's not my experience, really -- url-queue.el is based around firing
off `url-retrieve' from timers, and I've never seen any problems.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

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


Received: (at 49682) by debbugs.gnu.org; 21 Jul 2021 19:29:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 21 15:29:27 2021
Received: from localhost ([127.0.0.1]:38648 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m6HuJ-0000Dm-6b
	for submit <at> debbugs.gnu.org; Wed, 21 Jul 2021 15:29:27 -0400
Received: from eggs.gnu.org ([209.51.188.92]:34104)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1m6HuH-0000Da-Vo
 for 49682 <at> debbugs.gnu.org; Wed, 21 Jul 2021 15:29:26 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:60246)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1m6HuC-0001ai-Fh; Wed, 21 Jul 2021 15:29:20 -0400
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4825
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1m6HuC-0007uh-3t; Wed, 21 Jul 2021 15:29:20 -0400
Date: Wed, 21 Jul 2021 22:29:16 +0300
Message-Id: <83mtqf4gab.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Rajeev N <rajeev.jnk@HIDDEN>
In-Reply-To: <87mtqfzpbl.fsf@HIDDEN> (bug-gnu-emacs@HIDDEN)
Subject: Re: bug#49682: 27.2.50;
 accept-process-output within accept-process-output hangs emacs
References: <87mtqfzpbl.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 49682
Cc: 49682 <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: -3.3 (---)

> Date: Wed, 21 Jul 2021 10:58:22 -0400
> From:  Rajeev N via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
> 
> (let () (run-with-timer 0 nil #'url-retrieve "https://www.gnu.org/" #'ignore) (diary-mail-entries))

Don't do that, because it will hurt.  Mixing timers with subprocesses
is asking for trouble.




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

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


Received: (at 49682) by debbugs.gnu.org; 21 Jul 2021 16:40:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 21 12:40:25 2021
Received: from localhost ([127.0.0.1]:38462 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m6FGj-0004ER-CH
	for submit <at> debbugs.gnu.org; Wed, 21 Jul 2021 12:40:25 -0400
Received: from quimby.gnus.org ([95.216.78.240]:44680)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1m6FGe-0004EB-R9
 for 49682 <at> debbugs.gnu.org; Wed, 21 Jul 2021 12:40:24 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=5CrbRxuNlfaG8N9UtrZTm8XfIJlQuvpJFczMa3WL6lE=; b=JpBDY3GKUeK/Ba2pC1bPtU/Oae
 e7lkRqvQB0ND1kow2sVa9q/weH+EMqdNKBZMgzwVyavRADLd/H5T/6Hc+0N4wRqlDe8nenkoVYkrC
 hBQgwDyIoB9hn+UuAM2jIy8YRkoFWZQbaz0bXzfX9ldvweiRUN7WK5tTuvsznJpzHnf8=;
Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1m6FGW-0008MT-HW; Wed, 21 Jul 2021 18:40:14 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Rajeev N <rajeev.jnk@HIDDEN>
Subject: Re: bug#49682: 27.2.50; accept-process-output within
 accept-process-output hangs emacs
References: <87mtqfzpbl.fsf@HIDDEN> <87k0ljpulj.fsf@HIDDEN>
 <87czrbve2s.fsf@HIDDEN> <87sg07od34.fsf@HIDDEN>
 <87tukntz2m.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEXm2+Gzo6aRfYGI
 dHVrWVr///9IGotcAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+UHFRAOG1d6HD4AAAGlSURBVDjLfVNr
 uqsgDExsF0DQBQi4AAUWUIH9r+kmPM7xtPbyQ/sxTiaZSQGQCC6H5Fjr4BZg6Bug4b8H1Rfg+Q3w
 nbi+V8pNfnonPuNxX2mLuRKJ/lKwlFRfydl6MeCpZFFfio/xJb2fQ6KUs/K8t+LEWToFt8J9PqQ1
 tAowpFenLCKxSAF0O+AcOoBeuA1YGPCpD/pwQYAdJoPLCzAOjXmzu7gtXj5PBnIHdKY0UpleMPnU
 tV2es3xNCglZI4w5NhuFocgwYBiIw/RQjlGK+FcMXcOSpSou03BXJZjhFs8r90iwrJzOFtZfAJUS
 WxcFU4puMKhegjbAV5O3o98aAS6KW+Yop5yv2WNVl9Qxmz/3zDHv2bZa3JJ5W1cmSKv8vCZeJyD8
 LCKfgvqs3Ua+27Y+XCWrqzbto+bMEeP5AyjdCOy2dV6XX+DR6LFYpzeObCiqtvyPkoKfj3mv+1KB
 JjgXu2VtxaZn2zeqEuhsOoHMLC62Bqj9M4Nms12oEa2d0XaIU0Ibvf/x4GIGHjoUcwPAVg7SazPh
 06N6pRTQHbV1BbfnH2z9MNJRFfZ8AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTA3LTIxVDE2OjE0
 OjI3KzAwOjAwWdPwzQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wNy0yMVQxNjoxNDoyNyswMDow
 MCiOSHEAAAAASUVORK5CYII=
X-Now-Playing: Jenny Hval's _The Practice of Love_: "Six Red Cannas (feat
 Vivian Wang, Felicia Atkinson and Laura Jean)"
Date: Wed, 21 Jul 2021 18:40:12 +0200
In-Reply-To: <87tukntz2m.fsf@HIDDEN> (Rajeev N.'s message of "Wed, 21
 Jul 2021 12:24:17 -0400")
Message-ID: <87o8avoc2b.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: (Please keep the debbugs address in the CCs -- otherwise the
 mail won't reach the bug tracker.) Rajeev N <rajeev.jnk@HIDDEN> writes:
 > Can you please confirm that it does not hang for you even when > smtpmail
 elisp library is being used to send mail. 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 49682
Cc: 49682 <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: -3.3 (---)

(Please keep the debbugs address in the CCs -- otherwise the mail won't
reach the bug tracker.)

Rajeev N <rajeev.jnk@HIDDEN> writes:

> Can you please confirm that it does not hang for you even when
> smtpmail elisp library is being used to send mail.

Yes, I use smtpmail.





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

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


Received: (at 49682) by debbugs.gnu.org; 21 Jul 2021 16:18:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 21 12:18:17 2021
Received: from localhost ([127.0.0.1]:38440 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m6EvJ-0003eY-2k
	for submit <at> debbugs.gnu.org; Wed, 21 Jul 2021 12:18:17 -0400
Received: from quimby.gnus.org ([95.216.78.240]:44484)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1m6EvH-0003eK-Qi
 for 49682 <at> debbugs.gnu.org; Wed, 21 Jul 2021 12:18:16 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=RSGD6Uye/kIi4gGsHWlvSI0JXNeGIapYXuGBYtWdDSU=; b=edTHWPYc6vh3FjQLm4tlcXlwFQ
 gNrsi/WtwOPbTfbjib+cUZpQeTY3/ZNjHNLqS+2WH3IAvYT/h0ovhA96qdL1vLSIfAf+Z0nEPZlCL
 QANJioMRz0S+u94J6I8iQucJSbWhYGC01nzeET5bwjg9aJDxHTue57Wn9XwRiUC5tmfo=;
Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1m6Ev9-0008Cl-MK; Wed, 21 Jul 2021 18:18:10 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Rajeev N <rajeev.jnk@HIDDEN>
Subject: Re: bug#49682: 27.2.50; accept-process-output within
 accept-process-output hangs emacs
References: <87mtqfzpbl.fsf@HIDDEN> <87k0ljpulj.fsf@HIDDEN>
 <87czrbve2s.fsf@HIDDEN>
X-Now-Playing: Jenny Hval's _The Practice of Love_: "High Alice"
Date: Wed, 21 Jul 2021 18:18:07 +0200
In-Reply-To: <87czrbve2s.fsf@HIDDEN> (Rajeev N.'s message of "Wed, 21
 Jul 2021 12:14:51 -0400")
Message-ID: <87sg07od34.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Rajeev N <rajeev.jnk@HIDDEN> writes: > [Quoted text
 removed due to X-No-Archive] Thanks for checking. 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 49682
Cc: 49682 <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: -3.3 (---)

Rajeev N <rajeev.jnk@HIDDEN> writes:

> [Quoted text removed due to X-No-Archive]

Thanks for checking.

The test case is:

(let () (run-with-timer 0 nil #'url-retrieve "https://www.gnu.org/" #'ignore) (diary-mail-entries))

This does not hang for me on the current trunk, unfortunately, but
perhaps there's a timing issue involved?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

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


Received: (at 49682) by debbugs.gnu.org; 21 Jul 2021 16:15:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 21 12:15:00 2021
Received: from localhost ([127.0.0.1]:38429 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m6Es8-0003YO-C5
	for submit <at> debbugs.gnu.org; Wed, 21 Jul 2021 12:15:00 -0400
Received: from vr0.sivalik.com ([104.238.130.12]:39550 helo=smtp.sivalik.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rajeev.jnk@HIDDEN>) id 1m6Es5-0003YB-Ty
 for 49682 <at> debbugs.gnu.org; Wed, 21 Jul 2021 12:14:58 -0400
Received: from localhost (pool-96-242-220-52.nwrknj.fios.verizon.net
 [96.242.220.52])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest
 SHA256) (No client certificate requested)
 (Authenticated sender: rajeev@HIDDEN)
 by smtp.sivalik.com (Postfix) with ESMTPSA id 4B2A95FB75;
 Wed, 21 Jul 2021 12:14:52 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=sivalik.com; s=svlk;
 t=1626884092; bh=gt53Ky4cJIjOwtJ50i7siVwDMydi/cqOCU9ZxTWRsXY=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From;
 b=rx42qM3eIqrmgEct12dOCnZr0JFxblznBvKQuPsk2Qe/qIJiYfank0DSdX1aNMoa5
 DuWzvJMfT26QbO/RTCwqQvArFaYjG9zhMgrR/sa3M7Xnr0X+mnfW8i0bvUnUrCvdHL
 6MnKWFfM1rZiygR/DGc6LAJkzCc5buiN5JrPVvfY=
X-No-Archive: yes
From: Rajeev N <rajeev.jnk@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#49682: 27.2.50; accept-process-output within
 accept-process-output hangs emacs
References: <87mtqfzpbl.fsf@HIDDEN> <87k0ljpulj.fsf@HIDDEN>
Date: Wed, 21 Jul 2021 12:14:51 -0400
In-Reply-To: <87k0ljpulj.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Wed,
 21 Jul 2021 17:14:32 +0200")
Message-ID: <87czrbve2s.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/html
Content-Disposition: inline
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: 49682
Cc: 49682 <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: -0.3 (/)

<p>
Current master has the same bug.
</p>

<p>
On Wed, 21 Jul 2021 at  5:14 pm +0200, Lars Ingebrigtsen wrote:
</p>

<blockquote>
<p>
Can you try the same recipe in the current development version of Emacs?
There's been some changes to try to guarantee forward progress when
there's several processes waiting for output.
</p>
</blockquote>




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

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


Received: (at 49682) by debbugs.gnu.org; 21 Jul 2021 15:14:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 21 11:14:44 2021
Received: from localhost ([127.0.0.1]:38305 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m6Dvo-0008E6-7Z
	for submit <at> debbugs.gnu.org; Wed, 21 Jul 2021 11:14:44 -0400
Received: from quimby.gnus.org ([95.216.78.240]:43888)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1m6Dvl-0008Dp-Gi
 for 49682 <at> debbugs.gnu.org; Wed, 21 Jul 2021 11:14:42 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=wxRy7D9OqslOGEQw92YlnCfHPxP97Zw6pEzzpbDctFA=; b=CLVNZvSH0hdH6pRUWKZ2Td73ac
 SF7/TqS0gbHqVbPyIo9REPrXpvcyl7wfwS25plW1Zv4qQu/Ie8rOqFXrNdlXdxOrXH4NnrdDQlFsS
 IKjXKTUtmSGQ0r/tzGY6RiL6iZpVcmqD4xyDxxx6xrsjo283mDYQt6wExWzIm4h5dptQ=;
Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1m6Dvc-0007kk-Iv; Wed, 21 Jul 2021 17:14:35 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: 49682 <at> debbugs.gnu.org
Subject: Re: bug#49682: 27.2.50; accept-process-output within
 accept-process-output hangs emacs
References: <87mtqfzpbl.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEWDfXKJg3Nwa2JH
 QTkDAwQuKiaYkIH///8sJ1V1AAAAAWJLR0QHFmGI6wAAAAd0SU1FB+UHFQ8NG2stq7AAAAGuSURB
 VDjLlZNBcoMwDEVtJtnLpnSNgeyTBrpusbwPYA7Q3v8QlWwgOG0W1QQy6KH/ZWMJsQ+1hU7ykjIy
 AkjyktLwG8i9VgJg5xEArM5idQiAZIPKLrtUKMntwD5NESVS4wWALoE7vUcWgCxbNOmi/Y3BET1a
 Kqi2Go2WQYEz4lR1OGbnTEbgGKgW13DzVFGqQbwQqE+4C1tqQ2/aLyXIYqvga6qpgrQEPsSMbQpc
 5XFaqxOgCnzXfwA0GvvS38Hm3Stv2wTYZSWXon9ZpQxL9YjX+HRePSwDPyBWi1i+ApIa/cXj4KMy
 /QXhiYDGoV1AKHTgo0fO2TEq1HwbCgKSt/2TGotbFfbTSR/aPeAHgejRsG9nmgAa7MOPu+L7x6s6
 hK4atA2OcY0MBm1y5+hcFejaKIIzY+OH76Ur+gDuGLaRP1GOrqOlgqhZwYYlG2r0FnalpxOKXNET
 sFeh/VlJ1rMAIngOwvckK7USwMUjVZzcm0YjjwPE2QFZ+87Ewy8rOrzlfUJBGykeAtYhTYdzN77i
 ScCTvBTZM6D/CdQmlVUPouGxSqPcQPYAMr5+AC/Blkl5u3qEAAAAJXRFWHRkYXRlOmNyZWF0ZQAy
 MDIxLTA3LTIxVDE1OjEzOjI3KzAwOjAwBsWHegAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wNy0y
 MVQxNToxMzoyNyswMDowMHeYP8YAAAAASUVORK5CYII=
X-Now-Playing: Coil's _The Restitution of Decayed Intelligence_: "The
 Restitution Of Decayed Intelligence 1"
Date: Wed, 21 Jul 2021 17:14:32 +0200
In-Reply-To: <87mtqfzpbl.fsf@HIDDEN> (Rajeev N. via's message of "Wed, 
 21 Jul 2021 10:58:22 -0400")
Message-ID: <87k0ljpulj.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Rajeev N via "Bug reports for GNU Emacs, the Swiss army knife
 of text editors" <bug-gnu-emacs@HIDDEN> writes: > [Quoted text removed due
 to X-No-Archive] Can you try the same recipe in the current development
 version
 of Emacs? There's been some changes to try to guarantee forward progress
 when there's several processes waiting for output. 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 49682
Cc: Rajeev N <rajeev.jnk@HIDDEN>
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: -3.3 (---)

Rajeev N via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs@HIDDEN> writes:

> [Quoted text removed due to X-No-Archive]

Can you try the same recipe in the current development version of Emacs?
There's been some changes to try to guarantee forward progress when
there's several processes waiting for output.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

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


Received: (at submit) by debbugs.gnu.org; 21 Jul 2021 14:58:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 21 10:58:36 2021
Received: from localhost ([127.0.0.1]:38267 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m6DgB-0005ac-Oq
	for submit <at> debbugs.gnu.org; Wed, 21 Jul 2021 10:58:36 -0400
Received: from lists.gnu.org ([209.51.188.17]:55916)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rajeev.jnk@HIDDEN>) id 1m6DgA-0005aU-F6
 for submit <at> debbugs.gnu.org; Wed, 21 Jul 2021 10:58:35 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:53852)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rajeev.jnk@HIDDEN>)
 id 1m6DgA-0008NT-5y
 for bug-gnu-emacs@HIDDEN; Wed, 21 Jul 2021 10:58:34 -0400
Received: from vr0.sivalik.com ([104.238.130.12]:51892 helo=smtp.sivalik.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rajeev.jnk@HIDDEN>)
 id 1m6Dg7-0001l2-US
 for bug-gnu-emacs@HIDDEN; Wed, 21 Jul 2021 10:58:33 -0400
Received: from localhost (pool-96-242-220-52.nwrknj.fios.verizon.net
 [96.242.220.52])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest
 SHA256) (No client certificate requested)
 (Authenticated sender: rajeev@HIDDEN)
 by smtp.sivalik.com (Postfix) with ESMTPSA id 3DF4B5FA82;
 Wed, 21 Jul 2021 10:58:23 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=sivalik.com; s=svlk;
 t=1626879503; bh=ke8DC15hhHkF8uELbmcT3YrOBmam8pR7vXqH70lg7Yo=;
 h=From:To:Subject:Date:From;
 b=J1f4BcDqCkXz0a+Mv1X4JLV1BnCdfexrhoo/mCJCpqelydUWVjgbErwwxZsqo2AEh
 Eo7UuU8KGI7XB5DElJHxaOds0EhqIgAZGXcbC2ImMTdHAQTSCk4ZDO3XAu6IpK0r1r
 pO65onihrHaR7w41uTyz/sOhyj51ucLCekUrIc8M=
X-No-Archive: yes
From: Rajeev N <rajeev.jnk@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 27.2.50; accept-process-output within accept-process-output hangs
 emacs
Date: Wed, 21 Jul 2021 10:58:22 -0400
Message-ID: <87mtqfzpbl.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Content-Disposition: inline
Received-SPF: pass client-ip=104.238.130.12;
 envelope-from=rajeev.jnk@HIDDEN; helo=smtp.sivalik.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
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: -2.4 (--)

(let () (run-with-timer 0 nil #'url-retrieve "https://www.gnu.org/" #'ignore) (diary-mail-entries))

 hangs emacs when smtpmail library is being used for sending mail.  My guess is accept-process-output in url library is called from within accept-process-output in smtpmail library.


In GNU Emacs 27.2.50 (build 5, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0)
 of 2021-07-14 built on hp
Repository revision: 7ac411ae2ce91572a2bdb8eaa1ee6ceccf162e35
Repository branch: emacs-27
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux 11 (bullseye)

Recent messages:
Running in foreground: git --no-pager difftool --exit-code --no-prompt -x diff -ub HEAD  -- workspace/src/el/mail.el
Done (status=1): git --no-pager difftool --exit-code --no-prompt -x diff -ub HEAD  -- workspace/src/el/mail.el
Running in foreground: git --no-pager cat-file blob 6b74e7f4b1948f1f9495b9c8d1e1a02d12daa090:workspace/src/el/mail.el .
Done (status=0): git --no-pager cat-file blob 6b74e7f4b1948f1f9495b9c8d1e1a02d12daa090:workspace/src/el/mail.el .
Finding changes in /home/rajeev/workspace/src/el/mail.el...done
Mark saved where search started
Mark set
next-line: End of buffer
Hiding all blocks...done
Mark activated

Configured using:
 'configure --with-mailutils --with-cairo
 --prefix=/home/rajeev/tmp/build/em/o/emacs-27'

Configured features:
XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY
INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT
LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS
LIBSYSTEMD JSON PDUMPER LCMS2 GMP

Important settings:
  value of $LC_TIME: en_GB.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  reveal-mode: t
  global-so-long-mode: t
  global-auto-revert-mode: t
  shell-dirtrack-mode: t
  midnight-mode: t
  display-time-mode: t
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  transient-mark-mode: t
  hs-minor-mode: t

Load-path shadows:
/home/rajeev/.config/emacs/elpa/map-3.0/map hides /home/rajeev/tmp/build/em/o/emacs-27/share/emacs/27.2.50/lisp/emacs-lisp/map

Features:
(shadow emacsbug cal-coptic cal-julian url-about url-dav url-dired
dired-aux misearch multi-isearch eieio-opt speedbar sb-image ezimage
dframe debug smtpmail help-fns radix-tree cl-print org-duration
mule-util js view sort gnus-cite gnus-bcklg utf-7 nnml gnus-async
gnus-ml face-remap smerge-mode diff cc-mode cc-fonts cc-guess cc-menus
cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs vc-bzr vc-src
vc-sccs vc-svn vc-cvs vc-rcs vc-dir ewoc vc vc-dispatcher mm-archive
network-stream url-cache edmacro kmacro server cursor-sensor
time-stamp bbdb-gnus nnfolder pcase rx xt-mouse which-func imenu
timeclock spam spam-stat gnus-uu yenc semantic/util-modes
semantic/util semantic semantic/tag semantic/lex semantic/fw
mode-local cedet org-indent reveal mailalias bbdb-message mail-extr
ol-eww eww mm-url thingatpt url-queue ol-rmail ol-mhe ol-irc ol-info
ol-gnus nnir ol-docview doc-view jka-compr image-mode exif ol-bibtex
bibtex ol-bbdb ol-w3m icomplete so-long cl-extra autorevert filenotify
bbdb-anniv tramp tramp-loaddefs trampver tramp-integration files-x
tramp-compat shell ls-lisp printing ps-print ps-print-loaddefs ps-def
lpr web-server web-server-status-codes el/web midnight el/cron
backtrace help-mode qp el/wthr el/av el/hass el/fin el/remote
el/script type-break cal-iso org-id lunar solar cal-dst holidays
hol-loaddefs el/calc olc el/loc term disp-table ehelp dirtrack
hideshow dbus parsec gnutls gnus-delay gnus-draft gnus-agent gnus-srvr
gnus-score score-mode nnvirtual nntp gnus-cache gnus-msg nndraft nnmh
gnus-icalendar org-capture gnus-art mm-uu mml2015 mm-view mml-smime
smime dig icalendar sieve sieve-mode sieve-manage sasl sasl-anonymous
sasl-login sasl-plain sendmail time ox-odt rng-loc rng-uri rng-parse
rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok
nxml-util ox-latex ox-icalendar ox-html table ox-ascii ox-publish ox
org-element avl-tree generator org-agenda org-refile org-crypt org ob
ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src
ob-comint org-pcomplete pcomplete comint ansi-color ring org-list
org-faces org-entities noutline outline org-version ob-emacs-lisp
ob-core ob-eval org-table ol org-keys org-compat advice org-macs
org-loaddefs find-func gnus-sum shr svg xml dom gnus-group gnus-undo
gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo
parse-time iso8601 gnus-spec gnus-int gnus-range message dired
dired-loaddefs format-spec rfc822 mml mml-sec epa derived mm-decode
mm-bodies mm-encode gmm-utils mailheader gnus-win gnus pp vc-git
diff-mode easy-mmode cus-edit cus-start cus-load nnheader gnus-util
rmail rmail-loaddefs text-property-search time-date mail-utils
wid-edit el/org el/doc el/mail oauth2 url-http url url-proxy
url-privacy url-expand url-methods url-history mailcap url-auth
mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr
url-cookie url-domsuf url-util url-gw nsm rmc puny plstore epg
epg-config el/tools el/shell el/webdr el/xmpp el/diary timer-list
bbdb-mua el/timer el/util bbdb-com crm mailabbrev bbdb bbdb-site
timezone el/bbdb appt diary-lib diary-loaddefs cal-menu calendar
cal-loaddefs el/init wombat-theme info package easymenu browse-url
url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs
eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv
bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese
eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese composite charscript charprop case-table
epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote threads dbusbind inotify lcms2
dynamic-setting system-font-setting font-render-setting cairo
move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 564438 119230)
 (symbols 48 40013 57)
 (strings 32 155671 22362)
 (string-bytes 1 5292815)
 (vectors 16 65816)
 (vector-slots 8 792333 55620)
 (floats 8 1282 1751)
 (intervals 56 14139 549)
 (buffers 1000 137))




Acknowledgement sent to Rajeev N <rajeev.jnk@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#49682; 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: Wed, 28 Jul 2021 16:15:01 UTC

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