From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Manuel Giraud Newsgroups: gmane.emacs.bugs Subject: bug#29170: Infinite loop noticed on Emacs in OpenBSD Date: Wed, 22 Nov 2017 15:44:18 +0100 Message-ID: <877eui4blp.fsf@elite.giraud> References: <87fu9rwksm.fsf@omecha.info> <87fu9n7aq9.fsf@elite.giraud> <87bmk17z18.fsf@omecha.info> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1511361919 30966 195.159.176.226 (22 Nov 2017 14:45:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 22 Nov 2017 14:45:19 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (berkeley-unix) Cc: 29170@debbugs.gnu.org To: daimrod@omecha.info (=?UTF-8?Q?Gr=C3=A9goire?= Jadi) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 22 15:45:14 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHWH0-0007Yl-10 for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Nov 2017 15:45:10 +0100 Original-Received: from localhost ([::1]:39872 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHWH7-0008B7-AI for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Nov 2017 09:45:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHWGy-00089h-PB for bug-gnu-emacs@gnu.org; Wed, 22 Nov 2017 09:45:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eHWGs-0004lu-Ue for bug-gnu-emacs@gnu.org; Wed, 22 Nov 2017 09:45:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43316) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eHWGs-0004lp-RH for bug-gnu-emacs@gnu.org; Wed, 22 Nov 2017 09:45:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eHWGs-000657-I9 for bug-gnu-emacs@gnu.org; Wed, 22 Nov 2017 09:45:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Manuel Giraud Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Nov 2017 14:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29170 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29170-submit@debbugs.gnu.org id=B29170.151136186323310 (code B ref 29170); Wed, 22 Nov 2017 14:45:02 +0000 Original-Received: (at 29170) by debbugs.gnu.org; 22 Nov 2017 14:44:23 +0000 Original-Received: from localhost ([127.0.0.1]:51997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHWGF-00063u-5y for submit@debbugs.gnu.org; Wed, 22 Nov 2017 09:44:23 -0500 Original-Received: from ledu-giraud.fr ([195.154.162.172]:6836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHWGC-00063k-P8 for 29170@debbugs.gnu.org; Wed, 22 Nov 2017 09:44:21 -0500 Original-Received: from elite.giraud (10.1.1.1 [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 8dd3eaa5 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Wed, 22 Nov 2017 15:44:19 +0100 (CET) In-Reply-To: <87bmk17z18.fsf@omecha.info> ("=?UTF-8?Q?Gr=C3=A9goire?= Jadi"'s message of "Fri, 17 Nov 2017 15:36:19 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:140230 Archived-At: daimrod@omecha.info (Gr=C3=A9goire Jadi) writes: > Manuel Giraud writes: > >> Hi, > > Hello Manuel, > > Thanks for the reply and sorry for the delay. Same :-) >> Here is a patch against HEAD to avoid the hang in infinite loop. The >> 'x-selection-timeout' pause will still be there even with this patch. > > I've tested your patch on emacs-25-3.1 and it does prevent the infinite > loop. However, if the user sends input to emacs while it is waiting, it > raises the following backtrace : Ok. There seems to be ongoing work on wait_reading_process_output: https://lists.gnu.org/archive/html/emacs-devel/2017-11/threads.html#00037 So it might be urgent to wait and see what happens on OpenBSD after this work is done. What you think? --=20 Manuel Giraud