From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#29170: 26.0.90; Emacs freezes when capturing an org-template Date: Fri, 13 Aug 2021 13:50:43 +0200 Message-ID: <87czqhftrg.fsf@gnus.org> References: <87fu9rwksm.fsf@omecha.info> <87lfgpxl4m.fsf@gnus.org> <83sgaxf6eb.fsf@gnu.org> <87blhkwvhm.fsf@gnus.org> <83sgawekcj.fsf@gnu.org> <87zh54fr72.fsf@omecha.info> <87wo07tcz2.fsf@gnus.org> <87tuv4mm0v.fsf@omecha.info> <87v9fh3lck.fsf@gnus.org> <87h7g0m2er.fsf@puffy.omecha.info> <87v94e4x5l.fsf@gnus.org> <87a6lllrsu.fsf@puffy.omecha.info> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33659"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 29170@debbugs.gnu.org, jca@wxcvbn.org To: =?UTF-8?Q?Gr=C3=A9goire?= Jadi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 13 13:52:10 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mEVjN-0008Ni-TL for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 Aug 2021 13:52:09 +0200 Original-Received: from localhost ([::1]:32768 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mEVjM-00077q-CQ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 Aug 2021 07:52:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mEVjG-00077d-DT for bug-gnu-emacs@gnu.org; Fri, 13 Aug 2021 07:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57342) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mEVjG-0005aR-7C for bug-gnu-emacs@gnu.org; Fri, 13 Aug 2021 07:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mEVjG-0007FV-2T for bug-gnu-emacs@gnu.org; Fri, 13 Aug 2021 07:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Aug 2021 11:52: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: confirmed Original-Received: via spool by 29170-submit@debbugs.gnu.org id=B29170.162885546927790 (code B ref 29170); Fri, 13 Aug 2021 11:52:02 +0000 Original-Received: (at 29170) by debbugs.gnu.org; 13 Aug 2021 11:51:09 +0000 Original-Received: from localhost ([127.0.0.1]:40655 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEViL-0007E6-3q for submit@debbugs.gnu.org; Fri, 13 Aug 2021 07:51:09 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:50466) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEViE-0007DW-Sq for 29170@debbugs.gnu.org; Fri, 13 Aug 2021 07:51:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=9oIUH4S6Zel4D+4/WYz1CectMQJbeAyRKh/j/O1zltU=; b=qv2zEh4WHRjy/Be4J0UnWE5URJ cYq2T8MVU1smj2JHP35aGARZ/YUeLef0myg92InSJs/c9/XnouF2B3SsQemZxJyIl1694twgHC+1m bd10ZlaP1WOTwCogZ0I0jwkf8BpnHBjUwyQ1hdl8k0x0f4+QqCI2TeBBgpDZDdUZMDvk=; Original-Received: from [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 ) id 1mEVi2-000392-Ub; Fri, 13 Aug 2021 13:50:51 +0200 In-Reply-To: <87a6lllrsu.fsf@puffy.omecha.info> ("=?UTF-8?Q?Gr=C3=A9goire?= Jadi"'s message of "Fri, 13 Aug 2021 09:36:33 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:211735 Archived-At: Gr=C3=A9goire Jadi writes: >> Hm, let's see... I guess the code paths that are exercised are the ones >> where USABLE_SIGIO is undefined? Do you have a simple test case for >> this (on Ubuntu, for instance)? I think it might make sense to open a >> new bug report for this. > > Yes, the same snippet used to trigger the bug on OpenBSD can be used: > >> (let ((value 'SECONDARY) >> (x-selection-timeout 2000)) >> ;;; from org-get-x-clipboard in lisp/org-compat.el >> (gui-get-selection value 'UTF8_STRING) >> (gui-get-selection value 'COMPOUND_TEXT) >> (gui-get-selection value 'STRING) >> (gui-get-selection value 'TEXT)) I tried the following on this Debian/bullseye system. I changed the following in src/config.h: /* Define to 1 if SIGIO is usable. */ #define USABLE_SIGIO 0 and then I build Emacs and ran the snippet -- and it didn't hang for me. Are there additional steps necessary? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no