From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joseph Mingrone Newsgroups: gmane.emacs.bugs Subject: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode Date: Sun, 24 Apr 2022 10:23:43 -0300 Message-ID: <86v8uyd38g.fsf@phe.ftfl.ca> References: <83r3ifstzb.fsf@gnu.org> <86wps7dpn1.fsf@phe.ftfl.ca> <83lh8mqxhi.fsf@gnu.org> <86twn99k1q.fsf@phe.ftfl.ca> <83bn9hozre.fsf@gnu.org> <86mvt19gge.fsf@phe.ftfl.ca> <83y4clnhyg.fsf@gnu.org> <861tacamk1.fsf@phe.ftfl.ca> <878rrvsxky.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29194"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (berkeley-unix) Cc: 22214@debbugs.gnu.org, Brian Burns To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 24 15:25:23 2022 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 1nicEt-0007OE-5s for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Apr 2022 15:25:23 +0200 Original-Received: from localhost ([::1]:37842 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nicEs-0000GW-4E for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Apr 2022 09:25:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53618) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nicEZ-0000Dx-3r for bug-gnu-emacs@gnu.org; Sun, 24 Apr 2022 09:25:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35780) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nicEY-0004cK-Po for bug-gnu-emacs@gnu.org; Sun, 24 Apr 2022 09:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nicEY-00014D-Lx for bug-gnu-emacs@gnu.org; Sun, 24 Apr 2022 09:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Joseph Mingrone Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Apr 2022 13:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22214 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 22214-submit@debbugs.gnu.org id=B22214.16508066473984 (code B ref 22214); Sun, 24 Apr 2022 13:25:02 +0000 Original-Received: (at 22214) by debbugs.gnu.org; 24 Apr 2022 13:24:07 +0000 Original-Received: from localhost ([127.0.0.1]:57901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nicDe-00012C-QT for submit@debbugs.gnu.org; Sun, 24 Apr 2022 09:24:07 -0400 Original-Received: from mail-qt1-f182.google.com ([209.85.160.182]:43906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nicDQ-00011V-Id for 22214@debbugs.gnu.org; Sun, 24 Apr 2022 09:24:04 -0400 Original-Received: by mail-qt1-f182.google.com with SMTP id hh4so8678920qtb.10 for <22214@debbugs.gnu.org>; Sun, 24 Apr 2022 06:23:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftfl.ca; s=google; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=yblmxLgh4sjvuuyGyspA+EhIXMYBrEZcZ8u8r4W1Qbw=; b=BnstvPC9DI1X5LbES6Bwzlj77eoZ+ANX/zsl6X67E6Dq64VyxHcZiFDLKm8JkuqtJp 5CtCBkTNX1eSEuncmoy/6khYz+GuUSGN/QrhxU/qgDhaj3WLrPzPXOatU/S1JGNWQIQu bubPhOnsXHJnIjzFKzM5d+H5VJDPt3h+wLK1o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=yblmxLgh4sjvuuyGyspA+EhIXMYBrEZcZ8u8r4W1Qbw=; b=1uo/qxRCswrbNWT6erOTTIIFWhQzdXkSRCDe85yJ5nD/zvmizgHyqBfT5ubNVcfOoP CnCBGIZYkZhuMt1MqM0hGAsw5ZMEDgtxV4aCn14SlXPA+t7+Wt59J8hoR4aTtTV+icXj i1FHLD0isvp9/1AgnSQXNGY1zd5oljHiZbA67N3rJzqFaFdomdLzo/ypX7TvBLQrO6Ee IWu0ckuhAoCp8NARq0nkLcKPFKZzmUCAQmcYaALAAI1Lmj+VpQOUB+gtB8uf+WwrJTjf VkzlU8Hj28THQZk4fCNTSH+lA2qJ6EjmmrjcsecEU4KoADfnakGkP4tGV2bC9TtgtKZt Idtw== X-Gm-Message-State: AOAM530rg0kJffo3N/s2HHfVXeYIQ23HLi8y+vdxVzGNN4g1IpNBZXcT 83Avw/lI1b8QioZTxQSXhjf2sWhu7DMjkw== X-Google-Smtp-Source: ABdhPJyJhJYidF5T3VVaPPb0X9plTltBTJDmEJsIEU1uoGRS08I3sUP3wTPDalIuGplVP709MLTDuw== X-Received: by 2002:ac8:5a81:0:b0:2f1:f20d:173a with SMTP id c1-20020ac85a81000000b002f1f20d173amr9071238qtc.686.1650806626495; Sun, 24 Apr 2022 06:23:46 -0700 (PDT) Original-Received: from phe.ftfl.ca.ftfl.ca (drmons0544w-156-34-173-250.dhcp-dynamic.fibreop.ns.bellaliant.net. [156.34.173.250]) by smtp.gmail.com with ESMTPSA id a1-20020ac844a1000000b002f364521df2sm1597492qto.21.2022.04.24.06.23.44 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 24 Apr 2022 06:23:45 -0700 (PDT) In-Reply-To: <878rrvsxky.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 23 Apr 2022 16:06:53 +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:230555 Archived-At: I stopped using clipmon shortly after this bug was reported, but I just cloned the repository and ran % emacs -Q (load "/path/to/clipmon/clipmon.el") (run-at-time nil 2 (lambda () (gui-get-primary-selection))) (menu-set-font) When I dismissed the dialog box, sometimes things were fine, but other times, Emacs started to use 100% CPU and would not respond to input. Now I am able to kill the run-away emacs process and regain control of the system. Below is information about my current installation. In GNU Emacs 29.0.50 (build 1, amd64-portbld-freebsd14.0, GTK+ Version 3.24.33, cairo version 1.17.4) Repository revision: 1fed6e7 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12014000 System Description: 14.0-CURRENT Configured using: 'configure --disable-build-details --localstatedir=/var --without-libsystemd --without-selinux --with-x --enable-acl --with-cairo --without-dbus --without-gconf --with-gif --with-gnutls --without-gsettings --with-x-toolkit=gtk3 --with-harfbuzz --with-jpeg --with-json --with-file-notification=kqueue --with-lcms2 --without-m17n-flt --without-imagemagick --without-mailutils --with-modules --with-native-compilation --with-sound=oss --without-libotf --without-pgtk --with-png --with-toolkit-scroll-bars --with-sqlite3 --with-rsvg --with-threads --with-tiff --with-webp --without-xft --with-xim --with-xml2 --without-xpm --without-xwidgets --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local --mandir=/usr/local/man --disable-silent-rules --infodir=/usr/local/share/emacs/info/ --build=amd64-portbld-freebsd14.0 'CFLAGS=-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing ' 'CPPFLAGS=-isystem /usr/local/include' 'LDFLAGS= -L/usr/local/lib/gcc11 -fstack-protector-strong -L/usr/local/lib '' Configured features: ACL CAIRO FREETYPE GIF GLIB GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE PDUMPER PNG RSVG SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM GTK3 ZLIB On Sat, 2022-04-23 at 16:06, Lars Ingebrigtsen wrote: > Joseph Mingrone writes: >> Here is the simplest example I can come up with that causes the problem. >> ;; substitute x-get-selection-value for 24.x >> (run-at-time nil 2 (gui-get-primary-selection)) >> (menu-set-font) > (I'm going through old bug reports that unfortunately weren't resolved > at the time.) > Skimming this bug report, there were different cases for reproduction, > but I tried this one (well actually > (run-at-time nil 2 (lambda () (gui-get-primary-selection))) > (menu-set-font) > , since that's valid code), and I couldn't reproduce the lock up. > Are you still seeing this problem in recent Emacs versions?