From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Gr=C3=A9goire?= Jadi Newsgroups: gmane.emacs.bugs Subject: bug#29170: 26.0.90; Emacs freezes when capturing an org-template Date: Fri, 13 Aug 2021 09:36:33 +0200 Message-ID: <87a6lllrsu.fsf@puffy.omecha.info> 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> 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="18502"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (berkeley-unix) Cc: 29170@debbugs.gnu.org, jca@wxcvbn.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 13 09:37:15 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 1mERkh-0004eN-7S for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 Aug 2021 09:37:15 +0200 Original-Received: from localhost ([::1]:38416 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mERkf-0007FF-M7 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 Aug 2021 03:37:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44150) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mERkU-0007Dn-OD for bug-gnu-emacs@gnu.org; Fri, 13 Aug 2021 03:37:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57141) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mERkU-00029G-Hc for bug-gnu-emacs@gnu.org; Fri, 13 Aug 2021 03:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mERkU-0002Gt-Aj for bug-gnu-emacs@gnu.org; Fri, 13 Aug 2021 03:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Gr=C3=A9goire?= Jadi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Aug 2021 07:37: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.16288402218727 (code B ref 29170); Fri, 13 Aug 2021 07:37:02 +0000 Original-Received: (at 29170) by debbugs.gnu.org; 13 Aug 2021 07:37:01 +0000 Original-Received: from localhost ([127.0.0.1]:40454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mERkT-0002Ge-Gz for submit@debbugs.gnu.org; Fri, 13 Aug 2021 03:37:01 -0400 Original-Received: from loire.omecha.info ([89.234.177.139]:35089) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mERkQ-0002GP-P7 for 29170@debbugs.gnu.org; Fri, 13 Aug 2021 03:37:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=omecha.info; s=20210119; t=1628840209; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BYxIRqUVGVFwKGGJ2b4X/3R3LWMommL2Yi1FYUeBKgk=; b=Kt+7unPB5bZR3SKZGOcJPjUjNkkl/4KsMwW5zGYs+vo+9kGylx9uB7s4zILBVt4mN67bqr Anr8WWAs9pWymgYQI3EH1KtjUu3OffpLwr9jvN9x4CRCW88ilpOG/kju2bNDg7oNlG3qQn n9uOMCGKistZBAQzyGMi4G1/kPzXdf4= Original-Received: from puffy.omecha.info (puffy.omecha.info [10.0.0.2]) by loire.omecha.info (OpenSMTPD) with ESMTPSA id ef96121c (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO); Fri, 13 Aug 2021 09:36:49 +0200 (CEST) In-Reply-To: <87v94e4x5l.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 09 Aug 2021 14:31:34 +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:211721 Archived-At: Lars Ingebrigtsen writes: > Gr=C3=A9goire Jadi writes: > >> So we think it is safe to backport this change upstream. > > [...] > >> dnl SIGIO exists, but the feature doesn't work in the way Emacs needs. >> - hpux* | nacl | openbsd | solaris | unixware ) >> + hpux* | nacl | solaris | unixware ) > > Thanks; I've now applied this to Emacs 28. Thanks ! > >> Please note that the real issue is not fixed. The issue is in the >> broken SIGIO code itself. I was able to reproduce the bug by enabling >> emacs_broken_SIGIO on Ubuntu LTS 20.04. I didn't take the time to find >> a fix though. > > The remaining operating systems that uses the broken_SIGIO code paths > are pretty obscure -- I guess Solaris is still used to some degree. > > 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)) Best regards, --=20 gjadi PGP : AF26 E9C2 A1C8 8D32 A868 4386 1373 5477 2B65 1894