From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: daimrod@omecha.info (=?UTF-8?Q?Gr=C3=A9goire?= Jadi) Newsgroups: gmane.emacs.bugs Subject: bug#29170: Infinite loop noticed on Emacs in OpenBSD Date: Wed, 22 Nov 2017 15:50:46 +0100 Message-ID: <87o9nujrjt.fsf@omecha.info> References: <87fu9rwksm.fsf@omecha.info> <87fu9n7aq9.fsf@elite.giraud> <87bmk17z18.fsf@omecha.info> <877eui4blp.fsf@elite.giraud> 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 1511362470 30837 195.159.176.226 (22 Nov 2017 14:54:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 22 Nov 2017 14:54:30 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (berkeley-unix) Cc: 29170@debbugs.gnu.org To: Manuel Giraud Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 22 15:54:21 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 1eHWPt-0007PE-5z for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Nov 2017 15:54:21 +0100 Original-Received: from localhost ([::1]:39922 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHWQ0-0005si-EP for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Nov 2017 09:54:28 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHWMl-0003hx-Fd for bug-gnu-emacs@gnu.org; Wed, 22 Nov 2017 09:51:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eHWMh-0007aa-GT for bug-gnu-emacs@gnu.org; Wed, 22 Nov 2017 09:51:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43331) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eHWMh-0007aW-CZ for bug-gnu-emacs@gnu.org; Wed, 22 Nov 2017 09:51:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eHWMh-0006ES-5y for bug-gnu-emacs@gnu.org; Wed, 22 Nov 2017 09:51:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: daimrod@omecha.info (=?UTF-8?Q?Gr=C3=A9goire?= Jadi) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Nov 2017 14:51:03 +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.151136225623941 (code B ref 29170); Wed, 22 Nov 2017 14:51:03 +0000 Original-Received: (at 29170) by debbugs.gnu.org; 22 Nov 2017 14:50:56 +0000 Original-Received: from localhost ([127.0.0.1]:52012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHWMa-0006E5-JR for submit@debbugs.gnu.org; Wed, 22 Nov 2017 09:50:56 -0500 Original-Received: from a.omecha.info ([89.234.176.136]:38680 helo=omecha.info) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHWMY-0006Dq-40 for 29170@debbugs.gnu.org; Wed, 22 Nov 2017 09:50:54 -0500 Original-Received: from puffy.omecha.info (unknown [192.168.99.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by omecha.info (Postfix) with ESMTPSA id 09CADA7; Wed, 22 Nov 2017 15:50:47 +0100 (CET) In-Reply-To: <877eui4blp.fsf@elite.giraud> (Manuel Giraud's message of "Wed, 22 Nov 2017 15:44:18 +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:140231 Archived-At: Manuel Giraud writes: > 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? I agree with you. I saw this discussion too, though I don't understand most of it. I blindly tried the patches to see if it fixed the problem but it did not. Maybe someone will look at this bug once its merged. So, let's wait :)