From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet via "Emacs development discussions." Newsgroups: gmane.emacs.devel Subject: Re: Freezing frame with igc Date: Wed, 25 Dec 2024 11:19:13 +0000 Message-ID: <87a5ck9fjy.fsf@protonmail.com> References: <87o713wwsi.fsf@telefonica.net> <87ldw7fwet.fsf@protonmail.com> <87h66vwn1m.fsf@telefonica.net> <87y107e02u.fsf@protonmail.com> <87a5cnw6w4.fsf@telefonica.net> <87msgkaeyy.fsf@protonmail.com> Reply-To: Pip Cet 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="22112"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?utf-8?Q?=C3=93scar_Fuentes?= , emacs-devel@gnu.org, Helmut Eller , Andrea Corallo To: =?utf-8?Q?Gerd_M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 25 12:49:55 2024 Return-path: Envelope-to: ged-emacs-devel@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 1tQPti-0005dH-U7 for ged-emacs-devel@m.gmane-mx.org; Wed, 25 Dec 2024 12:49:54 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQPst-0003qS-NN; Wed, 25 Dec 2024 06:49:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tQPQE-0004Pu-Gw for emacs-devel@gnu.org; Wed, 25 Dec 2024 06:19:28 -0500 Original-Received: from mail-4316.protonmail.ch ([185.70.43.16]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tQPQB-000745-C1; Wed, 25 Dec 2024 06:19:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1735125557; x=1735384757; bh=6k6YncsvM8W3oqvwva8Fb/djpC6d4t/Q8U34mapCbFA=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=MFUOZdE9r2LosnOAmCJNOIvGuBWHa04/2kqfTl3YQwWOqoDMxzxerM8Lyb8QSiZQS Fs/qzePZTQODOrPDsQsnBEHVi+/m677gnAh4Y1u4J3hwol9dXOqxEnJD0l87K+co6o AIAN/3lHfZWZjwbIRrTxt72SEQJbY54SqmWaRS1sZkYxWnCO1Kvb0Z2+R3aMVPo5WB LPErQed+w/zOTlqkz24MQmYWvrNcZQ0BXK9Ns8kLuIGhJ1HBm5AY2hCowNsm6VIxct VHo+ZQ6YT/66zkXO1Ibbc5XSWtRj+yWhSZnEc9yJ+6CVCDnFf2PlD30sydQlJsNUO3 B94z6W+7mDK7Q== In-Reply-To: Feedback-ID: 112775352:user:proton X-Pm-Message-ID: 1bb162fcabb8077bd3ffbef3e4d6d0a14892ff0c Received-SPF: pass client-ip=185.70.43.16; envelope-from=pipcet@protonmail.com; helo=mail-4316.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 25 Dec 2024 06:49:01 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:327071 Archived-At: Gerd M=C3=B6llmann writes: > That reminds of something. Maybe what you've seen is completely > unrelated, it's impossible to tell, but please find below a comment that > I added to do_switch_frame in frame.c. Thanks! I hope I'll be able to reproduce the issue again. > These switch-frame events form an endless loop in > command_loop_1. It runs post-command-hook, which generates > switch-frame events, which command_loop_1 finds (bound to '#ignore) > and executes, which again runs post-command-hook etc., ad > infinitum. The strange thing is there is not apparently an infinite loop: Emacs doesn't use 100% CPU, it seems to be calling *select() as usual. Definitely something to check for, though! Pip