all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
Cc: 70049@debbugs.gnu.org
Subject: bug#70049: 30.0.50; (server-running-p) in mode line freezes emacs
Date: Fri, 29 Mar 2024 09:55:46 +0300	[thread overview]
Message-ID: <867chlfrwt.fsf@gnu.org> (raw)
In-Reply-To: <CAO48Bk-mdJwtCy4wNY3FJHM3VPgMn2ePcVCsQm5GqHpEB5FmzA@mail.gmail.com> (message from Pedro Andres Aranda Gutierrez on Fri, 29 Mar 2024 07:37:32 +0100)

> From: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
> 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.





  reply	other threads:[~2024-03-29  6:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-28 10:45 bug#70049: 30.0.50; (server-running-p) in mode line freezes emacs Pedro A. Aranda
2024-03-28 11:46 ` Eli Zaretskii
2024-03-28 16:03   ` Pedro Andres Aranda Gutierrez
2024-03-28 16:26     ` Eli Zaretskii
2024-03-29  6:37       ` Pedro Andres Aranda Gutierrez
2024-03-29  6:55         ` Eli Zaretskii [this message]
2024-03-29  7:09           ` Pedro Andres Aranda Gutierrez
2024-04-01  8:36             ` Pedro Andres Aranda Gutierrez
2024-04-01 11:34               ` Eli Zaretskii
2024-04-10 10:46                 ` Pedro Andres Aranda Gutierrez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=867chlfrwt.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=70049@debbugs.gnu.org \
    --cc=paaguti@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.