From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#70049: 30.0.50; (server-running-p) in mode line freezes emacs Date: Fri, 29 Mar 2024 09:55:46 +0300 Message-ID: <867chlfrwt.fsf@gnu.org> References: <8634sah952.fsf@gnu.org> <86jzlmfhl5.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29920"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70049@debbugs.gnu.org To: Pedro Andres Aranda Gutierrez Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 29 07:57:25 2024 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 1rq6B2-0007db-6X for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 29 Mar 2024 07:57:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rq6Ag-0004cs-G0; Fri, 29 Mar 2024 02:57:02 -0400 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 1rq6Af-0004ch-2C for bug-gnu-emacs@gnu.org; Fri, 29 Mar 2024 02:57:01 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rq6Ae-0007A0-QV for bug-gnu-emacs@gnu.org; Fri, 29 Mar 2024 02:57:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rq6Af-00020r-Kb for bug-gnu-emacs@gnu.org; Fri, 29 Mar 2024 02:57:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Mar 2024 06:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70049 X-GNU-PR-Package: emacs Original-Received: via spool by 70049-submit@debbugs.gnu.org id=B70049.17116953627655 (code B ref 70049); Fri, 29 Mar 2024 06:57:01 +0000 Original-Received: (at 70049) by debbugs.gnu.org; 29 Mar 2024 06:56:02 +0000 Original-Received: from localhost ([127.0.0.1]:41585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rq69i-0001zP-4U for submit@debbugs.gnu.org; Fri, 29 Mar 2024 02:56:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rq69e-0001ys-2W for 70049@debbugs.gnu.org; Fri, 29 Mar 2024 02:56:00 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rq69X-0006ga-3I; Fri, 29 Mar 2024 02:55:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=rC8oQbW/haemnIQC6/huw0bLYnDy8aIktBL7TAvCtH0=; b=ej5gw9ZGw9S+ WLawjrbDrDWt66/Pa+rx+uAtyBc2vIh6AFTDxgU1FvwsHUP8DcESXPwmqh66nufoxbsE43WzGrqSQ aq0XI6mpX1UrcAsfAqNuQ4G69F7/eliGR8/9p6BC8kyfYtRECsAwQEvnpMyDYZa6dicd+RlRLT68y kb5oDymxZjcHEUbkkXHbnZ6XoNhBiIehrthpqiLvC9akGZWOqgauhzJUMAncafc5yRnfCTIH01H55 IUuYGZobH8Dti+IDwMWLjTfxOgpNe2DDK0wQEprUWLezjHmc85VDBsUe0EhB75WyB3m7sG2EtXNvX YXW+GbTs02tSvhBZywcbhw==; In-Reply-To: (message from Pedro Andres Aranda Gutierrez on Fri, 29 Mar 2024 07:37:32 +0100) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:282271 Archived-At: > From: Pedro Andres Aranda Gutierrez > Date: Fri, 29 Mar 2024 07:37:32 +0100 > Cc: 70049@debbugs.gnu.org > > Can you look at the CPU meter and tell if Emacs consumes CPU in this > state or not? > > I've fired up the system monitor on my Ubuntu 22.04. waited the CPU curves stabilised before activating > server-mode, > then waited again until everything was quiet again and then resized Emacs to trigger the 'Emacs is not > responding' > dialog. There was no significant raise in CPU or memory consumption. Then repeated the same with the > process tab > and couldn't detect any significant change. OK, thanks. This means Emacs is waiting for something. Can you provide the GDB backtrace from this situation? To do this, repeat your sequence that causes Emacs to freeze, then do the following from a separate shell prompt: $ cd /path/to/emacs/src $ gdb -p PID GNU gdb (GDB) XY.Z Copyright (C) NNNN Free Software Foundation, Inc. ... (gdb) source .gdbinit (gdb) thread apply all bt where PID is the process ID of the frozen Emacs process, and /path/to/emacs/src is the absolute file name of the directory where you have the Emacs C source files -- there is a .gdbinit file there which will cause GDB to produce both C and Lisp backtrace when you type the "bt" command at the (gdb) prompt. Then post the results here. Thanks.